Linux 5.3.2
Greg KH
maintainerI'm announcing the release of the 5.3.2 kernel.
All users of the 5.3 kernel series must upgrade.
The updated 5.3.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.3.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 arch/powerpc/include/asm/opal.h | 2 arch/powerpc/platforms/powernv/opal-call.c | 2 arch/powerpc/sysdev/xive/native.c | 11 ++ drivers/clk/imx/clk-imx8mm.c | 4 drivers/clocksource/timer-of.c | 6 - drivers/clocksource/timer-probe.c | 4 drivers/crypto/talitos.c | 1 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 56 ++++++++++--- drivers/gpu/drm/amd/display/dc/calcs/Makefile | 4 drivers/gpu/drm/amd/display/dc/dcn20/Makefile | 4 drivers/gpu/drm/amd/display/dc/dml/Makefile | 4 drivers/gpu/drm/amd/display/dc/dsc/Makefile | 4 drivers/hid/hid-ids.h | 1 drivers/hid/hid-lg.c | 10 +- drivers/hid/hid-lg4ff.c | 1 drivers/hid/hid-logitech-dj.c | 10 +- drivers/hid/hid-prodikeys.c | 12 ++ drivers/hid/hid-quirks.c | 1 drivers/hid/hid-sony.c | 2 drivers/hid/hidraw.c | 2 drivers/mtd/chips/cfi_cmdset_0002.c | 18 ++-- drivers/platform/x86/i2c-multi-instantiate.c | 2 include/net/netfilter/nf_tables.h | 4 mm/z3fold.c | 90 ---------------------- sound/firewire/dice/dice-alesis.c | 2 sound/pci/hda/hda_intel.c | 3 sound/pci/hda/patch_analog.c | 1 sound/usb/quirks.c | 2 tools/objtool/Makefile | 2 30 files changed, 129 insertions(+), 138 deletions(-)
Alan Stern (3):
HID: prodikeys: Fix general protection fault during probe
HID: logitech: Fix general protection fault caused by Logitech driver
HID: hidraw: Fix invalid read in hidraw_ioctl
Greg Kroah-Hartman (1):
Linux 5.3.2
Greg Kurz (1):
powerpc/xive: Fix bogus error code returned by OPAL
Gustavo A. R. Silva (1):
crypto: talitos - fix missing break in switch statement
Hans de Goede (1):
HID: logitech-dj: Fix crash when initial logi_dj_recv_query_paired_devices fails
Heikki Krogerus (1):
platform/x86: i2c-multi-instantiate: Derive the device name from parent
Ilya Pshonkin (1):
ALSA: usb-audio: Add Hiby device family to quirks for native DSD support
Jeremy Sowden (1):
netfilter: add missing IS_ENABLED(CONFIG_NF_TABLES) check to header-file.
Jon Hunter (2):
clocksource/drivers/timer-of: Do not warn on deferred probe clocksource/drivers: Do not warn on probe defer
Josh Poimboeuf (1):
objtool: Clobber user CFLAGS variable
Jussi Laako (1):
ALSA: usb-audio: Add DSD support for EVGA NU Audio
Nicholas Kazlauskas (3):
drm/amd/display: Allow cursor async updates for framebuffer swaps drm/amd/display: Skip determining update type for async updates drm/amd/display: Don't replace the dc_state for fast updates
Nick Desaulniers (1):
drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines
Peng Fan (1):
clk: imx: imx8mm: fix audio pll setting
Roderick Colenbrander (1):
HID: sony: Fix memory corruption issue on cleanup.
Sebastian Parschauer (1):
HID: Add quirk for HP X500 PIXART OEM mouse
Shih-Yuan Lee (FourDollars) (1):
ALSA: hda - Add laptop imic fixup for ASUS M9V laptop
Takashi Iwai (1):
ALSA: hda - Apply AMD controller workaround for Raven platform
Takashi Sakamoto (1):
ALSA: dice: fix wrong packet parameter for Alesis iO26
Tokunori Ikegami (1):
mtd: cfi_cmdset_0002: Use chip_good() to retry in do_write_oneword()
Vitaly Wool (1):
Revert "mm/z3fold.c: fix race between migration and destruction"
Greg KH
maintainerMakefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 3 -SUBLEVEL = 1 +SUBLEVEL = 2 EXTRAVERSION = NAME = Bobtail Squid
arch/powerpc/include/asm/opal.h +1 -1
@@ -272,7 +272,7 @@ int64_t opal_xive_get_vp_info(uint64_t vp,int64_t opal_xive_set_vp_info (uint64_t vp,uint64_t flags,uint64_t report_cl_pair); -int64_t opal_xive_allocate_irq (uint32_t chip_id); +int64_t opal_xive_allocate_irq_raw (uint32_t chip_id);int64_t opal_xive_free_irq (uint32_t girq);int64_t opal_xive_sync (uint32_t type,uint32_t id);int64_t opal_xive_dump (uint32_t type,uint32_t id);
arch/powerpc/platforms/powernv/opal-call.c +1 -1
@@ -257,7 +257,7 @@ OPAL_CALL(opal_xive_set_queue_info, OPAL_XIVE_SET_QUEUE_INFO);OPAL_CALL (opal_xive_donate_page,OPAL_XIVE_DONATE_PAGE );OPAL_CALL (opal_xive_alloc_vp_block,OPAL_XIVE_ALLOCATE_VP_BLOCK );OPAL_CALL (opal_xive_free_vp_block,OPAL_XIVE_FREE_VP_BLOCK ); -OPAL_CALL (opal_xive_allocate_irq,OPAL_XIVE_ALLOCATE_IRQ ); +OPAL_CALL (opal_xive_allocate_irq_raw,OPAL_XIVE_ALLOCATE_IRQ );OPAL_CALL (opal_xive_free_irq,OPAL_XIVE_FREE_IRQ );OPAL_CALL (opal_xive_get_vp_info,OPAL_XIVE_GET_VP_INFO );OPAL_CALL (opal_xive_set_vp_info,OPAL_XIVE_SET_VP_INFO );
arch/powerpc/sysdev/xive/native.c +11 -0
@@ -231,6 +231,17 @@ static bool xive_native_match(struct device_node *node)return of_device_is_compatible (node,"ibm,opal-xive-vc" ); } +static s64 opal_xive_allocate_irq (u32 chip_id) +{ +s64 irq =opal_xive_allocate_irq_raw (chip_id); + +/* +* Old versions of skiboot can incorrectly return 0xffffffff to +* indicate no space, fix it up here. +*/ +return irq ==0xffffffff ?OPAL_RESOURCE : irq; +} +#ifdef CONFIG_SMP static int xive_native_get_ipi (unsigned int cpu,struct xive_cpu *xc) {
drivers/clk/imx/clk-imx8mm.c +2 -2
@@ -55,8 +55,8 @@ static const struct imx_pll14xx_rate_table imx8mm_pll1416x_tbl[] = { };static const struct imx_pll14xx_rate_table imx8mm_audiopll_tbl[] = { -PLL_1443X_RATE (786432000U ,655 ,5 ,2 ,23593 ), -PLL_1443X_RATE (722534400U ,301 ,5 ,1 ,3670 ), +PLL_1443X_RATE (393216000U ,262 ,2 ,3 ,9437 ), +PLL_1443X_RATE (361267200U ,361 ,3 ,3 ,17511 ), };static const struct imx_pll14xx_rate_table imx8mm_videopll_tbl[] = {
drivers/clocksource/timer-of.c +4 -2
@@ -113,8 +113,10 @@ static __init int timer_of_clk_init(struct device_node *np, of_clk->clk = of_clk->name ?of_clk_get_by_name (np, of_clk->name) :of_clk_get (np, of_clk->index);if (IS_ERR (of_clk->clk)) { -pr_err ("Failed to get clock for %pOF\n" , np); -return PTR_ERR (of_clk->clk); + ret =PTR_ERR (of_clk->clk); +if (ret != -EPROBE_DEFER ) +pr_err ("Failed to get clock for %pOF\n" , np); + goto out; } ret =clk_prepare_enable (of_clk->clk);
drivers/clocksource/timer-probe.c +3 -1
@@ -29,7 +29,9 @@ void __init timer_probe(void) ret =init_func_ret (np);if (ret) { -pr_err ("Failed to initialize '%pOF': %d\n" , np, ret); +if (ret != -EPROBE_DEFER ) +pr_err ("Failed to initialize '%pOF': %d\n" , np, + ret);continue ; }
drivers/crypto/talitos.c +1 -0
@@ -3140,6 +3140,7 @@ static int talitos_remove(struct platform_device *ofdev)break ;case CRYPTO_ALG_TYPE_AEAD :crypto_unregister_aead (&t_alg->algt.alg.aead); +break ;case CRYPTO_ALG_TYPE_AHASH :crypto_unregister_ahash (&t_alg->algt.alg.hash);break ;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +41 -15
80 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/calcs/Makefile +4 -0
@@ -32,6 +32,10 @@ endif calcs_ccflags := -mhard-float -msse $(cc_stack_align) +ifdef CONFIG_CC_IS_CLANG +calcs_ccflags += -msse2 +endif + CFLAGS_dcn_calcs.o := $(calcs_ccflags) CFLAGS_dcn_calc_auto.o := $(calcs_ccflags) CFLAGS_dcn_calc_math.o := $(calcs_ccflags) -Wno-tautological-compare
drivers/gpu/drm/amd/display/dc/dcn20/Makefile +4 -0
@@ -18,6 +18,10 @@ endif CFLAGS_dcn20_resource.o := -mhard-float -msse $(cc_stack_align) +ifdef CONFIG_CC_IS_CLANG +CFLAGS_dcn20_resource.o += -msse2 +endif + AMD_DAL_DCN20 = $(addprefix $(AMDDALPATH)/dc/dcn20/,$(DCN20)) AMD_DISPLAY_FILES += $(AMD_DAL_DCN20)
drivers/gpu/drm/amd/display/dc/dml/Makefile +4 -0
@@ -32,6 +32,10 @@ endif dml_ccflags := -mhard-float -msse $(cc_stack_align) +ifdef CONFIG_CC_IS_CLANG +dml_ccflags += -msse2 +endif + CFLAGS_display_mode_lib.o := $(dml_ccflags) ifdef CONFIG_DRM_AMD_DC_DCN2_0
drivers/gpu/drm/amd/display/dc/dsc/Makefile +4 -0
@@ -9,6 +9,10 @@ endif dsc_ccflags := -mhard-float -msse $(cc_stack_align) +ifdef CONFIG_CC_IS_CLANG +dsc_ccflags += -msse2 +endif + CFLAGS_rc_calc.o := $(dsc_ccflags) CFLAGS_rc_calc_dpi.o := $(dsc_ccflags) CFLAGS_codec_main_amd.o := $(dsc_ccflags)
drivers/hid/hid-ids.h +1 -0
@@ -568,6 +568,7 @@#define USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0B4A 0x0b4a#define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE 0x134a#define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_094A 0x094a +#define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0941 0x0941#define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0641 0x0641#define USB_VENDOR_ID_HUION 0x256c
drivers/hid/hid-lg.c +6 -4
@@ -818,7 +818,7 @@ static int lg_probe(struct hid_device *hdev, const struct hid_device_id *id)if (!buf) { ret = -ENOMEM ; - goto err_free; + goto err_stop; } ret = hid_hw_raw_request(hdev, buf[0], buf, sizeof(cbuf),
@@ -850,9 +850,12 @@ static int lg_probe(struct hid_device *hdev, const struct hid_device_id *id) ret =lg4ff_init (hdev);if (ret) - goto err_free; + goto err_stop;return 0 ; + +err_stop: +hid_hw_stop (hdev); err_free:kfree (drv_data);return ret;
@@ -863,8 +866,7 @@ static void lg_remove(struct hid_device *hdev)struct lg_drv_data *drv_data =hid_get_drvdata (hdev);if (drv_data->quirks &LG_FF4 )lg4ff_deinit (hdev); -else -hid_hw_stop (hdev); +hid_hw_stop (hdev);kfree (drv_data); }
drivers/hid/hid-lg4ff.c +0 -1
@@ -1477,7 +1477,6 @@ int lg4ff_deinit(struct hid_device *hid) } }#endif -hid_hw_stop (hid); drv_data->device_props =NULL ;kfree (entry);
drivers/hid/hid-logitech-dj.c +5 -5
@@ -1734,14 +1734,14 @@ static int logi_dj_probe(struct hid_device *hdev,if (retval <0 ) {hid_err (hdev,"%s: logi_dj_recv_query_paired_devices error:%d\n" , __func__, retval); - goto logi_dj_recv_query_paired_devices_failed; +/* +* This can happen with a KVM, let the probe succeed, +* logi_dj_recv_queue_unknown_work will retry later. +*/ } } -return retval; - -logi_dj_recv_query_paired_devices_failed: -hid_hw_close (hdev); +return 0 ; llopen_failed: switch_to_dj_mode_fail:
drivers/hid/hid-prodikeys.c +10 -2
@@ -551,10 +551,14 @@ static void pcmidi_setup_extra_keys(static int pcmidi_set_operational (struct pcmidi_snd *pm) { +int rc; +if (pm->ifnum !=1 )return 0 ;/* only set up ONCE for interace 1 */ -pcmidi_get_output_report (pm); + rc =pcmidi_get_output_report (pm); +if (rc <0 ) +return rc;pcmidi_submit_output_report (pm,0xc1 );return 0 ; }
@@ -683,7 +687,11 @@ static int pcmidi_snd_initialise(struct pcmidi_snd *pm)spin_lock_init (&pm->rawmidi_in_lock);init_sustain_timers (pm); -pcmidi_set_operational (pm); + err =pcmidi_set_operational (pm); +if (err <0 ) { +pk_error ("failed to find output report\n" ); + goto fail_register; + }/* register it */ err =snd_card_register (card);
drivers/hid/hid-quirks.c +1 -0
@@ -92,6 +92,7 @@ static const struct hid_device_id hid_quirks[] = { { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0B4A), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_094A), HID_QUIRK_ALWAYS_POLL }, + { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0941), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0641), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_IDEACOM, USB_DEVICE_ID_IDEACOM_IDC6680), HID_QUIRK_MULTI_INPUT }, { HID_USB_DEVICE(USB_VENDOR_ID_INNOMEDIA, USB_DEVICE_ID_INNEX_GENESIS_ATARI), HID_QUIRK_MULTI_INPUT },
drivers/hid/hid-sony.c +1 -1
@@ -2811,7 +2811,6 @@ static int sony_input_configured(struct hid_device *hdev,sony_cancel_work_sync (sc);sony_remove_dev_list (sc);sony_release_device_id (sc); -hid_hw_stop (hdev);return ret; }
@@ -2876,6 +2875,7 @@ static int sony_probe(struct hid_device *hdev, const struct hid_device_id *id)*/ if (!(hdev->claimed &HID_CLAIMED_INPUT )) {hid_err (hdev,"failed to claim input\n" ); +hid_hw_stop (hdev);return -ENODEV ; }
drivers/hid/hidraw.c +1 -1
@@ -370,7 +370,7 @@ static long hidraw_ioctl(struct file *file, unsigned int cmd,mutex_lock (&minors_lock); dev = hidraw_table[minor]; -if (!dev) { +if (!dev || !dev->exist) { ret = -ENODEV ; goto out; }
drivers/mtd/chips/cfi_cmdset_0002.c +12 -6
@@ -1717,31 +1717,37 @@ static int __xipram do_write_oneword(struct map_info *map, struct flchip *chip,continue ; } +/* +* We check "time_after" and "!chip_good" before checking +* "chip_good" to avoid the failure due to scheduling. +*/ if (time_after (jiffies, timeo) && - !chip_ready (map, chip, adr)) { + !chip_good (map, chip, adr, datum)) {xip_enable (map, chip, adr);printk (KERN_WARNING "MTD %s(): software timeout\n" , __func__);xip_disable (map, chip, adr); + ret = -EIO ;break ; } -if (chip_ready (map, chip, adr)) +if (chip_good (map, chip, adr, datum))break ;/* Latency issues. Drop the lock, wait a while and retry */ UDELAY (map, chip, adr,1 ); } +/* Did we succeed? */ -if (!chip_good (map, chip, adr, datum)) { +if (ret) {/* reset on all failures. */ cfi_check_err_status (map, chip, adr);map_write (map,CMD (0xF0 ), chip->start);/* FIXME - should have reset delay before continuing */ -if (++retry_cnt <=MAX_RETRIES ) +if (++retry_cnt <=MAX_RETRIES ) { + ret =0 ; goto retry; - - ret = -EIO ; + } }xip_enable (map, chip, adr); op_done:
drivers/platform/x86/i2c-multi-instantiate.c +1 -1
@@ -92,7 +92,7 @@ static int i2c_multi_inst_probe(struct platform_device *pdev)for (i =0 ; i < multi->num_clients && inst_data[i].type; i++) {memset (&board_info,0 ,sizeof (board_info));strlcpy (board_info.type, inst_data[i].type,I2C_NAME_SIZE ); -snprintf (name,sizeof (name),"%s-%s.%d" , match->id, +snprintf (name,sizeof (name),"%s-%s.%d" ,dev_name (dev), inst_data[i].type, i); board_info.dev_name = name;switch (inst_data[i].flags &IRQ_RESOURCE_TYPE ) {
include/net/netfilter/nf_tables.h +4 -0
@@ -1206,6 +1206,8 @@ void nft_trace_notify(struct nft_traceinfo *info);#define MODULE_ALIAS_NFT_OBJ (type) \ MODULE_ALIAS("nft-obj-" __stringify(type)) +#if IS_ENABLED (CONFIG_NF_TABLES ) +/* * The gencursor defines two generations, the currently active and the * next one. Objects contain a bitmask of 2 bits specifying the generations
@@ -1279,6 +1281,8 @@ static inline void nft_set_elem_change_active(const struct net *net, ext->genmask ^= nft_genmask_next(net); } +#endif /* IS_ENABLED(CONFIG_NF_TABLES) */ +/* * We use a free bit in the genmask field to indicate the element * is busy, meaning it is currently being processed either by
mm/z3fold.c +0 -90
156 lines not on this page · raw message
sound/firewire/dice/dice-alesis.c +1 -1
@@ -15,7 +15,7 @@ alesis_io14_tx_pcm_chs[MAX_STREAMS][SND_DICE_RATE_MODE_COUNT] = {static const unsigned int alesis_io26_tx_pcm_chs[MAX_STREAMS ][SND_DICE_RATE_MODE_COUNT ] = { - {10 ,10 ,8 },/* Tx0 = Analog + S/PDIF. */ + {10 ,10 ,4 },/* Tx0 = Analog + S/PDIF. */ {16 ,8 ,0 },/* Tx1 = ADAT1 + ADAT2. */ };
sound/pci/hda/hda_intel.c +1 -2
@@ -2517,8 +2517,7 @@ static const struct pci_device_id azx_ids[] = { AZX_DCAPS_PM_RUNTIME },/* AMD Raven */ { PCI_DEVICE(0x1022, 0x15e3), - .driver_data =AZX_DRIVER_GENERIC |AZX_DCAPS_PRESET_ATI_SB | - AZX_DCAPS_PM_RUNTIME }, + .driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_PRESET_AMD_SB }, /* ATI HDMI */ { PCI_DEVICE(0x1002, 0x0002), .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI_NS },
sound/pci/hda/patch_analog.c +1 -0
@@ -357,6 +357,7 @@ static const struct hda_fixup ad1986a_fixups[] = {static const struct snd_pci_quirk ad1986a_fixup_tbl[] = {SND_PCI_QUIRK (0x103c ,0x30af ,"HP B2800" ,AD1986A_FIXUP_LAPTOP_IMIC ), +SND_PCI_QUIRK (0x1043 ,0x1153 ,"ASUS M9V" ,AD1986A_FIXUP_LAPTOP_IMIC ),SND_PCI_QUIRK (0x1043 ,0x1443 ,"ASUS Z99He" ,AD1986A_FIXUP_EAPD ),SND_PCI_QUIRK (0x1043 ,0x1447 ,"ASUS A8JN" ,AD1986A_FIXUP_EAPD ),SND_PCI_QUIRK_MASK (0x1043 ,0xff00 ,0x8100 ,"ASUS P5" ,AD1986A_FIXUP_3STACK ),
sound/usb/quirks.c +2 -0
@@ -1655,6 +1655,8 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,case 0x152a :/* Thesycon devices */ case 0x25ce :/* Mytek devices */ case 0x2ab6 :/* T+A devices */ +case 0x3842 :/* EVGA */ +case 0xc502 :/* HiBy devices */ if (fp->dsd_raw)return SNDRV_PCM_FMTBIT_DSD_U32_BE ;break ;
tools/objtool/Makefile +1 -1
@@ -35,7 +35,7 @@ INCLUDES := -I$(srctree)/tools/include \ -I$(srctree)/tools/arch/$(HOSTARCH)/include/uapi \ -I$(srctree)/tools/objtool/arch/$(ARCH)/include WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed -CFLAGS += -Werror $(WARNINGS) $(KBUILD_HOSTCFLAGS) -g $(INCLUDES) $(LIBELF_FLAGS) +CFLAGS := -Werror $(WARNINGS) $(KBUILD_HOSTCFLAGS) -g $(INCLUDES) $(LIBELF_FLAGS) LDFLAGS += $(LIBELF_LIBS) $(LIBSUBCMD) $(KBUILD_HOSTLDFLAGS) # Allow old libelf to be used:
Greg KH
maintainer5.3.3??? [was Re: Linux 5.3.2]
In reply to Greg KHQuoted 3 lines · Greg KH
I'm announcing the release of the 5.3.2 kernel.
All users of the 5.3 kernel series must upgrade.
Ok, I messed up this morning and typed "5.3" instead of "5.2" in my scripts and an "empty" 5.3.3 kernel got released. Well kind of, it got checked into git, but there wasn't anything to release so things got a bit confused.
So just consider 5.3.3 a "nothing to see here, ignore the man who forgot to release kernels _after_ coffee and not before" type of release.
5.3.4 will be the _next_ release after this one, sorry for any confusion.
ugh,
greg k-h