Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4428180ioa; Wed, 27 Apr 2022 03:46:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxpgpRJUdl99vIEGCna0wYdBNEE0EJEBI0OEG+yW4wcMkba+HHKi4hNAZIYZ7JQf7ETv4n X-Received: by 2002:a17:903:22c7:b0:15d:3359:ca4c with SMTP id y7-20020a17090322c700b0015d3359ca4cmr9006622plg.59.1651056379126; Wed, 27 Apr 2022 03:46:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651056379; cv=none; d=google.com; s=arc-20160816; b=t/mNSA3SAlFQcgUdO/FBXZ8yyaPW5fLk+3rwsT07qeDiyEwxNbk2igRzIzljL95gtK czikGVov/jhtjyrqfv3oTuZBJ3WPrkLH4JzumQ8qMLyMycLXc0l1g4CLBm9Np38C9AmN u3TAOUsXglxdC+J7Fn6KQ1v5qjEen9m/l3i8CQoChpb4VUiA4ARH2D32aYHEHYOrbLS5 zVn8C21m8bKizVW7UQpH9k5W+Vy64P++5pHArhCc9VUoAElTfslixvBPGVLFFRTsOxK3 B6g1TqVmnKdkSfEYoFMIkb2yTc5lz1CKW4PjkUBNNF99wlqh1L6iUdqcmyrQ5OUaeavT S6KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=k+EHNX2/j7ghXLefSkHCQzll//NCRXcXx7mpWxQTqPA=; b=HM8yAUrKI2qYFgVZt56Mqd83vOET0O9ub92ADmnZn3wXtetkK95qnNs0i9oB1JNgZK +lunvBfXhSfMtjvMyDV7PzwR+ogD7dXEfZzShMrUT0aQWwu15b+s9RV78S+XXiy1Np2g 51U07hkOpVf490LYYz4x8wNnKOfikFRrCp0Im9puSwU+uDZVS9LQXHVYL8aGYwiCVOdF 9TvSFDl8Tx1M28Z5EyqXrt2pBYKaN2IfRGTBfZFLrYJYm2pAHF9RcqgKMrTGS28wHWcs z1zitjb6i1NVmrayN2NJfGeFIX7sDkM7C63TQ/Q4ckFaYkwYDi2SHsJUTVoJghkDwdgW zzPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=C59yiId4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s14-20020a17090302ce00b001562e0ba125si1169171plk.504.2022.04.27.03.46.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 03:46:19 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=C59yiId4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CC1843D826A; Wed, 27 Apr 2022 02:58:16 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354396AbiDZUHX (ORCPT + 99 others); Tue, 26 Apr 2022 16:07:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354400AbiDZUHU (ORCPT ); Tue, 26 Apr 2022 16:07:20 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E00111F63C for ; Tue, 26 Apr 2022 13:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651003452; x=1682539452; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=dromec/Ydk2Hkk4HIn4HSHHP6uhLiyN8IN4OIxV7VWs=; b=C59yiId47xuKBxu1TJe9KvEM6XJIZT9/aONia7L9EMCldHdA54RiSTS0 Grdfzz1WbDJTn3O6eQBz96lubB8xkSxDGY9SEt8S0oIpOeyrUJQ/Gtz2r 6mxSXvS1QYuUMgVv9eBIXmT6itxVJC/1ejkRTlqKgOPIDdVbnLu5hsOZd PK1BLmPS/lbXw0rjnIWSWOhbr/kN7seAlg8lftukkM6HwrHHeRtvXVVNk hjx7qCNAFumAwQF1GAknwx5SqKVjK0rGf9DWEyrr1dk+HooyT3dyWD4zP Ub0co6RuEbNOks3utcYXNOmRFSiTX2Ri3ldSDmYYtnX7mTtdvFioVNy/c w==; X-IronPort-AV: E=McAfee;i="6400,9594,10329"; a="253082442" X-IronPort-AV: E=Sophos;i="5.90,291,1643702400"; d="scan'208";a="253082442" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2022 13:03:58 -0700 X-IronPort-AV: E=Sophos;i="5.90,291,1643702400"; d="scan'208";a="580129109" Received: from rhweight-mobl.amr.corp.intel.com (HELO rhweight-mobl.ra.intel.com) ([10.212.180.158]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2022 13:03:57 -0700 From: Russ Weight To: mcgrof@kernel.org, gregkh@linuxfoundation.org, rafael@kernel.org, linux-kernel@vger.kernel.org Cc: trix@redhat.com, marpagan@redhat.com, lgoncalv@redhat.com, yilun.xu@intel.com, hao.wu@intel.com, matthew.gerlach@linux.intel.com, basheer.ahmed.muddebihal@intel.com, tianfei.zhang@intel.com, Russ Weight Subject: [PATCH v1 0/2] Fix-up patches for Firmware Uploads Date: Tue, 26 Apr 2022 13:03:54 -0700 Message-Id: <20220426200356.126085-1-russell.h.weight@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 Two fix-up patches for the new firmware upload functionatlity: (1) firmware_loader: Fix configs for sysfs split Fix up the handing for CONFIG_FW_LOADER_SYSFS, CONFIG_FW_LOADER_USER_HELPER, and CONFIG_SYSCTL as pertains to: register_sysfs_loader() unregister_sysfs_loader() register_firmware_config_sysctl() unregister_firmware_config_sysctl() (2) firmware_loader: Move definitions from sysfs_upload.h to sysfs.h This does not change behavior, but places some symbol declarations more appropriately. Russ Weight (2): firmware_loader: Fix configs for sysfs split firmware_loader: Move definitions from sysfs_upload.h to sysfs.h drivers/base/firmware_loader/sysfs.c | 3 --- drivers/base/firmware_loader/sysfs.h | 25 +++++++++++++++++---- drivers/base/firmware_loader/sysfs_upload.c | 1 - drivers/base/firmware_loader/sysfs_upload.h | 23 +++++-------------- 4 files changed, 26 insertions(+), 26 deletions(-) base-commit: 26360a8c9732cff2ee5bc2f180e9716b63e9f650 prerequisite-patch-id: 76b6e2481b3a66a9c3242fc01e0f55be687debb8 -- 2.25.1