Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2876263pxb; Sun, 8 Nov 2020 17:21:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKNoROYaieiQhugbNGYjBn+ps/sQtFBXKwuYDPz6qnI0zdIGtsFBQShQOYkSleKFoUd1gq X-Received: by 2002:a05:6402:14c6:: with SMTP id f6mr13477036edx.359.1604884917835; Sun, 08 Nov 2020 17:21:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604884917; cv=none; d=google.com; s=arc-20160816; b=RfMYvqVg5yMPL7l8UgOUoWcadTr8gz+nv3lMrQ+uiwD64qJ4EceAewSTt3p3q8lgAw zZlSX47wPaqLBOs9IJyr9tl4MXBoqcdtKaDiyfyt98Gi00iUVOrGbrDQkYJ4SN5bLYCo 5ZNqlUzdxquAfNehzMxN7O0OiiuNh1P3xcpJRE4LboCFJb0Gn5s2rJheVduSo0h6iM8L Fu2z/Am7Q0wBiMb6JBGsyTcgAKw6dIPqfyaJ2MABvwv3m7j8RbV4Ni4uezxluB4f0uRd CmdcxPXkJsP9OxGYkOnhIqunOKx/X4+DaBJ3iL62jF3Wx6YHCTkpP8FH+XDchfqbAo5+ Zkgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=r/4MN5W9grxDBfbIVtDinZVyuztx1o+T5FNV2TIx2RA=; b=dQLfGxLs8Uff6sQg8oDzDbeaVY2hhGRxLWyyCd1PkQj6ndIIwg3b4CURDTPc/c6Ig8 esOdc52hFKsdzdIYvF9OrZbdHGLNqid3n42RgBwqzePqRuojk9el4IawExSyJ/k7IQzZ 5ToOpkeKlpDwPCMFP/KVbBwddB3xlmmuO89OaccKpJBcqWkRhsZ85rcOubYMElXgwcb3 b4IpQ6r4y1IcvkPC051CfahKWiGJyVApLC7U8y90gEuBjoxU2Hpt7/1jxhc19/KqEjLp V5tiM69cQsNY1s9rnPSj1AIlJaMcZNnXXpRgZZpoYd6LHDPEzy7Vi6v8xjeC1GiFKbRI jS6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u6si6418774edq.475.2020.11.08.17.21.21; Sun, 08 Nov 2020 17:21:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729000AbgKIBTS (ORCPT + 99 others); Sun, 8 Nov 2020 20:19:18 -0500 Received: from mo-csw1514.securemx.jp ([210.130.202.153]:60870 "EHLO mo-csw.securemx.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727979AbgKIBTS (ORCPT ); Sun, 8 Nov 2020 20:19:18 -0500 Received: by mo-csw.securemx.jp (mx-mo-csw1514) id 0A91Itv4020729; Mon, 9 Nov 2020 10:18:55 +0900 X-Iguazu-Qid: 34trFI5eBnsfcuv5BC X-Iguazu-QSIG: v=2; s=0; t=1604884735; q=34trFI5eBnsfcuv5BC; m=fASxfKb7gMfbRWGtZyCx9j9NW3GRwWaYhWoTAptrXKU= Received: from imx12.toshiba.co.jp (imx12.toshiba.co.jp [61.202.160.132]) by relay.securemx.jp (mx-mr1513) id 0A91IrBI012852; Mon, 9 Nov 2020 10:18:53 +0900 Received: from enc02.toshiba.co.jp ([61.202.160.51]) by imx12.toshiba.co.jp with ESMTP id 0A91Ir2B008158; Mon, 9 Nov 2020 10:18:53 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id 0A91Iq9M022229; Mon, 9 Nov 2020 10:18:52 +0900 From: Punit Agrawal To: Borislav Petkov Cc: Smita Koralahalli , x86@kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-edac@vger.kernel.org, linux-efi@vger.kernel.org, linux-acpi@vger.kernel.org, Tony Luck , "Rafael J . Wysocki" , Len Brown , Ard Biesheuvel , Yazen Ghannam Subject: Re: [PATCH v5] cper, apei, mce: Pass x86 CPER through the MCA handling chain References: <20201103164952.5126-1-Smita.KoralahalliChannabasappa@amd.com> <87a6vv9hch.fsf@kokedama.swc.toshiba.co.jp> <20201106120950.GC14914@zn.tnic> Date: Mon, 09 Nov 2020 10:18:46 +0900 In-Reply-To: <20201106120950.GC14914@zn.tnic> (Borislav Petkov's message of "Fri, 6 Nov 2020 13:09:50 +0100") X-TSB-HOP: ON Message-ID: <874klz9vk9.fsf@kokedama.swc.toshiba.co.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Borislav Petkov writes: > On Fri, Nov 06, 2020 at 02:36:46PM +0900, Punit Agrawal wrote: >> > diff --git a/drivers/firmware/efi/cper-x86.c b/drivers/firmware/efi/cper-x86.c >> > index 2531de49f56c..438ed9eff6d0 100644 >> > --- a/drivers/firmware/efi/cper-x86.c >> > +++ b/drivers/firmware/efi/cper-x86.c >> > @@ -2,6 +2,7 @@ >> > // Copyright (C) 2018, Advanced Micro Devices, Inc. >> > >> > #include >> > +#include >> >> Did you mean to include ? > > Why? Because arch_apei_report_x86_error() used in the patch is defined there. The indirect include works but pulls in additional definitions not needed by the patch. Do you prefer the more generic include? Thanks, Punit