Received: by 2002:ab2:3b09:0:b0:1ed:14ea:9113 with SMTP id b9csp129599lqc; Thu, 29 Feb 2024 12:20:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXHm+C14kU5kTewY62dgV8prv/rtYbWSHZNKas1Ot+vmyNZstR6zXJVhjiT6zDVdckTXR4WlnrM1TlyCSEeJPA0RKQkTcnwiZ2CG/hQtw== X-Google-Smtp-Source: AGHT+IHyvShS5mDNMP2a01wJFbeNwn7gqlWmIjbYEoPiyAADMuVhZDy2mc/FUeo/ox/m+J0AWK5f X-Received: by 2002:a17:902:e785:b0:1dc:cc09:ebad with SMTP id cp5-20020a170902e78500b001dccc09ebadmr2666922plb.28.1709238006791; Thu, 29 Feb 2024 12:20:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709238006; cv=pass; d=google.com; s=arc-20160816; b=n0YWnUqdCyxOHvMmPEPLxKKcqHtg+M01ZNLr7G3O8vJeV8imEA8lf9793ttd8PS3mQ iqcPw+9/jkVr0ZDzDaXN8X4c0z1AkEGtQw/zJ6bEqyOxexOdVjnh2G1UL9z4wLnZliNM oslRIKveyIE7qPhYRq9/gPn8W6mLo8XqzJ6HUHqL/KeHQuxkNDDZiDqZyoaAZgiTLU6n 524gSE1bflKZ08UHtCAziW4oi4ZEbiA0iAGmIdC6irJT5WFpdAPXh1lZ0zS5a6r19trl v8DgIoFTLRKKzEyUJXSigXJ6MD5QW9d58mRI+vjhbAzMaQxtPi2yuqEpEzKSxd7E/Nat dBsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :sender:dkim-signature; bh=DWx+JJzrhA8O/5RetxNWqwuYRfxHSKh4F82WaKom4aE=; fh=lD9Eoz9/LOX6FUWUaOVV2AaVeQ6iDLNlI18c4qCsSiQ=; b=FcCGhqeMmheX5aS3NoLgjQtOumLzGlLiPtdSiCXkOnN9wS1x074np8tXN/y/C2zABo J+P18kTrZs0KN3LsehqNEQQMGMlI1+plzC3t+1y07GtPFFNEoONzfHTWjcpfORoRyp65 FURcMfZbYB/sXVRzrFzZu88m1xYjqaAvBs4eVy9yhdWBoP3g0WdmuUjbgupkPdbdTp5h XEefrKV3osYseP4bid0fKyWiAMoh3wUD0JNGxQPWcPf3i6FB4TgY39Ge95oT0GGLQ/Ph vZPloUhdnLH1xsXZ/QUISp6Hjf8yCtW4AdNdy9O4Wxf/qu4GuxoZ79ipdzvnftvdbR7U qHtQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WPA6OH6d; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-87410-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87410-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id g10-20020a170902c98a00b001d8d3c276casi1833530plc.445.2024.02.29.12.20.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 12:20:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87410-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WPA6OH6d; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-87410-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87410-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6C6E2283438 for ; Thu, 29 Feb 2024 20:20:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D69961428E4; Thu, 29 Feb 2024 20:19:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WPA6OH6d" Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83B0113F44F; Thu, 29 Feb 2024 20:19:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709237987; cv=none; b=LpTBTnM8hwtD4EadeTpjqya9AYzUcA/MxHRPoPncGS2X7cP+F27BK4IWmla1oyCy3qw1RYGvI0i1auxseX/IWS1bQrzV0qEO9jxJnE+Tmn2htnTknNuXXQymMQb2ELFPFtbVkEALH1h9i5yJwVDfiVTPhuCqA7jkkZa4ieHr7wA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709237987; c=relaxed/simple; bh=LN/IOb5JU0DH2uYb2n+cydKcHYsF2OCAvDHl0807OAI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Ksem9hJH3xbTvLNOEKD3Wn6HXENivSbIHNj6lRuMPxg88g/J27MAnSxXLoz8N/HQt1ECpEYh2IOmtunxns86LG+kmpjS7XyPkJ4lVbRwy3XV76TKA+AV0qi7Gc1Hqv2a5U2pktNwWIubchfgCNno/5urFsCEUXBTEOxIp+OWbwg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WPA6OH6d; arc=none smtp.client-ip=209.85.166.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-io1-f45.google.com with SMTP id ca18e2360f4ac-7c48e13e0d7so66860039f.1; Thu, 29 Feb 2024 12:19:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709237984; x=1709842784; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=DWx+JJzrhA8O/5RetxNWqwuYRfxHSKh4F82WaKom4aE=; b=WPA6OH6dngLV7KxMMrIiJYJMemHIehfs5eNgfAT/OsTpEWV2T/eIoqqUNQ3Xm42F6I wbPZ3E7n06Lp8VWh68eRQHb8gWL9OZX/FTn36I8NrmyGDZQPqRH+TNEdKckHK+ijSNrJ vmh21h9ywFp6l+HMCvcSpfnYys7r54RnLNOoblIye2+TapknCw5MfTdQyyLTKE2Z70IB Xam3JtXKv7GYoKVeNNh8X87ll9x4fUQ5kJeUBgWCqGpdaRRJM8KalWh8azq3uVBa3H4c HBvCVIcVQO0kBwzsGLwDhciASMwUlCZ8+7Lbqj34QaJ9+6ebpZo5r5Z7+djkxyD2r7aT Dh8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709237984; x=1709842784; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DWx+JJzrhA8O/5RetxNWqwuYRfxHSKh4F82WaKom4aE=; b=F6VvcuCyEjnlVD3j1cTS7To+a7bTIYu+RxEpW40cw6XM4opXZHOl/WX21jniWKb3Pb wViupzcNTh2Vh1M10ZjJ4y8cflc3ung232EEiPa4c3wsWb4JHubw18KKc1ZMldQUXSkC 6KuzEBX3od2RefLXABU/j+ltUNuNm3aSATYspU2zE3qIMQFRtCLRKalTakxXQzKpxt7k esFSyLSktaUazDcK0xM7Z7kikHfsDOnQBD5mZxYGU9h2JXZfkDMoY4RkIIUkBKbMhAnW i/jtqNywqHx4q/+RiXjgsUPL/5rqBupQqDpUVv+lof0VzszEmaUKydXK1v8NAjT4WIUS /B9g== X-Forwarded-Encrypted: i=1; AJvYcCWSnLgKPeFflDE6JPHN/dKNQL2MTe3CDHN+WCnYfPjaD5M/+omRJfX+jxvpYCzLVioFbgzXlQR1spkcVaP3+1ZjCpsQ+CNRJ8kYV1fK X-Gm-Message-State: AOJu0YyCVHK8KJzl0d93anSVtlKm+P3abUettCmkVNVQrn0IKVzmr96r EfZaSJXzx/qgV64kaPxWFW/zMID4DSUwPjCkgaNkwUvmuSD6PDFc X-Received: by 2002:a5e:8d11:0:b0:7c7:908b:f375 with SMTP id m17-20020a5e8d11000000b007c7908bf375mr52854ioj.10.1709237984397; Thu, 29 Feb 2024 12:19:44 -0800 (PST) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id g10-20020a02b70a000000b00474558a20a3sm473305jam.140.2024.02.29.12.19.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Feb 2024 12:19:43 -0800 (PST) Sender: Guenter Roeck Message-ID: <1223812f-1dc3-40c2-a58a-2485d68e92b6@roeck-us.net> Date: Thu, 29 Feb 2024 12:19:40 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 5.15 000/245] 5.15.150-rc1 review Content-Language: en-US To: Greg Kroah-Hartman , =?UTF-8?Q?Daniel_D=C3=ADaz?= Cc: stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, 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, allen.lkml@gmail.com, paul@crapouillou.net References: <20240227131615.098467438@linuxfoundation.org> <2024022905-skinny-making-7852@gregkh> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe1Zi/8Xo/2+M1dSSEt196rXaC kwu2KgIgmkRBb3cp2vIBBIIowU8W3qC1+w+RdMUrZxKGWJ3juwcgveJlzMpMZNyM1jobSXZ0 VHGMNJ3MwXlrEFPXaYJgibcg6brM6wGfX/LBvc/haWw4yO24lT5eitm4UBdIy9pKkKmHHh7s jfZJkB5fWKVdoCv/omy6UyH6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7Rj trjv82EZtrhLuLjHRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: <2024022905-skinny-making-7852@gregkh> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/29/24 11:54, Greg Kroah-Hartman wrote: > On Tue, Feb 27, 2024 at 12:56:32PM -0600, Daniel Díaz wrote: >> Hello! >> >> On 27/02/24 7:23 a. m., Greg Kroah-Hartman wrote: >>> This is the start of the stable review cycle for the 5.15.150 release. >>> There are 245 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 Thu, 29 Feb 2024 13:15:36 +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/v5.x/stable-review/patch-5.15.150-rc1.gz >>> or in the git tree and branch at: >>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y >>> and the diffstat can be found below. >>> >>> thanks, >>> >>> greg k-h >> >> We're seeing build regressions here with RISC-V, with GCC 8, GCC 12, and Clang 17: >> >> -----8<----- >> In file included from /builds/linux/include/linux/list.h:9, >> from /builds/linux/include/linux/module.h:12, >> from /builds/linux/drivers/net/ethernet/realtek/r8169_main.c:12: >> /builds/linux/drivers/net/ethernet/realtek/r8169_main.c:5512:35: error: 'rtl8169_pm_ops' undeclared here (not in a function); did you mean 'rtl8169_poll'? >> 5512 | .driver.pm = pm_ptr(&rtl8169_pm_ops), >> | ^~~~~~~~~~~~~~ >> /builds/linux/include/linux/kernel.h:46:44: note: in definition of macro 'PTR_IF' >> 46 | #define PTR_IF(cond, ptr) ((cond) ? (ptr) : NULL) >> | ^~~ >> /builds/linux/drivers/net/ethernet/realtek/r8169_main.c:5512:27: note: in expansion of macro 'pm_ptr' >> 5512 | .driver.pm = pm_ptr(&rtl8169_pm_ops), >> | ^~~~~~ >> make[5]: *** [/builds/linux/scripts/Makefile.build:289: drivers/net/ethernet/realtek/r8169_main.o] Error 1 >> ----->8----- >> >> Bisection points to: >> >> commit ac2871f646a8f556203f5b6be875ce406d855ddb >> Author: Paul Cercueil >> Date: Tue Dec 7 00:20:59 2021 +0000 >> PM: core: Redefine pm_ptr() macro >> [ Upstream commit c06ef740d401d0f4ab188882bf6f8d9cf0f75eaf ] >> >> A revert could not be done cleanly. >> >> Tuxmake reproducer: >> >> tuxmake --runtime podman --target-arch riscv --toolchain gcc-12 --kconfig defconfig >> >> Reported-by: Linux Kernel Functional Testing > > I've been beating on this for a while and I really don't know what is > happening, sorry. The driver looks fine, something is "odd" with riscv No, the driver is not fine. Upstream has commit 8fe6e670640e ("r8169: use new PM macros") which makes rtl8169_pm_ops unconditional. That commit is missing in v5.15.y. Applying it makes the problem disappear. In other words, the problem is not riscv specific, but will be seen if the realtek driver is built with CONFIG_PM=n (which happens to be the case with riscv:defconfig). Guenter