Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1704058rdh; Tue, 26 Sep 2023 00:23:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG8XU3bIl0A9OSMM/BCz70Qvfsos7XqNQB7/lPi4aycvnVRMVi7gNJfoI/e4P9FAtWmovmX X-Received: by 2002:a17:902:c085:b0:1c5:bc83:557b with SMTP id j5-20020a170902c08500b001c5bc83557bmr6344083pld.51.1695713018178; Tue, 26 Sep 2023 00:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695713018; cv=none; d=google.com; s=arc-20160816; b=kQlgvP85WDets0ZOK30EwtAY927bQWdM9/ZonkQoI8HwHAyx+1p0KzVASo3pZqaofR fnY0JHLKgql6gqVOBVQdKOWAmBFCnonTvHyknfWS9jAJhyZPw7J9oeo3vK9Qnf1o5x55 pEQp2wQng1P41DZp9pTIAQ0m96iYcoGTlLFKjIDOImrAq8WeKDU1apcgypuaIJ7plPPy M/3Zi7viWqKP2rX5zUSlyl08S32tPXmgf4fYQ8lG0qTwK0A4y5ZGAUxwWKbjP6h19gVq BAH2eB3HPSLhXBj4/Xzzlpl9bl152oFcMA1s/L1k3SUF+vtj/oyFzQFH+FqjSPhfDBcr 6OVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=wBp5HUR0PKc1j0TFlmjC0FRU5x2FSJJ/S9pXeRg+nk0=; fh=oLzJY2cPmEqHb7SjYB5yq9PVz5VeYFebJPC0/yRiMCs=; b=V4N+EbKja0dSFeENcUh0FmEDUQPH7iqGRnL0pDy+D90usFP7afB5/PelnQmfA+dU67 wAv3uvuOai2Ats7tkF2gk702nHjRsVO0eVx6dtc+Lr6CpGS8Dg7/PEURC06oEhRPRG4P 5boJycp4k21Hi6g6WSEyWX8q1E6egzxVAtQgmBE0Svk6xY6/OSCOLDeCXMhXrwgm3eHR pOzlxeGdQREIhjEHMhbvmJOO1VmvPrzoI37FCil2KGBKn/E04aCXYheve1KugASTC/cl jgcX736vBc2wuj+zgouZ4iU1CzTCxddpDCL9RE2mRn5NVBz0wd2wvjQ9Rvh9oTc2tyvh WQGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id o10-20020a170902d4ca00b001c3a06b4fd7si5719768plg.561.2023.09.26.00.23.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 00:23:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 566F6808D231; Mon, 25 Sep 2023 23:47:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229787AbjIZGra (ORCPT + 99 others); Tue, 26 Sep 2023 02:47:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229685AbjIZGr3 (ORCPT ); Tue, 26 Sep 2023 02:47:29 -0400 Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3378E6; Mon, 25 Sep 2023 23:47:22 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=xueshuai@linux.alibaba.com;NM=1;PH=DS;RN=21;SR=0;TI=SMTPD_---0Vsvn-Og_1695710837; Received: from 30.240.112.49(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0Vsvn-Og_1695710837) by smtp.aliyun-inc.com; Tue, 26 Sep 2023 14:47:19 +0800 Message-ID: <9ae398ff-c6a2-fde8-a767-3b42a86b9c38@linux.alibaba.com> Date: Tue, 26 Sep 2023 14:47:17 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [RFC PATCH v2 1/9] pstore: move pstore creator id, section type and record struct to common header Content-Language: en-US To: Kees Cook Cc: tony.luck@intel.com, gpiccoli@igalia.com, rafael@kernel.org, lenb@kernel.org, james.morse@arm.com, bp@alien8.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, ardb@kernel.org, robert.moore@intel.com, linux-hardening@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org, linux-efi@vger.kernel.org, acpica-devel@lists.linuxfoundation.org, baolin.wang@linux.alibaba.com References: <20230925074426.97856-1-xueshuai@linux.alibaba.com> <20230925074426.97856-2-xueshuai@linux.alibaba.com> <202309251012.AD87704BB@keescook> From: Shuai Xue In-Reply-To: <202309251012.AD87704BB@keescook> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 25 Sep 2023 23:47:29 -0700 (PDT) On 2023/9/26 01:13, Kees Cook wrote: > On Mon, Sep 25, 2023 at 03:44:18PM +0800, Shuai Xue wrote: >> Move pstore creator id, section type and record struct to the common >> header, so that it can be use by MCE and GHES driver. > > I would prefer this was not in the pstore header -- this is a backend > detail that should stay in backend headers. > > -Kees > Hi, Kees, Which file do you prefer? Do you mean "include/linux/cper.h", it defines the standard CPER sections, e.g. CPER_SEC_PLATFORM_MEM, CPER_SEC_PCIE, etc. Thank you for comments. Best Regards, Shuai