Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7069468rdb; Wed, 3 Jan 2024 03:44:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IHXAurjlSws6n7qZPNpgvcq5WgXHCi8ElyRuLFal7ACRH95uqBXCHdbI8H/OVSkT3/GvP0+ X-Received: by 2002:a05:6808:3a0b:b0:3bb:c305:1e72 with SMTP id gr11-20020a0568083a0b00b003bbc3051e72mr15762687oib.52.1704282291535; Wed, 03 Jan 2024 03:44:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704282291; cv=none; d=google.com; s=arc-20160816; b=q8T3/1SZvP6Mp5JyvtWWWyEB67GhNn9wY/4xJT/g9eCaGks7IXLVcic32PQvj/F9Vu SgPrfGtVdO9PGOPmyS8LKeATQJu8A00AkuCwhnCZ0fWf4G/tLVNI+j4Io5L4Mlp/JRdn /FSB8elMkkcimmDN+1yJhC5NmEODpo2dE53+azwMpLyonaNJkZpIVNSm1bzzuvTIWoGs lmYPotjnpYrUQej2kRhSjxniFKckLmyptcfTP9pnF0SpH9QGnAT1s0/Drkj9fwBBPD2I yGvYUsLwvMT0SCmsvsJzNIrhl6or3UnEBSlyWyeoZjoX7betcHWPCzmEdWU9a/bk65wb CmBA== ARC-Message-Signature: i=1; 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=v3NyClcomG1/HfmBt2wrCT5atHNkOtucru3CNjcR+L0=; fh=S1h6TaMInGbkcVCi9zobhF/oA5nyEG46DODAsvWcVuI=; b=N9vYFr7+nQn7EGWXvy4NvXX/83vgvhUKHHdolr0GQ5RLmEF6a9ugmdfVXcEHU3Yj85 R4D39tYLo879DRMMk2MwL8lACp0oNqcMz1dwZhJPDTir+C7D/WT/g1sVxsM2ezHbjf2r g1T4PmVC0x05k93z2yEmJyZvDHYqyomWLz/fggfkl9XsW7wW/cEiENgYWIwGiC1kLqM4 zRyHkedB4Jhqv16OZnfvsnohQwHUbQ7EhjstC0vWD0imB0ExzxynUxLVuw7jNsXPkPeR DmluQY8eQNx2t6sqqolM+8px4OyhJQ4NUA1Amq9li4ys2j2C6XIltuTEviOZBpBM0iRG b5FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=B17v+BgF; spf=pass (google.com: domain of linux-kernel+bounces-14693-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14693-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 l4-20020a0ce084000000b0067ee84abca1si29062412qvk.105.2024.01.03.03.44.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 03:44:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14693-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=B17v+BgF; spf=pass (google.com: domain of linux-kernel+bounces-14693-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14693-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 9BBF71C227CF for ; Tue, 2 Jan 2024 18:09:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D4CD9156D0; Tue, 2 Jan 2024 18:08:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="B17v+BgF" X-Original-To: linux-kernel@vger.kernel.org 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 049F3156D4; Tue, 2 Jan 2024 18:08:49 +0000 (UTC) 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 89AA440E0197; Tue, 2 Jan 2024 18:08:47 +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 q0k_IJQCGsqP; Tue, 2 Jan 2024 18:08:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1704218924; bh=v3NyClcomG1/HfmBt2wrCT5atHNkOtucru3CNjcR+L0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B17v+BgF7jrid9KeVpHKGGK4IiKoC/E/PhSWWtzqcD8mDzMZTqGF0Rz65KP82KAHT TYWhwLBCFMOE0LfYXpbyOfwlqHHI1XHuC6iy9w1FjktxuZuLyU+GVObBl5DMIuqoMN lp18la9IQ34hd3L5SyMvcjugql+zJshB1J5t8GnWGSELCtMSm/MHd0VBaFoyaClFN5 wQnlI5ohMuhGvxgqfA97GXBx1jmTZIH3RbUfpLKDeWyv1V/UjktRT7NglFHaC0dKan CO9OrK7++zH8ItOgP3WKqgTcCrzz/qFNEqJof3HsWWiM6IRnkSZTYBAMdzWgC9quCz C/PafimLnhiJVJCJQyUzI7/xtBrIO+Uv6u20p2+ghXtmsqluSyVx8p3xo1Cu3ZFHAG NHT5Iu23Csdk/yQK+xfcw6olzGG+sfwRbpPyMz7RE/WQ9WsBbGkY9Hmu+O5zvcoQz3 O6CiTpqLEuRbRawCQWphlJ2tYYlINOA8GRqW7SqIifFIMaGy3+N3D8aC1+6/Y1OwLO JMDJmtyqk+8Ik0TgjcRgCALjWymOj8ivQk/DPEf1Rfp3PZVIn/JDFPq0pQfF2JZyQk /34Jc8+Rmws5xmY3ijTeWahef1sLlrIrVaSu6K+zL7v7vzc/P6lJ/dEllbKrL9cBG3 4MoJ3260kJxOOyOaAd5Ee5a8= Received: from zn.tnic (pd9530f8c.dip0.t-ipconnect.de [217.83.15.140]) (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 6C32F40E00C7; Tue, 2 Jan 2024 18:08:38 +0000 (UTC) Date: Tue, 2 Jan 2024 19:08:33 +0100 From: Borislav Petkov To: "Luck, Tony" Cc: "Zhuo, Qiuxu" , Aristeu Rozanski , Mauro Carvalho Chehab , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/1] EDAC/skx_common: Filter out the invalid address Message-ID: <20240102180833.GHZZRRIWAHmLW6eqrF@fat_crate.local> References: <20231207014512.78564-1-qiuxu.zhuo@intel.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: On Tue, Jan 02, 2024 at 05:37:20PM +0000, Luck, Tony wrote: > > Decoding an invalid address with certain firmware decoders could > > cause a #PF (Page Fault) in the EFI runtime context, which could > > subsequently hang the system. To make {i10nm,skx}_edac more robust > > against such bogus firmware decoders, filter out invalid addresses > > before allowing the firmware decoder to process them. > > Applied. Thanks. > > [Boris: This one with a "Link:" tag] Thanks! :) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette