Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp403391lqr; Wed, 5 Jun 2024 09:13:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVC/ozJXhK31NDgzhraVFMnNiGA8CyLwyYwuHomgffDHoBhrWdrdL43lU45yxHy8wc8iXS9QHJpSQkyDMm1MXW5B6eRndOTZhDLOWV+5g== X-Google-Smtp-Source: AGHT+IEgusb5xSQzfKrhfMoqjK/CHedk4cd24g7gI9N9ATzylQT+wDCucQsJacLxFdQjcdJ61ILW X-Received: by 2002:a05:620a:13f5:b0:794:e518:58a with SMTP id af79cd13be357-79523fbf014mr313101185a.51.1717604029543; Wed, 05 Jun 2024 09:13:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717604029; cv=pass; d=google.com; s=arc-20160816; b=BbhuRFmik/v0Ybj8xlHKy1cwXFKdVgJW1p87EziqeqpN7aH8YHz6VAKsg/LlDWU//p qHs0IGxr6TpnzGWgopuiKUHZlvMzOCE2uQq4GGfNNShXpujNaFV7t+cTc1WecJph/LIK wW49zykM/2ibWNvezz3DYN1GOFAU3DwiNj+6UyTpufeJx5d+/Sm8MRYhooCe55KDB7KM Bo9uR517PDB+OFzIV2h+AQ4RYTTNHX07gGkJOfGjLEa2HI3wbR4D5KfLETMl7H/M+fWk pDEox6etrXo+jNpWKyd8jmQ+VfqdsordjGB+7JPFBKrQn2DHAr3pr0XbYY1yCgFeNBmk fGRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XZqop4oMhiyVdjTRe+jU0w8Ay/gg4CSzZsEjcgKQyDQ=; fh=S+lAK7bP7TutZGF1V8eR8/sfYyEVHGiIQHDJHovCalY=; b=EFhHjOQHDyyef+U0e92D9MnVfiF2ss5gXHc009XfT7pmDktaAupT/tArLEFU76dtaT AFkAn2f8vakjGSAiC5PUZ+WKYtTQpdmNCYiPamAqAXmn8qJehxgiRGzHjXnb9gokstkD uGlQ2M2ji68bmdUNu9hJ8X+azfLhyiDFGg1zE/qXMOTFr3tGaZpaFg7aTAcYy9dm/VYR EEWtx44GP76qse2t+cSLuJFMfLJdPMAbUoBlfYf3ANbp3Gk+AzG64gg89wsaz2X9iTJy e2kz3GK23MH6rFWXza/YH1zr9YfFpwa7czPqchiIeNKwHeU7UUIyAaXOFYeCcq6G0w93 zvXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=dXOfWivM; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-202890-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202890-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43ff2468bb8si138552471cf.343.2024.06.05.09.13.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 09:13:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202890-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=dXOfWivM; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-202890-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202890-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B852E1C240B2 for ; Wed, 5 Jun 2024 16:12:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 64866152DEB; Wed, 5 Jun 2024 16:12:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="dXOfWivM" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 834FE2575A; Wed, 5 Jun 2024 16:12:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717603972; cv=none; b=TgOVefNKcUfjjJrMW9h/1c0P/nJdyfDPnrkqMxqOoLIjBKNRuJ3Jx5i3RWils2PdVFJXOyPWDICea6vXZxP5Vp5ahgDXrWk5BqcVDwlFGxOgiCzpFAp/saKz9JDz61Lgrz5L9pwTtgVX9ZuiFmtrdq77DQjLF+xqY8Brwgm3aUY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717603972; c=relaxed/simple; bh=bb6R/wccxuh3haaibej5fK5MnrC4BlHZGVvR9Fjaymg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=A3zaJ3pOYIDKnFKOlLLAXah9Pep69CDyxBo1Bm/vW9ApUnSHrKrqODozWGlP4pMlVnheQSLDIShMa594/RFF2WIOIXYs0NbHz15YYjva3iotv1iHPClAbxVujDQATdY3pbTfkWM86QGv7lvlautLxlKBG0PRoReepnAu50ays3o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=dXOfWivM; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 380F740E0176; Wed, 5 Jun 2024 16:12:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 0-nu29L-4QBm; Wed, 5 Jun 2024 16:12:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1717603964; bh=XZqop4oMhiyVdjTRe+jU0w8Ay/gg4CSzZsEjcgKQyDQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dXOfWivMHgTCg1qBrOBgTs6JX5f0uNJG+RCaE5LY1isDuQWivYpQu7tdQdXGuWMHu Zv7PYO9DYUPD2swPx5Eq2UvT9VYZFATFn9QBxSaWRrqeQ4aQrRAllp1iL1szVOCPc0 ueUHTSQ3dGAl6q/vfkyUl9OjtrWvVTgHTGXc8iNgOGcS3lmUdgO34tUsydS820ar1x 4oo14IGphA9XaP58BsqojGUBqXQKu5uXyVeJttFJO9pfdlXjW1eKDA8MznP5guzcly +KdeI6X8GttcE6J9vQ/WmMnCCUST4vw8JPFrdato+u51keAe+tzRxuIgfNZCjonMLK TxoHqY/3RzxKr+iV/AfMA/3CrTSJwJU26e/8ctOK6fdLOUt/yXNS30V03YQvjNtocm CX6/R/HSUXHoztMgVl3qTvuTj7nxQ5DKPKhcuCNR4Pj/TSNDNBKaMX6vo0VkBCrk+L K/Eh0fS1S3aOVvBFnxBWplD3sB5a18k8Pj8KMf0muqiVVIADMTiwo6MbgM4BWRqqDV a179ZB9bMELiOlSjwdn0OC8meNyS01qHQ+WQj2zDJY2crEk9lFzKsadyd6xhoLx/Pm ETB+s4ZN6sTe7gOxbqGtfSXL0lf0csnQlGANRzwbDHDe62UzHqCBR54afqWiDNUB5J iOOtJdEmDW2pa70QICwXKvsA= Received: from zn.tnic (p5de8ee85.dip0.t-ipconnect.de [93.232.238.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 5A03640E016A; Wed, 5 Jun 2024 16:12:37 +0000 (UTC) Date: Wed, 5 Jun 2024 18:12:36 +0200 From: Borislav Petkov To: Yazen Ghannam Cc: Guenter Roeck , x86@kernel.org, Mario Limonciello , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org Subject: Re: [PATCH v3 3/8] hwmon: (k10temp) Check return value of amd_smn_read() Message-ID: <20240605161236.GIZmCOdP-CRPJ8-3sY@fat_crate.local> References: <20240523-fix-smn-bad-read-v3-0-aa44c622de39@amd.com> <20240523-fix-smn-bad-read-v3-3-aa44c622de39@amd.com> <20240605122012.GXZmBX_KFQArXB9Lar@fat_crate.local> <7a7c2f41-1608-4348-9183-d99aaa51398e@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7a7c2f41-1608-4348-9183-d99aaa51398e@amd.com> On Wed, Jun 05, 2024 at 09:41:51AM -0400, Yazen Ghannam wrote: > I agree that patches 1-3 are not stable-worthy on their own. But I think > patch 4 is, and it requires 1-3 to avoid build errors. Which of the rules in the first section of Documentation/process/stable-kernel-rules.rst apply for patch 4? Because I don't see it. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette