Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp880880rwd; Tue, 13 Jun 2023 01:26:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6mrJAfY0UpeyV/qdWIfq6Yty83ZZf4Uk60MpYVb2mtM7oe/JH2y1drmWurkSCUX1xg+tFm X-Received: by 2002:a05:6a20:8402:b0:10c:6dbc:2810 with SMTP id c2-20020a056a20840200b0010c6dbc2810mr13059109pzd.62.1686644773124; Tue, 13 Jun 2023 01:26:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686644773; cv=none; d=google.com; s=arc-20160816; b=cC3b5lzH5eqgUsGsJ3D3GgRAxFjYfQYu+dIvFSkce5glKYCgaO2msIm5l8nmLx1hL2 jm9cMVhrnH5gJ+m0d08fGpzzxNXoTcVcAQ801rBtSARg/dJnZP2xDXHjjGo3Pr67PJmq Mish603BKLU6WTK9usMHFeUTheghf3QxdS/nD0nOZ7E7kZn1h7SvhjuTOD+Ao+lCBHVw xg6qno6v5LTu2i3cVdusFM3y9Zhz17tKe7Bdq7bPvbYdTj3NZlOZj20U5mhVBQRXFk68 ZItlYHMbZNBqm+rI7ItCru/BWaFUWh0+WJtjvlhtIYeJMQHpseucTW9jEesTes5tws/Z I2sA== 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=0nqZjlppry4gRJm1ml52u04oeby9mKNbcY2/HBT/i2k=; b=jjzoLuRhoJLYNlcB0GxCq/htwhJ50f70xEjgz8Ws2l6boAM7XE5fWWKESKxpBNw8GC 7VSmOULsTtx2oYaL6fAszIYEcJ23D7pcncNdxbwoMt48/+7a56fJScn72odY1tZLtUkm lLXU1QkZQAkOUMIKN2cosSA2TRvs82L3RQq02yo/1axStLA5epIsRFprXTm7FnRw5C4e ZmJO2604Q0uCCk6vyqdbyo50dnFsVDofWUQOTm33wk4GPYNiq1h8Wsz/bQkvwQB+Vowv PjPBdbRH3gUDoxfOdlDSCh3lUNAmuj2J3jS4VgvpljRbzTzlIbhCIv+U3LJsFlklDu52 PoGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bR4QkIqz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s202-20020a632cd3000000b0052c9fa00344si8773699pgs.625.2023.06.13.01.26.00; Tue, 13 Jun 2023 01:26:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bR4QkIqz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239371AbjFMICm (ORCPT + 99 others); Tue, 13 Jun 2023 04:02:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233941AbjFMIC0 (ORCPT ); Tue, 13 Jun 2023 04:02:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FD6110DE; Tue, 13 Jun 2023 01:01:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BC7A66109A; Tue, 13 Jun 2023 08:01:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFD1EC433EF; Tue, 13 Jun 2023 08:01:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1686643273; bh=v8+tAI1Tiq834oS0lOuXx3xnoqrH6hm5pa17SbvxOzQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bR4QkIqzShbQGknqJs8CcDr1aBX8RTtGriTrjlkzVKigdMwFnYXyWuXjKi3ZJmMv9 PbEcnLsQkygehD6YBVfDpiJAC0itQbnAMLBgRMBB1TdiERQlXx4isNIZvjQMPy9m7f GCw5x9/nLwQP9k0g8QO6UK3jrzcDW4xKXaxXCjU8= Date: Tue, 13 Jun 2023 10:01:10 +0200 From: Greg KH To: Avadhut Naik Cc: rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-fsdevel@vger.kernel.org, avadnaik@amd.com, yazen.ghannam@amd.com, alexey.kardashevskiy@amd.com, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v3 0/3] Add support for Vendor Defined Error Types in Einj Module Message-ID: <2023061341-anything-unlimited-cb62@gregkh> References: <20230612215139.5132-1-Avadhut.Naik@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230612215139.5132-1-Avadhut.Naik@amd.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 12, 2023 at 09:51:36PM +0000, Avadhut Naik wrote: > This patchset adds support for Vendor Defined Error types in the einj > module by exporting a binary blob file in module's debugfs directory. > Userspace tools can write OEM Defined Structures into the blob file as > part of injecting Vendor defined errors. > > The first patch refactors available_error_type_show() function to ensure > all errors supported by the platform are output through einj module's > available_error_type file in debugfs. > > The second patch adds a write callback for binary blobs created through > debugfs_create_blob() API. > > The third adds the required support i.e. establishing the memory mapping > and exporting it through debugfs blob file for Vendor-defined Error types. > > Changes in v2: > - Split the v1 patch, as was recommended, to have a separate patch for > changes in debugfs. > - Refactored available_error_type_show() function into a separate patch. > - Changed file permissions to octal format to remove checkpatch warnings. > > Changes in v3: > - Use BIT macro for generating error masks instead of hex values since > ACPI spec uses bit numbers. > - Handle the corner case of acpi_os_map_iomem() returning NULL through > a local variable to a store the size of OEM defined data structure. > > Avadhut Naik (3): > ACPI: APEI: EINJ: Refactor available_error_type_show() > fs: debugfs: Add write functionality to debugfs blobs > ACPI: APEI: EINJ: Add support for vendor defined error types > > drivers/acpi/apei/einj.c | 67 +++++++++++++++++++++++++++------------- > fs/debugfs/file.c | 28 ++++++++++++++--- > 2 files changed, 69 insertions(+), 26 deletions(-) > > -- > 2.34.1 > Why is a RFC series at v3? What is left to be done with it to make you confident that it can be merged? I almost never review RFC patches as obviously the submitter doesn't think it is good enough to be reviewed, and hundreds of other patches in my review queue are from people who think they are ready to be merged, so this puts your stuff always at the bottom of the list... When submitting something with "RFC" ask what type of comments you are looking for and why you do not think this is ready yet, otherwise we have no idea... thanks, greg k-h