Skip to content

Commit ede9f9f

Browse files
committed
Merge tag 'v6.6.109' into 6.6-main
This is the 6.6.109 stable release # -----BEGIN PGP SIGNATURE----- # # iQIzBAABCgAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmjeZUYACgkQONu9yGCS # aT4x2RAAoucIf1mozp6g5hzqMaJYcuapi9WXsRYlasZ0tPyUfiaGz1qnopCvlqvr # 5l/2YVX2LKbqwnro7k4uz0aCSEn8pP8mK5B8zhVFKpKCXSDsqhggUA/I+nb9OgNf # tM1SvBOsjsF+dE8dW4VEbzG16q6bj+bEsoF9q5cfnXKP1FqEmaFQ9xLGKr9oNe85 # b5rvzEJGUcTvCV0wzn+Cd//dh80BRHDUyj3cuJdEDMqTatc/jDWdMTd9oLtTNb2N # FdUuRFXonjRUC0fpGkNpgrYS0xhIF2mIEbDv0hVSp+xUq0Nwy39nKOp/G1NWJyaa # aRoaIqQVwdP0SONhPFtx9S+85duJx1Hsa/5WFZ7jT1zYY09zXkfB7wdMDVglwKDD # yrzSwwShslh6+y6p67D63TkaXMX4aVgvNvLy3gtCbQJ4hFrJF42+NwBYW/yzmW1T # ZO4DsTDN7wHdrgnnkUOgighC5NbHVZ/M+0lz8ZrjYhL+QgxfR2SnUpeqXJVL2Hzj # gm3dBOeynTe/wqN8h59BUB+V3GQyiW2SXD4cBOB2utbp7Un0DW7qbEkIkhuH9iCv # 1YodZerfIlBteEc6c4XDIFCD4c+ruCtkbIvJ0A6tvoVnfwENCy+REK/oC9/+I6Zr # SCY7ZpIyI5DxssZRCjM1nvg48fXn2+XP/1PZOl/xnp8Uo6Fp9DY= # =kMLL # -----END PGP SIGNATURE----- # gpg: Signature made Thu Oct 2 13:43:02 2025 CEST # gpg: using RSA key 647F28654894E3BD457199BE38DBBDC86092693E # gpg: Can't check signature: No public key
2 parents 62b7d77 + f34f16e commit ede9f9f

93 files changed

Lines changed: 984 additions & 350 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 6
33
PATCHLEVEL = 6
4-
SUBLEVEL = 108
4+
SUBLEVEL = 109
55
EXTRAVERSION =
66
NAME = Pinguïn Aangedreven
77

arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_sodia.dts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@
6666
mdio0 {
6767
#address-cells = <1>;
6868
#size-cells = <0>;
69-
phy0: ethernet-phy@0 {
70-
reg = <0>;
69+
compatible = "snps,dwmac-mdio";
70+
71+
phy0: ethernet-phy@4 {
72+
reg = <4>;
7173
rxd0-skew-ps = <0>;
7274
rxd1-skew-ps = <0>;
7375
rxd2-skew-ps = <0>;

arch/arm/boot/dts/marvell/kirkwood-openrd-client.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
simple-audio-card,mclk-fs = <256>;
3939

4040
simple-audio-card,cpu {
41-
sound-dai = <&audio0 0>;
41+
sound-dai = <&audio0>;
4242
};
4343

4444
simple-audio-card,codec {

arch/arm/mach-bcm/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ config ARCH_BRCMSTB
186186
select ARCH_HAS_RESET_CONTROLLER
187187
select ARM_AMBA
188188
select ARM_GIC
189+
select ARM_GIC_V3
189190
select ARM_ERRATA_798181 if SMP
190191
select HAVE_ARM_ARCH_TIMER
191192
select ZONE_DMA if ARM_LPAE

arch/arm64/boot/dts/freescale/imx8mp.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
cpu-thermal {
229229
polling-delay-passive = <250>;
230230
polling-delay = <2000>;
231-
thermal-sensors = <&tmu 0>;
231+
thermal-sensors = <&tmu 1>;
232232
trips {
233233
cpu_alert0: trip0 {
234234
temperature = <85000>;
@@ -258,7 +258,7 @@
258258
soc-thermal {
259259
polling-delay-passive = <250>;
260260
polling-delay = <2000>;
261-
thermal-sensors = <&tmu 1>;
261+
thermal-sensors = <&tmu 0>;
262262
trips {
263263
soc_alert0: trip0 {
264264
temperature = <85000>;

arch/s390/kernel/perf_cpum_cf.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ static int cpumf_pmu_event_type(struct perf_event *event)
852852
static int cpumf_pmu_event_init(struct perf_event *event)
853853
{
854854
unsigned int type = event->attr.type;
855-
int err;
855+
int err = -ENOENT;
856856

857857
if (is_sampling_event(event)) /* No sampling support */
858858
return err;
@@ -861,8 +861,6 @@ static int cpumf_pmu_event_init(struct perf_event *event)
861861
else if (event->pmu->type == type)
862862
/* Registered as unknown PMU */
863863
err = __hw_perf_event_init(event, cpumf_pmu_event_type(event));
864-
else
865-
return -ENOENT;
866864

867865
if (unlikely(err) && event->destroy)
868866
event->destroy(event);

arch/um/drivers/mconsole_user.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ static struct mconsole_command *mconsole_parse(struct mc_request *req)
7171
return NULL;
7272
}
7373

74+
#ifndef MIN
7475
#define MIN(a,b) ((a)<(b) ? (a):(b))
76+
#endif
7577

7678
#define STRINGX(x) #x
7779
#define STRING(x) STRINGX(x)

drivers/block/loop.c

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,19 +1472,36 @@ static int loop_set_dio(struct loop_device *lo, unsigned long arg)
14721472
return error;
14731473
}
14741474

1475-
static int loop_set_block_size(struct loop_device *lo, unsigned long arg)
1475+
static int loop_set_block_size(struct loop_device *lo, blk_mode_t mode,
1476+
struct block_device *bdev, unsigned long arg)
14761477
{
14771478
int err = 0;
14781479

1479-
if (lo->lo_state != Lo_bound)
1480-
return -ENXIO;
1480+
/*
1481+
* If we don't hold exclusive handle for the device, upgrade to it
1482+
* here to avoid changing device under exclusive owner.
1483+
*/
1484+
if (!(mode & BLK_OPEN_EXCL)) {
1485+
err = bd_prepare_to_claim(bdev, loop_set_block_size, NULL);
1486+
if (err)
1487+
return err;
1488+
}
1489+
1490+
err = mutex_lock_killable(&lo->lo_mutex);
1491+
if (err)
1492+
goto abort_claim;
1493+
1494+
if (lo->lo_state != Lo_bound) {
1495+
err = -ENXIO;
1496+
goto unlock;
1497+
}
14811498

14821499
err = blk_validate_block_size(arg);
14831500
if (err)
1484-
return err;
1501+
goto unlock;
14851502

14861503
if (lo->lo_queue->limits.logical_block_size == arg)
1487-
return 0;
1504+
goto unlock;
14881505

14891506
sync_blockdev(lo->lo_device);
14901507
invalidate_bdev(lo->lo_device);
@@ -1496,6 +1513,11 @@ static int loop_set_block_size(struct loop_device *lo, unsigned long arg)
14961513
loop_update_dio(lo);
14971514
blk_mq_unfreeze_queue(lo->lo_queue);
14981515

1516+
unlock:
1517+
mutex_unlock(&lo->lo_mutex);
1518+
abort_claim:
1519+
if (!(mode & BLK_OPEN_EXCL))
1520+
bd_abort_claiming(bdev, loop_set_block_size);
14991521
return err;
15001522
}
15011523

@@ -1514,9 +1536,6 @@ static int lo_simple_ioctl(struct loop_device *lo, unsigned int cmd,
15141536
case LOOP_SET_DIRECT_IO:
15151537
err = loop_set_dio(lo, arg);
15161538
break;
1517-
case LOOP_SET_BLOCK_SIZE:
1518-
err = loop_set_block_size(lo, arg);
1519-
break;
15201539
default:
15211540
err = -EINVAL;
15221541
}
@@ -1571,9 +1590,12 @@ static int lo_ioctl(struct block_device *bdev, blk_mode_t mode,
15711590
break;
15721591
case LOOP_GET_STATUS64:
15731592
return loop_get_status64(lo, argp);
1593+
case LOOP_SET_BLOCK_SIZE:
1594+
if (!(mode & BLK_OPEN_WRITE) && !capable(CAP_SYS_ADMIN))
1595+
return -EPERM;
1596+
return loop_set_block_size(lo, mode, bdev, arg);
15741597
case LOOP_SET_CAPACITY:
15751598
case LOOP_SET_DIRECT_IO:
1576-
case LOOP_SET_BLOCK_SIZE:
15771599
if (!(mode & BLK_OPEN_WRITE) && !capable(CAP_SYS_ADMIN))
15781600
return -EPERM;
15791601
fallthrough;

drivers/cpufreq/cpufreq.c

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2950,6 +2950,15 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
29502950
goto err_null_driver;
29512951
}
29522952

2953+
/*
2954+
* Mark support for the scheduler's frequency invariance engine for
2955+
* drivers that implement target(), target_index() or fast_switch().
2956+
*/
2957+
if (!cpufreq_driver->setpolicy) {
2958+
static_branch_enable_cpuslocked(&cpufreq_freq_invariance);
2959+
pr_debug("cpufreq: supports frequency invariance\n");
2960+
}
2961+
29532962
ret = subsys_interface_register(&cpufreq_interface);
29542963
if (ret)
29552964
goto err_boost_unreg;
@@ -2971,21 +2980,14 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
29712980
hp_online = ret;
29722981
ret = 0;
29732982

2974-
/*
2975-
* Mark support for the scheduler's frequency invariance engine for
2976-
* drivers that implement target(), target_index() or fast_switch().
2977-
*/
2978-
if (!cpufreq_driver->setpolicy) {
2979-
static_branch_enable_cpuslocked(&cpufreq_freq_invariance);
2980-
pr_debug("supports frequency invariance");
2981-
}
2982-
29832983
pr_debug("driver %s up and running\n", driver_data->name);
29842984
goto out;
29852985

29862986
err_if_unreg:
29872987
subsys_interface_unregister(&cpufreq_interface);
29882988
err_boost_unreg:
2989+
if (!cpufreq_driver->setpolicy)
2990+
static_branch_disable_cpuslocked(&cpufreq_freq_invariance);
29892991
remove_boost_sysfs_file();
29902992
err_null_driver:
29912993
write_lock_irqsave(&cpufreq_driver_lock, flags);

drivers/edac/skx_common.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
#define I10NM_NUM_CHANNELS MAX(I10NM_NUM_DDR_CHANNELS, I10NM_NUM_HBM_CHANNELS)
4646
#define I10NM_NUM_DIMMS MAX(I10NM_NUM_DDR_DIMMS, I10NM_NUM_HBM_DIMMS)
4747

48-
#define MAX(a, b) ((a) > (b) ? (a) : (b))
4948
#define NUM_IMC MAX(SKX_NUM_IMC, I10NM_NUM_IMC)
5049
#define NUM_CHANNELS MAX(SKX_NUM_CHANNELS, I10NM_NUM_CHANNELS)
5150
#define NUM_DIMMS MAX(SKX_NUM_DIMMS, I10NM_NUM_DIMMS)

0 commit comments

Comments
 (0)