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 DA921C021AA for ; Wed, 19 Feb 2025 11:46:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 29AF744015C; Wed, 19 Feb 2025 06:46:35 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 224A2440156; Wed, 19 Feb 2025 06:46:35 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 09E6744015C; Wed, 19 Feb 2025 06:46:35 -0500 (EST) 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 DB435440156 for ; Wed, 19 Feb 2025 06:46:34 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 99B25160E73 for ; Wed, 19 Feb 2025 11:46:34 +0000 (UTC) X-FDA: 83136516708.16.1526978 Received: from mail-ua1-f50.google.com (mail-ua1-f50.google.com [209.85.222.50]) by imf13.hostedemail.com (Postfix) with ESMTP id BB8CD20016 for ; Wed, 19 Feb 2025 11:46:32 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=XCqjqiS0; spf=pass (imf13.hostedemail.com: domain of naresh.kamboju@linaro.org designates 209.85.222.50 as permitted sender) smtp.mailfrom=naresh.kamboju@linaro.org; dmarc=pass (policy=none) header.from=linaro.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1739965592; 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=9HAi+JPAWVvmwhTEypy4+thacQq13MfYR6lEe+X0Q8c=; b=IouSOPcqvPdVqkyx3OA3LMpwbmnmrFIgcQ27Bzm1Tmlj+HVfnLIIN6kY2dNSO8hOXRND1G 1qB7W8PsOv4C0VuljjRZhj9xBX8xDK378qK8rh8Q67mU+w6MYVsIh77a5FlSlDiqq/cFJW JVE8V3BmyLzWyxF6SkOO6DfDmNDg/Lk= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=XCqjqiS0; spf=pass (imf13.hostedemail.com: domain of naresh.kamboju@linaro.org designates 209.85.222.50 as permitted sender) smtp.mailfrom=naresh.kamboju@linaro.org; dmarc=pass (policy=none) header.from=linaro.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1739965592; a=rsa-sha256; cv=none; b=OQWdLLSNzNVPN3vuwYUidMrL0Xy9D1dTmqelwPhaDUkYyPr4qIQWDp6LH91DEZaEW/soJJ f/MPVuviQx7vmo5tP1yt+Z4RxGb77ShkvdVzV6jY3kFeXQEYPsrpq0nfbnml9adW+lUZH5 5rydARDBQRZU00GoCJz+Zv+dLuXXuSQ= Received: by mail-ua1-f50.google.com with SMTP id a1e0cc1a2514c-868e368ec74so4063287241.1 for ; Wed, 19 Feb 2025 03:46:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739965592; x=1740570392; 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=9HAi+JPAWVvmwhTEypy4+thacQq13MfYR6lEe+X0Q8c=; b=XCqjqiS0N2jm+tOZoJIwPgO9AwL9fepaAqo5coopVMdtNDRw5BbTrqIJXmSw7SzZA7 RWFriL50BwTbDWNBUSKbw0egSWkkpVQDiTbv2XmUDsDLqFAxr5mej03oQk4C1noiwTo+ uEvM9KAyMMxUc72SLkz8cX6PBIstud1nqTMY6qCNC3f0LadTRw7dtVdOUBr5fh98e6aC 7IEjFKovuIknTK9dAN3YGFfo0tawaohOe8dp8V2gnYu9vTZQ9BX6G+w8B7nwH0Krlf1I H2T6YQI7f856sdksG1c05ml+LC6ZpAIDshi1/F+83BIP8PuKnodT4J9saeDUs1J9p4/o 31fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739965592; x=1740570392; 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=9HAi+JPAWVvmwhTEypy4+thacQq13MfYR6lEe+X0Q8c=; b=dN+nKXLEOFBQW2Njuk6cU1gm2Y1lW+mj2r5RkF8GjRMrUePnFHZMkKQcAEQGk+WyN5 DLgv9bcfJK//p/wPNTi5DvLtD7zumLFX8zBi/A6W0kCXnzdEq1lvoaLGbdHMR9HmPGGa bGURTdLk3DKAs5cIYal2N0WGrDBFj8djAQmQ/8jy/xoFNxLvdq0Oa3TtZ3nEUuRxStAa hCpoJihAbdJiPvaE+lWJK3q25J8T+VDkHpCxDS0rqGPmkWDxaX16OgI/Pw37QplIaTOt bJnUdsiLbftYYp4mbD9DIJJnX8gqz6C5586IUwvZVCi+DhxyZmlt/N7fbgTFCdyDNAMo nnTQ== X-Forwarded-Encrypted: i=1; AJvYcCXeg/Ca9T0X0v9gDYwvA2DZ0EDdDtvxXfCfGP4cpPQn4jcsmis79VxbfW9bBUvxsUak1Zp6ujAcvw==@kvack.org X-Gm-Message-State: AOJu0Yzm6xHd4XYltJ/QSh0N6f8urjARcn0KoyA1zXI06aBzgbzB11/3 GIdS87H3hJfI13v4A6PKFlj2bvLL2LAP6va517tE919FPVwZO6iwPFx3+gbGS8hi9d6/YfK7VUE WauQmEFaMK/GKHs7exzr8SH//xi5qQQwW+zwP3Q== X-Gm-Gg: ASbGncuwxIUiBqxWBfd/nXVR8ZrxLrfYji0vo5LzVCQdXeIGRRiz9C7+VTOnLZSgBIl gYR0/flsH/Hcv5i97P/Gl+9bJD2a8uAlk/b7DNR01tNCYhhFGqFubNejgSByfIoTuZkEQJPlgH+ o= X-Google-Smtp-Source: AGHT+IEZMwel+bdv06rxq65I3rJQXcMsB1FE/5DSKjDmaNs3ziyhRih3YYHUPsKR/IZQx53GRqU+Jzw+0+WRrQS8RNc= X-Received: by 2002:a05:6102:3f9e:b0:4bc:de7e:415d with SMTP id ada2fe7eead31-4be85c05531mr1674046137.13.1739965591759; Wed, 19 Feb 2025 03:46:31 -0800 (PST) MIME-Version: 1.0 References: <20250206155234.095034647@linuxfoundation.org> <2025021739-jackpot-lip-09f9@gregkh> In-Reply-To: <2025021739-jackpot-lip-09f9@gregkh> From: Naresh Kamboju Date: Wed, 19 Feb 2025 17:16:19 +0530 X-Gm-Features: AWEUYZlyd4o7hzsRTR-wDg8_BLL7BUQwlm0UHAZOQ22uI97jC6UQqnJWmLWSRIs Message-ID: Subject: Re: [PATCH 6.6 000/389] 6.6.76-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, Linux Crypto Mailing List , linux-fsdevel@vger.kernel.org, linux-mm , Anders Roxell , Dan Carpenter , Arnd Bergmann , Herbert Xu , willy@infradead.org, Pankaj Raghav , Yang Shi , Catalin Marinas , David Hildenbrand Content-Type: text/plain; charset="UTF-8" X-Rspam-User: X-Stat-Signature: m6wdtgqhpd8pjzj3qgxstren58tscynp X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: BB8CD20016 X-HE-Tag: 1739965592-705485 X-HE-Meta: U2FsdGV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5tMBdRRObJpniwmYcj+PItEDxW+aatwHP26leYr84/BHoWy5Q9mPcwLn5cVOktoDMbSmnAH1oukqSJwsRwMlvpR99zBzy/Ut00QB15+IRXgSZWGmCkFnFzrnS5ms+TcU4F8y3QuYpH9TpzY2EVBG1wDKLZEPSlMTUp8K6vyhe2x7F1+P+TpOhpxfqmIQI9zSlDe3xRTGHPs9CY4PiQ87Kaj95lk1CzMUls31/FmxilyMBphi3s3+8F2/+7lRBrTsATiJzyApwXNEd+htg5KPU29uBNBoTkkGbbBM97vdwyUwGW3vi55izloohmK75xKk9fdXU= 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 Mon, 17 Feb 2025 at 17:07, Greg Kroah-Hartman wrote: > > On Mon, Feb 17, 2025 at 05:00:43PM +0530, Naresh Kamboju wrote: > > On Sat, 8 Feb 2025 at 16:54, Naresh Kamboju wrote: > > > > > > On Thu, 6 Feb 2025 at 21:36, Greg Kroah-Hartman > > > wrote: > > > > > > > > This is the start of the stable review cycle for the 6.6.76 release. > > > > There are 389 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 Sat, 08 Feb 2025 15:51:12 +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.76-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 > > > > > > > > > There are three different regressions found and reporting here, > > > We are working on bisecting and investigating these issues, > > > > We observed a kernel warning on QEMU-ARM64 and FVP while running the > > newly added selftest: arm64: check_hugetlb_options. This issue appears > > on 6.6.76 onward and 6.12.13 onward, as reported in the stable review [1]. > > However, the test case passes successfully on stable 6.13. > > > > The selftests: arm64: check_hugetlb_options test was introduced following > > the recent upgrade of kselftest test sources to the stable 6.13 branch. > > As you are aware, LKFT runs the latest kselftest sources (from stable > > 6.13.x) on 6.12.x, 6.6.x, and older kernels for validation purposes. > > > > >From Anders' bisection results, we identified that the missing patch on > > 6.12 is likely causing this regression: > > > > First fixed commit: > > [25c17c4b55def92a01e3eecc9c775a6ee25ca20f] > > hugetlb: arm64: add MTE support > > > > Could you confirm whether this patch is eligible for backporting to > > 6.12 and 6.6 kernels? > > If backporting is not an option, we will need to skip running this > > test case on older kernels. > > The test case itself should properly "skip" if the feature is not > present in the kernel. Why not fix that up instead? The reported test gets PASS at the end, but generates kernel warning while running the test case (always reproducible) on 6.12 and 6.6. The reported warning was not seen on stable 6.13. # Test log: # selftests: arm64: check_hugetlb_options # 1..12 # ok 1 Check hugetlb memory with private mapping, sync error mode, mmap memory and tag check off # ok 2 Check hugetlb memory with private mapping, no error mode, mmap memory and tag check off # ok 3 Check hugetlb memory with private mapping, sync error mode, mmap memory and tag check on # ok 4 Check hugetlb memory with private mapping, sync error mode, mmap/mprotect memory and tag check on # ok 5 Check hugetlb memory with private mapping, async error mode, mmap memory and tag check on # ok 6 Check hugetlb memory with private mapping, async error mode, mmap/mprotect memory and tag check on # ok 7 Check clear PROT_MTE flags with private mapping, sync error mode and mmap memory # ok 8 Check clear PROT_MTE flags with private mapping and sync error mode and mmap/mprotect memory # ok 9 Check child hugetlb memory with private mapping, precise mode and mmap memory ------------[ cut here ]------------ [ 96.920028] WARNING: CPU: 1 PID: 3611 at arch/arm64/mm/copypage.c:29 copy_highpage (arch/arm64/include/asm/mte.h:87) [ 96.922100] Modules linked in: crct10dif_ce sm3_ce sm3 sha3_ce sha512_ce sha512_arm64 fuse drm backlight ip_tables x_tables [ 96.925603] CPU: 1 PID: 3611 Comm: check_hugetlb_o Not tainted 6.6.76-rc2 #1 [ 96.926956] Hardware name: linux,dummy-virt (DT) [ 96.927695] pstate: 43402009 (nZcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) [ 96.928687] pc : copy_highpage (arch/arm64/include/asm/mte.h:87) [ 96.929037] lr : copy_highpage (arch/arm64/include/asm/alternative-macros.h:232 arch/arm64/include/asm/cpufeature.h:443 arch/arm64/include/asm/cpufeature.h:504 arch/arm64/include/asm/cpufeature.h:814 arch/arm64/mm/copypage.c:27) [ 96.929399] sp : ffff800088aa3ab0 [ 96.930232] x29: ffff800088aa3ab0 x28: 00000000000001ff x27: 0000000000000000 [ 96.930784] x26: 0000000000000000 x25: 0000ffff9b800000 x24: 0000ffff9b9ff000 [ 96.931402] x23: fffffc0003257fc0 x22: ffff0000c95ff000 x21: ffff0000c93ff000 [ 96.932054] x20: fffffc0003257fc0 x19: fffffc000324ffc0 x18: 0000ffff9b800000 [ 96.933357] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 96.934091] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 [ 96.935095] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 [ 96.935982] x8 : 0bfffc0001800000 x7 : 0000000000000000 x6 : 0000000000000000 [ 96.936536] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 [ 96.937089] x2 : 0000000000000000 x1 : ffff0000c9600000 x0 : ffff0000c9400080 [ 96.939431] Call trace: [ 96.939920] copy_highpage (arch/arm64/include/asm/mte.h:87) [ 96.940443] copy_user_highpage (arch/arm64/mm/copypage.c:40) [ 96.940963] copy_user_large_folio (mm/memory.c:5977 mm/memory.c:6109) [ 96.941535] hugetlb_wp (mm/hugetlb.c:5701) [ 96.941948] hugetlb_fault (mm/hugetlb.c:6237) [ 96.942344] handle_mm_fault (mm/memory.c:5330) [ 96.942794] do_page_fault (arch/arm64/mm/fault.c:513 arch/arm64/mm/fault.c:626) [ 96.943341] do_mem_abort (arch/arm64/mm/fault.c:846) [ 96.943797] el0_da (arch/arm64/kernel/entry-common.c:133 arch/arm64/kernel/entry-common.c:144 arch/arm64/kernel/entry-common.c:547) [ 96.944229] el0t_64_sync_handler (arch/arm64/kernel/entry-common.c:0) [ 96.944765] el0t_64_sync (arch/arm64/kernel/entry.S:599) [ 96.945383] ---[ end trace 0000000000000000 ]---# ok 10 Check child hugetlb memory with private mapping, precise mode and mmap memory # ok 11 Check child hugetlb memory with private mapping, precise mode and mmap/mprotect memory # ok 12 Check child hugetlb memory with private mapping, precise mode and mmap/mprotect memory # # Totals: pass:12 fail:0 xfail:0 xpass:0 skip:0 error:0 ok 2 selftests: arm64: check_hugetlb_options Links: - https://lore.kernel.org/all/CA+G9fYtqBxt+JwSLCcVBchh94GVRhbo9rTP26ceJ=sf4MDo61Q@mail.gmail.com/ > > thanks, > > greg k-h - Naresh