linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mukesh Ojha <quic_mojha@quicinc.com>
To: <mcgrof@kernel.org>, <russ.weight@linux.dev>,
	<gregkh@linuxfoundation.org>, <rafael@kernel.org>
Cc: <linux-kernel@vger.kernel.org>, Mukesh Ojha <quic_mojha@quicinc.com>
Subject: [PATCH vRFC 0/8] Refactor and rename request firmware API
Date: Thu, 22 Feb 2024 23:30:25 +0530	[thread overview]
Message-ID: <20240222180033.23775-1-quic_mojha@quicinc.com> (raw)

This came as an idea, when i was looking for nowarn version
of request_firmware_into_buf() but ended up doing this.

I am keeping this as RFC, as i am not sure whether we are
open for such changes in API or some refactors.
Please provide feedback.

Mukesh Ojha (8):
  firmware_loader: Refactor request firmware lower level functions
  treewide: rename firmware_request_nowarn()
  treewide: rename firmware_request_platform()
  treewide: rename firmware_request_cache()
  firmware: Convert minor inline function to macro
  firmware: Move module template to the bottom
  firmware: remove prototype of fw_cache_piggyback_on_request()
  firmware: FW_OPT_UEVENT for all request_firmware family functions

 .../firmware/fallback-mechanisms.rst          |   4 +-
 .../driver-api/firmware/lookup-order.rst      |   2 +-
 .../driver-api/firmware/request_firmware.rst  |  14 +-
 drivers/accel/ivpu/ivpu_fw.c                  |   2 +-
 drivers/base/firmware_loader/main.c           | 226 ++++++++----------
 drivers/bluetooth/btbcm.c                     |   2 +-
 drivers/bluetooth/btintel.c                   |   4 +-
 drivers/bluetooth/hci_bcm4377.c               |   4 +-
 drivers/crypto/ccp/sev-dev.c                  |   6 +-
 drivers/crypto/inside-secure/safexcel.c       |   4 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c      |   2 +-
 drivers/gpu/drm/nouveau/nvkm/core/firmware.c  |   2 +-
 drivers/input/touchscreen/chipone_icn8505.c   |   2 +-
 drivers/input/touchscreen/silead.c            |   4 +-
 drivers/media/tuners/si2157.c                 |   2 +-
 drivers/memory/brcmstb_dpfe.c                 |   2 +-
 drivers/net/ethernet/intel/ice/ice_main.c     |   2 +-
 drivers/net/wireless/ath/ath10k/core.c        |   2 +-
 drivers/net/wireless/ath/ath10k/testmode.c    |   2 +-
 drivers/net/wireless/ath/ath11k/core.c        |   2 +-
 drivers/net/wireless/ath/ath12k/core.c        |   2 +-
 .../broadcom/brcm80211/brcmfmac/firmware.c    |   2 +-
 drivers/net/wireless/intel/iwlwifi/fw/pnvm.c  |   2 +-
 .../net/wireless/intel/iwlwifi/iwl-dbg-tlv.c  |   2 +-
 .../net/wireless/mediatek/mt76/mt7615/mcu.c   |   2 +-
 .../wireless/mediatek/mt76/mt76x0/usb_mcu.c   |   2 +-
 drivers/net/wireless/mediatek/mt7601u/mcu.c   |   2 +-
 drivers/net/wireless/realtek/rtw89/fw.c       |   2 +-
 drivers/net/wireless/silabs/wfx/fwio.c        |   2 +-
 drivers/usb/host/xhci-pci-renesas.c           |   2 +-
 include/linux/firmware.h                      |  10 +-
 lib/test_firmware.c                           |   2 +-
 sound/pci/hda/cs35l41_hda.c                   |   2 +-
 sound/pci/hda/cs35l56_hda.c                   |   2 +-
 sound/soc/codecs/wm_adsp.c                    |   2 +-
 sound/soc/sof/fw-file-profile.c               |   4 +-
 36 files changed, 152 insertions(+), 180 deletions(-)

-- 
2.43.0.254.ga26002b62827


             reply	other threads:[~2024-02-22 18:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-22 18:00 Mukesh Ojha [this message]
2024-02-22 18:00 ` [PATCH vRFC 1/8] firmware_loader: Refactor request firmware lower level functions Mukesh Ojha
2024-02-22 18:00 ` [PATCH vRFC 2/8] treewide: rename firmware_request_nowarn() Mukesh Ojha
2024-02-22 18:00 ` [PATCH vRFC 3/8] treewide: rename firmware_request_platform() Mukesh Ojha
2024-02-23  6:21   ` Greg KH
2024-02-23 15:15     ` Luis Chamberlain
2024-02-23 15:33       ` Greg KH
2024-02-23 19:42         ` Luis Chamberlain
2024-02-24  5:36           ` Greg KH
2024-02-26 10:52             ` Mukesh Ojha
2024-02-26 13:09               ` Greg KH
2024-02-26 13:22                 ` Mukesh Ojha
2024-02-26 16:06                   ` Luis Chamberlain
2024-02-22 18:00 ` [PATCH vRFC 4/8] treewide: rename firmware_request_cache() Mukesh Ojha
2024-02-22 18:00 ` [PATCH vRFC 5/8] firmware: Convert minor inline function to macro Mukesh Ojha
2024-02-23  6:22   ` Greg KH
2024-02-22 18:00 ` [PATCH vRFC 6/8] firmware: Move module template to the bottom Mukesh Ojha
2024-02-22 18:00 ` [PATCH vRFC 7/8] firmware: remove prototype of fw_cache_piggyback_on_request() Mukesh Ojha
2024-02-22 18:00 ` [PATCH vRFC 8/8] firmware: FW_OPT_UEVENT for all request_firmware family functions Mukesh Ojha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240222180033.23775-1-quic_mojha@quicinc.com \
    --to=quic_mojha@quicinc.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcgrof@kernel.org \
    --cc=rafael@kernel.org \
    --cc=russ.weight@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).