From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C873C28B20 for ; Fri, 28 Mar 2025 11:44:39 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 432D5280137; Fri, 28 Mar 2025 07:44:38 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3A905280136; Fri, 28 Mar 2025 07:44:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0C3C1280137; Fri, 28 Mar 2025 07:44:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id D9981280136 for ; Fri, 28 Mar 2025 07:44:37 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 84F63B9FF0 for ; Fri, 28 Mar 2025 11:44:38 +0000 (UTC) X-FDA: 83270777436.12.D08B618 Received: from mail-ua1-f54.google.com (mail-ua1-f54.google.com [209.85.222.54]) by imf16.hostedemail.com (Postfix) with ESMTP id 9992A18000C for ; Fri, 28 Mar 2025 11:44:36 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=lZ1mXtHe; dmarc=pass (policy=none) header.from=linaro.org; spf=pass (imf16.hostedemail.com: domain of naresh.kamboju@linaro.org designates 209.85.222.54 as permitted sender) smtp.mailfrom=naresh.kamboju@linaro.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1743162276; a=rsa-sha256; cv=none; b=adjRGX2Prmhc1fRdKufvJUFyKpX0U+uDRB2LuP31qbE7CV7a8VXFbTHEPXQ0U2JbTbDrD1 HtsUQAWCAVmKrq/fWniFmwNBTG0HGWas/ojMUOY/b52C68o3rFtD7k3VlWFbswqiAgLbJT lUalVFHem4MjtSXe2m3r/QP1jFf9Wr8= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=lZ1mXtHe; dmarc=pass (policy=none) header.from=linaro.org; spf=pass (imf16.hostedemail.com: domain of naresh.kamboju@linaro.org designates 209.85.222.54 as permitted sender) smtp.mailfrom=naresh.kamboju@linaro.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1743162276; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=w2qqfblrO9ZiItp9BFItmCQdoEnMkY7wNDvK733cLvs=; b=J1jG0S5yBIGW11OKIAPDlH6xN/swsPYEL9cyYhGhvZ9ibJgaZh0YwSAHPqqu5uTF8yYqPk 8nnWE7IqjWH9oorGMEK+ste+oqicSdyIX1EutICO1ti5zI4edCUe88cELKI0RVhKFCmbP4 4k0UcaH9mMt2G95HBOOFNWPx7+RE3Ng= Received: by mail-ua1-f54.google.com with SMTP id a1e0cc1a2514c-86dc3482b3dso3173417241.0 for ; Fri, 28 Mar 2025 04:44:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743162275; x=1743767075; darn=kvack.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=w2qqfblrO9ZiItp9BFItmCQdoEnMkY7wNDvK733cLvs=; b=lZ1mXtHeYyMZuGSKePN0YTru9ABiyuwFhZbQB/mki1iF3Gqcg1ZMyXpMk97IZVjbiK QfilPqF/sndy8BhyDvouj8wdsuGWEcymyDpU6tKQ+Jt9/J5owqQWW7o7Y2V2zX3DQ78s vT6oxGKKUutHeOrCt5rPDcxh4bKGxB3ywKaCoI1MWoIQgZblCXnBtK7vCRcCf4O2NUNp cyjkWg+z/+FPeWbhxA85cyUWnv1vmTl81aL+y92noQx/U35VqGQYiokhOx8pEVtd5kM1 vu6l8BOPx/o+4v82ACGFC8ucvC35VlrR7Gw5xQUt0YTp7eg+fA76pBB+3F+EpYm51TTU Jz5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743162275; x=1743767075; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=w2qqfblrO9ZiItp9BFItmCQdoEnMkY7wNDvK733cLvs=; b=hyog/gb8nBlJrFJH53PwqJS2fgXJl3udC6m7hSIOasn0gIWAiMS+RD1vjvF5RNDI6C HjUakHVGfsps4VLCuUvWsQvnR6IGNKaDGAWh6TyY/qkG5EsTG+Ujd5zU89mP8KWtuxES M5HbBuadfCZvjPJkINcbhweT9IS5iv3QANHHLvjfBlACL15feoGJp5yfPq2gd4OnbmxB DBVeu6E5eUcJpb25zYR1OpHCP44biGnftgaThi4C7+rlBENw1r/kQXIoswrGHq39oL3h g5WomNh9CdX2RgRt2757CYjGbFDYUg/R+HTzxT7E8IU65WE+rF93C49zsEarJeAWCk4t /i+w== X-Forwarded-Encrypted: i=1; AJvYcCWhAgmBfO7cW/IbRaHhZ8NnlgMGOyQ04hnIWnLIIE9bKRPKOnmNvucT9DoeuvwM857PRSMp3iHCNQ==@kvack.org X-Gm-Message-State: AOJu0YxWX4t+CZLRzy/a+XqN9s2qui6lM+gPqZwDf9v98xRVYnecYXos PEKEeNHviN4wI0xgdkv74HxFZX/Il4C5Pbrt3CO1ZhNStzbh18ZOFImcE+5BP7vAdu1cq6tA93j kkCqYmUA2ClM27SkfF3PY3QxNZAcMLjM9CTaKNA== X-Gm-Gg: ASbGnct+i1q4FwoTj1c11fmyKHaRWTJP4IPh7pL+gYk/71hbGFW8rG/Kn/H1WGCu4n4 zD09WB6dGwoOTnM50H9QaLxsz8o9DaKO7GZqQIpXbyJVIfWIzsIkOxfTMof4mWTl+Mu5+/cGXWd 4BNLOnPl1D38QBP3rQIo3/yGJAF417u9g3DAKQAjugxl1wDdiFyMTOzCfc/XI= X-Google-Smtp-Source: AGHT+IH5gt1g7W9zzSWKPRy+Vjm/b0NveXSpYYJFrnYWc6QvBz8Ch7D3H4qE7WYa/AwxnGF1KMNk7xnOtPg2RIJG4u0= X-Received: by 2002:a67:ed0e:0:b0:4bd:379c:4037 with SMTP id ada2fe7eead31-4c6c280d38amr917768137.9.1743162275354; Fri, 28 Mar 2025 04:44:35 -0700 (PDT) MIME-Version: 1.0 References: <20250326154346.820929475@linuxfoundation.org> In-Reply-To: <20250326154346.820929475@linuxfoundation.org> From: Naresh Kamboju Date: Fri, 28 Mar 2025 17:14:23 +0530 X-Gm-Features: AQ5f1JrEMR3q_aVnbCTb0wQN7NNnYC69mmmv8o9OofjDoV25fDlFoUyGvppLF6I Message-ID: Subject: Re: [PATCH 6.6 00/76] 6.6.85-rc2 review To: Greg Kroah-Hartman Cc: stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, conor@kernel.org, hargar@microsoft.com, broonie@kernel.org, Johannes Weiner , Michal Hocko , Roman Gushchin , Cgroups , linux-mm , Shakeel Butt Content-Type: text/plain; charset="UTF-8" X-Rspam-User: X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 9992A18000C X-Stat-Signature: u7fx51m91xenqqcoqbjkbk184mm5ia9o X-HE-Tag: 1743162276-737943 X-HE-Meta: U2FsdGVkX18uOsTy3M3QwcygbzQ+O0Z2cLRH9Owpg9/DYb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wr1tUpuqKmmPzkD2JtvDcZpamlVk1ZlbAVO3ZbJVz7bHb3sqf33/NYa5OWuRCxh/ypdc6L6v4tTRPkAAz3I6SCY6UTpbnOZ3aBCmIKsioBfkFJ2khiOAewTY1P6OoD+wGmo2HHLeNcQ8t3y5pu7mrWBt9sY4tfuBid3+QyjjXqc4r9XMS9OeS7AI/OMFF0x+RDcl2gQjVnyeAkB+8PhO1Xj5C7bOmBOGUrXdda2IHjtPaDmo+L2aDK9dFRoanfilqLGPJSMoFxlgaKBCDc3m2ZG1nEpdH8DDUhPsvs+otwJrrRKzqkMD3n9Hk+dRKrlbcusds4V+BNdSxBciP0nBXEg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Wed, 26 Mar 2025 at 21:16, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 6.6.85 release. > There are 76 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be made by Fri, 28 Mar 2025 15:43:33 +0000. > Anything received after that time might be too late. > > The whole patch series can be found in one patch at: > https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.6.85-rc2.gz > or in the git tree and branch at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.6.y > and the diffstat can be found below. > > thanks, > > greg k-h Regressions on arm64 devices cpu hotplug tests failed with gcc-13 and clang-20 the stable-rc 6.6.85-rc2 These regressions are the same as stable-rc 6.1 cpu hotplug regressions. First seen on the 6.6.85-rc2 Good: v6.6.83 Bad: 6.6.85-rc2 * dragonboard 845c - selftests: cpu-hotplug: cpu-on-off-test.sh - rseq_basic_percpu_ops_mm_cid_test - rseq_basic_percpu_ops_test - ltp-controllers: cpuset_hotplug_test.sh Regression Analysis: - New regression? yes - Reproducibility? Yes Test regression: arm64 arm cpuhotplug kernel NULL pointer dereference Reported-by: Linux Kernel Functional Testing ## Test log command: cpuset_hotplug_test.sh cpuset_hotplug 1 TINFO: CPUs are numbered continuously starting at 0 (0-7) cpuset_hotplug 1 TINFO: Nodes are numbered continuously starting at 0 (0) [ 607.606520] IRQ118: set affinity failed(-22). [ 607.606657] IRQ165: set affinity failed(-22). [ 607.606670] IRQ167: set affinity failed(-22). [ 607.606764] IRQ206: set affinity failed(-22). [ 607.606775] IRQ207: set affinity failed(-22). [ 607.606786] IRQ208: set affinity failed(-22). [ 607.606797] IRQ209: set affinity failed(-22). [ 607.606807] IRQ210: set affinity failed(-22). [ 607.606816] IRQ211: set affinity failed(-22). [ 607.606825] IRQ212: set affinity failed(-22). [ 607.610148] psci: CPU1 killed (polled 0 ms) cpuset_hotplug 1 TPASS: Cpuset vs CPU hotplug test succeeded. [ 608.845868] Detected VIPT I-cache on CPU1 [ 608.845955] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000 [ 608.846049] CPU1: Booted secondary processor 0x0000000100 [0x517f803c] [ 609.103460] psci: CPU1 killed (polled 0 ms) [ 609.149280] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 [ 609.162506] Mem abort info: [ 609.170513] ESR = 0x0000000096000004 [ 609.177143] EC = 0x25: DABT (current EL), IL = 32 bits [ 609.184803] SET = 0, FnV = 0 [ 609.190745] EA = 0, S1PTW = 0 [ 609.196414] FSC = 0x04: level 0 translation fault [ 609.202957] Data abort info: [ 609.208001] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 [ 609.215282] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 609.221926] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 609.229042] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000108ec5000 [ 609.238062] [0000000000000000] pgd=0000000000000000, p4d=0000000000000000 [ 609.246582] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP [ 609.254427] Modules linked in: ax88179_178a usbnet fuse ip_tables x_tables snd_soc_hdmi_codec venus_enc venus_dec videobuf2_dma_contig mcp251xfd xhci_pci xhci_pci_renesas lontium_lt9611 can_dev qcom_pon qcom_spmi_adc5 snd_soc_sdm845 rtc_pm8xxx ath10k_snoc leds_qcom_lpg snd_soc_rt5663 qcom_vadc_common venus_core ath10k_core snd_soc_qcom_common snd_soc_rl6231 led_class_multicolor qcom_spmi_temp_alarm ath crct10dif_ce qcom_stats v4l2_mem2mem soundwire_bus msm qcom_camss videobuf2_dma_sg videobuf2_v4l2 videobuf2_memops mac80211 ocmem hci_uart gpu_sched phy_qcom_qmp_combo btqca drm_dp_aux_bus btbcm reset_qcom_pdc drm_display_helper camcc_sdm845 bluetooth qcom_q6v5_mss spi_geni_qcom i2c_qcom_geni typec gpi videobuf2_common qcom_rng phy_qcom_qmp_usb coresight_stm stm_core qrtr qcrypto cfg80211 qcom_q6v5_pas ufs_qcom phy_qcom_qmp_ufs phy_qcom_qmp_pcie lmh rfkill slim_qcom_ngd_ctrl icc_osm_l3 qcom_pil_info slimbus qcom_wdt qcom_q6v5 pdr_interface display_connector llcc_qcom drm_kms_helper qcom_sysmon qcom_common [ 609.254673] qcom_glink_smem mdt_loader icc_bwmon drm qmi_helpers socinfo backlight rmtfs_mem [ 609.364260] CPU: 0 PID: 388 Comm: kworker/0:3 Not tainted 6.6.85-rc2 #1 [ 609.373013] Hardware name: Thundercomm Dragonboard 845c (DT) [ 609.380818] Workqueue: events work_for_cpu_fn [ 609.387320] pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 609.396471] pc : memcg_hotplug_cpu_dead (include/linux/percpu-refcount.h:174 include/linux/percpu-refcount.h:332 include/linux/percpu-refcount.h:351 include/linux/memcontrol.h:809 mm/memcontrol.c:2392) [ 609.403452] lr : memcg_hotplug_cpu_dead (include/linux/percpu-refcount.h:174 include/linux/percpu-refcount.h:332 include/linux/percpu-refcount.h:351 include/linux/memcontrol.h:809 mm/memcontrol.c:2392) [ 609.410429] sp : ffff80008107bc50 [ 609.415903] x29: ffff80008107bc50 x28: 0000000000000000 x27: ffffad8428896ad8 [ 609.425251] x26: 0000000000000028 x25: ffff60fdbd4a1a58 x24: ffffad842887eb00 [ 609.434605] x23: 0000000000000000 x22: ffffad84288329c0 x21: 0000000000000000 [ 609.443957] x20: ffffb37994c7e000 x19: 0000000000000000 x18: 00000000b8fbaf46 [ 609.453329] x17: 0000000000000000 x16: 000000000000030d x15: 0000000000000049 [ 609.462707] x14: 0000000000000197 x13: ffff800081078000 x12: ffff80008107c000 [ 609.472102] x11: abc96095bed38f00 x10: 0000000000000000 x9 : 0000000000000001 [ 609.481495] x8 : ffff60fd47b4d280 x7 : 000000f2b5503510 x6 : 0000000000300000 [ 609.490872] x5 : 00000000801c0011 x4 : 0000000000000000 x3 : ffff80008107bc00 [ 609.500269] x2 : ffff60fd47b4d280 x1 : ffffad84264a670c x0 : ffff60fdbd4b09c0 [ 609.509655] Call trace: [ 609.514295] memcg_hotplug_cpu_dead (include/linux/percpu-refcount.h:174 include/linux/percpu-refcount.h:332 include/linux/percpu-refcount.h:351 include/linux/memcontrol.h:809 mm/memcontrol.c:2392) [ 609.520968] cpuhp_invoke_callback (kernel/cpu.c:196) [ 609.527648] _cpu_down (kernel/cpu.c:0 kernel/cpu.c:980 kernel/cpu.c:1415 kernel/cpu.c:1476) [ 609.533283] __cpu_down_maps_locked (kernel/cpu.c:1507) [ 609.539889] work_for_cpu_fn (kernel/workqueue.c:5644) [ 609.545882] process_scheduled_works (kernel/workqueue.c:2639 kernel/workqueue.c:2711) [ 609.552752] worker_thread (include/linux/list.h:373 kernel/workqueue.c:841 kernel/workqueue.c:2793) [ 609.558741] kthread (kernel/kthread.c:390) [ 609.564193] ret_from_fork (arch/arm64/kernel/entry.S:862) [ 609.570006] Code: d51b4235 8b160280 97ffebe0 97f694b5 (f9400269) All code ======== Code starting with the faulting instruction =========================================== [ 609.578382] ---[ end trace 0000000000000000 ]--- ## Test log 2 kselftest: Running tests in rseq TAP version 13 1..9 # timeout set to 0 # selftests: rseq: basic_test # testing current cpu # basic_test: basic_test.c:30: test_cpu_pointer: Assertion `sched_getcpu() == i' failed. # Aborted not ok 1 selftests: rseq: basic_test # exit=134 # timeout set to 0 # selftests: rseq: basic_percpu_ops_test # spinlock # Segmentation fault not ok 2 selftests: rseq: basic_percpu_ops_test # exit=139 # timeout set to 0 # selftests: rseq: basic_percpu_ops_mm_cid_test # spinlock # Segmentation fault not ok 3 selftests: rseq: basic_percpu_ops_mm_cid_test # exit=139 ## Source * Kernel version: 6.6.85-rc2 * Git tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git * Git sha: 0bf29b955eacbaba63be87642f2b48f8a7c45055 * Git describe: v6.6.83-244-g0bf29b955eac * Project details: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.6.y/build/v6.6.83-244-g0bf29b955eac ## Test * Test log: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.6.y/build/v6.6.83-244-g0bf29b955eac/testrun/27798819/suite/log-parser-test/test/internal-error-oops-oops-preempt-smp-ada4e7ef482d5d7749a545db62c1f4c97ae5ba4633a23ce654828f2d2e816088/log * Test history: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.6.y/build/v6.6.83-244-g0bf29b955eac/testrun/27798819/suite/log-parser-test/test/internal-error-oops-oops-preempt-smp-ada4e7ef482d5d7749a545db62c1f4c97ae5ba4633a23ce654828f2d2e816088/history/ * Test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.6.y/build/v6.6.83-244-g0bf29b955eac/testrun/27798819/suite/log-parser-test/test/internal-error-oops-oops-preempt-smp-ada4e7ef482d5d7749a545db62c1f4c97ae5ba4633a23ce654828f2d2e816088/ * Test link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2urSrAikljwhAncEhDz6bSva1iJ/ * Kernel config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2urSrAikljwhAncEhDz6bSva1iJ/config -- Linaro LKFT https://lkft.linaro.org