Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1237193pxk; Fri, 25 Sep 2020 09:29:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxvcBEjHTolpf30hhyoY1QKXA93OYTF1pRTUtJOVIFdZFZ/V1R3c1pcb1YHal0KjjQqBYY X-Received: by 2002:a17:906:9353:: with SMTP id p19mr3458040ejw.403.1601051363695; Fri, 25 Sep 2020 09:29:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601051363; cv=none; d=google.com; s=arc-20160816; b=diyF8tSAuZptW2KAcTgiHYw+FNopzYs5EynFmimHf4+1sr3pU7yWYigD7993qr6TYM ft6p50Q5Kbmh4uz/mw49lH4mifsWAjv7P1EjBZ252fpw7HPssq4WoyCR+jrryU6d5bEY mT0yKlauZl7RIFdH+cKjV4JLR9u0+00O7xh7a28v+8ZoD3kpDcAnwGdWDyHVF2Pw7wE+ ePkihyjMMTnZpI4UrPGi7hItSiK32JZDT0BB7T/if751FZcXs9w0Ge/OwPth1zYPxIPh J2e56t/4cDZAp/zASh4wXiwdRQ6FlYTmcXDkyLdbAiPY2nLbOTktFUSjK4B9FH9+IrSO rjRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=K6sGbhgfxwnmQZIyH+ysWIaxNNdvcxJU0y9gu+E0hU8=; b=pz4xVRPp77F2DiQlvz3axqsbrVlQCGAwZ+XeNNUwglt7KZhPv3/FjjvkV7dkE2Cr4q FxJ1Gk/6bi4hzWO/vOH5MvnvqxK3YcrO96o21d41xBZiw5VNY2rOrJBIk+j34OwTw9Qd ibdUKMPpumrn9D26IZllz5vckbBYM+wMTFYkNZ0Zz4a+OB/8Tr2FbcGAT+5gnkrXY7ty swEx8iAEb/Q/Blt3TKQlt82uU7Z/sqVg0UFE7GsaiQM+/WrAQb02Rav7R6l31rxlnKLc DgUMnsoWMHBvE4XDM4j8qk6tzjjq8tFxjBLzAjffCOz4/e9AhujOZJrwq0jw71gYlPMc GZEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=LdPUlJAH; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s25si2128869edt.544.2020.09.25.09.29.00; Fri, 25 Sep 2020 09:29:23 -0700 (PDT) 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; dkim=pass header.i=@alien8.de header.s=dkim header.b=LdPUlJAH; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728212AbgIYQ1T (ORCPT + 99 others); Fri, 25 Sep 2020 12:27:19 -0400 Received: from mail.skyhub.de ([5.9.137.197]:57216 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726990AbgIYQ1S (ORCPT ); Fri, 25 Sep 2020 12:27:18 -0400 Received: from zn.tnic (p200300ec2f0b3a00329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ec:2f0b:3a00:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id D4B211EC0284; Fri, 25 Sep 2020 18:27:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1601051237; h=from:from: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; bh=K6sGbhgfxwnmQZIyH+ysWIaxNNdvcxJU0y9gu+E0hU8=; b=LdPUlJAHdtaj0hAkfJ5AyHey6VAvxuL4x2dzyh9ersdpijNhAv02QlF3LfYPKTyc4S5pXV xBM+5yc9c2xByJ9PV1/xOt21dIYqI8egHmlopbikT7gC0e5A8/YgpzZGQl2bXiHe+4xvtk djGnMJkcNpyqfuK0A0Ru5VY4mNgvGgQ= Date: Fri, 25 Sep 2020 18:27:10 +0200 From: Borislav Petkov To: Yazen Ghannam Cc: Punit Agrawal , Smita Koralahalli Channabasappa , 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, devel@acpica.org, Tony Luck , "Rafael J . Wysocki" , Len Brown , Ard Biesheuvel Subject: Re: [PATCH v4] cper, apei, mce: Pass x86 CPER through the MCA handling chain Message-ID: <20200925162710.GK16872@zn.tnic> References: <20200904140444.161291-1-Smita.KoralahalliChannabasappa@amd.com> <87wo0kiz6y.fsf@kokedama.swc.toshiba.co.jp> <20200923140512.GJ28545@zn.tnic> <87pn6chwil.fsf@kokedama.swc.toshiba.co.jp> <52c50f37-a86c-57ad-30e0-dac0857e4ef7@amd.com> <20200924175023.GN5030@zn.tnic> <877dsiislt.fsf@kokedama.swc.toshiba.co.jp> <20200925161940.GA21194@yaz-nikka.amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200925161940.GA21194@yaz-nikka.amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 25, 2020 at 11:19:40AM -0500, Yazen Ghannam wrote: > This patch is checking if an MSR context info structure lines up with > the MCAX register space used on Scalable MCA systems. This register > space is defined in the AMD Processor Programming Reference for various > products. This is considered a hardware feature extension, so the > existing register layout won't change though new registers may be added. Yeah, and exactly for that there's no need to add a special structure because if new registers get added, you'd need to add a new struct definition too. Let's keep it simple and do the offsets thing. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette