From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43264C6FD1F for ; Thu, 23 Mar 2023 01:18:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229903AbjCWBS1 (ORCPT ); Wed, 22 Mar 2023 21:18:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjCWBSY (ORCPT ); Wed, 22 Mar 2023 21:18:24 -0400 Received: from out30-110.freemail.mail.aliyun.com (out30-110.freemail.mail.aliyun.com [115.124.30.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3882B28D33; Wed, 22 Mar 2023 18:18:23 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=xueshuai@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0VeS86VV_1679534299; Received: from 30.240.114.229(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0VeS86VV_1679534299) by smtp.aliyun-inc.com; Thu, 23 Mar 2023 09:18:20 +0800 Message-ID: Date: Thu, 23 Mar 2023 09:18:16 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH] ACPI: APEI: EINJ: warn on invalid argument when explicitly indicated by platform Content-Language: en-US To: "Luck, Tony" Cc: "baolin.wang@linux.alibaba.com" , "benjamin.cheatham@amd.com" , "bp@alien8.de" , "Williams, Dan J" , "james.morse@arm.com" , "jaylu102@amd.com" , "lenb@kernel.org" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "rafael@kernel.org" , "zhuo.song@linux.alibaba.com" References: <20230317073310.4237-1-xueshuai@linux.alibaba.com> From: Shuai Xue In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/3/23 AM12:07, Luck, Tony wrote: >> Fix to return -EINVAL in the __einj_error_inject() error handling case >> instead of -EBUSY, when explicitly indicated by the platform in the status >> of the completed operation. > > Needs a bit longer description on the use case based on follow up discussion. > Key information is the EINVAL is an indicator to the user that the parameters they > supplied cannot be used for injection. > > But for the code: > > Reviewed-by: Tony Luck > > -Tony Got, I will rephrase the commit log based on follow up discussion. Thank you for reviews. Cheers, Shuai