This is the start of the stable review cycle for the 4.19.94 release.
There are 115 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Thu, 09 Jan 2020 20:44:51 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.94-rc1.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <[email protected]>
Linux 4.19.94-rc1
Alexander Shishkin <[email protected]>
perf/x86/intel/bts: Fix the use of page_private()
SeongJae Park <[email protected]>
xen/blkback: Avoid unmapping unmapped grant pages
Heiko Carstens <[email protected]>
s390/smp: fix physical to logical CPU map for SMT
Zhihao Cheng <[email protected]>
ubifs: ubifs_tnc_start_commit: Fix OOB in layout_in_gaps
Eric Dumazet <[email protected]>
net: add annotations on hh->hh_len lockless accesses
Darrick J. Wong <[email protected]>
xfs: periodically yield scrub threads to the scheduler
Masashi Honma <[email protected]>
ath9k_htc: Discard undersized packets
Masashi Honma <[email protected]>
ath9k_htc: Modify byte order for an error message
Taehee Yoo <[email protected]>
net: core: limit nested device depth
Eric Dumazet <[email protected]>
tcp: annotate tp->rcv_nxt lockless reads
David Howells <[email protected]>
rxrpc: Fix possible NULL pointer access in ICMP handling
Michael Roth <[email protected]>
KVM: PPC: Book3S HV: use smp_mb() when setting/clearing host_ipi flag
Suzuki K Poulose <[email protected]>
coresight: etb10: Do not call smp_processor_id from preemptible
Suzuki K Poulose <[email protected]>
coresight: tmc-etf: Do not call smp_processor_id from preemptible
Florian Westphal <[email protected]>
selftests: rtnetlink: add addresses with fixed life time
Daniel Axtens <[email protected]>
powerpc/pseries/hvconsole: Fix stack overread via udbg
Imre Deak <[email protected]>
drm/mst: Fix MST sideband up-reply failure handling
Chad Dupuis <[email protected]>
scsi: qedf: Do not retry ELS request if qedf_alloc_cmd fails
Jan Kara <[email protected]>
bdev: Refresh bdev size for disks without partitioning
Jan Kara <[email protected]>
bdev: Factor out bdev revalidation into a common helper
Al Viro <[email protected]>
fix compat handling of FICLONERANGE, FIDEDUPERANGE and FS_IOC_FIEMAP
Leo Yan <[email protected]>
tty: serial: msm_serial: Fix lockup for sysrq and oops
Anand Moon <[email protected]>
arm64: dts: meson: odroid-c2: Disable usb_otg bus to avoid power failed warning
Geert Uytterhoeven <[email protected]>
dt-bindings: clock: renesas: rcar-usb2-clock-sel: Fix typo in example
Navid Emamdoost <[email protected]>
media: usb: fix memory leak in af9005_identify_state
Stephan Gerhold <[email protected]>
regulator: ab8500: Remove AB8505 USB regulator
Colin Ian King <[email protected]>
media: flexcop-usb: ensure -EIO is returned on error condition
Navid Emamdoost <[email protected]>
Bluetooth: Fix memory leak in hci_connect_le_scan
Dan Carpenter <[email protected]>
Bluetooth: delete a stray unlock
Oliver Neukum <[email protected]>
Bluetooth: btusb: fix PM leak in error case of setup
Michael Haener <[email protected]>
platform/x86: pmc_atom: Add Siemens CONNECT X300 to critclk_systems DMI table
Omar Sandoval <[email protected]>
xfs: don't check for AG deadlock for realtime files in bunmapi
Yunfeng Ye <[email protected]>
ACPI: sysfs: Change ACPI_MASKABLE_GPE_MAX to 0x100
Kai-Heng Feng <[email protected]>
HID: i2c-hid: Reset ALPS touchpads on resume
Scott Mayhew <[email protected]>
nfsd4: fix up replay_matches_cache()
Leonard Crestez <[email protected]>
PM / devfreq: Check NULL governor in available_governors_show
Arnd Bergmann <[email protected]>
drm/msm: include linux/sched/task.h
Wen Yang <[email protected]>
ftrace: Avoid potential division by zero in function profiler
Catalin Marinas <[email protected]>
arm64: Revert support for execute-only user mappings
chenqiwu <[email protected]>
exit: panic before exit_mm() on global init exit
Takashi Iwai <[email protected]>
ALSA: firewire-motu: Correct a typo in the clock proc string
Colin Ian King <[email protected]>
ALSA: cs4236: fix error return comparison of an unsigned integer
John Johansen <[email protected]>
apparmor: fix aa_xattrs_match() may sleep while holding a RCU lock
Sven Schnelle <[email protected]>
tracing: Fix endianness bug in histogram trigger
Steven Rostedt (VMware) <[email protected]>
tracing: Have the histogram compare functions convert to u64 first
Keita Suzuki <[email protected]>
tracing: Avoid memory leak in process_system_preds()
Prateek Sood <[email protected]>
tracing: Fix lock inversion in trace_event_enable_tgid_record()
Mathieu Desnoyers <[email protected]>
rseq/selftests: Fix: Namespace gettid() for compatibility with glibc 2.30
Zong Li <[email protected]>
riscv: ftrace: correct the condition logic in function graph tracer
Russell King <[email protected]>
gpiolib: fix up emulated open drain outputs
Sascha Hauer <[email protected]>
libata: Fix retrieving of active qcs
Florian Fainelli <[email protected]>
ata: ahci_brcm: BCM7425 AHCI requires AHCI_HFLAG_DELAY_ENGINE
Florian Fainelli <[email protected]>
ata: ahci_brcm: Add missing clock management during recovery
Florian Fainelli <[email protected]>
ata: ahci_brcm: Allow optional reset controller to be used
Florian Fainelli <[email protected]>
ata: ahci_brcm: Fix AHCI resources management
Florian Fainelli <[email protected]>
ata: libahci_platform: Export again ahci_platform_<en/dis>able_phys()
Arnd Bergmann <[email protected]>
compat_ioctl: block: handle BLKREPORTZONE/BLKRESETZONE
Arnd Bergmann <[email protected]>
compat_ioctl: block: handle Persistent Reservations
Lukas Wunner <[email protected]>
dmaengine: Fix access to uninitialized dma_slave_caps
Amir Goldstein <[email protected]>
locks: print unsigned ino in /proc/locks
Aleksandr Yashkin <[email protected]>
pstore/ram: Write new dumps to start of recycled zones
Yang Shi <[email protected]>
mm: move_pages: return valid node id in status if the page is already on the target node
Shakeel Butt <[email protected]>
memcg: account security cred as well to kmemcg
Chanho Min <[email protected]>
mm/zsmalloc.c: fix the migrated zspage statistics.
Hans Verkuil <[email protected]>
media: cec: check 'transmit_in_progress', not 'transmitting'
Hans Verkuil <[email protected]>
media: cec: avoid decrementing transmit_queue_sz if it is 0
Hans Verkuil <[email protected]>
media: cec: CEC 2.0-only bcast messages were ignored
Hans Verkuil <[email protected]>
media: pulse8-cec: fix lost cec_transmit_attempt_done() call
Paul Burton <[email protected]>
MIPS: Avoid VDSO ABI breakage due to global register variable
Stefan Mavrodiev <[email protected]>
drm/sun4i: hdmi: Remove duplicate cleanup calls
Kailang Yang <[email protected]>
ALSA: hda/realtek - Add headset Mic no shutup for ALC283
Hui Wang <[email protected]>
ALSA: usb-audio: set the interface format after resume on Dell WD19
Johan Hovold <[email protected]>
ALSA: usb-audio: fix set_format altsetting sanity check
Takashi Iwai <[email protected]>
ALSA: ice1724: Fix sleep-in-atomic in Infrasonic Quartet support code
Phil Sutter <[email protected]>
netfilter: nft_tproxy: Fix port selector on Big Endian
Daniel Vetter <[email protected]>
drm: limit to INT_MAX in create_blob ioctl
Christian Brauner <[email protected]>
taskstats: fix data-race
Brian Foster <[email protected]>
xfs: fix mount failure crash on invalid iclog memory access
Jaroslav Kysela <[email protected]>
ALSA: hda - fixup for the bass speaker on Lenovo Carbon X1 7th gen
Chris Chiu <[email protected]>
ALSA: hda/realtek - Enable the bass speaker of ASUS UX431FLC
Kailang Yang <[email protected]>
ALSA: hda/realtek - Add Bass Speaker and fixed dac for bass speaker
Andy Whitcroft <[email protected]>
PM / hibernate: memory_bm_find_bit(): Tighten node optimisation
Juergen Gross <[email protected]>
xen/balloon: fix ballooned page accounting without hotplug enabled
Paul Durrant <[email protected]>
xen-blkback: prevent premature module unload
Maor Gottlieb <[email protected]>
IB/mlx5: Fix steering rule of drop and count
Parav Pandit <[email protected]>
IB/mlx4: Follow mirror sequence of device add during device removal
Thomas Richter <[email protected]>
s390/cpum_sf: Avoid SBD overflow condition in irq handler
Thomas Richter <[email protected]>
s390/cpum_sf: Adjust sampling interval to avoid hitting sample limits
Zhiqiang Liu <[email protected]>
md: raid1: check rdev before reference in raid1_sync_request func
David Howells <[email protected]>
afs: Fix creation calls in the dynamic root to fail with EOPNOTSUPP
Jens Axboe <[email protected]>
net: make socket read/write_iter() honor IOCB_NOWAIT
EJ Hsu <[email protected]>
usb: gadget: fix wrong endpoint desc
Hans de Goede <[email protected]>
drm/nouveau: Move the declaration of struct nouveau_conn_atom up a bit
Jason Yan <[email protected]>
scsi: libsas: stop discovering if oob mode is disconnected
Dan Carpenter <[email protected]>
scsi: iscsi: qla4xxx: fix double free in probe
Roman Bolshakov <[email protected]>
scsi: qla2xxx: Ignore PORT UPDATE after N2N PLOGI
Roman Bolshakov <[email protected]>
scsi: qla2xxx: Send Notify ACK after N2N PLOGI
Roman Bolshakov <[email protected]>
scsi: qla2xxx: Configure local loop for N2N target
Roman Bolshakov <[email protected]>
scsi: qla2xxx: Fix PLOGI payload and ELS IOCB dump length
Roman Bolshakov <[email protected]>
scsi: qla2xxx: Don't call qlt_async_event twice
Roman Bolshakov <[email protected]>
scsi: qla2xxx: Drop superfluous INIT_WORK of del_work
Bo Wu <[email protected]>
scsi: lpfc: Fix memory leak on lpfc_bsg_write_ebuf_set func
Steve Wise <[email protected]>
rxe: correctly calculate iCRC for unaligned payloads
Chuhong Yuan <[email protected]>
RDMA/cma: add missed unregister_pernet_subsys in init failure
David Howells <[email protected]>
afs: Fix SELinux setting security label on /afs
Marc Dionne <[email protected]>
afs: Fix afs_find_server lookups for ipv4 peers
Leonard Crestez <[email protected]>
PM / devfreq: Don't fail devfreq_dev_release if not in list
Leonard Crestez <[email protected]>
PM / devfreq: Set scaling_max_freq to max on OPP notifier error
Leonard Crestez <[email protected]>
PM / devfreq: Fix devfreq_notifier_call returning errno
Geert Uytterhoeven <[email protected]>
iio: adc: max9611: Fix too short conversion time delay
David Galiffi <[email protected]>
drm/amd/display: Fixed kernel panic when booting with DP-to-HDMI dongle
Pierre-Eric Pelloux-Prayer <[email protected]>
drm/amdgpu: add cache flush workaround to gfx8 emit_fence
Guchun Chen <[email protected]>
drm/amdgpu: add check before enabling/disabling broadcast mode
James Smart <[email protected]>
nvme-fc: fix double-free scenarios on hw queues
James Smart <[email protected]>
nvme_fc: add module to ops template to allow module references
-------------
Diffstat:
Documentation/admin-guide/kernel-parameters.txt | 2 +-
.../bindings/clock/renesas,rcar-usb2-clock-sel.txt | 2 +-
Makefile | 4 +-
.../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 4 +-
arch/arm64/include/asm/pgtable-prot.h | 5 +-
arch/arm64/include/asm/pgtable.h | 10 +-
arch/arm64/mm/fault.c | 2 +-
arch/mips/include/asm/thread_info.h | 20 +-
arch/powerpc/include/asm/kvm_ppc.h | 100 +++++++-
arch/powerpc/kernel/dbell.c | 6 +-
arch/powerpc/kvm/book3s_hv_rm_xics.c | 2 +-
arch/powerpc/platforms/powernv/smp.c | 2 +-
arch/powerpc/platforms/pseries/hvconsole.c | 2 +-
arch/powerpc/sysdev/xics/icp-native.c | 6 +-
arch/powerpc/sysdev/xics/icp-opal.c | 6 +-
arch/riscv/kernel/ftrace.c | 2 +-
arch/s390/kernel/perf_cpum_sf.c | 22 +-
arch/s390/kernel/smp.c | 80 ++++--
arch/x86/events/intel/bts.c | 16 +-
block/compat_ioctl.c | 11 +
drivers/acpi/sysfs.c | 6 +-
drivers/ata/ahci_brcm.c | 140 ++++++++---
drivers/ata/libahci_platform.c | 6 +-
drivers/ata/libata-core.c | 24 ++
drivers/ata/sata_fsl.c | 2 +-
drivers/ata/sata_mv.c | 2 +-
drivers/ata/sata_nv.c | 2 +-
drivers/block/xen-blkback/blkback.c | 2 +
drivers/block/xen-blkback/xenbus.c | 10 +
drivers/bluetooth/btusb.c | 3 +-
drivers/devfreq/devfreq.c | 30 +--
drivers/firewire/net.c | 6 +-
drivers/gpio/gpiolib.c | 8 +
drivers/gpu/drm/amd/amdgpu/df_v3_6.c | 38 +--
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 22 +-
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 2 +-
drivers/gpu/drm/drm_dp_mst_topology.c | 6 +-
drivers/gpu/drm/drm_property.c | 2 +-
drivers/gpu/drm/msm/msm_gpu.c | 1 +
drivers/gpu/drm/nouveau/nouveau_connector.h | 110 ++++-----
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 2 -
drivers/hid/i2c-hid/i2c-hid-core.c | 12 +-
drivers/hwtracing/coresight/coresight-etb10.c | 4 +-
drivers/hwtracing/coresight/coresight-tmc-etf.c | 4 +-
drivers/iio/adc/max9611.c | 16 +-
drivers/infiniband/core/cma.c | 1 +
drivers/infiniband/hw/mlx4/main.c | 9 +-
drivers/infiniband/hw/mlx5/main.c | 13 +-
drivers/infiniband/sw/rxe/rxe_recv.c | 2 +-
drivers/infiniband/sw/rxe/rxe_req.c | 6 +
drivers/infiniband/sw/rxe/rxe_resp.c | 7 +
drivers/md/raid1.c | 2 +-
drivers/media/cec/cec-adap.c | 40 ++-
drivers/media/usb/b2c2/flexcop-usb.c | 2 +-
drivers/media/usb/dvb-usb/af9005.c | 5 +-
drivers/media/usb/pulse8-cec/pulse8-cec.c | 17 +-
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 23 +-
drivers/nvme/host/fc.c | 32 ++-
drivers/nvme/target/fcloop.c | 1 +
drivers/platform/x86/pmc_atom.c | 8 +
drivers/regulator/ab8500.c | 17 --
drivers/scsi/libsas/sas_discover.c | 11 +-
drivers/scsi/lpfc/lpfc_bsg.c | 15 +-
drivers/scsi/lpfc/lpfc_nvme.c | 2 +
drivers/scsi/qedf/qedf_els.c | 16 +-
drivers/scsi/qla2xxx/qla_init.c | 10 +-
drivers/scsi/qla2xxx/qla_iocb.c | 6 +-
drivers/scsi/qla2xxx/qla_isr.c | 4 -
drivers/scsi/qla2xxx/qla_mbx.c | 3 +-
drivers/scsi/qla2xxx/qla_nvme.c | 1 +
drivers/scsi/qla2xxx/qla_target.c | 2 +-
drivers/scsi/qla4xxx/ql4_os.c | 1 -
drivers/tty/hvc/hvc_vio.c | 16 +-
drivers/tty/serial/msm_serial.c | 13 +-
drivers/usb/gadget/function/f_ecm.c | 6 +-
drivers/usb/gadget/function/f_rndis.c | 1 +
drivers/xen/balloon.c | 3 +-
fs/afs/dynroot.c | 3 +
fs/afs/server.c | 21 +-
fs/afs/super.c | 1 -
fs/block_dev.c | 37 +--
fs/compat_ioctl.c | 3 +-
fs/locks.c | 2 +-
fs/nfsd/nfs4state.c | 15 +-
fs/pstore/ram.c | 11 +
fs/ubifs/tnc_commit.c | 34 ++-
fs/xfs/libxfs/xfs_bmap.c | 2 +-
fs/xfs/scrub/common.h | 9 +-
fs/xfs/xfs_log.c | 2 +
include/linux/ahci_platform.h | 2 +
include/linux/dmaengine.h | 5 +-
include/linux/libata.h | 1 +
include/linux/netdevice.h | 4 +
include/linux/nvme-fc-driver.h | 4 +
include/linux/regulator/ab8500.h | 1 -
include/net/neighbour.h | 2 +-
kernel/cred.c | 6 +-
kernel/exit.c | 12 +-
kernel/power/snapshot.c | 9 +-
kernel/taskstats.c | 30 ++-
kernel/trace/ftrace.c | 6 +-
kernel/trace/trace.c | 8 +
kernel/trace/trace_events.c | 8 +-
kernel/trace/trace_events_filter.c | 2 +-
kernel/trace/trace_events_hist.c | 21 +-
kernel/trace/tracing_map.c | 4 +-
mm/migrate.c | 23 +-
mm/mmap.c | 6 -
mm/zsmalloc.c | 5 +
net/bluetooth/hci_conn.c | 4 +-
net/bluetooth/l2cap_core.c | 4 +-
net/core/dev.c | 272 +++++++++++++++++----
net/core/neighbour.c | 4 +-
net/ethernet/eth.c | 7 +-
net/ipv4/tcp.c | 4 +-
net/ipv4/tcp_diag.c | 2 +-
net/ipv4/tcp_input.c | 6 +-
net/ipv4/tcp_ipv4.c | 3 +-
net/ipv4/tcp_minisocks.c | 7 +-
net/ipv6/tcp_ipv6.c | 3 +-
net/netfilter/nft_tproxy.c | 4 +-
net/rxrpc/peer_event.c | 3 +
net/socket.c | 4 +-
security/apparmor/apparmorfs.c | 2 +-
security/apparmor/domain.c | 82 ++++---
security/apparmor/policy.c | 4 +-
sound/firewire/motu/motu-proc.c | 2 +-
sound/isa/cs423x/cs4236.c | 3 +-
sound/pci/hda/patch_realtek.c | 61 ++++-
sound/pci/ice1712/ice1724.c | 9 +-
sound/usb/card.h | 1 +
sound/usb/pcm.c | 25 +-
sound/usb/quirks-table.h | 3 +-
sound/usb/quirks.c | 11 +
sound/usb/usbaudio.h | 3 +-
tools/testing/selftests/net/rtnetlink.sh | 21 ++
tools/testing/selftests/rseq/param_test.c | 18 +-
137 files changed, 1371 insertions(+), 559 deletions(-)
From: Hans de Goede <[email protected]>
[ Upstream commit 37a68eab4cd92b507c9e8afd760fdc18e4fecac6 ]
Place the declaration of struct nouveau_conn_atom above that of
struct nouveau_connector. This commit makes no changes to the moved
block what so ever, it just moves it up a bit.
This is a preparation patch to fix some issues with connector handling
on pre nv50 displays (which do not use atomic modesetting).
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/gpu/drm/nouveau/nouveau_connector.h | 110 ++++++++++----------
1 file changed, 55 insertions(+), 55 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.h b/drivers/gpu/drm/nouveau/nouveau_connector.h
index dc7454e7f19a..b46e99f7641e 100644
--- a/drivers/gpu/drm/nouveau/nouveau_connector.h
+++ b/drivers/gpu/drm/nouveau/nouveau_connector.h
@@ -29,6 +29,7 @@
#include <nvif/notify.h>
+#include <drm/drm_crtc.h>
#include <drm/drm_edid.h>
#include <drm/drm_encoder.h>
#include <drm/drm_dp_helper.h>
@@ -37,6 +38,60 @@
struct nvkm_i2c_port;
+#define nouveau_conn_atom(p) \
+ container_of((p), struct nouveau_conn_atom, state)
+
+struct nouveau_conn_atom {
+ struct drm_connector_state state;
+
+ struct {
+ /* The enum values specifically defined here match nv50/gf119
+ * hw values, and the code relies on this.
+ */
+ enum {
+ DITHERING_MODE_OFF = 0x00,
+ DITHERING_MODE_ON = 0x01,
+ DITHERING_MODE_DYNAMIC2X2 = 0x10 | DITHERING_MODE_ON,
+ DITHERING_MODE_STATIC2X2 = 0x18 | DITHERING_MODE_ON,
+ DITHERING_MODE_TEMPORAL = 0x20 | DITHERING_MODE_ON,
+ DITHERING_MODE_AUTO
+ } mode;
+ enum {
+ DITHERING_DEPTH_6BPC = 0x00,
+ DITHERING_DEPTH_8BPC = 0x02,
+ DITHERING_DEPTH_AUTO
+ } depth;
+ } dither;
+
+ struct {
+ int mode; /* DRM_MODE_SCALE_* */
+ struct {
+ enum {
+ UNDERSCAN_OFF,
+ UNDERSCAN_ON,
+ UNDERSCAN_AUTO,
+ } mode;
+ u32 hborder;
+ u32 vborder;
+ } underscan;
+ bool full;
+ } scaler;
+
+ struct {
+ int color_vibrance;
+ int vibrant_hue;
+ } procamp;
+
+ union {
+ struct {
+ bool dither:1;
+ bool scaler:1;
+ bool procamp:1;
+ };
+ u8 mask;
+ } set;
+};
+
struct nouveau_connector {
struct drm_connector base;
enum dcb_connector_type type;
@@ -111,61 +166,6 @@ extern int nouveau_ignorelid;
extern int nouveau_duallink;
extern int nouveau_hdmimhz;
-#include <drm/drm_crtc.h>
-#define nouveau_conn_atom(p) \
- container_of((p), struct nouveau_conn_atom, state)
-
-struct nouveau_conn_atom {
- struct drm_connector_state state;
-
- struct {
- /* The enum values specifically defined here match nv50/gf119
- * hw values, and the code relies on this.
- */
- enum {
- DITHERING_MODE_OFF = 0x00,
- DITHERING_MODE_ON = 0x01,
- DITHERING_MODE_DYNAMIC2X2 = 0x10 | DITHERING_MODE_ON,
- DITHERING_MODE_STATIC2X2 = 0x18 | DITHERING_MODE_ON,
- DITHERING_MODE_TEMPORAL = 0x20 | DITHERING_MODE_ON,
- DITHERING_MODE_AUTO
- } mode;
- enum {
- DITHERING_DEPTH_6BPC = 0x00,
- DITHERING_DEPTH_8BPC = 0x02,
- DITHERING_DEPTH_AUTO
- } depth;
- } dither;
-
- struct {
- int mode; /* DRM_MODE_SCALE_* */
- struct {
- enum {
- UNDERSCAN_OFF,
- UNDERSCAN_ON,
- UNDERSCAN_AUTO,
- } mode;
- u32 hborder;
- u32 vborder;
- } underscan;
- bool full;
- } scaler;
-
- struct {
- int color_vibrance;
- int vibrant_hue;
- } procamp;
-
- union {
- struct {
- bool dither:1;
- bool scaler:1;
- bool procamp:1;
- };
- u8 mask;
- } set;
-};
-
void nouveau_conn_attach_properties(struct drm_connector *);
void nouveau_conn_reset(struct drm_connector *);
struct drm_connector_state *
--
2.20.1
From: EJ Hsu <[email protected]>
[ Upstream commit e5b5da96da50ef30abb39cb9f694e99366404d24 ]
Gadget driver should always use config_ep_by_speed() to initialize
usb_ep struct according to usb device's operating speed. Otherwise,
usb_ep struct may be wrong if usb devcie's operating speed is changed.
The key point in this patch is that we want to make sure the desc pointer
in usb_ep struct will be set to NULL when gadget is disconnected.
This will force it to call config_ep_by_speed() to correctly initialize
usb_ep struct based on the new operating speed when gadget is
re-connected later.
Reviewed-by: Peter Chen <[email protected]>
Signed-off-by: EJ Hsu <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/usb/gadget/function/f_ecm.c | 6 +++++-
drivers/usb/gadget/function/f_rndis.c | 1 +
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/function/f_ecm.c b/drivers/usb/gadget/function/f_ecm.c
index 6ce044008cf6..460d5d7c984f 100644
--- a/drivers/usb/gadget/function/f_ecm.c
+++ b/drivers/usb/gadget/function/f_ecm.c
@@ -621,8 +621,12 @@ static void ecm_disable(struct usb_function *f)
DBG(cdev, "ecm deactivated\n");
- if (ecm->port.in_ep->enabled)
+ if (ecm->port.in_ep->enabled) {
gether_disconnect(&ecm->port);
+ } else {
+ ecm->port.in_ep->desc = NULL;
+ ecm->port.out_ep->desc = NULL;
+ }
usb_ep_disable(ecm->notify);
ecm->notify->desc = NULL;
diff --git a/drivers/usb/gadget/function/f_rndis.c b/drivers/usb/gadget/function/f_rndis.c
index d48df36622b7..0d8e4a364ca6 100644
--- a/drivers/usb/gadget/function/f_rndis.c
+++ b/drivers/usb/gadget/function/f_rndis.c
@@ -618,6 +618,7 @@ static void rndis_disable(struct usb_function *f)
gether_disconnect(&rndis->port);
usb_ep_disable(rndis->notify);
+ rndis->notify->desc = NULL;
}
/*-------------------------------------------------------------------------*/
--
2.20.1
From: Dan Carpenter <[email protected]>
[ Upstream commit fee92f25777789d73e1936b91472e9c4644457c8 ]
On this error path we call qla4xxx_mem_free() and then the caller also
calls qla4xxx_free_adapter() which calls qla4xxx_mem_free(). It leads to a
couple double frees:
drivers/scsi/qla4xxx/ql4_os.c:8856 qla4xxx_probe_adapter() warn: 'ha->chap_dma_pool' double freed
drivers/scsi/qla4xxx/ql4_os.c:8856 qla4xxx_probe_adapter() warn: 'ha->fw_ddb_dma_pool' double freed
Fixes: afaf5a2d341d ("[SCSI] Initial Commit of qla4xxx")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/scsi/qla4xxx/ql4_os.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index 25c8ce54a976..f8acf101af3d 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -4280,7 +4280,6 @@ static int qla4xxx_mem_alloc(struct scsi_qla_host *ha)
return QLA_SUCCESS;
mem_alloc_error_exit:
- qla4xxx_mem_free(ha);
return QLA_ERROR;
}
--
2.20.1
From: Roman Bolshakov <[email protected]>
[ Upstream commit fd1de5830a5abaf444cc4312871e02c41e24fdc1 ]
qla2x00_configure_local_loop initializes PLOGI payload for PLOGI ELS using
Get Parameters mailbox command.
In the case when the driver is running in target mode, the topology is N2N
and the target port has higher WWPN, LOCAL_LOOP_UPDATE bit is cleared too
early and PLOGI payload is not initialized by the Get Parameters
command. That causes a failure of ELS IOCB carrying the PLOGI with 0x15 aka
Data Underrun error.
LOCAL_LOOP_UPDATE has to be set to initialize PLOGI payload.
Fixes: 48acad099074 ("scsi: qla2xxx: Fix N2N link re-connect")
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Quinn Tran <[email protected]>
Acked-by: Himanshu Madhani <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Tested-by: Hannes Reinecke <[email protected]>
Signed-off-by: Roman Bolshakov <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/scsi/qla2xxx/qla_init.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 4512aaa16f78..851f75b12216 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -4815,14 +4815,8 @@ qla2x00_configure_loop(scsi_qla_host_t *vha)
set_bit(RSCN_UPDATE, &flags);
clear_bit(LOCAL_LOOP_UPDATE, &flags);
- } else if (ha->current_topology == ISP_CFG_N) {
- clear_bit(RSCN_UPDATE, &flags);
- if (qla_tgt_mode_enabled(vha)) {
- /* allow the other side to start the login */
- clear_bit(LOCAL_LOOP_UPDATE, &flags);
- set_bit(RELOGIN_NEEDED, &vha->dpc_flags);
- }
- } else if (ha->current_topology == ISP_CFG_NL) {
+ } else if (ha->current_topology == ISP_CFG_NL ||
+ ha->current_topology == ISP_CFG_N) {
clear_bit(RSCN_UPDATE, &flags);
set_bit(LOCAL_LOOP_UPDATE, &flags);
} else if (!vha->flags.online ||
--
2.20.1
From: Roman Bolshakov <[email protected]>
[ Upstream commit 600954e6f2df695434887dfc6a99a098859990cf ]
del_work is already initialized inside qla2x00_alloc_fcport, there's no
need to overwrite it. Indeed, it might prevent complete traversal of
workqueue list.
Fixes: a01c77d2cbc45 ("scsi: qla2xxx: Move session delete to driver work queue")
Cc: Quinn Tran <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Himanshu Madhani <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Tested-by: Hannes Reinecke <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Roman Bolshakov <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/scsi/qla2xxx/qla_target.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c
index 210ce294038d..8eda55e917e0 100644
--- a/drivers/scsi/qla2xxx/qla_target.c
+++ b/drivers/scsi/qla2xxx/qla_target.c
@@ -1261,7 +1261,6 @@ void qlt_schedule_sess_for_deletion(struct fc_port *sess)
"Scheduling sess %p for deletion %8phC\n",
sess, sess->port_name);
- INIT_WORK(&sess->del_work, qla24xx_delete_sess_fn);
WARN_ON(!queue_work(sess->vha->hw->wq, &sess->del_work));
}
--
2.20.1
On 1/7/20 1:53 PM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.19.94 release.
> There are 115 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 09 Jan 2020 20:44:51 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.94-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
Compiled and booted on my test system. No dmesg regressions.
thanks,
-- Shuah
On Tue 2020-01-07 21:53:53, Greg Kroah-Hartman wrote:
> From: Hans de Goede <[email protected]>
>
> [ Upstream commit 37a68eab4cd92b507c9e8afd760fdc18e4fecac6 ]
>
> Place the declaration of struct nouveau_conn_atom above that of
> struct nouveau_connector. This commit makes no changes to the moved
> block what so ever, it just moves it up a bit.
>
> This is a preparation patch to fix some issues with connector handling
> on pre nv50 displays (which do not use atomic modesetting).
As followup changes are not queued in v4.19-stable, should this be dropped?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
On Tue, Jan 07, 2020 at 09:53:30PM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.19.94 release.
> There are 115 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 09 Jan 2020 20:44:51 +0000.
> Anything received after that time might be too late.
>
For v4.19.93-114-g53089eea25ff:
Build results:
total: 156 pass: 156 fail: 0
Qemu test results:
total: 381 pass: 381 fail: 0
Guenter
On 07/01/2020 20:53, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.19.94 release.
> There are 115 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 09 Jan 2020 20:44:51 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.94-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
> -------------
All tests for Tegra are passing ...
Test results for stable-v4.19:
13 builds: 13 pass, 0 fail
22 boots: 22 pass, 0 fail
32 tests: 32 pass, 0 fail
Linux version: 4.19.94-rc2-g9dcb411d44b4
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
tegra194-p2972-0000, tegra20-ventana,
tegra210-p2371-2180, tegra30-cardhu-a04
Cheers
Jon
--
nvpublic
On Wed, 8 Jan 2020 at 02:34, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 4.19.94 release.
> There are 115 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 09 Jan 2020 20:44:51 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.94-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Results from Linaro’s test farm.
No regressions on arm64, arm, x86_64, and i386.
Summary
------------------------------------------------------------------------
kernel: 4.19.94-rc2
git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git branch: linux-4.19.y
git commit: 53089eea25ff49cc78f5f988ab91d98ccc80463c
git describe: v4.19.92-227-g53089eea25ff
Test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-4.19-oe/build/v4.19.92-227-g53089eea25ff
No regressions (compared to build v4.19.92)
No fixes (compared to build v4.19.92)
Ran 22357 total tests in the following environments and test suites.
Environments
--------------
- dragonboard-410c - arm64
- hi6220-hikey - arm64
- i386
- juno-r2 - arm64
- qemu_arm
- qemu_arm64
- qemu_i386
- qemu_x86_64
- x15 - arm
- x86_64
Test Suites
-----------
* build
* install-android-platform-tools-r2600
* kselftest
* libhugetlbfs
* linux-log-parser
* ltp-cap_bounds-tests
* ltp-commands-tests
* ltp-containers-tests
* ltp-cpuhotplug-tests
* ltp-cve-tests
* ltp-dio-tests
* ltp-fcntl-locktests-tests
* ltp-fs-tests
* ltp-hugetlb-tests
* ltp-io-tests
* ltp-ipc-tests
* ltp-math-tests
* ltp-mm-tests
* ltp-syscalls-tests
* network-basic-tests
* perf
* spectre-meltdown-checker-test
* v4l2-compliance
* kvm-unit-tests
* ltp-sched-tests
* ltp-filecaps-tests
* ltp-fs_bind-tests
* ltp-fs_perms_simple-tests
* ltp-fsx-tests
* ltp-nptl-tests
* ltp-pty-tests
* ltp-securebits-tests
* ltp-open-posix-tests
--
Linaro LKFT
https://lkft.linaro.org