]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fuzz cleanups of patches added to queue
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Jul 2022 06:52:31 +0000 (08:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Jul 2022 06:52:31 +0000 (08:52 +0200)
Something is odd, lots and lots of fuzz...

39 files changed:
queue-4.19/alsa-hda-add-fixup-for-dell-latitidue-e5430.patch
queue-4.19/alsa-hda-realtek-fix-headset-mic-problem-for-a-hp-machine-with-alc221.patch
queue-4.19/nfc-nxp-nci-don-t-print-header-length-mismatch-on-i2.patch
queue-5.10/alsa-hda-realtek-enable-the-headset-mic-on-a-xiaomi-s-laptop.patch
queue-5.10/alsa-hda-realtek-fix-headset-mic-problem-for-a-hp-machine-with-alc671.patch
queue-5.10/nexthop-fix-data-races-around-nexthop_compat_mode.patch
queue-5.10/nfc-nxp-nci-don-t-print-header-length-mismatch-on-i2.patch
queue-5.15/alsa-hda-realtek-enable-the-headset-mic-on-a-xiaomi-s-laptop.patch
queue-5.15/alsa-hda-realtek-fix-headset-mic-problem-for-a-hp-machine-with-alc671.patch
queue-5.15/alsa-usb-audio-add-quirk-for-fiero-sc-01-fw-v1.0.0.patch
queue-5.15/alsa-usb-audio-add-quirk-for-fiero-sc-01.patch
queue-5.15/alsa-usb-audio-add-quirks-for-macrosilicon-ms2100-ms.patch
queue-5.15/asoc-codecs-rt700-rt711-rt711-sdca-initialize-workqu.patch
queue-5.15/asoc-rt711-fix-calibrate-mutex-initialization.patch
queue-5.15/asoc-rt711-sdca-sdw-fix-calibrate-mutex-initializati.patch
queue-5.15/btrfs-rename-btrfs_bio-to-btrfs_io_context.patch
queue-5.15/btrfs-return-eagain-for-nowait-dio-reads-writes-on-compressed-and-inline-extents.patch
queue-5.15/fbdev-disable-sysfb-device-registration-when-removin.patch
queue-5.15/netfilter-nf_tables-replace-bug_on-by-element-length.patch
queue-5.18/alsa-hda-realtek-enable-the-headset-mic-on-a-xiaomi-s-laptop.patch
queue-5.18/alsa-hda-realtek-fix-headset-mic-problem-for-a-hp-machine-with-alc671.patch
queue-5.18/alsa-usb-audio-add-quirk-for-fiero-sc-01-fw-v1.0.0.patch
queue-5.18/alsa-usb-audio-add-quirk-for-fiero-sc-01.patch
queue-5.18/alsa-usb-audio-add-quirks-for-macrosilicon-ms2100-ms.patch
queue-5.18/asoc-codecs-rt700-rt711-rt711-sdca-initialize-workqu.patch
queue-5.18/asoc-rt711-fix-calibrate-mutex-initialization.patch
queue-5.18/asoc-rt711-sdca-sdw-fix-calibrate-mutex-initializati.patch
queue-5.18/drm-amd-display-ensure-valid-event-timestamp-for-cur.patch
queue-5.18/fbdev-disable-sysfb-device-registration-when-removin.patch
queue-5.18/mptcp-fix-subflow-traversal-at-disconnect-time.patch
queue-5.18/netfilter-nf_tables-replace-bug_on-by-element-length.patch
queue-5.18/nexthop-fix-data-races-around-nexthop_compat_mode.patch
queue-5.18/nfc-nxp-nci-don-t-print-header-length-mismatch-on-i2.patch
queue-5.18/platform-x86-thinkpad-acpi-profile-capabilities-as-i.patch
queue-5.18/platform-x86-thinkpad_acpi-do-not-use-psc-mode-on-in.patch
queue-5.18/series
queue-5.18/vdpa-mlx5-initialize-cvq-vringh-only-once.patch
queue-5.18/wireguard-selftests-always-call-kernel-makefile.patch
queue-5.4/nfc-nxp-nci-don-t-print-header-length-mismatch-on-i2.patch

index 8ad9c0bddc23b4e8efd8e9efe455789e515129a3..99b02285bf37aeba8cdbb045246bcb010b929f01 100644 (file)
@@ -21,7 +21,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/sound/pci/hda/patch_realtek.c
 +++ b/sound/pci/hda/patch_realtek.c
-@@ -7029,6 +7029,7 @@ static const struct snd_pci_quirk alc269
+@@ -7028,6 +7028,7 @@ static const struct snd_pci_quirk alc269
        SND_PCI_QUIRK(0x1025, 0x132a, "Acer TravelMate B114-21", ALC233_FIXUP_ACER_HEADSET_MIC),
        SND_PCI_QUIRK(0x1025, 0x1330, "Acer TravelMate X514-51T", ALC255_FIXUP_ACER_HEADSET_MIC),
        SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z),
index d07be6ed7d96aaa16bd0cd1b60570e7efa08f603..0ea0679e6d38f6019b28f55eb13dd93358543946 100644 (file)
@@ -23,7 +23,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/sound/pci/hda/patch_realtek.c
 +++ b/sound/pci/hda/patch_realtek.c
-@@ -5844,6 +5844,7 @@ enum {
+@@ -5843,6 +5843,7 @@ enum {
        ALC298_FIXUP_LENOVO_SPK_VOLUME,
        ALC256_FIXUP_DELL_INSPIRON_7559_SUBWOOFER,
        ALC269_FIXUP_ATIV_BOOK_8,
@@ -31,7 +31,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        ALC221_FIXUP_HP_MIC_NO_PRESENCE,
        ALC256_FIXUP_ASUS_HEADSET_MODE,
        ALC256_FIXUP_ASUS_MIC,
-@@ -6642,6 +6643,16 @@ static const struct hda_fixup alc269_fix
+@@ -6641,6 +6642,16 @@ static const struct hda_fixup alc269_fix
                .chained = true,
                .chain_id = ALC269_FIXUP_NO_SHUTUP
        },
@@ -48,7 +48,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        [ALC221_FIXUP_HP_MIC_NO_PRESENCE] = {
                .type = HDA_FIXUP_PINS,
                .v.pins = (const struct hda_pintbl[]) {
-@@ -7136,6 +7147,7 @@ static const struct snd_pci_quirk alc269
+@@ -7135,6 +7146,7 @@ static const struct snd_pci_quirk alc269
        SND_PCI_QUIRK(0x103c, 0x2335, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
        SND_PCI_QUIRK(0x103c, 0x2336, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
        SND_PCI_QUIRK(0x103c, 0x2337, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
index 9e3d44cd786ed72f3e25168e7678dcc674cbf7c5..01633337c1cfd50b70d9b546a14ca27db03e06c8 100644 (file)
@@ -16,14 +16,12 @@ Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
 Signed-off-by: David S. Miller <davem@davemloft.net>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/nfc/nxp-nci/i2c.c | 8 ++++++--
+ drivers/nfc/nxp-nci/i2c.c |    8 ++++++--
  1 file changed, 6 insertions(+), 2 deletions(-)
 
-diff --git a/drivers/nfc/nxp-nci/i2c.c b/drivers/nfc/nxp-nci/i2c.c
-index 16c52d4c833c..e4e0744e2470 100644
 --- a/drivers/nfc/nxp-nci/i2c.c
 +++ b/drivers/nfc/nxp-nci/i2c.c
-@@ -138,7 +138,9 @@ static int nxp_nci_i2c_fw_read(struct nxp_nci_i2c_phy *phy,
+@@ -138,7 +138,9 @@ static int nxp_nci_i2c_fw_read(struct nx
        skb_put_data(*skb, &header, NXP_NCI_FW_HDR_LEN);
  
        r = i2c_master_recv(client, skb_put(*skb, frame_len), frame_len);
@@ -34,8 +32,8 @@ index 16c52d4c833c..e4e0744e2470 100644
                nfc_err(&client->dev,
                        "Invalid frame length: %u (expected %zu)\n",
                        r, frame_len);
-@@ -182,7 +184,9 @@ static int nxp_nci_i2c_nci_read(struct nxp_nci_i2c_phy *phy,
-               return 0;
+@@ -179,7 +181,9 @@ static int nxp_nci_i2c_nci_read(struct n
+       skb_put_data(*skb, (void *)&header, NCI_CTRL_HDR_SIZE);
  
        r = i2c_master_recv(client, skb_put(*skb, header.plen), header.plen);
 -      if (r != header.plen) {
@@ -45,6 +43,3 @@ index 16c52d4c833c..e4e0744e2470 100644
                nfc_err(&client->dev,
                        "Invalid frame payload length: %u (expected %u)\n",
                        r, header.plen);
--- 
-2.35.1
-
index bd4ae9ef042b5e3f2996eab048df3107b2b14e68..57b5e50fa675cc1d0a3105a007aa17a3114b4508 100644 (file)
@@ -21,7 +21,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/sound/pci/hda/patch_realtek.c
 +++ b/sound/pci/hda/patch_realtek.c
-@@ -9087,6 +9087,7 @@ static const struct snd_pci_quirk alc269
+@@ -9086,6 +9086,7 @@ static const struct snd_pci_quirk alc269
        SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
        SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),
index 856de50c56293823152dd70147afedaffeb34ec9..63ce1a8d49564127a8d574e60bb668800f6380d2 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/sound/pci/hda/patch_realtek.c
 +++ b/sound/pci/hda/patch_realtek.c
-@@ -10928,6 +10928,7 @@ static const struct snd_pci_quirk alc662
+@@ -10927,6 +10927,7 @@ static const struct snd_pci_quirk alc662
        SND_PCI_QUIRK(0x103c, 0x1632, "HP RP5800", ALC662_FIXUP_HP_RP5800),
        SND_PCI_QUIRK(0x103c, 0x8719, "HP", ALC897_FIXUP_HP_HSMIC_VERB),
        SND_PCI_QUIRK(0x103c, 0x873e, "HP", ALC671_FIXUP_HP_HEADSET_MIC2),
index 9ae19467f9d93762f0fd11513859e92ba9b02fe3..e36575b09eed49ca1c7d7c5f8131a46ea8def9c2 100644 (file)
@@ -15,16 +15,14 @@ Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
 Signed-off-by: David S. Miller <davem@davemloft.net>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- net/ipv4/fib_semantics.c | 2 +-
- net/ipv4/nexthop.c       | 5 +++--
- net/ipv6/route.c         | 2 +-
+ net/ipv4/fib_semantics.c |    2 +-
+ net/ipv4/nexthop.c       |    5 +++--
+ net/ipv6/route.c         |    2 +-
  3 files changed, 5 insertions(+), 4 deletions(-)
 
-diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c
-index 845adb92ef70..70c866308abe 100644
 --- a/net/ipv4/fib_semantics.c
 +++ b/net/ipv4/fib_semantics.c
-@@ -1831,7 +1831,7 @@ int fib_dump_info(struct sk_buff *skb, u32 portid, u32 seq, int event,
+@@ -1831,7 +1831,7 @@ int fib_dump_info(struct sk_buff *skb, u
                        goto nla_put_failure;
                if (nexthop_is_blackhole(fi->nh))
                        rtm->rtm_type = RTN_BLACKHOLE;
@@ -33,11 +31,9 @@ index 845adb92ef70..70c866308abe 100644
                        goto offload;
        }
  
-diff --git a/net/ipv4/nexthop.c b/net/ipv4/nexthop.c
-index 8bd3f5e3c0e7..2a17dc9413ae 100644
 --- a/net/ipv4/nexthop.c
 +++ b/net/ipv4/nexthop.c
-@@ -882,7 +882,7 @@ static void __remove_nexthop_fib(struct net *net, struct nexthop *nh)
+@@ -882,7 +882,7 @@ static void __remove_nexthop_fib(struct
                /* __ip6_del_rt does a release, so do a hold here */
                fib6_info_hold(f6i);
                ipv6_stub->ip6_del_rt(net, f6i,
@@ -46,7 +42,7 @@ index 8bd3f5e3c0e7..2a17dc9413ae 100644
        }
  }
  
-@@ -1194,7 +1194,8 @@ static int insert_nexthop(struct net *net, struct nexthop *new_nh,
+@@ -1194,7 +1194,8 @@ out:
        if (!rc) {
                nh_base_seq_inc(net);
                nexthop_notify(RTM_NEWNEXTHOP, new_nh, &cfg->nlinfo);
@@ -56,11 +52,9 @@ index 8bd3f5e3c0e7..2a17dc9413ae 100644
                        nexthop_replace_notify(net, new_nh, &cfg->nlinfo);
        }
  
-diff --git a/net/ipv6/route.c b/net/ipv6/route.c
-index e67505c6d856..cdf215442d37 100644
 --- a/net/ipv6/route.c
 +++ b/net/ipv6/route.c
-@@ -5641,7 +5641,7 @@ static int rt6_fill_node(struct net *net, struct sk_buff *skb,
+@@ -5634,7 +5634,7 @@ static int rt6_fill_node(struct net *net
                if (nexthop_is_blackhole(rt->nh))
                        rtm->rtm_type = RTN_BLACKHOLE;
  
@@ -69,6 +63,3 @@ index e67505c6d856..cdf215442d37 100644
                    rt6_fill_node_nexthop(skb, rt->nh, &nh_flags) < 0)
                        goto nla_put_failure;
  
--- 
-2.35.1
-
index 2a79d6433c78f875fee08ad20be947c9f5ebdd09..7755c3406e8a58c351717c6831d3a7f709dea120 100644 (file)
@@ -16,14 +16,12 @@ Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
 Signed-off-by: David S. Miller <davem@davemloft.net>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/nfc/nxp-nci/i2c.c | 8 ++++++--
+ drivers/nfc/nxp-nci/i2c.c |    8 ++++++--
  1 file changed, 6 insertions(+), 2 deletions(-)
 
-diff --git a/drivers/nfc/nxp-nci/i2c.c b/drivers/nfc/nxp-nci/i2c.c
-index 3943a30053b3..f426dcdfcdd6 100644
 --- a/drivers/nfc/nxp-nci/i2c.c
 +++ b/drivers/nfc/nxp-nci/i2c.c
-@@ -122,7 +122,9 @@ static int nxp_nci_i2c_fw_read(struct nxp_nci_i2c_phy *phy,
+@@ -122,7 +122,9 @@ static int nxp_nci_i2c_fw_read(struct nx
        skb_put_data(*skb, &header, NXP_NCI_FW_HDR_LEN);
  
        r = i2c_master_recv(client, skb_put(*skb, frame_len), frame_len);
@@ -34,8 +32,8 @@ index 3943a30053b3..f426dcdfcdd6 100644
                nfc_err(&client->dev,
                        "Invalid frame length: %u (expected %zu)\n",
                        r, frame_len);
-@@ -166,7 +168,9 @@ static int nxp_nci_i2c_nci_read(struct nxp_nci_i2c_phy *phy,
-               return 0;
+@@ -163,7 +165,9 @@ static int nxp_nci_i2c_nci_read(struct n
+       skb_put_data(*skb, (void *)&header, NCI_CTRL_HDR_SIZE);
  
        r = i2c_master_recv(client, skb_put(*skb, header.plen), header.plen);
 -      if (r != header.plen) {
@@ -45,6 +43,3 @@ index 3943a30053b3..f426dcdfcdd6 100644
                nfc_err(&client->dev,
                        "Invalid frame payload length: %u (expected %u)\n",
                        r, header.plen);
--- 
-2.35.1
-
index e3c36869c900f35daba599dd3056df920688cb70..6b3fe8562cd2bf49dfc9cb28ed9a4681649da1d7 100644 (file)
@@ -21,7 +21,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/sound/pci/hda/patch_realtek.c
 +++ b/sound/pci/hda/patch_realtek.c
-@@ -9158,6 +9158,7 @@ static const struct snd_pci_quirk alc269
+@@ -9157,6 +9157,7 @@ static const struct snd_pci_quirk alc269
        SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
        SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),
index ff06ceb39e3850e2b0cacab89e4ddafd2194ee46..6a55af3b2d0929502d785d0c29eacfff2809cbf1 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/sound/pci/hda/patch_realtek.c
 +++ b/sound/pci/hda/patch_realtek.c
-@@ -11003,6 +11003,7 @@ static const struct snd_pci_quirk alc662
+@@ -11002,6 +11002,7 @@ static const struct snd_pci_quirk alc662
        SND_PCI_QUIRK(0x103c, 0x1632, "HP RP5800", ALC662_FIXUP_HP_RP5800),
        SND_PCI_QUIRK(0x103c, 0x8719, "HP", ALC897_FIXUP_HP_HSMIC_VERB),
        SND_PCI_QUIRK(0x103c, 0x873e, "HP", ALC671_FIXUP_HP_HEADSET_MIC2),
index 1353f6a41c7192935505e0319579e108a6dfe98e..b5a529ff467b7d9f6260d3a41658215437826aca 100644 (file)
@@ -20,20 +20,16 @@ Link: https://lore.kernel.org/r/20220627100041.2861494-2-sdoregor@sdore.me
 Signed-off-by: Takashi Iwai <tiwai@suse.de>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- sound/usb/quirks-table.h | 132 +++++++++++++++++++++++++++++++++++++++
- sound/usb/quirks.c       |   4 ++
+ sound/usb/quirks-table.h |  132 +++++++++++++++++++++++++++++++++++++++++++++++
+ sound/usb/quirks.c       |    4 +
  2 files changed, 136 insertions(+)
 
-diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
-index 7067d314fecd..f93201a830b5 100644
 --- a/sound/usb/quirks-table.h
 +++ b/sound/usb/quirks-table.h
-@@ -4167,6 +4167,138 @@ YAMAHA_DEVICE(0x7010, "UB99"),
-               }
-       }
+@@ -4169,6 +4169,138 @@ YAMAHA_DEVICE(0x7010, "UB99"),
  },
-+{
-+      /*
+ {
+       /*
 +       * Fiero SC-01 (firmware v1.0.0 @ 48 kHz)
 +       */
 +      USB_DEVICE(0x2b53, 0x0023),
@@ -164,14 +160,14 @@ index 7067d314fecd..f93201a830b5 100644
 +              }
 +      }
 +},
- {
-       /*
++{
++      /*
         * Fiero SC-01 (firmware v1.1.0)
-diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
-index 51138350f03c..968d90caeefa 100644
+        */
+       USB_DEVICE(0x2b53, 0x0031),
 --- a/sound/usb/quirks.c
 +++ b/sound/usb/quirks.c
-@@ -1915,6 +1915,10 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
+@@ -1911,6 +1911,10 @@ static const struct usb_audio_quirk_flag
                   QUIRK_FLAG_ALIGN_TRANSFER),
        DEVICE_FLG(0x1224, 0x2a25, /* Jieli Technology USB PHY 2.0 */
                   QUIRK_FLAG_GET_SAMPLE_RATE),
@@ -182,6 +178,3 @@ index 51138350f03c..968d90caeefa 100644
        DEVICE_FLG(0x2b53, 0x0031, /* Fiero SC-01 (firmware v1.1.0) */
                   QUIRK_FLAG_GENERIC_IMPLICIT_FB),
  
--- 
-2.35.1
-
index ba0f54b2ce025a9cb56293fce8bab5c9a5e9e29d..8b8bd708856f9ff9d16430e486a3f2d55e73d5b3 100644 (file)
@@ -41,12 +41,10 @@ Link: https://lore.kernel.org/r/20220627100041.2861494-1-sdoregor@sdore.me
 Signed-off-by: Takashi Iwai <tiwai@suse.de>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- sound/usb/quirks-table.h | 68 ++++++++++++++++++++++++++++++++++++++++
- sound/usb/quirks.c       |  2 ++
+ sound/usb/quirks-table.h |   68 +++++++++++++++++++++++++++++++++++++++++++++++
+ sound/usb/quirks.c       |    2 +
  2 files changed, 70 insertions(+)
 
-diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
-index 853da162fd18..7067d314fecd 100644
 --- a/sound/usb/quirks-table.h
 +++ b/sound/usb/quirks-table.h
 @@ -4167,6 +4167,74 @@ YAMAHA_DEVICE(0x7010, "UB99"),
@@ -124,11 +122,9 @@ index 853da162fd18..7067d314fecd 100644
  
  #undef USB_DEVICE_VENDOR_SPEC
  #undef USB_AUDIO_DEVICE
-diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
-index a7bcae0a2c75..51138350f03c 100644
 --- a/sound/usb/quirks.c
 +++ b/sound/usb/quirks.c
-@@ -1915,6 +1915,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
+@@ -1911,6 +1911,8 @@ static const struct usb_audio_quirk_flag
                   QUIRK_FLAG_ALIGN_TRANSFER),
        DEVICE_FLG(0x1224, 0x2a25, /* Jieli Technology USB PHY 2.0 */
                   QUIRK_FLAG_GET_SAMPLE_RATE),
@@ -137,6 +133,3 @@ index a7bcae0a2c75..51138350f03c 100644
  
        /* Vendor matches */
        VENDOR_FLG(0x045e, /* MS Lifecam */
--- 
-2.35.1
-
index 270bc1198d77df538a9290deb1bfbc67036b2560..5c8df5d3671d62bfedb42d373b5737c7c9e6c802 100644 (file)
@@ -16,19 +16,16 @@ Link: https://lore.kernel.org/r/20220624140757.28758-1-john-linux@pelago.org.uk
 Signed-off-by: Takashi Iwai <tiwai@suse.de>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- sound/usb/quirks-table.h | 48 ++++++++++++++++++++++++++++++++++++++++
- sound/usb/quirks.c       |  3 +++
+ sound/usb/quirks-table.h |   48 +++++++++++++++++++++++++++++++++++++++++++++++
+ sound/usb/quirks.c       |    3 ++
  2 files changed, 51 insertions(+)
 
-diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
-index 4f56e1784932..853da162fd18 100644
 --- a/sound/usb/quirks-table.h
 +++ b/sound/usb/quirks-table.h
-@@ -3802,6 +3802,54 @@ YAMAHA_DEVICE(0x7010, "UB99"),
-       }
+@@ -3803,6 +3803,54 @@ YAMAHA_DEVICE(0x7010, "UB99"),
  },
  
-+/*
+ /*
 + * MacroSilicon MS2100/MS2106 based AV capture cards
 + *
 + * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
@@ -76,14 +73,13 @@ index 4f56e1784932..853da162fd18 100644
 +      }
 +},
 +
- /*
++/*
   * MacroSilicon MS2109 based HDMI capture cards
   *
-diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
-index 12ce69b04f63..a7bcae0a2c75 100644
+  * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
 --- a/sound/usb/quirks.c
 +++ b/sound/usb/quirks.c
-@@ -1478,6 +1478,7 @@ void snd_usb_set_format_quirk(struct snd_usb_substream *subs,
+@@ -1478,6 +1478,7 @@ void snd_usb_set_format_quirk(struct snd
        case USB_ID(0x041e, 0x3f19): /* E-Mu 0204 USB */
                set_format_emu_quirk(subs, fmt);
                break;
@@ -91,7 +87,7 @@ index 12ce69b04f63..a7bcae0a2c75 100644
        case USB_ID(0x534d, 0x2109): /* MacroSilicon MS2109 */
                subs->stream_offset_adj = 2;
                break;
-@@ -1908,6 +1909,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
+@@ -1904,6 +1905,8 @@ static const struct usb_audio_quirk_flag
                   QUIRK_FLAG_IGNORE_CTL_ERROR),
        DEVICE_FLG(0x413c, 0xa506, /* Dell AE515 sound bar */
                   QUIRK_FLAG_GET_SAMPLE_RATE),
@@ -100,6 +96,3 @@ index 12ce69b04f63..a7bcae0a2c75 100644
        DEVICE_FLG(0x534d, 0x2109, /* MacroSilicon MS2109 */
                   QUIRK_FLAG_ALIGN_TRANSFER),
        DEVICE_FLG(0x1224, 0x2a25, /* Jieli Technology USB PHY 2.0 */
--- 
-2.35.1
-
index cbdbeeabcbc59c00bc133392421301abd1f8696b..60f3743283e679dd7d74fcd7d0976f874a08b607 100644 (file)
@@ -22,16 +22,14 @@ Link: https://lore.kernel.org/r/20220606203752.144159-7-pierre-louis.bossart@lin
 Signed-off-by: Mark Brown <broonie@kernel.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- sound/soc/codecs/rt700.c      | 12 +++++-------
- sound/soc/codecs/rt711-sdca.c | 10 +++-------
- sound/soc/codecs/rt711.c      | 12 +++++-------
+ sound/soc/codecs/rt700.c      |   12 +++++-------
+ sound/soc/codecs/rt711-sdca.c |   10 +++-------
+ sound/soc/codecs/rt711.c      |   12 +++++-------
  3 files changed, 13 insertions(+), 21 deletions(-)
 
-diff --git a/sound/soc/codecs/rt700.c b/sound/soc/codecs/rt700.c
-index c70fe8b06e6d..e049d672ccfd 100644
 --- a/sound/soc/codecs/rt700.c
 +++ b/sound/soc/codecs/rt700.c
-@@ -1124,6 +1124,11 @@ int rt700_init(struct device *dev, struct regmap *sdw_regmap,
+@@ -1114,6 +1114,11 @@ int rt700_init(struct device *dev, struc
  
        mutex_init(&rt700->disable_irq_lock);
  
@@ -43,7 +41,7 @@ index c70fe8b06e6d..e049d672ccfd 100644
        /*
         * Mark hw_init to false
         * HW init will be performed when device reports present
-@@ -1218,13 +1223,6 @@ int rt700_io_init(struct device *dev, struct sdw_slave *slave)
+@@ -1208,13 +1213,6 @@ int rt700_io_init(struct device *dev, st
        /* Finish Initial Settings, set power to D3 */
        regmap_write(rt700->regmap, RT700_SET_AUDIO_POWER_STATE, AC_PWRST_D3);
  
@@ -57,11 +55,9 @@ index c70fe8b06e6d..e049d672ccfd 100644
        /*
         * if set_jack callback occurred early than io_init,
         * we set up the jack detection function now
-diff --git a/sound/soc/codecs/rt711-sdca.c b/sound/soc/codecs/rt711-sdca.c
-index 2950cde029f7..60aef52b3fe4 100644
 --- a/sound/soc/codecs/rt711-sdca.c
 +++ b/sound/soc/codecs/rt711-sdca.c
-@@ -1417,6 +1417,9 @@ int rt711_sdca_init(struct device *dev, struct regmap *regmap,
+@@ -1414,6 +1414,9 @@ int rt711_sdca_init(struct device *dev,
        mutex_init(&rt711->calibrate_mutex);
        mutex_init(&rt711->disable_irq_lock);
  
@@ -71,7 +67,7 @@ index 2950cde029f7..60aef52b3fe4 100644
        /*
         * Mark hw_init to false
         * HW init will be performed when device reports present
-@@ -1548,13 +1551,6 @@ int rt711_sdca_io_init(struct device *dev, struct sdw_slave *slave)
+@@ -1545,13 +1548,6 @@ int rt711_sdca_io_init(struct device *de
        rt711_sdca_index_update_bits(rt711, RT711_VENDOR_HDA_CTL,
                RT711_PUSH_BTN_INT_CTL0, 0x20, 0x00);
  
@@ -85,11 +81,9 @@ index 2950cde029f7..60aef52b3fe4 100644
        /* calibration */
        ret = rt711_sdca_calibration(rt711);
        if (ret < 0)
-diff --git a/sound/soc/codecs/rt711.c b/sound/soc/codecs/rt711.c
-index 344bfbc5683d..51a98e730fc8 100644
 --- a/sound/soc/codecs/rt711.c
 +++ b/sound/soc/codecs/rt711.c
-@@ -1202,6 +1202,10 @@ int rt711_init(struct device *dev, struct regmap *sdw_regmap,
+@@ -1199,6 +1199,10 @@ int rt711_init(struct device *dev, struc
        mutex_init(&rt711->calibrate_mutex);
        mutex_init(&rt711->disable_irq_lock);
  
@@ -100,7 +94,7 @@ index 344bfbc5683d..51a98e730fc8 100644
        /*
         * Mark hw_init to false
         * HW init will be performed when device reports present
-@@ -1309,14 +1313,8 @@ int rt711_io_init(struct device *dev, struct sdw_slave *slave)
+@@ -1306,14 +1310,8 @@ int rt711_io_init(struct device *dev, st
  
        if (rt711->first_hw_init)
                rt711_calibration(rt711);
@@ -116,6 +110,3 @@ index 344bfbc5683d..51a98e730fc8 100644
  
        /*
         * if set_jack callback occurred early than io_init,
--- 
-2.35.1
-
index b03f648c2f5d2dd924b9cfabd9b4384027f701fb..d4659453bbc80ee79687b9ad12edfbc3820dd278 100644 (file)
@@ -17,15 +17,13 @@ Link: https://lore.kernel.org/r/20220606203752.144159-5-pierre-louis.bossart@lin
 Signed-off-by: Mark Brown <broonie@kernel.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- sound/soc/codecs/rt711-sdw.c | 3 +++
- sound/soc/codecs/rt711.c     | 2 +-
+ sound/soc/codecs/rt711-sdw.c |    3 +++
+ sound/soc/codecs/rt711.c     |    2 +-
  2 files changed, 4 insertions(+), 1 deletion(-)
 
-diff --git a/sound/soc/codecs/rt711-sdw.c b/sound/soc/codecs/rt711-sdw.c
-index f49c94baa37c..4fe68bcf2a7c 100644
 --- a/sound/soc/codecs/rt711-sdw.c
 +++ b/sound/soc/codecs/rt711-sdw.c
-@@ -474,6 +474,9 @@ static int rt711_sdw_remove(struct sdw_slave *slave)
+@@ -474,6 +474,9 @@ static int rt711_sdw_remove(struct sdw_s
        if (rt711->first_hw_init)
                pm_runtime_disable(&slave->dev);
  
@@ -35,11 +33,9 @@ index f49c94baa37c..4fe68bcf2a7c 100644
        return 0;
  }
  
-diff --git a/sound/soc/codecs/rt711.c b/sound/soc/codecs/rt711.c
-index fafb0ba8349f..6e9b532a6271 100644
 --- a/sound/soc/codecs/rt711.c
 +++ b/sound/soc/codecs/rt711.c
-@@ -1199,6 +1199,7 @@ int rt711_init(struct device *dev, struct regmap *sdw_regmap,
+@@ -1196,6 +1196,7 @@ int rt711_init(struct device *dev, struc
        rt711->sdw_regmap = sdw_regmap;
        rt711->regmap = regmap;
  
@@ -47,7 +43,7 @@ index fafb0ba8349f..6e9b532a6271 100644
        mutex_init(&rt711->disable_irq_lock);
  
        /*
-@@ -1313,7 +1314,6 @@ int rt711_io_init(struct device *dev, struct sdw_slave *slave)
+@@ -1310,7 +1311,6 @@ int rt711_io_init(struct device *dev, st
                        rt711_jack_detect_handler);
                INIT_DELAYED_WORK(&rt711->jack_btn_check_work,
                        rt711_btn_check_handler);
@@ -55,6 +51,3 @@ index fafb0ba8349f..6e9b532a6271 100644
                INIT_WORK(&rt711->calibration_work, rt711_calibration_work);
                schedule_work(&rt711->calibration_work);
        }
--- 
-2.35.1
-
index 1ca177901174cd995930f8c0e4db1f6fe14fa91c..8248d861aafe99f9f3905229b24d1cf3ebc25a85 100644 (file)
@@ -27,15 +27,13 @@ Link: https://lore.kernel.org/r/20220606203752.144159-3-pierre-louis.bossart@lin
 Signed-off-by: Mark Brown <broonie@kernel.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- sound/soc/codecs/rt711-sdca-sdw.c | 3 +++
- sound/soc/codecs/rt711-sdca.c     | 2 +-
+ sound/soc/codecs/rt711-sdca-sdw.c |    3 +++
+ sound/soc/codecs/rt711-sdca.c     |    2 +-
  2 files changed, 4 insertions(+), 1 deletion(-)
 
-diff --git a/sound/soc/codecs/rt711-sdca-sdw.c b/sound/soc/codecs/rt711-sdca-sdw.c
-index c722a2b0041f..a085b2f530aa 100644
 --- a/sound/soc/codecs/rt711-sdca-sdw.c
 +++ b/sound/soc/codecs/rt711-sdca-sdw.c
-@@ -373,6 +373,9 @@ static int rt711_sdca_sdw_remove(struct sdw_slave *slave)
+@@ -373,6 +373,9 @@ static int rt711_sdca_sdw_remove(struct
        if (rt711->first_hw_init)
                pm_runtime_disable(&slave->dev);
  
@@ -45,11 +43,9 @@ index c722a2b0041f..a085b2f530aa 100644
        return 0;
  }
  
-diff --git a/sound/soc/codecs/rt711-sdca.c b/sound/soc/codecs/rt711-sdca.c
-index c15fb98eac86..66555cb5d1e4 100644
 --- a/sound/soc/codecs/rt711-sdca.c
 +++ b/sound/soc/codecs/rt711-sdca.c
-@@ -1414,6 +1414,7 @@ int rt711_sdca_init(struct device *dev, struct regmap *regmap,
+@@ -1411,6 +1411,7 @@ int rt711_sdca_init(struct device *dev,
        rt711->regmap = regmap;
        rt711->mbq_regmap = mbq_regmap;
  
@@ -57,7 +53,7 @@ index c15fb98eac86..66555cb5d1e4 100644
        mutex_init(&rt711->disable_irq_lock);
  
        /*
-@@ -1552,7 +1553,6 @@ int rt711_sdca_io_init(struct device *dev, struct sdw_slave *slave)
+@@ -1549,7 +1550,6 @@ int rt711_sdca_io_init(struct device *de
                        rt711_sdca_jack_detect_handler);
                INIT_DELAYED_WORK(&rt711->jack_btn_check_work,
                        rt711_sdca_btn_check_handler);
@@ -65,6 +61,3 @@ index c15fb98eac86..66555cb5d1e4 100644
        }
  
        /* calibration */
--- 
-2.35.1
-
index 187527784f87a3b4fb7fce867ea0b39232aeac95..5f506efb91e57a004fe47e79ec0b85870fb69de0 100644 (file)
@@ -26,24 +26,22 @@ Reviewed-by: David Sterba <dsterba@suse.com>
 Signed-off-by: David Sterba <dsterba@suse.com>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- fs/btrfs/check-integrity.c |   2 +-
- fs/btrfs/extent-tree.c     |  19 ++-
- fs/btrfs/extent_io.c       |  18 +--
- fs/btrfs/extent_map.c      |   4 +-
- fs/btrfs/raid56.c          | 127 +++++++++---------
- fs/btrfs/raid56.h          |   8 +-
- fs/btrfs/reada.c           |  26 ++--
- fs/btrfs/scrub.c           | 115 ++++++++--------
- fs/btrfs/volumes.c         | 267 ++++++++++++++++++-------------------
- fs/btrfs/volumes.h         |  38 ++++--
- fs/btrfs/zoned.c           |  16 +--
+ fs/btrfs/check-integrity.c |    2 
+ fs/btrfs/extent-tree.c     |   19 +--
+ fs/btrfs/extent_io.c       |   18 +--
+ fs/btrfs/extent_map.c      |    4 
+ fs/btrfs/raid56.c          |  127 ++++++++++-----------
+ fs/btrfs/raid56.h          |    8 -
+ fs/btrfs/reada.c           |   26 ++--
+ fs/btrfs/scrub.c           |  115 +++++++++----------
+ fs/btrfs/volumes.c         |  267 ++++++++++++++++++++++-----------------------
+ fs/btrfs/volumes.h         |   38 ++++--
+ fs/btrfs/zoned.c           |   16 +-
  11 files changed, 325 insertions(+), 315 deletions(-)
 
-diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c
-index 86816088927f..81b11124b67a 100644
 --- a/fs/btrfs/check-integrity.c
 +++ b/fs/btrfs/check-integrity.c
-@@ -1455,7 +1455,7 @@ static int btrfsic_map_block(struct btrfsic_state *state, u64 bytenr, u32 len,
+@@ -1455,7 +1455,7 @@ static int btrfsic_map_block(struct btrf
        struct btrfs_fs_info *fs_info = state->fs_info;
        int ret;
        u64 length;
@@ -52,11 +50,9 @@ index 86816088927f..81b11124b67a 100644
        struct btrfs_device *device;
  
        length = len;
-diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
-index f11616f61dd6..e3514f9a4e8d 100644
 --- a/fs/btrfs/extent-tree.c
 +++ b/fs/btrfs/extent-tree.c
-@@ -1266,7 +1266,7 @@ static int btrfs_issue_discard(struct block_device *bdev, u64 start, u64 len,
+@@ -1266,7 +1266,7 @@ static int btrfs_issue_discard(struct bl
        return ret;
  }
  
@@ -65,7 +61,7 @@ index f11616f61dd6..e3514f9a4e8d 100644
  {
        struct btrfs_device *dev = stripe->dev;
        struct btrfs_fs_info *fs_info = dev->fs_info;
-@@ -1313,22 +1313,21 @@ int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr,
+@@ -1313,22 +1313,21 @@ int btrfs_discard_extent(struct btrfs_fs
        u64 discarded_bytes = 0;
        u64 end = bytenr + num_bytes;
        u64 cur = bytenr;
@@ -92,7 +88,7 @@ index f11616f61dd6..e3514f9a4e8d 100644
                /*
                 * Error can be -ENOMEM, -ENOENT (no such chunk mapping) or
                 * -EOPNOTSUPP. For any such error, @num_bytes is not updated,
-@@ -1337,8 +1336,8 @@ int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr,
+@@ -1337,8 +1336,8 @@ int btrfs_discard_extent(struct btrfs_fs
                if (ret < 0)
                        goto out;
  
@@ -103,7 +99,7 @@ index f11616f61dd6..e3514f9a4e8d 100644
                        u64 bytes;
                        struct btrfs_device *device = stripe->dev;
  
-@@ -1361,7 +1360,7 @@ int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr,
+@@ -1361,7 +1360,7 @@ int btrfs_discard_extent(struct btrfs_fs
                                 * And since there are two loops, explicitly
                                 * go to out to avoid confusion.
                                 */
@@ -112,7 +108,7 @@ index f11616f61dd6..e3514f9a4e8d 100644
                                goto out;
                        }
  
-@@ -1372,7 +1371,7 @@ int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr,
+@@ -1372,7 +1371,7 @@ int btrfs_discard_extent(struct btrfs_fs
                         */
                        ret = 0;
                }
@@ -121,11 +117,9 @@ index f11616f61dd6..e3514f9a4e8d 100644
                cur += num_bytes;
        }
  out:
-diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
-index 059bd0753e27..b791e280af0c 100644
 --- a/fs/btrfs/extent_io.c
 +++ b/fs/btrfs/extent_io.c
-@@ -2290,7 +2290,7 @@ int repair_io_failure(struct btrfs_fs_info *fs_info, u64 ino, u64 start,
+@@ -2290,7 +2290,7 @@ int repair_io_failure(struct btrfs_fs_in
        struct btrfs_device *dev;
        u64 map_length = 0;
        u64 sector;
@@ -134,7 +128,7 @@ index 059bd0753e27..b791e280af0c 100644
        int ret;
  
        ASSERT(!(fs_info->sb->s_flags & SB_RDONLY));
-@@ -2304,7 +2304,7 @@ int repair_io_failure(struct btrfs_fs_info *fs_info, u64 ino, u64 start,
+@@ -2304,7 +2304,7 @@ int repair_io_failure(struct btrfs_fs_in
        map_length = length;
  
        /*
@@ -143,7 +137,7 @@ index 059bd0753e27..b791e280af0c 100644
         * associated to its stripes that don't go away while we are doing the
         * read repair operation.
         */
-@@ -2317,28 +2317,28 @@ int repair_io_failure(struct btrfs_fs_info *fs_info, u64 ino, u64 start,
+@@ -2317,28 +2317,28 @@ int repair_io_failure(struct btrfs_fs_in
                 * stripe's dev and sector.
                 */
                ret = btrfs_map_block(fs_info, BTRFS_MAP_READ, logical,
@@ -179,11 +173,9 @@ index 059bd0753e27..b791e280af0c 100644
        if (!dev || !dev->bdev ||
            !test_bit(BTRFS_DEV_STATE_WRITEABLE, &dev->dev_state)) {
                btrfs_bio_counter_dec(fs_info);
-diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c
-index 4a8e02f7b6c7..5a36add21305 100644
 --- a/fs/btrfs/extent_map.c
 +++ b/fs/btrfs/extent_map.c
-@@ -360,7 +360,7 @@ static void extent_map_device_set_bits(struct extent_map *em, unsigned bits)
+@@ -360,7 +360,7 @@ static void extent_map_device_set_bits(s
        int i;
  
        for (i = 0; i < map->num_stripes; i++) {
@@ -192,7 +184,7 @@ index 4a8e02f7b6c7..5a36add21305 100644
                struct btrfs_device *device = stripe->dev;
  
                set_extent_bits_nowait(&device->alloc_state, stripe->physical,
-@@ -375,7 +375,7 @@ static void extent_map_device_clear_bits(struct extent_map *em, unsigned bits)
+@@ -375,7 +375,7 @@ static void extent_map_device_clear_bits
        int i;
  
        for (i = 0; i < map->num_stripes; i++) {
@@ -201,8 +193,6 @@ index 4a8e02f7b6c7..5a36add21305 100644
                struct btrfs_device *device = stripe->dev;
  
                __clear_extent_bit(&device->alloc_state, stripe->physical,
-diff --git a/fs/btrfs/raid56.c b/fs/btrfs/raid56.c
-index d8d268ca8aa7..893d93e3c516 100644
 --- a/fs/btrfs/raid56.c
 +++ b/fs/btrfs/raid56.c
 @@ -61,7 +61,7 @@ enum btrfs_rbio_ops {
@@ -214,7 +204,7 @@ index d8d268ca8aa7..893d93e3c516 100644
  
        /* while we're doing rmw on a stripe
         * we put it into a hash table so we can
-@@ -271,7 +271,7 @@ static void cache_rbio_pages(struct btrfs_raid_bio *rbio)
+@@ -271,7 +271,7 @@ static void cache_rbio_pages(struct btrf
   */
  static int rbio_bucket(struct btrfs_raid_bio *rbio)
  {
@@ -223,7 +213,7 @@ index d8d268ca8aa7..893d93e3c516 100644
  
        /*
         * we shift down quite a bit.  We're using byte
-@@ -559,8 +559,7 @@ static int rbio_can_merge(struct btrfs_raid_bio *last,
+@@ -559,8 +559,7 @@ static int rbio_can_merge(struct btrfs_r
            test_bit(RBIO_CACHE_BIT, &cur->flags))
                return 0;
  
@@ -233,7 +223,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                return 0;
  
        /* we can't merge with different operations */
-@@ -673,7 +672,7 @@ static noinline int lock_stripe_add(struct btrfs_raid_bio *rbio)
+@@ -673,7 +672,7 @@ static noinline int lock_stripe_add(stru
  
        spin_lock_irqsave(&h->lock, flags);
        list_for_each_entry(cur, &h->hash_list, hash_list) {
@@ -242,7 +232,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                        continue;
  
                spin_lock(&cur->bio_list_lock);
-@@ -838,7 +837,7 @@ static void __free_raid_bio(struct btrfs_raid_bio *rbio)
+@@ -838,7 +837,7 @@ static void __free_raid_bio(struct btrfs
                }
        }
  
@@ -251,7 +241,7 @@ index d8d268ca8aa7..893d93e3c516 100644
        kfree(rbio);
  }
  
-@@ -906,7 +905,7 @@ static void raid_write_end_io(struct bio *bio)
+@@ -906,7 +905,7 @@ static void raid_write_end_io(struct bio
  
        /* OK, we have read all the stripes we need to. */
        max_errors = (rbio->operation == BTRFS_RBIO_PARITY_SCRUB) ?
@@ -260,7 +250,7 @@ index d8d268ca8aa7..893d93e3c516 100644
        if (atomic_read(&rbio->error) > max_errors)
                err = BLK_STS_IOERR;
  
-@@ -961,12 +960,12 @@ static unsigned long rbio_nr_pages(unsigned long stripe_len, int nr_stripes)
+@@ -961,12 +960,12 @@ static unsigned long rbio_nr_pages(unsig
   * this does not allocate any pages for rbio->pages.
   */
  static struct btrfs_raid_bio *alloc_rbio(struct btrfs_fs_info *fs_info,
@@ -275,7 +265,7 @@ index d8d268ca8aa7..893d93e3c516 100644
        int num_pages = rbio_nr_pages(stripe_len, real_stripes);
        int stripe_npages = DIV_ROUND_UP(stripe_len, PAGE_SIZE);
        void *p;
-@@ -987,7 +986,7 @@ static struct btrfs_raid_bio *alloc_rbio(struct btrfs_fs_info *fs_info,
+@@ -987,7 +986,7 @@ static struct btrfs_raid_bio *alloc_rbio
        spin_lock_init(&rbio->bio_list_lock);
        INIT_LIST_HEAD(&rbio->stripe_cache);
        INIT_LIST_HEAD(&rbio->hash_list);
@@ -284,7 +274,7 @@ index d8d268ca8aa7..893d93e3c516 100644
        rbio->fs_info = fs_info;
        rbio->stripe_len = stripe_len;
        rbio->nr_pages = num_pages;
-@@ -1015,9 +1014,9 @@ static struct btrfs_raid_bio *alloc_rbio(struct btrfs_fs_info *fs_info,
+@@ -1015,9 +1014,9 @@ static struct btrfs_raid_bio *alloc_rbio
        CONSUME_ALLOC(rbio->finish_pbitmap, BITS_TO_LONGS(stripe_npages));
  #undef  CONSUME_ALLOC
  
@@ -296,7 +286,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                nr_data = real_stripes - 2;
        else
                BUG();
-@@ -1077,10 +1076,10 @@ static int rbio_add_io_page(struct btrfs_raid_bio *rbio,
+@@ -1077,10 +1076,10 @@ static int rbio_add_io_page(struct btrfs
        struct bio *last = bio_list->tail;
        int ret;
        struct bio *bio;
@@ -309,7 +299,7 @@ index d8d268ca8aa7..893d93e3c516 100644
        disk_start = stripe->physical + (page_index << PAGE_SHIFT);
  
        /* if the device is missing, just fail this stripe */
-@@ -1155,7 +1154,7 @@ static void index_rbio_pages(struct btrfs_raid_bio *rbio)
+@@ -1155,7 +1154,7 @@ static void index_rbio_pages(struct btrf
                int i = 0;
  
                start = bio->bi_iter.bi_sector << 9;
@@ -318,7 +308,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                page_index = stripe_offset >> PAGE_SHIFT;
  
                if (bio_flagged(bio, BIO_CLONED))
-@@ -1179,7 +1178,7 @@ static void index_rbio_pages(struct btrfs_raid_bio *rbio)
+@@ -1179,7 +1178,7 @@ static void index_rbio_pages(struct btrf
   */
  static noinline void finish_rmw(struct btrfs_raid_bio *rbio)
  {
@@ -327,7 +317,7 @@ index d8d268ca8aa7..893d93e3c516 100644
        void **pointers = rbio->finish_pointers;
        int nr_data = rbio->nr_data;
        int stripe;
-@@ -1284,11 +1283,11 @@ static noinline void finish_rmw(struct btrfs_raid_bio *rbio)
+@@ -1284,11 +1283,11 @@ static noinline void finish_rmw(struct b
                }
        }
  
@@ -341,7 +331,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                        continue;
  
                for (pagenr = 0; pagenr < rbio->stripe_npages; pagenr++) {
-@@ -1302,7 +1301,7 @@ static noinline void finish_rmw(struct btrfs_raid_bio *rbio)
+@@ -1302,7 +1301,7 @@ static noinline void finish_rmw(struct b
                        }
  
                        ret = rbio_add_io_page(rbio, &bio_list, page,
@@ -350,7 +340,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                                               pagenr, rbio->stripe_len);
                        if (ret)
                                goto cleanup;
-@@ -1339,12 +1338,12 @@ static int find_bio_stripe(struct btrfs_raid_bio *rbio,
+@@ -1339,12 +1338,12 @@ static int find_bio_stripe(struct btrfs_
  {
        u64 physical = bio->bi_iter.bi_sector;
        int i;
@@ -366,7 +356,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                if (in_range(physical, stripe->physical, rbio->stripe_len) &&
                    stripe->dev->bdev && bio->bi_bdev == stripe->dev->bdev) {
                        return i;
-@@ -1365,7 +1364,7 @@ static int find_logical_bio_stripe(struct btrfs_raid_bio *rbio,
+@@ -1365,7 +1364,7 @@ static int find_logical_bio_stripe(struc
        int i;
  
        for (i = 0; i < rbio->nr_data; i++) {
@@ -375,7 +365,7 @@ index d8d268ca8aa7..893d93e3c516 100644
  
                if (in_range(logical, stripe_start, rbio->stripe_len))
                        return i;
-@@ -1456,7 +1455,7 @@ static void raid_rmw_end_io(struct bio *bio)
+@@ -1456,7 +1455,7 @@ static void raid_rmw_end_io(struct bio *
        if (!atomic_dec_and_test(&rbio->stripes_pending))
                return;
  
@@ -384,7 +374,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                goto cleanup;
  
        /*
-@@ -1538,8 +1537,8 @@ static int raid56_rmw_stripe(struct btrfs_raid_bio *rbio)
+@@ -1538,8 +1537,8 @@ static int raid56_rmw_stripe(struct btrf
        }
  
        /*
@@ -395,7 +385,7 @@ index d8d268ca8aa7..893d93e3c516 100644
         */
        atomic_set(&rbio->stripes_pending, bios_to_read);
        while ((bio = bio_list_pop(&bio_list))) {
-@@ -1720,16 +1719,16 @@ static void btrfs_raid_unplug(struct blk_plug_cb *cb, bool from_schedule)
+@@ -1720,16 +1719,16 @@ static void btrfs_raid_unplug(struct blk
   * our main entry point for writes from the rest of the FS.
   */
  int raid56_parity_write(struct btrfs_fs_info *fs_info, struct bio *bio,
@@ -415,7 +405,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                return PTR_ERR(rbio);
        }
        bio_list_add(&rbio->bio_list, bio);
-@@ -1842,7 +1841,7 @@ static void __raid_recover_end_io(struct btrfs_raid_bio *rbio)
+@@ -1842,7 +1841,7 @@ static void __raid_recover_end_io(struct
                }
  
                /* all raid6 handling here */
@@ -424,7 +414,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                        /*
                         * single failure, rebuild from parity raid5
                         * style
-@@ -1874,8 +1873,8 @@ static void __raid_recover_end_io(struct btrfs_raid_bio *rbio)
+@@ -1874,8 +1873,8 @@ static void __raid_recover_end_io(struct
                         * here due to a crc mismatch and we can't give them the
                         * data they want
                         */
@@ -435,7 +425,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                                    RAID5_P_STRIPE) {
                                        err = BLK_STS_IOERR;
                                        goto cleanup;
-@@ -1887,7 +1886,7 @@ static void __raid_recover_end_io(struct btrfs_raid_bio *rbio)
+@@ -1887,7 +1886,7 @@ static void __raid_recover_end_io(struct
                                goto pstripe;
                        }
  
@@ -444,7 +434,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                                raid6_datap_recov(rbio->real_stripes,
                                                  PAGE_SIZE, faila, pointers);
                        } else {
-@@ -2006,7 +2005,7 @@ static void raid_recover_end_io(struct bio *bio)
+@@ -2006,7 +2005,7 @@ static void raid_recover_end_io(struct b
        if (!atomic_dec_and_test(&rbio->stripes_pending))
                return;
  
@@ -453,7 +443,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                rbio_orig_end_io(rbio, BLK_STS_IOERR);
        else
                __raid_recover_end_io(rbio);
-@@ -2074,7 +2073,7 @@ static int __raid56_parity_recover(struct btrfs_raid_bio *rbio)
+@@ -2074,7 +2073,7 @@ static int __raid56_parity_recover(struc
                 * were up to date, or we might have no bios to read because
                 * the devices were gone.
                 */
@@ -462,7 +452,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                        __raid_recover_end_io(rbio);
                        return 0;
                } else {
-@@ -2083,8 +2082,8 @@ static int __raid56_parity_recover(struct btrfs_raid_bio *rbio)
+@@ -2083,8 +2082,8 @@ static int __raid56_parity_recover(struc
        }
  
        /*
@@ -473,7 +463,7 @@ index d8d268ca8aa7..893d93e3c516 100644
         */
        atomic_set(&rbio->stripes_pending, bios_to_read);
        while ((bio = bio_list_pop(&bio_list))) {
-@@ -2117,21 +2116,21 @@ static int __raid56_parity_recover(struct btrfs_raid_bio *rbio)
+@@ -2117,21 +2116,21 @@ cleanup:
   * of the drive.
   */
  int raid56_parity_recover(struct btrfs_fs_info *fs_info, struct bio *bio,
@@ -499,7 +489,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                return PTR_ERR(rbio);
        }
  
-@@ -2142,11 +2141,11 @@ int raid56_parity_recover(struct btrfs_fs_info *fs_info, struct bio *bio,
+@@ -2142,11 +2141,11 @@ int raid56_parity_recover(struct btrfs_f
        rbio->faila = find_logical_bio_stripe(rbio, bio);
        if (rbio->faila == -1) {
                btrfs_warn(fs_info,
@@ -514,7 +504,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                kfree(rbio);
                return -EIO;
        }
-@@ -2155,7 +2154,7 @@ int raid56_parity_recover(struct btrfs_fs_info *fs_info, struct bio *bio,
+@@ -2155,7 +2154,7 @@ int raid56_parity_recover(struct btrfs_f
                btrfs_bio_counter_inc_noblocked(fs_info);
                rbio->generic_bio_cnt = 1;
        } else {
@@ -523,7 +513,7 @@ index d8d268ca8aa7..893d93e3c516 100644
        }
  
        /*
-@@ -2214,7 +2213,7 @@ static void read_rebuild_work(struct btrfs_work *work)
+@@ -2214,7 +2213,7 @@ static void read_rebuild_work(struct btr
  /*
   * The following code is used to scrub/replace the parity stripe
   *
@@ -532,7 +522,7 @@ index d8d268ca8aa7..893d93e3c516 100644
   *
   * Note: We need make sure all the pages that add into the scrub/replace
   * raid bio are correct and not be changed during the scrub/replace. That
-@@ -2223,14 +2222,14 @@ static void read_rebuild_work(struct btrfs_work *work)
+@@ -2223,14 +2222,14 @@ static void read_rebuild_work(struct btr
  
  struct btrfs_raid_bio *
  raid56_parity_alloc_scrub_rbio(struct btrfs_fs_info *fs_info, struct bio *bio,
@@ -549,7 +539,7 @@ index d8d268ca8aa7..893d93e3c516 100644
        if (IS_ERR(rbio))
                return NULL;
        bio_list_add(&rbio->bio_list, bio);
-@@ -2242,12 +2241,12 @@ raid56_parity_alloc_scrub_rbio(struct btrfs_fs_info *fs_info, struct bio *bio,
+@@ -2242,12 +2241,12 @@ raid56_parity_alloc_scrub_rbio(struct bt
        rbio->operation = BTRFS_RBIO_PARITY_SCRUB;
  
        /*
@@ -564,7 +554,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                        rbio->scrubp = i;
                        break;
                }
-@@ -2260,7 +2259,7 @@ raid56_parity_alloc_scrub_rbio(struct btrfs_fs_info *fs_info, struct bio *bio,
+@@ -2260,7 +2259,7 @@ raid56_parity_alloc_scrub_rbio(struct bt
        bitmap_copy(rbio->dbitmap, dbitmap, stripe_nsectors);
  
        /*
@@ -573,7 +563,7 @@ index d8d268ca8aa7..893d93e3c516 100644
         * so we can free it at rbio_orig_end_io().
         */
        rbio->generic_bio_cnt = 1;
-@@ -2275,10 +2274,10 @@ void raid56_add_scrub_pages(struct btrfs_raid_bio *rbio, struct page *page,
+@@ -2275,10 +2274,10 @@ void raid56_add_scrub_pages(struct btrfs
        int stripe_offset;
        int index;
  
@@ -587,7 +577,7 @@ index d8d268ca8aa7..893d93e3c516 100644
        index = stripe_offset >> PAGE_SHIFT;
        rbio->bio_pages[index] = page;
  }
-@@ -2312,7 +2311,7 @@ static int alloc_rbio_essential_pages(struct btrfs_raid_bio *rbio)
+@@ -2312,7 +2311,7 @@ static int alloc_rbio_essential_pages(st
  static noinline void finish_parity_scrub(struct btrfs_raid_bio *rbio,
                                         int need_check)
  {
@@ -596,7 +586,7 @@ index d8d268ca8aa7..893d93e3c516 100644
        void **pointers = rbio->finish_pointers;
        unsigned long *pbitmap = rbio->finish_pbitmap;
        int nr_data = rbio->nr_data;
-@@ -2335,7 +2334,7 @@ static noinline void finish_parity_scrub(struct btrfs_raid_bio *rbio,
+@@ -2335,7 +2334,7 @@ static noinline void finish_parity_scrub
        else
                BUG();
  
@@ -605,7 +595,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                is_replace = 1;
                bitmap_copy(pbitmap, rbio->dbitmap, rbio->stripe_npages);
        }
-@@ -2435,7 +2434,7 @@ static noinline void finish_parity_scrub(struct btrfs_raid_bio *rbio,
+@@ -2435,7 +2434,7 @@ writeback:
  
                page = rbio_stripe_page(rbio, rbio->scrubp, pagenr);
                ret = rbio_add_io_page(rbio, &bio_list, page,
@@ -614,7 +604,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                                       pagenr, rbio->stripe_len);
                if (ret)
                        goto cleanup;
-@@ -2483,7 +2482,7 @@ static inline int is_data_stripe(struct btrfs_raid_bio *rbio, int stripe)
+@@ -2483,7 +2482,7 @@ static inline int is_data_stripe(struct
   */
  static void validate_rbio_for_parity_scrub(struct btrfs_raid_bio *rbio)
  {
@@ -623,7 +613,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                goto cleanup;
  
        if (rbio->faila >= 0 || rbio->failb >= 0) {
-@@ -2504,7 +2503,7 @@ static void validate_rbio_for_parity_scrub(struct btrfs_raid_bio *rbio)
+@@ -2504,7 +2503,7 @@ static void validate_rbio_for_parity_scr
                 * the data, so the capability of the repair is declined.
                 * (In the case of RAID5, we can not repair anything)
                 */
@@ -632,7 +622,7 @@ index d8d268ca8aa7..893d93e3c516 100644
                        goto cleanup;
  
                /*
-@@ -2625,8 +2624,8 @@ static void raid56_parity_scrub_stripe(struct btrfs_raid_bio *rbio)
+@@ -2625,8 +2624,8 @@ static void raid56_parity_scrub_stripe(s
        }
  
        /*
@@ -643,7 +633,7 @@ index d8d268ca8aa7..893d93e3c516 100644
         */
        atomic_set(&rbio->stripes_pending, bios_to_read);
        while ((bio = bio_list_pop(&bio_list))) {
-@@ -2671,11 +2670,11 @@ void raid56_parity_submit_scrub_rbio(struct btrfs_raid_bio *rbio)
+@@ -2671,11 +2670,11 @@ void raid56_parity_submit_scrub_rbio(str
  
  struct btrfs_raid_bio *
  raid56_alloc_missing_rbio(struct btrfs_fs_info *fs_info, struct bio *bio,
@@ -657,7 +647,7 @@ index d8d268ca8aa7..893d93e3c516 100644
        if (IS_ERR(rbio))
                return NULL;
  
-@@ -2695,7 +2694,7 @@ raid56_alloc_missing_rbio(struct btrfs_fs_info *fs_info, struct bio *bio,
+@@ -2695,7 +2694,7 @@ raid56_alloc_missing_rbio(struct btrfs_f
        }
  
        /*
@@ -666,8 +656,6 @@ index d8d268ca8aa7..893d93e3c516 100644
         * so we can free it at rbio_orig_end_io()
         */
        rbio->generic_bio_cnt = 1;
-diff --git a/fs/btrfs/raid56.h b/fs/btrfs/raid56.h
-index 2503485db859..838d3a5e07ef 100644
 --- a/fs/btrfs/raid56.h
 +++ b/fs/btrfs/raid56.h
 @@ -31,24 +31,24 @@ struct btrfs_raid_bio;
@@ -699,11 +687,9 @@ index 2503485db859..838d3a5e07ef 100644
  void raid56_submit_missing_rbio(struct btrfs_raid_bio *rbio);
  
  int btrfs_alloc_stripe_hash_table(struct btrfs_fs_info *info);
-diff --git a/fs/btrfs/reada.c b/fs/btrfs/reada.c
-index 06713a8fe26b..eb96fdc3be25 100644
 --- a/fs/btrfs/reada.c
 +++ b/fs/btrfs/reada.c
-@@ -227,7 +227,7 @@ int btree_readahead_hook(struct extent_buffer *eb, int err)
+@@ -227,7 +227,7 @@ start_machine:
  }
  
  static struct reada_zone *reada_find_zone(struct btrfs_device *dev, u64 logical,
@@ -712,7 +698,7 @@ index 06713a8fe26b..eb96fdc3be25 100644
  {
        struct btrfs_fs_info *fs_info = dev->fs_info;
        int ret;
-@@ -275,11 +275,11 @@ static struct reada_zone *reada_find_zone(struct btrfs_device *dev, u64 logical,
+@@ -275,11 +275,11 @@ static struct reada_zone *reada_find_zon
        kref_init(&zone->refcnt);
        zone->elems = 0;
        zone->device = dev; /* our device always sits at index 0 */
@@ -727,7 +713,7 @@ index 06713a8fe26b..eb96fdc3be25 100644
  
        spin_lock(&fs_info->reada_lock);
        ret = radix_tree_insert(&dev->reada_zones,
-@@ -309,7 +309,7 @@ static struct reada_extent *reada_find_extent(struct btrfs_fs_info *fs_info,
+@@ -309,7 +309,7 @@ static struct reada_extent *reada_find_e
        int ret;
        struct reada_extent *re = NULL;
        struct reada_extent *re_exist = NULL;
@@ -736,7 +722,7 @@ index 06713a8fe26b..eb96fdc3be25 100644
        struct btrfs_device *dev;
        struct btrfs_device *prev_dev;
        u64 length;
-@@ -345,28 +345,28 @@ static struct reada_extent *reada_find_extent(struct btrfs_fs_info *fs_info,
+@@ -345,28 +345,28 @@ static struct reada_extent *reada_find_e
         */
        length = fs_info->nodesize;
        ret = btrfs_map_block(fs_info, BTRFS_MAP_GET_READ_MIRRORS, logical,
@@ -771,7 +757,7 @@ index 06713a8fe26b..eb96fdc3be25 100644
                if (!zone)
                        continue;
  
-@@ -464,7 +464,7 @@ static struct reada_extent *reada_find_extent(struct btrfs_fs_info *fs_info,
+@@ -464,7 +464,7 @@ static struct reada_extent *reada_find_e
        if (!have_zone)
                goto error;
  
@@ -780,7 +766,7 @@ index 06713a8fe26b..eb96fdc3be25 100644
        return re;
  
  error:
-@@ -488,7 +488,7 @@ static struct reada_extent *reada_find_extent(struct btrfs_fs_info *fs_info,
+@@ -488,7 +488,7 @@ error:
                kref_put(&zone->refcnt, reada_zone_release);
                spin_unlock(&fs_info->reada_lock);
        }
@@ -789,8 +775,6 @@ index 06713a8fe26b..eb96fdc3be25 100644
        kfree(re);
        return re_exist;
  }
-diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c
-index 6f2787b21530..0785d9d645fc 100644
 --- a/fs/btrfs/scrub.c
 +++ b/fs/btrfs/scrub.c
 @@ -57,7 +57,7 @@ struct scrub_ctx;
@@ -802,7 +786,7 @@ index 6f2787b21530..0785d9d645fc 100644
        u64                     map_length;
  };
  
-@@ -254,7 +254,7 @@ static void scrub_put_ctx(struct scrub_ctx *sctx);
+@@ -254,7 +254,7 @@ static void scrub_put_ctx(struct scrub_c
  static inline int scrub_is_page_on_raid56(struct scrub_page *spage)
  {
        return spage->recover &&
@@ -811,7 +795,7 @@ index 6f2787b21530..0785d9d645fc 100644
  }
  
  static void scrub_pending_bio_inc(struct scrub_ctx *sctx)
-@@ -798,7 +798,7 @@ static inline void scrub_put_recover(struct btrfs_fs_info *fs_info,
+@@ -798,7 +798,7 @@ static inline void scrub_put_recover(str
  {
        if (refcount_dec_and_test(&recover->refs)) {
                btrfs_bio_counter_dec(fs_info);
@@ -820,7 +804,7 @@ index 6f2787b21530..0785d9d645fc 100644
                kfree(recover);
        }
  }
-@@ -1027,8 +1027,7 @@ static int scrub_handle_errored_block(struct scrub_block *sblock_to_check)
+@@ -1027,8 +1027,7 @@ static int scrub_handle_errored_block(st
                        sblock_other = sblocks_for_recheck + mirror_index;
                } else {
                        struct scrub_recover *r = sblock_bad->pagev[0]->recover;
@@ -830,7 +814,7 @@ index 6f2787b21530..0785d9d645fc 100644
  
                        if (mirror_index >= max_allowed)
                                break;
-@@ -1218,14 +1217,14 @@ static int scrub_handle_errored_block(struct scrub_block *sblock_to_check)
+@@ -1218,14 +1217,14 @@ out:
        return 0;
  }
  
@@ -849,7 +833,7 @@ index 6f2787b21530..0785d9d645fc 100644
  }
  
  static inline void scrub_stripe_index_and_offset(u64 logical, u64 map_type,
-@@ -1269,7 +1268,7 @@ static int scrub_setup_recheck_block(struct scrub_block *original_sblock,
+@@ -1269,7 +1268,7 @@ static int scrub_setup_recheck_block(str
        u64 flags = original_sblock->pagev[0]->flags;
        u64 have_csum = original_sblock->pagev[0]->have_csum;
        struct scrub_recover *recover;
@@ -858,7 +842,7 @@ index 6f2787b21530..0785d9d645fc 100644
        u64 sublen;
        u64 mapped_length;
        u64 stripe_offset;
-@@ -1288,7 +1287,7 @@ static int scrub_setup_recheck_block(struct scrub_block *original_sblock,
+@@ -1288,7 +1287,7 @@ static int scrub_setup_recheck_block(str
        while (length > 0) {
                sublen = min_t(u64, length, fs_info->sectorsize);
                mapped_length = sublen;
@@ -867,7 +851,7 @@ index 6f2787b21530..0785d9d645fc 100644
  
                /*
                 * With a length of sectorsize, each returned stripe represents
-@@ -1296,27 +1295,27 @@ static int scrub_setup_recheck_block(struct scrub_block *original_sblock,
+@@ -1296,27 +1295,27 @@ static int scrub_setup_recheck_block(str
                 */
                btrfs_bio_counter_inc_blocked(fs_info);
                ret = btrfs_map_sblock(fs_info, BTRFS_MAP_GET_READ_MIRRORS,
@@ -901,7 +885,7 @@ index 6f2787b21530..0785d9d645fc 100644
  
                for (mirror_index = 0; mirror_index < nmirrors;
                     mirror_index++) {
-@@ -1348,17 +1347,17 @@ static int scrub_setup_recheck_block(struct scrub_block *original_sblock,
+@@ -1348,17 +1347,17 @@ leave_nomem:
                                       sctx->fs_info->csum_size);
  
                        scrub_stripe_index_and_offset(logical,
@@ -925,7 +909,7 @@ index 6f2787b21530..0785d9d645fc 100644
  
                        BUG_ON(page_index >= original_sblock->page_count);
                        spage->physical_for_dev_replace =
-@@ -1401,7 +1400,7 @@ static int scrub_submit_raid56_bio_wait(struct btrfs_fs_info *fs_info,
+@@ -1401,7 +1400,7 @@ static int scrub_submit_raid56_bio_wait(
        bio->bi_end_io = scrub_bio_wait_endio;
  
        mirror_num = spage->sblock->pagev[0]->mirror_num;
@@ -934,7 +918,7 @@ index 6f2787b21530..0785d9d645fc 100644
                                    spage->recover->map_length,
                                    mirror_num, 0);
        if (ret)
-@@ -2203,7 +2202,7 @@ static void scrub_missing_raid56_pages(struct scrub_block *sblock)
+@@ -2203,7 +2202,7 @@ static void scrub_missing_raid56_pages(s
        struct btrfs_fs_info *fs_info = sctx->fs_info;
        u64 length = sblock->page_count * PAGE_SIZE;
        u64 logical = sblock->pagev[0]->logical;
@@ -943,7 +927,7 @@ index 6f2787b21530..0785d9d645fc 100644
        struct bio *bio;
        struct btrfs_raid_bio *rbio;
        int ret;
-@@ -2211,19 +2210,19 @@ static void scrub_missing_raid56_pages(struct scrub_block *sblock)
+@@ -2211,19 +2210,19 @@ static void scrub_missing_raid56_pages(s
  
        btrfs_bio_counter_inc_blocked(fs_info);
        ret = btrfs_map_sblock(fs_info, BTRFS_MAP_GET_READ_MIRRORS, logical,
@@ -968,7 +952,7 @@ index 6f2787b21530..0785d9d645fc 100644
        }
  
        bio = btrfs_io_bio_alloc(0);
-@@ -2231,7 +2230,7 @@ static void scrub_missing_raid56_pages(struct scrub_block *sblock)
+@@ -2231,7 +2230,7 @@ static void scrub_missing_raid56_pages(s
        bio->bi_private = sblock;
        bio->bi_end_io = scrub_missing_raid56_end_io;
  
@@ -977,7 +961,7 @@ index 6f2787b21530..0785d9d645fc 100644
        if (!rbio)
                goto rbio_out;
  
-@@ -2249,9 +2248,9 @@ static void scrub_missing_raid56_pages(struct scrub_block *sblock)
+@@ -2249,9 +2248,9 @@ static void scrub_missing_raid56_pages(s
  
  rbio_out:
        bio_put(bio);
@@ -989,7 +973,7 @@ index 6f2787b21530..0785d9d645fc 100644
        spin_lock(&sctx->stat_lock);
        sctx->stat.malloc_errors++;
        spin_unlock(&sctx->stat_lock);
-@@ -2826,7 +2825,7 @@ static void scrub_parity_check_and_repair(struct scrub_parity *sparity)
+@@ -2826,7 +2825,7 @@ static void scrub_parity_check_and_repai
        struct btrfs_fs_info *fs_info = sctx->fs_info;
        struct bio *bio;
        struct btrfs_raid_bio *rbio;
@@ -998,7 +982,7 @@ index 6f2787b21530..0785d9d645fc 100644
        u64 length;
        int ret;
  
-@@ -2838,16 +2837,16 @@ static void scrub_parity_check_and_repair(struct scrub_parity *sparity)
+@@ -2838,16 +2837,16 @@ static void scrub_parity_check_and_repai
  
        btrfs_bio_counter_inc_blocked(fs_info);
        ret = btrfs_map_sblock(fs_info, BTRFS_MAP_WRITE, sparity->logic_start,
@@ -1019,7 +1003,7 @@ index 6f2787b21530..0785d9d645fc 100644
                                              length, sparity->scrub_dev,
                                              sparity->dbitmap,
                                              sparity->nsectors);
-@@ -2860,9 +2859,9 @@ static void scrub_parity_check_and_repair(struct scrub_parity *sparity)
+@@ -2860,9 +2859,9 @@ static void scrub_parity_check_and_repai
  
  rbio_out:
        bio_put(bio);
@@ -1031,7 +1015,7 @@ index 6f2787b21530..0785d9d645fc 100644
        bitmap_or(sparity->ebitmap, sparity->ebitmap, sparity->dbitmap,
                  sparity->nsectors);
        spin_lock(&sctx->stat_lock);
-@@ -2901,7 +2900,7 @@ static noinline_for_stack int scrub_raid56_parity(struct scrub_ctx *sctx,
+@@ -2901,7 +2900,7 @@ static noinline_for_stack int scrub_raid
        struct btrfs_root *root = fs_info->extent_root;
        struct btrfs_root *csum_root = fs_info->csum_root;
        struct btrfs_extent_item *extent;
@@ -1040,7 +1024,7 @@ index 6f2787b21530..0785d9d645fc 100644
        u64 flags;
        int ret;
        int slot;
-@@ -3044,22 +3043,22 @@ static noinline_for_stack int scrub_raid56_parity(struct scrub_ctx *sctx,
+@@ -3044,22 +3043,22 @@ again:
                                                       extent_len);
  
                        mapped_length = extent_len;
@@ -1071,7 +1055,7 @@ index 6f2787b21530..0785d9d645fc 100644
  
                        ret = btrfs_lookup_csums_range(csum_root,
                                                extent_logical,
-@@ -4311,20 +4310,20 @@ static void scrub_remap_extent(struct btrfs_fs_info *fs_info,
+@@ -4309,20 +4308,20 @@ static void scrub_remap_extent(struct bt
                               int *extent_mirror_num)
  {
        u64 mapped_length;
@@ -1101,11 +1085,9 @@ index 6f2787b21530..0785d9d645fc 100644
 +      *extent_dev = bioc->stripes[0].dev;
 +      btrfs_put_bioc(bioc);
  }
-diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
-index 89ce0b449c22..2a93d80be9bf 100644
 --- a/fs/btrfs/volumes.c
 +++ b/fs/btrfs/volumes.c
-@@ -251,7 +251,7 @@ static void btrfs_dev_stat_print_on_load(struct btrfs_device *device);
+@@ -251,7 +251,7 @@ static void btrfs_dev_stat_print_on_load
  static int __btrfs_map_block(struct btrfs_fs_info *fs_info,
                             enum btrfs_map_op op,
                             u64 logical, u64 *length,
@@ -1114,7 +1096,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
                             int mirror_num, int need_raid_map);
  
  /*
-@@ -5868,7 +5868,7 @@ static int find_live_mirror(struct btrfs_fs_info *fs_info,
+@@ -5832,7 +5832,7 @@ static int find_live_mirror(struct btrfs
  }
  
  /* Bubble-sort the stripe set to put the parity/syndrome stripes last */
@@ -1123,7 +1105,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
  {
        int i;
        int again = 1;
-@@ -5877,52 +5877,53 @@ static void sort_parity_stripes(struct btrfs_bio *bbio, int num_stripes)
+@@ -5841,52 +5841,53 @@ static void sort_parity_stripes(struct b
                again = 0;
                for (i = 0; i < num_stripes - 1; i++) {
                        /* Swap if parity is on a smaller index */
@@ -1201,7 +1183,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
  }
  
  /* can REQ_OP_DISCARD be sent with other REQ like REQ_OP_WRITE? */
-@@ -5932,11 +5933,11 @@ void btrfs_put_bbio(struct btrfs_bio *bbio)
+@@ -5896,11 +5897,11 @@ void btrfs_put_bbio(struct btrfs_bio *bb
   */
  static int __btrfs_map_block_for_discard(struct btrfs_fs_info *fs_info,
                                         u64 logical, u64 *length_ret,
@@ -1215,7 +1197,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
        u64 length = *length_ret;
        u64 offset;
        u64 stripe_nr;
-@@ -5955,8 +5956,8 @@ static int __btrfs_map_block_for_discard(struct btrfs_fs_info *fs_info,
+@@ -5919,8 +5920,8 @@ static int __btrfs_map_block_for_discard
        int ret = 0;
        int i;
  
@@ -1226,7 +1208,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
  
        em = btrfs_get_chunk_map(fs_info, logical, length);
        if (IS_ERR(em))
-@@ -6019,26 +6020,25 @@ static int __btrfs_map_block_for_discard(struct btrfs_fs_info *fs_info,
+@@ -5983,26 +5984,25 @@ static int __btrfs_map_block_for_discard
                                        &stripe_index);
        }
  
@@ -1259,7 +1241,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
  
                        /*
                         * Special for the first stripe and
-@@ -6049,19 +6049,17 @@ static int __btrfs_map_block_for_discard(struct btrfs_fs_info *fs_info,
+@@ -6013,19 +6013,17 @@ static int __btrfs_map_block_for_discard
                         *    off     end_off
                         */
                        if (i < sub_stripes)
@@ -1282,7 +1264,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
                }
  
                stripe_index++;
-@@ -6071,9 +6069,9 @@ static int __btrfs_map_block_for_discard(struct btrfs_fs_info *fs_info,
+@@ -6035,9 +6033,9 @@ static int __btrfs_map_block_for_discard
                }
        }
  
@@ -1295,7 +1277,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
  out:
        free_extent_map(em);
        return ret;
-@@ -6097,7 +6095,7 @@ static int get_extra_mirror_from_replace(struct btrfs_fs_info *fs_info,
+@@ -6061,7 +6059,7 @@ static int get_extra_mirror_from_replace
                                         u64 srcdev_devid, int *mirror_num,
                                         u64 *physical)
  {
@@ -1304,7 +1286,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
        int num_stripes;
        int index_srcdev = 0;
        int found = 0;
-@@ -6106,20 +6104,20 @@ static int get_extra_mirror_from_replace(struct btrfs_fs_info *fs_info,
+@@ -6070,20 +6068,20 @@ static int get_extra_mirror_from_replace
        int ret = 0;
  
        ret = __btrfs_map_block(fs_info, BTRFS_MAP_GET_READ_MIRRORS,
@@ -1329,7 +1311,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
                return -EIO;
        }
  
-@@ -6129,7 +6127,7 @@ static int get_extra_mirror_from_replace(struct btrfs_fs_info *fs_info,
+@@ -6093,7 +6091,7 @@ static int get_extra_mirror_from_replace
         * pointer to the one of the target drive.
         */
        for (i = 0; i < num_stripes; i++) {
@@ -1338,7 +1320,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
                        continue;
  
                /*
-@@ -6137,15 +6135,15 @@ static int get_extra_mirror_from_replace(struct btrfs_fs_info *fs_info,
+@@ -6101,15 +6099,15 @@ static int get_extra_mirror_from_replace
                 * mirror with the lowest physical address
                 */
                if (found &&
@@ -1357,7 +1339,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
  
        ASSERT(found);
        if (!found)
-@@ -6176,12 +6174,12 @@ static bool is_block_group_to_copy(struct btrfs_fs_info *fs_info, u64 logical)
+@@ -6140,12 +6138,12 @@ static bool is_block_group_to_copy(struc
  }
  
  static void handle_ops_on_dev_replace(enum btrfs_map_op op,
@@ -1372,7 +1354,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
        u64 srcdev_devid = dev_replace->srcdev->devid;
        int tgtdev_indexes = 0;
        int num_stripes = *num_stripes_ret;
-@@ -6211,17 +6209,17 @@ static void handle_ops_on_dev_replace(enum btrfs_map_op op,
+@@ -6175,17 +6173,17 @@ static void handle_ops_on_dev_replace(en
                 */
                index_where_to_add = num_stripes;
                for (i = 0; i < num_stripes; i++) {
@@ -1396,7 +1378,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
                                index_where_to_add++;
                                max_errors++;
                                tgtdev_indexes++;
-@@ -6241,30 +6239,29 @@ static void handle_ops_on_dev_replace(enum btrfs_map_op op,
+@@ -6205,30 +6203,29 @@ static void handle_ops_on_dev_replace(en
                 * full copy of the source drive.
                 */
                for (i = 0; i < num_stripes; i++) {
@@ -1434,7 +1416,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
  
                        tgtdev_indexes++;
                        num_stripes++;
-@@ -6273,8 +6270,8 @@ static void handle_ops_on_dev_replace(enum btrfs_map_op op,
+@@ -6237,8 +6234,8 @@ static void handle_ops_on_dev_replace(en
  
        *num_stripes_ret = num_stripes;
        *max_errors_ret = max_errors;
@@ -1445,7 +1427,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
  }
  
  static bool need_full_stripe(enum btrfs_map_op op)
-@@ -6377,7 +6374,7 @@ int btrfs_get_io_geometry(struct btrfs_fs_info *fs_info, struct extent_map *em,
+@@ -6341,7 +6338,7 @@ int btrfs_get_io_geometry(struct btrfs_f
  static int __btrfs_map_block(struct btrfs_fs_info *fs_info,
                             enum btrfs_map_op op,
                             u64 logical, u64 *length,
@@ -1454,7 +1436,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
                             int mirror_num, int need_raid_map)
  {
        struct extent_map *em;
-@@ -6392,7 +6389,7 @@ static int __btrfs_map_block(struct btrfs_fs_info *fs_info,
+@@ -6356,7 +6353,7 @@ static int __btrfs_map_block(struct btrf
        int num_stripes;
        int max_errors = 0;
        int tgtdev_indexes = 0;
@@ -1463,7 +1445,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
        struct btrfs_dev_replace *dev_replace = &fs_info->dev_replace;
        int dev_replace_is_ongoing = 0;
        int num_alloc_stripes;
-@@ -6401,7 +6398,7 @@ static int __btrfs_map_block(struct btrfs_fs_info *fs_info,
+@@ -6365,7 +6362,7 @@ static int __btrfs_map_block(struct btrf
        u64 raid56_full_stripe_start = (u64)-1;
        struct btrfs_io_geometry geom;
  
@@ -1472,7 +1454,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
        ASSERT(op != BTRFS_MAP_DISCARD);
  
        em = btrfs_get_chunk_map(fs_info, logical, *length);
-@@ -6545,20 +6542,20 @@ static int __btrfs_map_block(struct btrfs_fs_info *fs_info,
+@@ -6509,20 +6506,20 @@ static int __btrfs_map_block(struct btrf
                tgtdev_indexes = num_stripes;
        }
  
@@ -1498,7 +1480,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
        if (map->type & BTRFS_BLOCK_GROUP_RAID56_MASK && need_raid_map &&
            (need_full_stripe(op) || mirror_num > 1)) {
                u64 tmp;
-@@ -6570,15 +6567,15 @@ static int __btrfs_map_block(struct btrfs_fs_info *fs_info,
+@@ -6534,15 +6531,15 @@ static int __btrfs_map_block(struct btrf
                /* Fill in the logical address of each stripe */
                tmp = stripe_nr * data_stripes;
                for (i = 0; i < data_stripes; i++)
@@ -1518,7 +1500,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
        }
  
        if (need_full_stripe(op))
-@@ -6586,15 +6583,15 @@ static int __btrfs_map_block(struct btrfs_fs_info *fs_info,
+@@ -6550,15 +6547,15 @@ static int __btrfs_map_block(struct btrf
  
        if (dev_replace_is_ongoing && dev_replace->tgtdev != NULL &&
            need_full_stripe(op)) {
@@ -1540,7 +1522,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
  
        /*
         * this is the case that REQ_READ && dev_replace_is_ongoing &&
-@@ -6603,9 +6600,9 @@ static int __btrfs_map_block(struct btrfs_fs_info *fs_info,
+@@ -6567,9 +6564,9 @@ static int __btrfs_map_block(struct btrf
         */
        if (patch_the_first_stripe_for_dev_replace && num_stripes > 0) {
                WARN_ON(num_stripes > 1);
@@ -1553,7 +1535,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
        }
  out:
        if (dev_replace_is_ongoing) {
-@@ -6619,40 +6616,40 @@ static int __btrfs_map_block(struct btrfs_fs_info *fs_info,
+@@ -6583,40 +6580,40 @@ out:
  
  int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op,
                      u64 logical, u64 *length,
@@ -1605,7 +1587,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
                if (bio->bi_status == BLK_STS_IOERR ||
                    bio->bi_status == BLK_STS_TARGET) {
                        struct btrfs_device *dev = btrfs_io_bio(bio)->device;
-@@ -6670,22 +6667,22 @@ static void btrfs_end_bio(struct bio *bio)
+@@ -6634,22 +6631,22 @@ static void btrfs_end_bio(struct bio *bi
                }
        }
  
@@ -1634,7 +1616,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
                        bio->bi_status = BLK_STS_IOERR;
                } else {
                        /*
-@@ -6695,18 +6692,18 @@ static void btrfs_end_bio(struct bio *bio)
+@@ -6659,18 +6656,18 @@ static void btrfs_end_bio(struct bio *bi
                        bio->bi_status = BLK_STS_OK;
                }
  
@@ -1657,7 +1639,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
        btrfs_io_bio(bio)->device = dev;
        bio->bi_end_io = btrfs_end_bio;
        bio->bi_iter.bi_sector = physical >> 9;
-@@ -6736,20 +6733,20 @@ static void submit_stripe_bio(struct btrfs_bio *bbio, struct bio *bio,
+@@ -6700,20 +6697,20 @@ static void submit_stripe_bio(struct btr
        btrfsic_submit_bio(bio);
  }
  
@@ -1685,7 +1667,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
        }
  }
  
-@@ -6764,35 +6761,35 @@ blk_status_t btrfs_map_bio(struct btrfs_fs_info *fs_info, struct bio *bio,
+@@ -6728,35 +6725,35 @@ blk_status_t btrfs_map_bio(struct btrfs_
        int ret;
        int dev_nr;
        int total_devs;
@@ -1732,7 +1714,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
                                                    map_length, mirror_num, 1);
                }
  
-@@ -6808,12 +6805,12 @@ blk_status_t btrfs_map_bio(struct btrfs_fs_info *fs_info, struct bio *bio,
+@@ -6772,12 +6769,12 @@ blk_status_t btrfs_map_bio(struct btrfs_
        }
  
        for (dev_nr = 0; dev_nr < total_devs; dev_nr++) {
@@ -1747,7 +1729,7 @@ index 89ce0b449c22..2a93d80be9bf 100644
                        continue;
                }
  
-@@ -6822,7 +6819,7 @@ blk_status_t btrfs_map_bio(struct btrfs_fs_info *fs_info, struct bio *bio,
+@@ -6786,7 +6783,7 @@ blk_status_t btrfs_map_bio(struct btrfs_
                else
                        bio = first_bio;
  
@@ -1756,8 +1738,6 @@ index 89ce0b449c22..2a93d80be9bf 100644
        }
        btrfs_bio_counter_dec(fs_info);
        return BLK_STS_OK;
-diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
-index 30288b728bbb..dfd7457709b3 100644
 --- a/fs/btrfs/volumes.h
 +++ b/fs/btrfs/volumes.h
 @@ -306,11 +306,11 @@ struct btrfs_fs_devices {
@@ -1774,7 +1754,7 @@ index 30288b728bbb..dfd7457709b3 100644
   */
  struct btrfs_io_bio {
        unsigned int mirror_num;
-@@ -339,13 +339,29 @@ static inline void btrfs_io_bio_free_csum(struct btrfs_io_bio *io_bio)
+@@ -339,13 +339,29 @@ static inline void btrfs_io_bio_free_csu
        }
  }
  
@@ -1829,7 +1809,7 @@ index 30288b728bbb..dfd7457709b3 100644
  
  struct btrfs_balance_args;
  struct btrfs_balance_progress;
-@@ -457,14 +473,14 @@ static inline enum btrfs_map_op btrfs_op(struct bio *bio)
+@@ -441,14 +457,14 @@ static inline enum btrfs_map_op btrfs_op
        }
  }
  
@@ -1848,11 +1828,9 @@ index 30288b728bbb..dfd7457709b3 100644
  int btrfs_get_io_geometry(struct btrfs_fs_info *fs_info, struct extent_map *map,
                          enum btrfs_map_op op, u64 logical,
                          struct btrfs_io_geometry *io_geom);
-diff --git a/fs/btrfs/zoned.c b/fs/btrfs/zoned.c
-index 3bc2f92cd197..ce4eeffc4f12 100644
 --- a/fs/btrfs/zoned.c
 +++ b/fs/btrfs/zoned.c
-@@ -1502,27 +1502,27 @@ int btrfs_zoned_issue_zeroout(struct btrfs_device *device, u64 physical, u64 len
+@@ -1502,27 +1502,27 @@ int btrfs_zoned_issue_zeroout(struct btr
  static int read_zone_info(struct btrfs_fs_info *fs_info, u64 logical,
                          struct blk_zone *zone)
  {
@@ -1888,6 +1866,3 @@ index 3bc2f92cd197..ce4eeffc4f12 100644
  
                /* Missing device */
                if (!dev->bdev)
--- 
-2.35.1
-
index 8ce291dfa9efd2d5e5407268d41214ad4cce25dc..4015de91f1dc8b2c8db308cc45a667b8d083b43e 100644 (file)
@@ -53,7 +53,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/fs/btrfs/inode.c
 +++ b/fs/btrfs/inode.c
-@@ -7957,7 +7957,19 @@ static int btrfs_dio_iomap_begin(struct
+@@ -7956,7 +7956,19 @@ static int btrfs_dio_iomap_begin(struct
        if (test_bit(EXTENT_FLAG_COMPRESSED, &em->flags) ||
            em->block_start == EXTENT_MAP_INLINE) {
                free_extent_map(em);
index f449fa30040e85483e9f0c086c11daae637133c3..16dc7cb046fbffee6eb3cedaea9ee56d01963baf 100644 (file)
@@ -29,11 +29,9 @@ Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
 Link: https://patchwork.freedesktop.org/patch/msgid/20220607182338.344270-4-javierm@redhat.com
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/video/fbdev/core/fbmem.c | 12 ++++++++++++
+ drivers/video/fbdev/core/fbmem.c |   12 ++++++++++++
  1 file changed, 12 insertions(+)
 
-diff --git a/drivers/video/fbdev/core/fbmem.c b/drivers/video/fbdev/core/fbmem.c
-index 6d7868cc1fca..528c87ff14d8 100644
 --- a/drivers/video/fbdev/core/fbmem.c
 +++ b/drivers/video/fbdev/core/fbmem.c
 @@ -19,6 +19,7 @@
@@ -44,7 +42,7 @@ index 6d7868cc1fca..528c87ff14d8 100644
  #include <linux/mm.h>
  #include <linux/mman.h>
  #include <linux/vt.h>
-@@ -1786,6 +1787,17 @@ int remove_conflicting_framebuffers(struct apertures_struct *a,
+@@ -1774,6 +1775,17 @@ int remove_conflicting_framebuffers(stru
                do_free = true;
        }
  
@@ -62,6 +60,3 @@ index 6d7868cc1fca..528c87ff14d8 100644
        mutex_lock(&registration_lock);
        do_remove_conflicting_framebuffers(a, name, primary);
        mutex_unlock(&registration_lock);
--- 
-2.35.1
-
index da24dcfeffca40463a5c03f5206c4db82e5a1383..21d84952139d501408ae5ba5bc6e8e4f8dd582ca 100644 (file)
@@ -17,15 +17,13 @@ Fixes: 7d7402642eaf ("netfilter: nf_tables: variable sized set element keys / da
 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- include/net/netfilter/nf_tables.h | 14 +++---
- net/netfilter/nf_tables_api.c     | 72 ++++++++++++++++++++++---------
+ include/net/netfilter/nf_tables.h |   14 ++++---
+ net/netfilter/nf_tables_api.c     |   72 ++++++++++++++++++++++++++------------
  2 files changed, 60 insertions(+), 26 deletions(-)
 
-diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h
-index bcfee89012a1..f56a1071c005 100644
 --- a/include/net/netfilter/nf_tables.h
 +++ b/include/net/netfilter/nf_tables.h
-@@ -642,18 +642,22 @@ static inline void nft_set_ext_prepare(struct nft_set_ext_tmpl *tmpl)
+@@ -636,18 +636,22 @@ static inline void nft_set_ext_prepare(s
        tmpl->len = sizeof(struct nft_set_ext);
  }
  
@@ -53,11 +51,9 @@ index bcfee89012a1..f56a1071c005 100644
  }
  
  static inline void nft_set_ext_init(struct nft_set_ext *ext,
-diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c
-index 65d96439e2be..a32acf056e32 100644
 --- a/net/netfilter/nf_tables_api.c
 +++ b/net/netfilter/nf_tables_api.c
-@@ -5736,8 +5736,11 @@ static int nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -5729,8 +5729,11 @@ static int nft_add_set_elem(struct nft_c
        if (!nla[NFTA_SET_ELEM_KEY] && !(flags & NFT_SET_ELEM_CATCHALL))
                return -EINVAL;
  
@@ -71,7 +67,7 @@ index 65d96439e2be..a32acf056e32 100644
  
        if (set->flags & NFT_SET_MAP) {
                if (nla[NFTA_SET_ELEM_DATA] == NULL &&
-@@ -5846,7 +5849,9 @@ static int nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -5839,7 +5842,9 @@ static int nft_add_set_elem(struct nft_c
                if (err < 0)
                        goto err_set_elem_expr;
  
@@ -82,7 +78,7 @@ index 65d96439e2be..a32acf056e32 100644
        }
  
        if (nla[NFTA_SET_ELEM_KEY_END]) {
-@@ -5855,22 +5860,31 @@ static int nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -5848,22 +5853,31 @@ static int nft_add_set_elem(struct nft_c
                if (err < 0)
                        goto err_parse_key;
  
@@ -121,7 +117,7 @@ index 65d96439e2be..a32acf056e32 100644
        }
  
        if (nla[NFTA_SET_ELEM_OBJREF] != NULL) {
-@@ -5885,7 +5899,9 @@ static int nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -5878,7 +5892,9 @@ static int nft_add_set_elem(struct nft_c
                        err = PTR_ERR(obj);
                        goto err_parse_key_end;
                }
@@ -132,7 +128,7 @@ index 65d96439e2be..a32acf056e32 100644
        }
  
        if (nla[NFTA_SET_ELEM_DATA] != NULL) {
-@@ -5919,7 +5935,9 @@ static int nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -5912,7 +5928,9 @@ static int nft_add_set_elem(struct nft_c
                                                          NFT_VALIDATE_NEED);
                }
  
@@ -143,7 +139,7 @@ index 65d96439e2be..a32acf056e32 100644
        }
  
        /* The full maximum length of userdata can exceed the maximum
-@@ -5929,9 +5947,12 @@ static int nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -5922,9 +5940,12 @@ static int nft_add_set_elem(struct nft_c
        ulen = 0;
        if (nla[NFTA_SET_ELEM_USERDATA] != NULL) {
                ulen = nla_len(nla[NFTA_SET_ELEM_USERDATA]);
@@ -159,7 +155,7 @@ index 65d96439e2be..a32acf056e32 100644
        }
  
        err = -ENOMEM;
-@@ -6157,8 +6178,11 @@ static int nft_del_setelem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -6150,8 +6171,11 @@ static int nft_del_setelem(struct nft_ct
  
        nft_set_ext_prepare(&tmpl);
  
@@ -173,7 +169,7 @@ index 65d96439e2be..a32acf056e32 100644
  
        if (nla[NFTA_SET_ELEM_KEY]) {
                err = nft_setelem_parse_key(ctx, set, &elem.key.val,
-@@ -6166,16 +6190,20 @@ static int nft_del_setelem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -6159,16 +6183,20 @@ static int nft_del_setelem(struct nft_ct
                if (err < 0)
                        return err;
  
@@ -197,7 +193,7 @@ index 65d96439e2be..a32acf056e32 100644
        }
  
        err = -ENOMEM;
-@@ -6183,7 +6211,7 @@ static int nft_del_setelem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -6176,7 +6204,7 @@ static int nft_del_setelem(struct nft_ct
                                      elem.key_end.val.data, NULL, 0, 0,
                                      GFP_KERNEL);
        if (elem.priv == NULL)
@@ -206,7 +202,7 @@ index 65d96439e2be..a32acf056e32 100644
  
        ext = nft_set_elem_ext(set, elem.priv);
        if (flags)
-@@ -6207,6 +6235,8 @@ static int nft_del_setelem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -6200,6 +6228,8 @@ fail_ops:
        kfree(trans);
  fail_trans:
        kfree(elem.priv);
@@ -215,6 +211,3 @@ index 65d96439e2be..a32acf056e32 100644
  fail_elem:
        nft_data_release(&elem.key.val, NFT_DATA_VALUE);
        return err;
--- 
-2.35.1
-
index 9e727616ef56613f91dff71307630fafc6befd82..c5def8dd1461500616ecaa9204b681b8479cc6ff 100644 (file)
@@ -21,7 +21,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/sound/pci/hda/patch_realtek.c
 +++ b/sound/pci/hda/patch_realtek.c
-@@ -9425,6 +9425,7 @@ static const struct snd_pci_quirk alc269
+@@ -9424,6 +9424,7 @@ static const struct snd_pci_quirk alc269
        SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
        SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),
index ad06d24b81b63fd04695cf2a5a96d99d9e36ea0d..4c4159b17f52425558068874d2693fe96460fbf0 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/sound/pci/hda/patch_realtek.c
 +++ b/sound/pci/hda/patch_realtek.c
-@@ -11271,6 +11271,7 @@ static const struct snd_pci_quirk alc662
+@@ -11270,6 +11270,7 @@ static const struct snd_pci_quirk alc662
        SND_PCI_QUIRK(0x103c, 0x1632, "HP RP5800", ALC662_FIXUP_HP_RP5800),
        SND_PCI_QUIRK(0x103c, 0x8719, "HP", ALC897_FIXUP_HP_HSMIC_VERB),
        SND_PCI_QUIRK(0x103c, 0x873e, "HP", ALC671_FIXUP_HP_HEADSET_MIC2),
index 42e0ec44065e9468907ea0fec7408a46e8f222ff..ef7a01bce5468e042cbe94cd51960676e698f5b4 100644 (file)
@@ -20,20 +20,16 @@ Link: https://lore.kernel.org/r/20220627100041.2861494-2-sdoregor@sdore.me
 Signed-off-by: Takashi Iwai <tiwai@suse.de>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- sound/usb/quirks-table.h | 132 +++++++++++++++++++++++++++++++++++++++
- sound/usb/quirks.c       |   4 ++
+ sound/usb/quirks-table.h |  132 +++++++++++++++++++++++++++++++++++++++++++++++
+ sound/usb/quirks.c       |    4 +
  2 files changed, 136 insertions(+)
 
-diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
-index 7067d314fecd..f93201a830b5 100644
 --- a/sound/usb/quirks-table.h
 +++ b/sound/usb/quirks-table.h
-@@ -4167,6 +4167,138 @@ YAMAHA_DEVICE(0x7010, "UB99"),
-               }
-       }
+@@ -4169,6 +4169,138 @@ YAMAHA_DEVICE(0x7010, "UB99"),
  },
-+{
-+      /*
+ {
+       /*
 +       * Fiero SC-01 (firmware v1.0.0 @ 48 kHz)
 +       */
 +      USB_DEVICE(0x2b53, 0x0023),
@@ -164,14 +160,14 @@ index 7067d314fecd..f93201a830b5 100644
 +              }
 +      }
 +},
- {
-       /*
++{
++      /*
         * Fiero SC-01 (firmware v1.1.0)
-diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
-index 51138350f03c..968d90caeefa 100644
+        */
+       USB_DEVICE(0x2b53, 0x0031),
 --- a/sound/usb/quirks.c
 +++ b/sound/usb/quirks.c
-@@ -1915,6 +1915,10 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
+@@ -1911,6 +1911,10 @@ static const struct usb_audio_quirk_flag
                   QUIRK_FLAG_ALIGN_TRANSFER),
        DEVICE_FLG(0x1224, 0x2a25, /* Jieli Technology USB PHY 2.0 */
                   QUIRK_FLAG_GET_SAMPLE_RATE),
@@ -182,6 +178,3 @@ index 51138350f03c..968d90caeefa 100644
        DEVICE_FLG(0x2b53, 0x0031, /* Fiero SC-01 (firmware v1.1.0) */
                   QUIRK_FLAG_GENERIC_IMPLICIT_FB),
  
--- 
-2.35.1
-
index 3b0306ae48ee745a4a7baa5aa26a2c4702c317a5..609a9eb14f55fdd071ff0067b0fde82efe4ee5dc 100644 (file)
@@ -41,12 +41,10 @@ Link: https://lore.kernel.org/r/20220627100041.2861494-1-sdoregor@sdore.me
 Signed-off-by: Takashi Iwai <tiwai@suse.de>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- sound/usb/quirks-table.h | 68 ++++++++++++++++++++++++++++++++++++++++
- sound/usb/quirks.c       |  2 ++
+ sound/usb/quirks-table.h |   68 +++++++++++++++++++++++++++++++++++++++++++++++
+ sound/usb/quirks.c       |    2 +
  2 files changed, 70 insertions(+)
 
-diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
-index 853da162fd18..7067d314fecd 100644
 --- a/sound/usb/quirks-table.h
 +++ b/sound/usb/quirks-table.h
 @@ -4167,6 +4167,74 @@ YAMAHA_DEVICE(0x7010, "UB99"),
@@ -124,11 +122,9 @@ index 853da162fd18..7067d314fecd 100644
  
  #undef USB_DEVICE_VENDOR_SPEC
  #undef USB_AUDIO_DEVICE
-diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
-index a7bcae0a2c75..51138350f03c 100644
 --- a/sound/usb/quirks.c
 +++ b/sound/usb/quirks.c
-@@ -1915,6 +1915,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
+@@ -1911,6 +1911,8 @@ static const struct usb_audio_quirk_flag
                   QUIRK_FLAG_ALIGN_TRANSFER),
        DEVICE_FLG(0x1224, 0x2a25, /* Jieli Technology USB PHY 2.0 */
                   QUIRK_FLAG_GET_SAMPLE_RATE),
@@ -137,6 +133,3 @@ index a7bcae0a2c75..51138350f03c 100644
  
        /* Vendor matches */
        VENDOR_FLG(0x045e, /* MS Lifecam */
--- 
-2.35.1
-
index 58a4c0a63b7eefe9310e89862265fe05de03a96a..f7e0403ab6158d86d4d8fcd2118958f2e8bdc31c 100644 (file)
@@ -16,19 +16,16 @@ Link: https://lore.kernel.org/r/20220624140757.28758-1-john-linux@pelago.org.uk
 Signed-off-by: Takashi Iwai <tiwai@suse.de>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- sound/usb/quirks-table.h | 48 ++++++++++++++++++++++++++++++++++++++++
- sound/usb/quirks.c       |  3 +++
+ sound/usb/quirks-table.h |   48 +++++++++++++++++++++++++++++++++++++++++++++++
+ sound/usb/quirks.c       |    3 ++
  2 files changed, 51 insertions(+)
 
-diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
-index 4f56e1784932..853da162fd18 100644
 --- a/sound/usb/quirks-table.h
 +++ b/sound/usb/quirks-table.h
-@@ -3802,6 +3802,54 @@ YAMAHA_DEVICE(0x7010, "UB99"),
-       }
+@@ -3803,6 +3803,54 @@ YAMAHA_DEVICE(0x7010, "UB99"),
  },
  
-+/*
+ /*
 + * MacroSilicon MS2100/MS2106 based AV capture cards
 + *
 + * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
@@ -76,14 +73,13 @@ index 4f56e1784932..853da162fd18 100644
 +      }
 +},
 +
- /*
++/*
   * MacroSilicon MS2109 based HDMI capture cards
   *
-diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
-index 12ce69b04f63..a7bcae0a2c75 100644
+  * These claim 96kHz 1ch in the descriptors, but are actually 48kHz 2ch.
 --- a/sound/usb/quirks.c
 +++ b/sound/usb/quirks.c
-@@ -1478,6 +1478,7 @@ void snd_usb_set_format_quirk(struct snd_usb_substream *subs,
+@@ -1478,6 +1478,7 @@ void snd_usb_set_format_quirk(struct snd
        case USB_ID(0x041e, 0x3f19): /* E-Mu 0204 USB */
                set_format_emu_quirk(subs, fmt);
                break;
@@ -91,7 +87,7 @@ index 12ce69b04f63..a7bcae0a2c75 100644
        case USB_ID(0x534d, 0x2109): /* MacroSilicon MS2109 */
                subs->stream_offset_adj = 2;
                break;
-@@ -1908,6 +1909,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
+@@ -1904,6 +1905,8 @@ static const struct usb_audio_quirk_flag
                   QUIRK_FLAG_IGNORE_CTL_ERROR),
        DEVICE_FLG(0x413c, 0xa506, /* Dell AE515 sound bar */
                   QUIRK_FLAG_GET_SAMPLE_RATE),
@@ -100,6 +96,3 @@ index 12ce69b04f63..a7bcae0a2c75 100644
        DEVICE_FLG(0x534d, 0x2109, /* MacroSilicon MS2109 */
                   QUIRK_FLAG_ALIGN_TRANSFER),
        DEVICE_FLG(0x1224, 0x2a25, /* Jieli Technology USB PHY 2.0 */
--- 
-2.35.1
-
index c61ddf965f3cc5319fa7a1b8817def4018346a84..364476721ddce169fd4e988c0cd5b9b4d7f32f38 100644 (file)
@@ -22,16 +22,14 @@ Link: https://lore.kernel.org/r/20220606203752.144159-7-pierre-louis.bossart@lin
 Signed-off-by: Mark Brown <broonie@kernel.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- sound/soc/codecs/rt700.c      | 12 +++++-------
- sound/soc/codecs/rt711-sdca.c | 10 +++-------
- sound/soc/codecs/rt711.c      | 12 +++++-------
+ sound/soc/codecs/rt700.c      |   12 +++++-------
+ sound/soc/codecs/rt711-sdca.c |   10 +++-------
+ sound/soc/codecs/rt711.c      |   12 +++++-------
  3 files changed, 13 insertions(+), 21 deletions(-)
 
-diff --git a/sound/soc/codecs/rt700.c b/sound/soc/codecs/rt700.c
-index b16fbde02986..3de3406d653e 100644
 --- a/sound/soc/codecs/rt700.c
 +++ b/sound/soc/codecs/rt700.c
-@@ -1124,6 +1124,11 @@ int rt700_init(struct device *dev, struct regmap *sdw_regmap,
+@@ -1114,6 +1114,11 @@ int rt700_init(struct device *dev, struc
  
        mutex_init(&rt700->disable_irq_lock);
  
@@ -43,7 +41,7 @@ index b16fbde02986..3de3406d653e 100644
        /*
         * Mark hw_init to false
         * HW init will be performed when device reports present
-@@ -1218,13 +1223,6 @@ int rt700_io_init(struct device *dev, struct sdw_slave *slave)
+@@ -1208,13 +1213,6 @@ int rt700_io_init(struct device *dev, st
        /* Finish Initial Settings, set power to D3 */
        regmap_write(rt700->regmap, RT700_SET_AUDIO_POWER_STATE, AC_PWRST_D3);
  
@@ -57,11 +55,9 @@ index b16fbde02986..3de3406d653e 100644
        /*
         * if set_jack callback occurred early than io_init,
         * we set up the jack detection function now
-diff --git a/sound/soc/codecs/rt711-sdca.c b/sound/soc/codecs/rt711-sdca.c
-index 83e4c4e4d1e2..dfe3c9299ebd 100644
 --- a/sound/soc/codecs/rt711-sdca.c
 +++ b/sound/soc/codecs/rt711-sdca.c
-@@ -1417,6 +1417,9 @@ int rt711_sdca_init(struct device *dev, struct regmap *regmap,
+@@ -1414,6 +1414,9 @@ int rt711_sdca_init(struct device *dev,
        mutex_init(&rt711->calibrate_mutex);
        mutex_init(&rt711->disable_irq_lock);
  
@@ -71,7 +67,7 @@ index 83e4c4e4d1e2..dfe3c9299ebd 100644
        /*
         * Mark hw_init to false
         * HW init will be performed when device reports present
-@@ -1548,13 +1551,6 @@ int rt711_sdca_io_init(struct device *dev, struct sdw_slave *slave)
+@@ -1545,13 +1548,6 @@ int rt711_sdca_io_init(struct device *de
        rt711_sdca_index_update_bits(rt711, RT711_VENDOR_HDA_CTL,
                RT711_PUSH_BTN_INT_CTL0, 0x20, 0x00);
  
@@ -85,11 +81,9 @@ index 83e4c4e4d1e2..dfe3c9299ebd 100644
        /* calibration */
        ret = rt711_sdca_calibration(rt711);
        if (ret < 0)
-diff --git a/sound/soc/codecs/rt711.c b/sound/soc/codecs/rt711.c
-index 18a0de77c477..9df800abfc2d 100644
 --- a/sound/soc/codecs/rt711.c
 +++ b/sound/soc/codecs/rt711.c
-@@ -1209,6 +1209,10 @@ int rt711_init(struct device *dev, struct regmap *sdw_regmap,
+@@ -1206,6 +1206,10 @@ int rt711_init(struct device *dev, struc
        mutex_init(&rt711->calibrate_mutex);
        mutex_init(&rt711->disable_irq_lock);
  
@@ -100,7 +94,7 @@ index 18a0de77c477..9df800abfc2d 100644
        /*
         * Mark hw_init to false
         * HW init will be performed when device reports present
-@@ -1316,14 +1320,8 @@ int rt711_io_init(struct device *dev, struct sdw_slave *slave)
+@@ -1313,14 +1317,8 @@ int rt711_io_init(struct device *dev, st
  
        if (rt711->first_hw_init)
                rt711_calibration(rt711);
@@ -116,6 +110,3 @@ index 18a0de77c477..9df800abfc2d 100644
  
        /*
         * if set_jack callback occurred early than io_init,
--- 
-2.35.1
-
index 00e6d7f518b5fc544553e2c926a09022d020f0f1..42a7eeeda2ca737a06e76d9d4854445ba0f527bd 100644 (file)
@@ -17,15 +17,13 @@ Link: https://lore.kernel.org/r/20220606203752.144159-5-pierre-louis.bossart@lin
 Signed-off-by: Mark Brown <broonie@kernel.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- sound/soc/codecs/rt711-sdw.c | 3 +++
- sound/soc/codecs/rt711.c     | 2 +-
+ sound/soc/codecs/rt711-sdw.c |    3 +++
+ sound/soc/codecs/rt711.c     |    2 +-
  2 files changed, 4 insertions(+), 1 deletion(-)
 
-diff --git a/sound/soc/codecs/rt711-sdw.c b/sound/soc/codecs/rt711-sdw.c
-index f49c94baa37c..4fe68bcf2a7c 100644
 --- a/sound/soc/codecs/rt711-sdw.c
 +++ b/sound/soc/codecs/rt711-sdw.c
-@@ -474,6 +474,9 @@ static int rt711_sdw_remove(struct sdw_slave *slave)
+@@ -474,6 +474,9 @@ static int rt711_sdw_remove(struct sdw_s
        if (rt711->first_hw_init)
                pm_runtime_disable(&slave->dev);
  
@@ -35,11 +33,9 @@ index f49c94baa37c..4fe68bcf2a7c 100644
        return 0;
  }
  
-diff --git a/sound/soc/codecs/rt711.c b/sound/soc/codecs/rt711.c
-index 9958067e80f1..db70d8073c0b 100644
 --- a/sound/soc/codecs/rt711.c
 +++ b/sound/soc/codecs/rt711.c
-@@ -1206,6 +1206,7 @@ int rt711_init(struct device *dev, struct regmap *sdw_regmap,
+@@ -1203,6 +1203,7 @@ int rt711_init(struct device *dev, struc
        rt711->sdw_regmap = sdw_regmap;
        rt711->regmap = regmap;
  
@@ -47,7 +43,7 @@ index 9958067e80f1..db70d8073c0b 100644
        mutex_init(&rt711->disable_irq_lock);
  
        /*
-@@ -1320,7 +1321,6 @@ int rt711_io_init(struct device *dev, struct sdw_slave *slave)
+@@ -1317,7 +1318,6 @@ int rt711_io_init(struct device *dev, st
                        rt711_jack_detect_handler);
                INIT_DELAYED_WORK(&rt711->jack_btn_check_work,
                        rt711_btn_check_handler);
@@ -55,6 +51,3 @@ index 9958067e80f1..db70d8073c0b 100644
                INIT_WORK(&rt711->calibration_work, rt711_calibration_work);
                schedule_work(&rt711->calibration_work);
        }
--- 
-2.35.1
-
index ac3ab87e4cc51577c08eea5db89fa1c46bd00cf7..9408a32cf282e97d0ba5d7b394aff81c34691984 100644 (file)
@@ -27,15 +27,13 @@ Link: https://lore.kernel.org/r/20220606203752.144159-3-pierre-louis.bossart@lin
 Signed-off-by: Mark Brown <broonie@kernel.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- sound/soc/codecs/rt711-sdca-sdw.c | 3 +++
- sound/soc/codecs/rt711-sdca.c     | 2 +-
+ sound/soc/codecs/rt711-sdca-sdw.c |    3 +++
+ sound/soc/codecs/rt711-sdca.c     |    2 +-
  2 files changed, 4 insertions(+), 1 deletion(-)
 
-diff --git a/sound/soc/codecs/rt711-sdca-sdw.c b/sound/soc/codecs/rt711-sdca-sdw.c
-index c722a2b0041f..a085b2f530aa 100644
 --- a/sound/soc/codecs/rt711-sdca-sdw.c
 +++ b/sound/soc/codecs/rt711-sdca-sdw.c
-@@ -373,6 +373,9 @@ static int rt711_sdca_sdw_remove(struct sdw_slave *slave)
+@@ -373,6 +373,9 @@ static int rt711_sdca_sdw_remove(struct
        if (rt711->first_hw_init)
                pm_runtime_disable(&slave->dev);
  
@@ -45,11 +43,9 @@ index c722a2b0041f..a085b2f530aa 100644
        return 0;
  }
  
-diff --git a/sound/soc/codecs/rt711-sdca.c b/sound/soc/codecs/rt711-sdca.c
-index 9d59e653b941..8a0b74d3fa9e 100644
 --- a/sound/soc/codecs/rt711-sdca.c
 +++ b/sound/soc/codecs/rt711-sdca.c
-@@ -1414,6 +1414,7 @@ int rt711_sdca_init(struct device *dev, struct regmap *regmap,
+@@ -1411,6 +1411,7 @@ int rt711_sdca_init(struct device *dev,
        rt711->regmap = regmap;
        rt711->mbq_regmap = mbq_regmap;
  
@@ -57,7 +53,7 @@ index 9d59e653b941..8a0b74d3fa9e 100644
        mutex_init(&rt711->disable_irq_lock);
  
        /*
-@@ -1552,7 +1553,6 @@ int rt711_sdca_io_init(struct device *dev, struct sdw_slave *slave)
+@@ -1549,7 +1550,6 @@ int rt711_sdca_io_init(struct device *de
                        rt711_sdca_jack_detect_handler);
                INIT_DELAYED_WORK(&rt711->jack_btn_check_work,
                        rt711_sdca_btn_check_handler);
@@ -65,6 +61,3 @@ index 9d59e653b941..8a0b74d3fa9e 100644
        }
  
        /* calibration */
--- 
-2.35.1
-
index 3c934a8bf6cf9274d7bfc868d84e8a9a39d99759..99c1893faa601499d9df42a7213ab085df83bf99 100644 (file)
@@ -18,14 +18,12 @@ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
 Cc: stable@vger.kernel.org
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 43 +++++++++++++++++--
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |   43 ++++++++++++++++++++--
  1 file changed, 40 insertions(+), 3 deletions(-)
 
-diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
-index bfbd701a4c9a..810965bd0692 100644
 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
 +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
-@@ -464,6 +464,26 @@ static void dm_pflip_high_irq(void *interrupt_params)
+@@ -464,6 +464,26 @@ static void dm_pflip_high_irq(void *inte
                     vrr_active, (int) !e);
  }
  
@@ -52,7 +50,7 @@ index bfbd701a4c9a..810965bd0692 100644
  static void dm_vupdate_high_irq(void *interrupt_params)
  {
        struct common_irq_params *irq_params = interrupt_params;
-@@ -502,7 +522,7 @@ static void dm_vupdate_high_irq(void *interrupt_params)
+@@ -502,7 +522,7 @@ static void dm_vupdate_high_irq(void *in
                 * if a pageflip happened inside front-porch.
                 */
                if (vrr_active) {
@@ -61,7 +59,7 @@ index bfbd701a4c9a..810965bd0692 100644
  
                        /* BTR processing for pre-DCE12 ASICs */
                        if (acrtc->dm_irq_params.stream &&
-@@ -554,7 +574,7 @@ static void dm_crtc_high_irq(void *interrupt_params)
+@@ -554,7 +574,7 @@ static void dm_crtc_high_irq(void *inter
         * to dm_vupdate_high_irq after end of front-porch.
         */
        if (!vrr_active)
@@ -70,7 +68,7 @@ index bfbd701a4c9a..810965bd0692 100644
  
        /**
         * Following stuff must happen at start of vblank, for crc
-@@ -9199,6 +9219,7 @@ static void amdgpu_dm_commit_planes(struct drm_atomic_state *state,
+@@ -9202,6 +9222,7 @@ static void amdgpu_dm_commit_planes(stru
        struct amdgpu_bo *abo;
        uint32_t target_vblank, last_flip_vblank;
        bool vrr_active = amdgpu_dm_vrr_active(acrtc_state);
@@ -78,7 +76,7 @@ index bfbd701a4c9a..810965bd0692 100644
        bool pflip_present = false;
        struct {
                struct dc_surface_update surface_updates[MAX_SURFACES];
-@@ -9234,8 +9255,13 @@ static void amdgpu_dm_commit_planes(struct drm_atomic_state *state,
+@@ -9237,8 +9258,13 @@ static void amdgpu_dm_commit_planes(stru
                struct dm_plane_state *dm_new_plane_state = to_dm_plane_state(new_plane_state);
  
                /* Cursor plane is handled after stream updates */
@@ -93,7 +91,7 @@ index bfbd701a4c9a..810965bd0692 100644
  
                if (!fb || !crtc || pcrtc != crtc)
                        continue;
-@@ -9397,6 +9423,17 @@ static void amdgpu_dm_commit_planes(struct drm_atomic_state *state,
+@@ -9400,6 +9426,17 @@ static void amdgpu_dm_commit_planes(stru
                                bundle->stream_update.vrr_infopacket =
                                        &acrtc_state->stream->vrr_infopacket;
                }
@@ -111,6 +109,3 @@ index bfbd701a4c9a..810965bd0692 100644
        }
  
        /* Update the planes if changed or disable if we don't have any. */
--- 
-2.35.1
-
index 8e20a34e38b715d5953c3f56a812c34091e64b0b..c69e0b7ffad62930da0637e12e9219fa3338cf36 100644 (file)
@@ -29,11 +29,9 @@ Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
 Link: https://patchwork.freedesktop.org/patch/msgid/20220607182338.344270-4-javierm@redhat.com
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/video/fbdev/core/fbmem.c | 12 ++++++++++++
+ drivers/video/fbdev/core/fbmem.c |   12 ++++++++++++
  1 file changed, 12 insertions(+)
 
-diff --git a/drivers/video/fbdev/core/fbmem.c b/drivers/video/fbdev/core/fbmem.c
-index 85de02d0d3aa..643383d74edc 100644
 --- a/drivers/video/fbdev/core/fbmem.c
 +++ b/drivers/video/fbdev/core/fbmem.c
 @@ -19,6 +19,7 @@
@@ -44,7 +42,7 @@ index 85de02d0d3aa..643383d74edc 100644
  #include <linux/mm.h>
  #include <linux/mman.h>
  #include <linux/vt.h>
-@@ -1787,6 +1788,17 @@ int remove_conflicting_framebuffers(struct apertures_struct *a,
+@@ -1775,6 +1776,17 @@ int remove_conflicting_framebuffers(stru
                do_free = true;
        }
  
@@ -62,6 +60,3 @@ index 85de02d0d3aa..643383d74edc 100644
        mutex_lock(&registration_lock);
        do_remove_conflicting_framebuffers(a, name, primary);
        mutex_unlock(&registration_lock);
--- 
-2.35.1
-
index c721efc4c220cce50c51060d1e5913ab12fcc645..bf30b7e15de4990a54840c14d8e8867b573b0fac 100644 (file)
@@ -24,14 +24,12 @@ Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
 Signed-off-by: David S. Miller <davem@davemloft.net>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- net/mptcp/protocol.c | 4 ++--
+ net/mptcp/protocol.c |    4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c
-index b0fb1fc0bd4a..b52fd250cb3a 100644
 --- a/net/mptcp/protocol.c
 +++ b/net/mptcp/protocol.c
-@@ -2840,12 +2840,12 @@ static void mptcp_copy_inaddrs(struct sock *msk, const struct sock *ssk)
+@@ -2830,12 +2830,12 @@ static void mptcp_copy_inaddrs(struct so
  
  static int mptcp_disconnect(struct sock *sk, int flags)
  {
@@ -46,6 +44,3 @@ index b0fb1fc0bd4a..b52fd250cb3a 100644
                struct sock *ssk = mptcp_subflow_tcp_sock(subflow);
  
                __mptcp_close_ssk(sk, ssk, subflow, MPTCP_CF_FASTCLOSE);
--- 
-2.35.1
-
index c8a59ea65cc554e8b3e6d133095cb309df4da1f4..10ff4abb9b4acf207884c0ef9ee27862c2ea347a 100644 (file)
@@ -17,15 +17,13 @@ Fixes: 7d7402642eaf ("netfilter: nf_tables: variable sized set element keys / da
 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- include/net/netfilter/nf_tables.h | 14 +++---
- net/netfilter/nf_tables_api.c     | 72 ++++++++++++++++++++++---------
+ include/net/netfilter/nf_tables.h |   14 ++++---
+ net/netfilter/nf_tables_api.c     |   72 ++++++++++++++++++++++++++------------
  2 files changed, 60 insertions(+), 26 deletions(-)
 
-diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h
-index 279ae0fff7ad..f0c3a1ee197c 100644
 --- a/include/net/netfilter/nf_tables.h
 +++ b/include/net/netfilter/nf_tables.h
-@@ -657,18 +657,22 @@ static inline void nft_set_ext_prepare(struct nft_set_ext_tmpl *tmpl)
+@@ -657,18 +657,22 @@ static inline void nft_set_ext_prepare(s
        tmpl->len = sizeof(struct nft_set_ext);
  }
  
@@ -53,11 +51,9 @@ index 279ae0fff7ad..f0c3a1ee197c 100644
  }
  
  static inline void nft_set_ext_init(struct nft_set_ext *ext,
-diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c
-index a136148627e7..de3dc35ce609 100644
 --- a/net/netfilter/nf_tables_api.c
 +++ b/net/netfilter/nf_tables_api.c
-@@ -5831,8 +5831,11 @@ static int nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -5824,8 +5824,11 @@ static int nft_add_set_elem(struct nft_c
        if (!nla[NFTA_SET_ELEM_KEY] && !(flags & NFT_SET_ELEM_CATCHALL))
                return -EINVAL;
  
@@ -71,7 +67,7 @@ index a136148627e7..de3dc35ce609 100644
  
        if (set->flags & NFT_SET_MAP) {
                if (nla[NFTA_SET_ELEM_DATA] == NULL &&
-@@ -5941,7 +5944,9 @@ static int nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -5934,7 +5937,9 @@ static int nft_add_set_elem(struct nft_c
                if (err < 0)
                        goto err_set_elem_expr;
  
@@ -82,7 +78,7 @@ index a136148627e7..de3dc35ce609 100644
        }
  
        if (nla[NFTA_SET_ELEM_KEY_END]) {
-@@ -5950,22 +5955,31 @@ static int nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -5943,22 +5948,31 @@ static int nft_add_set_elem(struct nft_c
                if (err < 0)
                        goto err_parse_key;
  
@@ -121,7 +117,7 @@ index a136148627e7..de3dc35ce609 100644
        }
  
        if (nla[NFTA_SET_ELEM_OBJREF] != NULL) {
-@@ -5980,7 +5994,9 @@ static int nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -5973,7 +5987,9 @@ static int nft_add_set_elem(struct nft_c
                        err = PTR_ERR(obj);
                        goto err_parse_key_end;
                }
@@ -132,7 +128,7 @@ index a136148627e7..de3dc35ce609 100644
        }
  
        if (nla[NFTA_SET_ELEM_DATA] != NULL) {
-@@ -6014,7 +6030,9 @@ static int nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -6007,7 +6023,9 @@ static int nft_add_set_elem(struct nft_c
                                                          NFT_VALIDATE_NEED);
                }
  
@@ -143,7 +139,7 @@ index a136148627e7..de3dc35ce609 100644
        }
  
        /* The full maximum length of userdata can exceed the maximum
-@@ -6024,9 +6042,12 @@ static int nft_add_set_elem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -6017,9 +6035,12 @@ static int nft_add_set_elem(struct nft_c
        ulen = 0;
        if (nla[NFTA_SET_ELEM_USERDATA] != NULL) {
                ulen = nla_len(nla[NFTA_SET_ELEM_USERDATA]);
@@ -159,7 +155,7 @@ index a136148627e7..de3dc35ce609 100644
        }
  
        err = -ENOMEM;
-@@ -6252,8 +6273,11 @@ static int nft_del_setelem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -6245,8 +6266,11 @@ static int nft_del_setelem(struct nft_ct
  
        nft_set_ext_prepare(&tmpl);
  
@@ -173,7 +169,7 @@ index a136148627e7..de3dc35ce609 100644
  
        if (nla[NFTA_SET_ELEM_KEY]) {
                err = nft_setelem_parse_key(ctx, set, &elem.key.val,
-@@ -6261,16 +6285,20 @@ static int nft_del_setelem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -6254,16 +6278,20 @@ static int nft_del_setelem(struct nft_ct
                if (err < 0)
                        return err;
  
@@ -197,7 +193,7 @@ index a136148627e7..de3dc35ce609 100644
        }
  
        err = -ENOMEM;
-@@ -6278,7 +6306,7 @@ static int nft_del_setelem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -6271,7 +6299,7 @@ static int nft_del_setelem(struct nft_ct
                                      elem.key_end.val.data, NULL, 0, 0,
                                      GFP_KERNEL_ACCOUNT);
        if (elem.priv == NULL)
@@ -206,7 +202,7 @@ index a136148627e7..de3dc35ce609 100644
  
        ext = nft_set_elem_ext(set, elem.priv);
        if (flags)
-@@ -6302,6 +6330,8 @@ static int nft_del_setelem(struct nft_ctx *ctx, struct nft_set *set,
+@@ -6295,6 +6323,8 @@ fail_ops:
        kfree(trans);
  fail_trans:
        kfree(elem.priv);
@@ -215,6 +211,3 @@ index a136148627e7..de3dc35ce609 100644
  fail_elem:
        nft_data_release(&elem.key.val, NFT_DATA_VALUE);
        return err;
--- 
-2.35.1
-
index 8fa0b63777061280c367899b17eecf9688b586ae..aec2c27c04347f7a1741ef861fbdf42df9664679 100644 (file)
@@ -15,16 +15,14 @@ Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
 Signed-off-by: David S. Miller <davem@davemloft.net>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- net/ipv4/fib_semantics.c | 2 +-
- net/ipv4/nexthop.c       | 5 +++--
- net/ipv6/route.c         | 2 +-
+ net/ipv4/fib_semantics.c |    2 +-
+ net/ipv4/nexthop.c       |    5 +++--
+ net/ipv6/route.c         |    2 +-
  3 files changed, 5 insertions(+), 4 deletions(-)
 
-diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c
-index 1c4fef385ef6..720f65f7bd0b 100644
 --- a/net/ipv4/fib_semantics.c
 +++ b/net/ipv4/fib_semantics.c
-@@ -1811,7 +1811,7 @@ int fib_dump_info(struct sk_buff *skb, u32 portid, u32 seq, int event,
+@@ -1811,7 +1811,7 @@ int fib_dump_info(struct sk_buff *skb, u
                        goto nla_put_failure;
                if (nexthop_is_blackhole(fi->nh))
                        rtm->rtm_type = RTN_BLACKHOLE;
@@ -33,11 +31,9 @@ index 1c4fef385ef6..720f65f7bd0b 100644
                        goto offload;
        }
  
-diff --git a/net/ipv4/nexthop.c b/net/ipv4/nexthop.c
-index e459a391e607..853a75a8fbaf 100644
 --- a/net/ipv4/nexthop.c
 +++ b/net/ipv4/nexthop.c
-@@ -1858,7 +1858,7 @@ static void __remove_nexthop_fib(struct net *net, struct nexthop *nh)
+@@ -1858,7 +1858,7 @@ static void __remove_nexthop_fib(struct
                /* __ip6_del_rt does a release, so do a hold here */
                fib6_info_hold(f6i);
                ipv6_stub->ip6_del_rt(net, f6i,
@@ -46,7 +42,7 @@ index e459a391e607..853a75a8fbaf 100644
        }
  }
  
-@@ -2361,7 +2361,8 @@ static int insert_nexthop(struct net *net, struct nexthop *new_nh,
+@@ -2361,7 +2361,8 @@ out:
        if (!rc) {
                nh_base_seq_inc(net);
                nexthop_notify(RTM_NEWNEXTHOP, new_nh, &cfg->nlinfo);
@@ -56,11 +52,9 @@ index e459a391e607..853a75a8fbaf 100644
                        nexthop_replace_notify(net, new_nh, &cfg->nlinfo);
        }
  
-diff --git a/net/ipv6/route.c b/net/ipv6/route.c
-index 83786de847ab..a87b96a256af 100644
 --- a/net/ipv6/route.c
 +++ b/net/ipv6/route.c
-@@ -5737,7 +5737,7 @@ static int rt6_fill_node(struct net *net, struct sk_buff *skb,
+@@ -5730,7 +5730,7 @@ static int rt6_fill_node(struct net *net
                if (nexthop_is_blackhole(rt->nh))
                        rtm->rtm_type = RTN_BLACKHOLE;
  
@@ -69,6 +63,3 @@ index 83786de847ab..a87b96a256af 100644
                    rt6_fill_node_nexthop(skb, rt->nh, &nh_flags) < 0)
                        goto nla_put_failure;
  
--- 
-2.35.1
-
index aa9acdc4319e11fbd2102eea7b1a5fde20c71f77..9d132516b8c975e544cca647c8b9683681208f72 100644 (file)
@@ -16,14 +16,12 @@ Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
 Signed-off-by: David S. Miller <davem@davemloft.net>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/nfc/nxp-nci/i2c.c | 8 ++++++--
+ drivers/nfc/nxp-nci/i2c.c |    8 ++++++--
  1 file changed, 6 insertions(+), 2 deletions(-)
 
-diff --git a/drivers/nfc/nxp-nci/i2c.c b/drivers/nfc/nxp-nci/i2c.c
-index e8f3b35afbee..ae2ba08d8ac3 100644
 --- a/drivers/nfc/nxp-nci/i2c.c
 +++ b/drivers/nfc/nxp-nci/i2c.c
-@@ -122,7 +122,9 @@ static int nxp_nci_i2c_fw_read(struct nxp_nci_i2c_phy *phy,
+@@ -122,7 +122,9 @@ static int nxp_nci_i2c_fw_read(struct nx
        skb_put_data(*skb, &header, NXP_NCI_FW_HDR_LEN);
  
        r = i2c_master_recv(client, skb_put(*skb, frame_len), frame_len);
@@ -34,8 +32,8 @@ index e8f3b35afbee..ae2ba08d8ac3 100644
                nfc_err(&client->dev,
                        "Invalid frame length: %u (expected %zu)\n",
                        r, frame_len);
-@@ -166,7 +168,9 @@ static int nxp_nci_i2c_nci_read(struct nxp_nci_i2c_phy *phy,
-               return 0;
+@@ -163,7 +165,9 @@ static int nxp_nci_i2c_nci_read(struct n
+       skb_put_data(*skb, (void *)&header, NCI_CTRL_HDR_SIZE);
  
        r = i2c_master_recv(client, skb_put(*skb, header.plen), header.plen);
 -      if (r != header.plen) {
@@ -45,6 +43,3 @@ index e8f3b35afbee..ae2ba08d8ac3 100644
                nfc_err(&client->dev,
                        "Invalid frame payload length: %u (expected %u)\n",
                        r, header.plen);
--- 
-2.35.1
-
index 74279ca887b3ce35838a96fc46bf83249eee1203..970918fc20eb16434210aca26ac1c0ff1957c1f7 100644 (file)
@@ -21,14 +21,12 @@ Reviewed-by: Hans de Goede <hdegoede@redhat.com>
 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/platform/x86/thinkpad_acpi.c | 45 +++++++++++-----------------
+ drivers/platform/x86/thinkpad_acpi.c |   45 ++++++++++++++---------------------
  1 file changed, 18 insertions(+), 27 deletions(-)
 
-diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
-index aa6ffeaa3932..b4d6a356b746 100644
 --- a/drivers/platform/x86/thinkpad_acpi.c
 +++ b/drivers/platform/x86/thinkpad_acpi.c
-@@ -10300,21 +10300,15 @@ static struct ibm_struct proxsensor_driver_data = {
+@@ -10299,21 +10299,15 @@ static struct ibm_struct proxsensor_driv
  #define DYTC_DISABLE_CQL DYTC_SET_COMMAND(DYTC_FUNCTION_CQL, DYTC_MODE_MMC_BALANCE, 0)
  #define DYTC_ENABLE_CQL DYTC_SET_COMMAND(DYTC_FUNCTION_CQL, DYTC_MODE_MMC_BALANCE, 1)
  
@@ -52,7 +50,7 @@ index aa6ffeaa3932..b4d6a356b746 100644
                switch (dytcmode) {
                case DYTC_MODE_MMC_LOWPOWER:
                        *profile = PLATFORM_PROFILE_LOW_POWER;
-@@ -10331,7 +10325,7 @@ static int convert_dytc_to_profile(int dytcmode, enum platform_profile_option *p
+@@ -10330,7 +10324,7 @@ static int convert_dytc_to_profile(int d
                }
                return 0;
        }
@@ -61,7 +59,7 @@ index aa6ffeaa3932..b4d6a356b746 100644
                switch (dytcmode) {
                case DYTC_MODE_PSC_LOWPOWER:
                        *profile = PLATFORM_PROFILE_LOW_POWER;
-@@ -10353,21 +10347,21 @@ static int convert_profile_to_dytc(enum platform_profile_option profile, int *pe
+@@ -10352,21 +10346,21 @@ static int convert_profile_to_dytc(enum
  {
        switch (profile) {
        case PLATFORM_PROFILE_LOW_POWER:
@@ -89,7 +87,7 @@ index aa6ffeaa3932..b4d6a356b746 100644
                        *perfmode = DYTC_MODE_PSC_PERFORM;
                break;
        default: /* Unknown profile */
-@@ -10446,7 +10440,7 @@ static int dytc_profile_set(struct platform_profile_handler *pprof,
+@@ -10445,7 +10439,7 @@ static int dytc_profile_set(struct platf
        if (err)
                goto unlock;
  
@@ -98,7 +96,7 @@ index aa6ffeaa3932..b4d6a356b746 100644
                if (profile == PLATFORM_PROFILE_BALANCED) {
                        /*
                         * To get back to balanced mode we need to issue a reset command.
-@@ -10465,7 +10459,7 @@ static int dytc_profile_set(struct platform_profile_handler *pprof,
+@@ -10464,7 +10458,7 @@ static int dytc_profile_set(struct platf
                                goto unlock;
                }
        }
@@ -107,7 +105,7 @@ index aa6ffeaa3932..b4d6a356b746 100644
                err = dytc_command(DYTC_SET_COMMAND(DYTC_FUNCTION_PSC, perfmode, 1), &output);
                if (err)
                        goto unlock;
-@@ -10484,12 +10478,12 @@ static void dytc_profile_refresh(void)
+@@ -10483,12 +10477,12 @@ static void dytc_profile_refresh(void)
        int perfmode;
  
        mutex_lock(&dytc_mutex);
@@ -122,7 +120,7 @@ index aa6ffeaa3932..b4d6a356b746 100644
                err = dytc_command(DYTC_CMD_GET, &output);
  
        mutex_unlock(&dytc_mutex);
-@@ -10518,7 +10512,6 @@ static int tpacpi_dytc_profile_init(struct ibm_init_struct *iibm)
+@@ -10517,7 +10511,6 @@ static int tpacpi_dytc_profile_init(stru
        set_bit(PLATFORM_PROFILE_BALANCED, dytc_profile.choices);
        set_bit(PLATFORM_PROFILE_PERFORMANCE, dytc_profile.choices);
  
@@ -130,7 +128,7 @@ index aa6ffeaa3932..b4d6a356b746 100644
        err = dytc_command(DYTC_CMD_QUERY, &output);
        if (err)
                return err;
-@@ -10531,13 +10524,12 @@ static int tpacpi_dytc_profile_init(struct ibm_init_struct *iibm)
+@@ -10530,13 +10523,12 @@ static int tpacpi_dytc_profile_init(stru
                return -ENODEV;
  
        /* Check what capabilities are supported */
@@ -147,7 +145,7 @@ index aa6ffeaa3932..b4d6a356b746 100644
                /*
                 * Check if MMC_GET functionality available
                 * Version > 6 and return success from MMC_GET command
-@@ -10548,8 +10540,8 @@ static int tpacpi_dytc_profile_init(struct ibm_init_struct *iibm)
+@@ -10547,8 +10539,8 @@ static int tpacpi_dytc_profile_init(stru
                        if (!err && ((output & DYTC_ERR_MASK) == DYTC_ERR_SUCCESS))
                                dytc_mmc_get_available = true;
                }
@@ -158,7 +156,7 @@ index aa6ffeaa3932..b4d6a356b746 100644
        } else {
                dbg_printk(TPACPI_DBG_INIT, "No DYTC support available\n");
                return -ENODEV;
-@@ -10575,7 +10567,6 @@ static int tpacpi_dytc_profile_init(struct ibm_init_struct *iibm)
+@@ -10574,7 +10566,6 @@ static int tpacpi_dytc_profile_init(stru
  
  static void dytc_profile_exit(void)
  {
@@ -166,6 +164,3 @@ index aa6ffeaa3932..b4d6a356b746 100644
        platform_profile_remove();
  }
  
--- 
-2.35.1
-
index 93f165af5fb05086327c7ae20ff7e6bcdd8b5ed2..ccd72b1c39a46e55ca0d6226caed00289bfda424 100644 (file)
@@ -21,14 +21,12 @@ Reviewed-by: Hans de Goede <hdegoede@redhat.com>
 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/platform/x86/thinkpad_acpi.c | 5 +++++
+ drivers/platform/x86/thinkpad_acpi.c |    5 +++++
  1 file changed, 5 insertions(+)
 
-diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
-index b4d6a356b746..a8b383051528 100644
 --- a/drivers/platform/x86/thinkpad_acpi.c
 +++ b/drivers/platform/x86/thinkpad_acpi.c
-@@ -10541,6 +10541,11 @@ static int tpacpi_dytc_profile_init(struct ibm_init_struct *iibm)
+@@ -10540,6 +10540,11 @@ static int tpacpi_dytc_profile_init(stru
                                dytc_mmc_get_available = true;
                }
        } else if (dytc_capabilities & BIT(DYTC_FC_PSC)) { /* PSC MODE */
@@ -40,6 +38,3 @@ index b4d6a356b746..a8b383051528 100644
                pr_debug("PSC is supported\n");
        } else {
                dbg_printk(TPACPI_DBG_INIT, "No DYTC support available\n");
--- 
-2.35.1
-
index 188c67a125128fd1a59d5b8adbe453335b539bab..bd3f96a2ab83174ab9d02a69c9c36edc85fc4dbf 100644 (file)
@@ -136,7 +136,6 @@ net-atlantic-remove-deep-parameter-on-suspend-resume.patch
 net-atlantic-remove-aq_nic_deinit-when-resume.patch
 kvm-x86-fully-initialize-struct-kvm_lapic_irq-in-kvm.patch
 net-tls-check-for-errors-in-tls_device_init.patch
-acpi-video-fix-acpi_video_handles_brightness_key_pre.patch
 mm-sysctl-fix-missing-numa_stat-when-config_hugetlb_.patch
 x86-kvm-fix-setcc-emulation-for-return-thunks.patch
 x86-sev-avoid-using-__x86_return_thunk.patch
index 8c7645de888537fb1e18518d43a73e54f9e454c2..eab91760437b58b2c552653b113d423c0ac4caab 100644 (file)
@@ -25,14 +25,12 @@ Acked-by: Jason Wang <jasowang@redhat.com>
 Acked-by: Eugenio PĂ©rez <eperezma@redhat.com>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/vdpa/mlx5/net/mlx5_vnet.c | 31 ++++++++++++++++++++-----------
+ drivers/vdpa/mlx5/net/mlx5_vnet.c |   31 ++++++++++++++++++++-----------
  1 file changed, 20 insertions(+), 11 deletions(-)
 
-diff --git a/drivers/vdpa/mlx5/net/mlx5_vnet.c b/drivers/vdpa/mlx5/net/mlx5_vnet.c
-index c290386aa2f3..ae4cfbd927fd 100644
 --- a/drivers/vdpa/mlx5/net/mlx5_vnet.c
 +++ b/drivers/vdpa/mlx5/net/mlx5_vnet.c
-@@ -1965,7 +1965,6 @@ static int verify_driver_features(struct mlx5_vdpa_dev *mvdev, u64 features)
+@@ -1963,7 +1963,6 @@ static int verify_driver_features(struct
  static int setup_virtqueues(struct mlx5_vdpa_dev *mvdev)
  {
        struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev);
@@ -40,7 +38,7 @@ index c290386aa2f3..ae4cfbd927fd 100644
        int err;
        int i;
  
-@@ -1975,16 +1974,6 @@ static int setup_virtqueues(struct mlx5_vdpa_dev *mvdev)
+@@ -1973,16 +1972,6 @@ static int setup_virtqueues(struct mlx5_
                        goto err_vq;
        }
  
@@ -57,7 +55,7 @@ index c290386aa2f3..ae4cfbd927fd 100644
        return 0;
  
  err_vq:
-@@ -2257,6 +2246,21 @@ static void clear_vqs_ready(struct mlx5_vdpa_net *ndev)
+@@ -2255,6 +2244,21 @@ static void clear_vqs_ready(struct mlx5_
        ndev->mvdev.cvq.ready = false;
  }
  
@@ -79,7 +77,7 @@ index c290386aa2f3..ae4cfbd927fd 100644
  static void mlx5_vdpa_set_status(struct vdpa_device *vdev, u8 status)
  {
        struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev);
-@@ -2269,6 +2273,11 @@ static void mlx5_vdpa_set_status(struct vdpa_device *vdev, u8 status)
+@@ -2267,6 +2271,11 @@ static void mlx5_vdpa_set_status(struct
  
        if ((status ^ ndev->mvdev.status) & VIRTIO_CONFIG_S_DRIVER_OK) {
                if (status & VIRTIO_CONFIG_S_DRIVER_OK) {
@@ -91,6 +89,3 @@ index c290386aa2f3..ae4cfbd927fd 100644
                        err = setup_driver(mvdev);
                        if (err) {
                                mlx5_vdpa_warn(mvdev, "failed to setup driver\n");
--- 
-2.35.1
-
index edb6b5ed186ca146b82d57d5ac0b4f512bb9fac4..62193d07db6a2ff1ad5380248c68bdbea603f43f 100644 (file)
@@ -15,11 +15,9 @@ Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
 Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- tools/testing/selftests/wireguard/qemu/Makefile | 5 ++---
+ tools/testing/selftests/wireguard/qemu/Makefile |    5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)
 
-diff --git a/tools/testing/selftests/wireguard/qemu/Makefile b/tools/testing/selftests/wireguard/qemu/Makefile
-index e8a82e495d2e..fcc3f668b807 100644
 --- a/tools/testing/selftests/wireguard/qemu/Makefile
 +++ b/tools/testing/selftests/wireguard/qemu/Makefile
 @@ -19,8 +19,6 @@ endif
@@ -31,7 +29,7 @@ index e8a82e495d2e..fcc3f668b807 100644
  
  default: qemu
  
-@@ -325,8 +323,9 @@ $(KERNEL_BUILD_PATH)/.config: $(TOOLCHAIN_PATH)/.installed kernel.config arch/$(
+@@ -324,8 +322,9 @@ $(KERNEL_BUILD_PATH)/.config: $(TOOLCHAI
        cd $(KERNEL_BUILD_PATH) && ARCH=$(KERNEL_ARCH) $(KERNEL_PATH)/scripts/kconfig/merge_config.sh -n $(KERNEL_BUILD_PATH)/.config $(KERNEL_BUILD_PATH)/minimal.config
        $(if $(findstring yes,$(DEBUG_KERNEL)),cp debug.config $(KERNEL_BUILD_PATH) && cd $(KERNEL_BUILD_PATH) && ARCH=$(KERNEL_ARCH) $(KERNEL_PATH)/scripts/kconfig/merge_config.sh -n $(KERNEL_BUILD_PATH)/.config debug.config,)
  
@@ -42,6 +40,3 @@ index e8a82e495d2e..fcc3f668b807 100644
  
  $(TOOLCHAIN_PATH)/$(CHOST)/include/linux/.installed: | $(KERNEL_BUILD_PATH)/.config $(TOOLCHAIN_PATH)/.installed
        rm -rf $(TOOLCHAIN_PATH)/$(CHOST)/include/linux
--- 
-2.35.1
-
index cd7290b4bc0a4e9b869b4477b4fa2e8c325c4da7..e760c3722b2b10e03e3dd330a944d30d8b8cf7b4 100644 (file)
@@ -16,14 +16,12 @@ Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
 Signed-off-by: David S. Miller <davem@davemloft.net>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/nfc/nxp-nci/i2c.c | 8 ++++++--
+ drivers/nfc/nxp-nci/i2c.c |    8 ++++++--
  1 file changed, 6 insertions(+), 2 deletions(-)
 
-diff --git a/drivers/nfc/nxp-nci/i2c.c b/drivers/nfc/nxp-nci/i2c.c
-index 3943a30053b3..f426dcdfcdd6 100644
 --- a/drivers/nfc/nxp-nci/i2c.c
 +++ b/drivers/nfc/nxp-nci/i2c.c
-@@ -122,7 +122,9 @@ static int nxp_nci_i2c_fw_read(struct nxp_nci_i2c_phy *phy,
+@@ -122,7 +122,9 @@ static int nxp_nci_i2c_fw_read(struct nx
        skb_put_data(*skb, &header, NXP_NCI_FW_HDR_LEN);
  
        r = i2c_master_recv(client, skb_put(*skb, frame_len), frame_len);
@@ -34,8 +32,8 @@ index 3943a30053b3..f426dcdfcdd6 100644
                nfc_err(&client->dev,
                        "Invalid frame length: %u (expected %zu)\n",
                        r, frame_len);
-@@ -166,7 +168,9 @@ static int nxp_nci_i2c_nci_read(struct nxp_nci_i2c_phy *phy,
-               return 0;
+@@ -163,7 +165,9 @@ static int nxp_nci_i2c_nci_read(struct n
+       skb_put_data(*skb, (void *)&header, NCI_CTRL_HDR_SIZE);
  
        r = i2c_master_recv(client, skb_put(*skb, header.plen), header.plen);
 -      if (r != header.plen) {
@@ -45,6 +43,3 @@ index 3943a30053b3..f426dcdfcdd6 100644
                nfc_err(&client->dev,
                        "Invalid frame payload length: %u (expected %u)\n",
                        r, header.plen);
--- 
-2.35.1
-