Skip to contentSkip to conversation

Linux 5.4.24

DISCUSSION Greg KH 1 participant 2 messages Mar 5, 2020 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 5.4.24 kernel.

All users of the 5.4 kernel series must upgrade.

The updated 5.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.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

------------

 Documentation/kbuild/makefiles.rst                         |   17 
 Documentation/networking/nf_flowtable.txt                  |    2 
 Makefile                                                   |  106 -
 arch/arm/boot/dts/stihxxx-b2120.dtsi                       |    2 
 arch/mips/kernel/vpe.c                                     |    2 
 arch/x86/events/intel/core.c                               |    1 
 arch/x86/events/intel/cstate.c                             |   22 
 arch/x86/events/msr.c                                      |    3 
 arch/x86/kernel/cpu/resctrl/internal.h                     |    1 
 arch/x86/kernel/cpu/resctrl/monitor.c                      |    4 
 arch/x86/kvm/svm.c                                         |   43 
 arch/x86/kvm/vmx/nested.c                                  |   70 
 arch/x86/kvm/vmx/vmx.c                                     |   15 
 arch/x86/kvm/x86.c                                         |    6 
 drivers/acpi/acpi_watchdog.c                               |    3 
 drivers/bus/Kconfig                                        |    1 
 drivers/char/ipmi/ipmi_ssif.c                              |   10 
 drivers/cpufreq/cpufreq.c                                  |   12 
 drivers/devfreq/devfreq.c                                  |    4 
 drivers/edac/skx_common.c                                  |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c                    |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h                    |    1 
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c                      |   37 
 drivers/gpu/drm/amd/display/dc/clk_mgr/Makefile            |    6 
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c  |    6 
 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c               |    2 
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c         |    1 
 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c      |    6 
 drivers/gpu/drm/amd/include/asic_reg/dce/dce_12_0_offset.h |    2 
 drivers/gpu/drm/i915/Kconfig.debug                         |    1 
 drivers/gpu/drm/i915/gvt/dmabuf.c                          |    2 
 drivers/gpu/drm/i915/gvt/vgpu.c                            |    2 
 drivers/gpu/drm/msm/msm_drv.c                              |    8 
 drivers/gpu/drm/radeon/radeon_drv.c                        |   43 
 drivers/gpu/drm/radeon/radeon_kms.c                        |    6 
 drivers/hid/hid-alps.c                                     |    2 
 drivers/hid/hid-core.c                                     |    4 
 drivers/hid/hid-ite.c                                      |    5 
 drivers/hid/usbhid/hiddev.c                                |    2 
 drivers/i2c/busses/i2c-altera.c                            |    2 
 drivers/i2c/busses/i2c-jz4780.c                            |   36 
 drivers/infiniband/hw/hns/hns_roce_device.h                |    3 
 drivers/infiniband/hw/hns/hns_roce_hw_v1.c                 |   37 
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c                 |   80 
 drivers/infiniband/sw/siw/siw_cm.c                         |    5 
 drivers/macintosh/therm_windtunnel.c                       |   52 
 drivers/net/bonding/bond_main.c                            |   55 
 drivers/net/bonding/bond_options.c                         |    2 
 drivers/net/dsa/b53/b53_common.c                           |    3 
 drivers/net/ethernet/amazon/ena/ena_com.c                  |   96 -
 drivers/net/ethernet/amazon/ena/ena_com.h                  |    9 
 drivers/net/ethernet/amazon/ena/ena_ethtool.c              |   46 
 drivers/net/ethernet/amazon/ena/ena_netdev.c               |    6 
 drivers/net/ethernet/amazon/ena/ena_netdev.h               |    2 
 drivers/net/ethernet/apm/xgene/xgene_enet_main.c           |    2 
 drivers/net/ethernet/aquantia/atlantic/aq_filters.c        |    2 
 drivers/net/ethernet/aquantia/atlantic/aq_nic.c            |    8 
 drivers/net/ethernet/aquantia/atlantic/aq_ring.c           |    7 
 drivers/net/ethernet/broadcom/bnxt/bnxt.c                  |   12 
 drivers/net/ethernet/cadence/macb_main.c                   |    6 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c    |   22 
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c         |    4 
 drivers/net/ethernet/intel/ice/ice_common.c                |   17 
 drivers/net/ethernet/intel/ice/ice_hw_autogen.h            |    6 
 drivers/net/ethernet/mscc/ocelot_board.c                   |    8 
 drivers/net/ethernet/qlogic/qede/qede.h                    |    2 
 drivers/net/ethernet/qlogic/qede/qede_rdma.c               |   29 
 drivers/net/hyperv/netvsc.c                                |    2 
 drivers/net/hyperv/netvsc_drv.c                            |    3 
 drivers/net/phy/mdio-bcm-iproc.c                           |   20 
 drivers/net/usb/qmi_wwan.c                                 |   43 
 drivers/net/wireless/marvell/mwifiex/main.h                |   13 
 drivers/net/wireless/marvell/mwifiex/tdls.c                |   75 
 drivers/nfc/pn544/i2c.c                                    |    1 
 drivers/nvme/host/core.c                                   |   10 
 drivers/nvme/host/pci.c                                    |   25 
 drivers/nvme/host/rdma.c                                   |    2 
 drivers/nvme/host/tcp.c                                    |    9 
 drivers/perf/arm_smmuv3_pmu.c                              |    2 
 drivers/pwm/pwm-omap-dmtimer.c                             |   21 
 drivers/s390/crypto/ap_bus.h                               |    4 
 drivers/s390/crypto/ap_card.c                              |    8 
 drivers/s390/crypto/ap_queue.c                             |    6 
 drivers/s390/crypto/zcrypt_api.c                           |   16 
 drivers/s390/net/qeth_l2_main.c                            |   29 
 drivers/soc/tegra/fuse/fuse-tegra30.c                      |    3 
 drivers/thermal/broadcom/brcmstb_thermal.c                 |   31 
 drivers/thermal/db8500_thermal.c                           |    4 
 drivers/vhost/net.c                                        |   10 
 drivers/watchdog/wdat_wdt.c                                |    2 
 fs/ceph/file.c                                             |   17 
 fs/cifs/cifsacl.c                                          |    4 
 fs/cifs/connect.c                                          |    2 
 fs/cifs/inode.c                                            |    2 
 fs/dax.c                                                   |    3 
 fs/ext4/super.c                                            |    6 
 fs/f2fs/data.c                                             |   32 
 fs/io_uring.c                                              |   51 
 fs/namei.c                                                 |    2 
 fs/nfs/nfs4file.c                                          |    1 
 fs/nfs/nfs4proc.c                                          |   18 
 fs/ubifs/orphan.c                                          |    4 
 fs/xfs/libxfs/xfs_attr.h                                   |    7 
 fs/xfs/xfs_ioctl.c                                         |    2 
 fs/xfs/xfs_ioctl32.c                                       |    2 
 include/Kbuild                                             | 1185 -------------
 include/acpi/actypes.h                                     |    3 
 include/asm-generic/vdso/vsyscall.h                        |    4 
 include/linux/blkdev.h                                     |    2 
 include/linux/blktrace_api.h                               |   18 
 include/linux/hid.h                                        |    2 
 include/linux/netdevice.h                                  |    7 
 include/linux/netfilter/ipset/ip_set.h                     |   11 
 include/linux/sched/nohz.h                                 |    2 
 include/net/flow_dissector.h                               |    9 
 include/uapi/linux/usb/charger.h                           |   16 
 init/Kconfig                                               |   22 
 kernel/audit.c                                             |   40 
 kernel/auditfilter.c                                       |   71 
 kernel/kprobes.c                                           |    4 
 kernel/locking/lockdep_proc.c                              |    4 
 kernel/rcu/tree_exp.h                                      |   11 
 kernel/sched/core.c                                        |   31 
 kernel/sched/fair.c                                        |    7 
 kernel/sched/loadavg.c                                     |   33 
 kernel/time/vsyscall.c                                     |   37 
 kernel/trace/blktrace.c                                    |  114 -
 kernel/trace/trace.c                                       |    2 
 lib/Kconfig.debug                                          |   11 
 mm/debug.c                                                 |    8 
 mm/gup.c                                                   |    3 
 mm/huge_memory.c                                           |   26 
 net/core/dev.c                                             |   28 
 net/core/fib_rules.c                                       |    2 
 net/ipv4/udp.c                                             |    6 
 net/ipv6/ip6_fib.c                                         |    7 
 net/ipv6/route.c                                           |    1 
 net/mac80211/mlme.c                                        |    6 
 net/mac80211/util.c                                        |   34 
 net/netfilter/ipset/ip_set_core.c                          |   34 
 net/netfilter/ipset/ip_set_hash_gen.h                      |  635 ++++--
 net/netfilter/nft_tunnel.c                                 |    4 
 net/netfilter/xt_hashlimit.c                               |   12 
 net/netlink/af_netlink.c                                   |    5 
 net/sched/cls_flower.c                                     |    1 
 net/sctp/sm_statefuns.c                                    |   29 
 net/smc/af_smc.c                                           |    2 
 net/smc/smc_clc.c                                          |    4 
 net/tls/tls_device.c                                       |   20 
 net/wireless/ethtool.c                                     |    8 
 net/wireless/nl80211.c                                     |    5 
 scripts/Makefile.build                                     |    9 
 scripts/Makefile.headersinst                               |   18 
 scripts/Makefile.lib                                       |   18 
 security/integrity/ima/ima_policy.c                        |   44 
 tools/perf/ui/browsers/hists.c                             |    1 
 tools/perf/ui/gtk/Build                                    |    5 
 tools/testing/selftests/ftrace/Makefile                    |    2 
 tools/testing/selftests/livepatch/Makefile                 |    2 
 tools/testing/selftests/net/fib_tests.sh                   |    6 
 tools/testing/selftests/rseq/Makefile                      |    2 
 tools/testing/selftests/rtc/Makefile                       |    2 
 usr/include/Makefile                                       |   15 
 virt/kvm/kvm_main.c                                        |   12 
 164 files changed, 1883 insertions(+), 2294 deletions(-)

Aleksa Sarai (1):
namei: only return -ECHILD from follow_dotdot_rcu()

Alexandra Winter (1):
s390/qeth: vnicc Fix EOPNOTSUPP precedence

Alexandre Belloni (1):
net: macb: ensure interface is not suspended on at91rm9200

Andrei Otcheretianski (1):
mac80211: Remove a redundant mutex unlock

Anton Eidelman (1):
nvme/tcp: fix bug on double requeue when send fails

Aric Cyr (1):
drm/amd/display: Check engine is not NULL before acquiring

Aristeu Rozanski (1):
EDAC: skx_common: downgrade message importance on missing PCI device

Arnaldo Carvalho de Melo (1):
perf hists browser: Restore ESC as "Zoom out" of DSO/thread/etc

Arthur Kiyanovski (9):
net: ena: fix potential crash when rxfh key is NULL
net: ena: fix uses of round_jiffies()
net: ena: add missing ethtool TX timestamping indication
net: ena: fix incorrect default RSS key
net: ena: rss: store hash function as values and not bits
net: ena: fix incorrectly saving queue numbers when setting RSS indirection table
net: ena: fix corruption of dev_idx_to_host_tbl
net: ena: ena-com.c: prevent NULL pointer dereference
net: ena: make ena rxfh support ETH_RSS_HASH_NO_CHANGE

Arun Parameswaran (1):
net: phy: restore mdio regs in the iproc mdio driver

Benjamin Poirier (2):
ipv6: Fix route replacement with dev-only route
ipv6: Fix nlmsg_flags when splitting a multipath route

Bijan Mottahedeh (1):
nvme-pci: Hold cq_poll_lock while completing CQEs

Bjørn Mork (2):
qmi_wwan: re-add DW5821e pre-production variant
qmi_wwan: unconditionally reject 2 ep interfaces

Brett Creeley (1):
i40e: Fix the conditional for i40e_vc_validate_vqs_bitmaps

Brian Norris (2):
mwifiex: drop most magic numbers from mwifiex_process_tdls_action_frame()
mwifiex: delete unused mwifiex_get_intf_num()

Bruce Allan (1):
ice: update Unit Load Status bitmask to check after reset

Chao Yu (1):
f2fs: fix to add swap extent correctly

Cheng Jian (1):
sched/fair: Optimize select_idle_cpu

Christoph Hellwig (1):
xfs: clear kernel only flags in XFS_IOC_ATTRMULTI_BY_HANDLE

Christophe JAILLET (3):
HID: alps: Fix an error handling path in 'alps_input_configured()'
MIPS: VPE: Fix a double free and a memory leak in 'release_vpe()'
drivers: net: xgene: Fix the order of the arguments of 'alloc_etherdev_mqs()'

Cong Wang (1):
netfilter: xt_hashlimit: reduce hashlimit_mutex scope for htable_put()

Corey Minyard (1):
ipmi:ssif: Handle a possible NULL pointer reference

Dan Carpenter (1):
ext4: potential crash on allocation error in ext4_alloc_flex_bg_array()

Daniel Kolesa (1):
amdgpu: Prevent build errors regarding soft/hard-float FP ABI tags

Daniel Vetter (2):
drm/amdgpu: Drop DRIVER_USE_AGP
drm/radeon: Inline drm_get_pci_dev

David Rientjes (1):
mm, thp: fix defrag setting if newline is not used

Dmitry Bogdanov (1):
net: atlantic: fix out of range usage of active_vlans array

Dmitry Osipenko (1):
nfc: pn544: Fix occasional HW initialization failure

Eugenio Pérez (1):
vhost: Check docket sk_family instead of call getname

Florian Fainelli (2):
net: dsa: b53: Ensure the default VID is untagged
thermal: brcmstb_thermal: Do not use DT coefficients

Frank Sorenson (1):
cifs: Fix mode output in debugging statements

Geert Uytterhoeven (1):
ubifs: Fix ino_t format warnings in orphan_delete()

Greg Kroah-Hartman (1):

      Linux 5.4.24

Guangbin Huang (1):
net: hns3: fix a copying IPv6 address error in hclge_fd_get_flow_tuples()

Gustavo A. R. Silva (1):
i2c: altera: Fix potential integer overflow

Haiyang Zhang (1):
hv_netvsc: Fix unwanted wakeup in netvsc_attach()

Hans de Goede (1):
HID: ite: Only bind to keyboard USB interface on Acer SW5-012 keyboard dock

Harald Freudenberger (1):
s390/zcrypt: fix card and queue total counter wrap

Horatiu Vultur (1):
net: mscc: fix in frame extraction

Isabel Zhang (1):
drm/amd/display: Add initialitions for PLL2 clock source

Jan Kara (1):

      blktrace: Protect q->blk_trace with RCU

Janne Karhunen (1):
ima: ima/lsm policy rule loading logic bug fixes

Jason Baron (1):
net: sched: correct flower port blocking

Jeff Moyer (1):
dax: pass NOWAIT flag to iomap_apply

Jens Axboe (2):
io_uring: grab ->fs as part of async offload
io_uring: fix 32-bit compatability with sendmsg/recvmsg

Jethro Beekman (1):
net: fib_rules: Correctly set table field when table number exceeds 8 bits

Jim Mattson (2):
kvm: nVMX: VMWRITE checks VMCS-link pointer before VMCS field
kvm: nVMX: VMWRITE checks unsupported field before read-only field

Jiri Olsa (1):
perf ui gtk: Add missing zalloc object

Johan Korsnes (2):
HID: core: fix off-by-one memset in hid_report_raw_event()
HID: core: increase HID report buffer size to 8KiB

Johannes Berg (2):
mac80211: consider more elements in parsing CRC
nl80211: fix potential leak in AP start

John Garry (1):
perf/smmuv3: Use platform_get_irq_optional() for wired interrupt

John Hubbard (1):
mm/gup: allow FOLL_FORCE for get_user_pages_fast()

Jozsef Kadlecsik (2):
netfilter: ipset: Fix "INFO: rcu detected stall in hash_xxx" reports
netfilter: ipset: Fix forceadd evaluation path

Kan Liang (3):
perf/x86/intel: Add Elkhart Lake support
perf/x86/cstate: Add Tremont support
perf/x86/msr: Add Tremont support

Keith Busch (1):
nvme/pci: move cqe check after device shutdown

Krishnamraju Eraparaju (1):
RDMA/siw: Remove unwanted WARN_ON in siw_cm_llp_data_ready()

Kuninori Morimoto (1):
ARM: dts: sti: fixup sound frame-inversion for stihxxx-b2120.dtsi

Lijun Ou (1):
RDMA/hns: Bugfix for posting a wqe with sge

Linus Walleij (1):
thermal: db8500: Depromote debug print

Masahiro Yamada (5):
kbuild: fix DT binding schema rule to detect command line changes
kbuild: remove header compile test
kbuild: move headers_check rule to usr/include/Makefile
kbuild: remove unneeded variable, single-all
kbuild: make single target builds even faster

Masami Hiramatsu (1):
kprobes: Set unoptimized flag after unoptimizing code

Matteo Croce (1):
netfilter: nf_flowtable: fix documentation

Michael Ellerman (1):
selftests: Install settings files to fix TIMEOUT failures

Michal Kalderon (1):
qede: Fix race between rdma destroy workqueue and link change event

Mika Westerberg (2):
ACPICA: Introduce ACPI_ACCESS_BYTE_WIDTH() macro
ACPI: watchdog: Fix gas->access_width usage

Neeraj Upadhyay (1):
rcu: Allow only one expedited GP to run concurrently with wakeups

Nigel Kirkland (1):
nvme: prevent warning triggered by nvme_stop_keep_alive

Nikolay Aleksandrov (1):
net: netlink: cap max groups which will be considered in netlink_bind()

Oliver Upton (1):
KVM: VMX: check descriptor table exits on instruction emulation

Orson Zhai (1):
Revert "PM / devfreq: Modify the device name as devfreq(X) for sysfs"

Paolo Abeni (1):
Revert "net: dev: introduce support for sch BYPASS for lockless qdisc"

Paul Moore (2):
audit: fix error handling in audit_data_to_entry()
audit: always check the netlink payload length in audit_receive_msg()

Pavel Belous (2):
net: atlantic: fix use after free kasan warn
net: atlantic: fix potential error handling

Peter Chen (1):
usb: charger: assign specific number for enum value

Peter Zijlstra (Intel) (1):
timers/nohz: Update NOHZ load in remote tick

Rafael J. Wysocki (1):
cpufreq: Fix policy initialization for internal governor drivers

Rohit Maheshwari (1):
net/tls: Fix to avoid gettig invalid tls record

Sameeh Jubran (3):
net: ena: rss: do not allocate key when not supported
net: ena: rss: fix failure to get indirection table
net: ena: ethtool: use correct value for crc32 hash

Sameer Pujar (1):
bus: tegra-aconnect: Remove PM_CLK dependency

Scott Wood (1):
sched/core: Don't skip remote tick for idle CPUs

Sean Christopherson (3):
KVM: Check for a bad hva before dropping into the ghc slow path
KVM: x86: Remove spurious kvm_mmu_unload() from vcpu destruction path
KVM: x86: Remove spurious clearing of async #PF MSR

Sean Paul (1):
drm/msm: Set dma maximum segment size for mdss

Sergey Matyukevich (2):
cfg80211: check wiphy driver existence for drvinfo report
cfg80211: add missing policy for NL80211_ATTR_STATUS_CODE

Shay Bar (1):

      mac80211: fix wrong 160/80+80 MHz setting

Shirish S (1):
amdgpu/gmc_v9: save/restore sdpif regs during S3

Steven Rostedt (VMware) (1):
tracing: Disable trace_printk() on post poned tests

Sung Lee (1):
drm/amd/display: Do not set optimized_require to false after plane disable

Taehee Yoo (3):
bonding: add missing netdev_update_lockdep_key()
net: export netdev_next_lower_dev_rcu()
bonding: fix lockdep warning in bond_get_stats()

Thierry Reding (1):
soc/tegra: fuse: Fix build with Tegra194 configuration

Thomas Gleixner (2):
lib/vdso: Make __arch_update_vdso_data() logic understandable lib/vdso: Update coarse timekeeper unconditionally

Tina Zhang (2):
drm/i915/gvt: Fix orphan vgpu dmabuf_objs' lifetime drm/i915/gvt: Separate display reset from ALL_ENGINES reset

Tom Lendacky (1):
KVM: SVM: Override default MMIO mask if memory encryption is enabled

Trond Myklebust (1):
NFSv4: Fix races between open and dentry revalidation

Ursula Braun (2):
net/smc: transfer fasync_list in case of fallback net/smc: no peer ID in CLC decline for SMCD

Uwe Kleine-König (1):
pwm: omap-dmtimer: put_device() after of_find_device_by_node()

Vasundhara Volam (2):
bnxt_en: Improve device shutdown method.
bnxt_en: Issue PCIe FLR in kdump kernel to cleanup pending DMAs.

Vincent Guittot (1):
sched/fair: Prevent unlimited runtime on throttled group

Vlastimil Babka (1):
mm/debug.c: always print flags in dump_page()

Waiman Long (1):
locking/lockdep: Fix lockdep_stats indentation problem

Wei Yang (1):
mm/huge_memory.c: use head to check huge zero page

Willem de Bruijn (1):
udp: rehash on disconnect

Wolfram Sang (2):
macintosh: therm_windtunnel: fix regression when instantiating devices
i2c: jz4780: silence log flood on txabrt

Xiaochen Shen (1):
x86/resctrl: Check monitoring static key in the MBM overflow handler

Xin Long (2):
sctp: move the format error check out of __sctp_sf_do_9_1_abort
netfilter: nft_tunnel: no need to call htons() when dumping ports

Xiubo Li (1):
ceph: do not execute direct write in parallel if O_APPEND is specified

Yixian Liu (1):
RDMA/hns: Simplify the calculation and usage of wqe idx for post verbs

Yongqiang Sun (1):
drm/amd/display: Limit minimum DPPCLK to 100MHz.

Yufeng Mo (1):
net: hns3: add management table after IMP reset

[email protected] (1):
HID: hiddev: Fix race in in hiddev_disconnect()

author maintainer
#1 lore raw
Documentation/kbuild/makefiles.rst +0 -17
index b89c88168d6a..b9b50553bfc5 100644
@@ -1115,23 +1115,6 @@ When kbuild executes, the following steps are followed (roughly):
 	In this example, extra-y is used to list object files that
 	shall be built, but shall not be linked as part of built-in.a.
 
-    header-test-y
-
-	header-test-y specifies headers (`*.h`) in the current directory that
-	should be compile tested to ensure they are self-contained,
-	i.e. compilable as standalone units. If CONFIG_HEADER_TEST is enabled,
-	this builds them as part of extra-y.
-
-    header-test-pattern-y
-
-	This works as a weaker version of header-test-y, and accepts wildcard
-	patterns. The typical usage is::
-
-		header-test-pattern-y += *.h
-
-	This specifies all the files that matches to `*.h` in the current
-	directory, but the files in 'header-test-' are excluded.
-
 6.7 Commands useful for building a boot image
 ---------------------------------------------
 
Documentation/networking/nf_flowtable.txt +1 -1
index ca2136c76042..0bf32d1121be 100644
@@ -76,7 +76,7 @@ flowtable and add one rule to your forward chain.
 
         table inet x {
 		flowtable f {
-			hook ingress priority 0 devices = { eth0, eth1 };
+			hook ingress priority 0; devices = { eth0, eth1 };
 		}
                 chain y {
                         type filter hook forward priority 0; policy accept;
Makefile +51 -55

154 lines not on this page · raw message

arch/arm/boot/dts/stihxxx-b2120.dtsi +1 -1
index 60e11045ad76..d051f080e52e 100644
@@ -46,7 +46,7 @@
 			/* DAC */
 			format = "i2s";
 			mclk-fs = <256>;
-			frame-inversion = <1>;
+			frame-inversion;
 			cpu {
 				sound-dai = <&sti_uni_player2>;
 			};
arch/mips/kernel/vpe.c +1 -1
index 6176b9acba95..d0d832ab3d3b 100644
@@ -134,7 +134,7 @@ void release_vpe(struct vpe *v)
 {
 	list_del(&v->list);
 	if (v->load_addr)
-		release_progmem(v);
+		release_progmem(v->load_addr);
 	kfree(v);
 }
 
arch/x86/events/intel/core.c +1 -0
index fcef678c3423..c531e3f3269e 100644
@@ -4746,6 +4746,7 @@ __init int intel_pmu_init(void)
 		break;
 
 	case INTEL_FAM6_ATOM_TREMONT_D:
+	case INTEL_FAM6_ATOM_TREMONT:
 		x86_pmu.late_ack = true;
 		memcpy(hw_cache_event_ids, glp_hw_cache_event_ids,
 		       sizeof(hw_cache_event_ids));
arch/x86/events/intel/cstate.c +13 -9
index e1daf4151e11..4814c964692c 100644
@@ -40,17 +40,18 @@
  * Model specific counters:
  *	MSR_CORE_C1_RES: CORE C1 Residency Counter
  *			 perf code: 0x00
- *			 Available model: SLM,AMT,GLM,CNL
+ *			 Available model: SLM,AMT,GLM,CNL,TNT
  *			 Scope: Core (each processor core has a MSR)
  *	MSR_CORE_C3_RESIDENCY: CORE C3 Residency Counter
  *			       perf code: 0x01
  *			       Available model: NHM,WSM,SNB,IVB,HSW,BDW,SKL,GLM,
- *						CNL,KBL,CML
+ *						CNL,KBL,CML,TNT
  *			       Scope: Core
  *	MSR_CORE_C6_RESIDENCY: CORE C6 Residency Counter
  *			       perf code: 0x02
  *			       Available model: SLM,AMT,NHM,WSM,SNB,IVB,HSW,BDW,
- *						SKL,KNL,GLM,CNL,KBL,CML,ICL,TGL
+ *						SKL,KNL,GLM,CNL,KBL,CML,ICL,TGL,
+ *						TNT
  *			       Scope: Core
  *	MSR_CORE_C7_RESIDENCY: CORE C7 Residency Counter
  *			       perf code: 0x03
@@ -60,17 +61,18 @@
  *	MSR_PKG_C2_RESIDENCY:  Package C2 Residency Counter.
  *			       perf code: 0x00
  *			       Available model: SNB,IVB,HSW,BDW,SKL,KNL,GLM,CNL,
- *						KBL,CML,ICL,TGL
+ *						KBL,CML,ICL,TGL,TNT
  *			       Scope: Package (physical package)
  *	MSR_PKG_C3_RESIDENCY:  Package C3 Residency Counter.
  *			       perf code: 0x01
  *			       Available model: NHM,WSM,SNB,IVB,HSW,BDW,SKL,KNL,
- *						GLM,CNL,KBL,CML,ICL,TGL
+ *						GLM,CNL,KBL,CML,ICL,TGL,TNT
  *			       Scope: Package (physical package)
  *	MSR_PKG_C6_RESIDENCY:  Package C6 Residency Counter.
  *			       perf code: 0x02
- *			       Available model: SLM,AMT,NHM,WSM,SNB,IVB,HSW,BDW
- *						SKL,KNL,GLM,CNL,KBL,CML,ICL,TGL
+ *			       Available model: SLM,AMT,NHM,WSM,SNB,IVB,HSW,BDW,
+ *						SKL,KNL,GLM,CNL,KBL,CML,ICL,TGL,
+ *						TNT
  *			       Scope: Package (physical package)
  *	MSR_PKG_C7_RESIDENCY:  Package C7 Residency Counter.
  *			       perf code: 0x03
@@ -87,7 +89,8 @@
  *			       Scope: Package (physical package)
  *	MSR_PKG_C10_RESIDENCY: Package C10 Residency Counter.
  *			       perf code: 0x06
- *			       Available model: HSW ULT,KBL,GLM,CNL,CML,ICL,TGL
+ *			       Available model: HSW ULT,KBL,GLM,CNL,CML,ICL,TGL,
+ *						TNT
  *			       Scope: Package (physical package)
  *
  */
@@ -640,8 +643,9 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
 
 	X86_CSTATES_MODEL(INTEL_FAM6_ATOM_GOLDMONT,   glm_cstates),
 	X86_CSTATES_MODEL(INTEL_FAM6_ATOM_GOLDMONT_D, glm_cstates),
-
 	X86_CSTATES_MODEL(INTEL_FAM6_ATOM_GOLDMONT_PLUS, glm_cstates),
+	X86_CSTATES_MODEL(INTEL_FAM6_ATOM_TREMONT_D, glm_cstates),
+	X86_CSTATES_MODEL(INTEL_FAM6_ATOM_TREMONT, glm_cstates),
 
 	X86_CSTATES_MODEL(INTEL_FAM6_ICELAKE_L, icl_cstates),
 	X86_CSTATES_MODEL(INTEL_FAM6_ICELAKE,   icl_cstates),
arch/x86/events/msr.c +2 -1
index 6f86650b3f77..a949f6f55991 100644
@@ -75,8 +75,9 @@ static bool test_intel(int idx, void *data)
 
 	case INTEL_FAM6_ATOM_GOLDMONT:
 	case INTEL_FAM6_ATOM_GOLDMONT_D:
-
 	case INTEL_FAM6_ATOM_GOLDMONT_PLUS:
+	case INTEL_FAM6_ATOM_TREMONT_D:
+	case INTEL_FAM6_ATOM_TREMONT:
 
 	case INTEL_FAM6_XEON_PHI_KNL:
 	case INTEL_FAM6_XEON_PHI_KNM:
arch/x86/kernel/cpu/resctrl/internal.h +1 -0
index e49b77283924..181c992f448c 100644
@@ -57,6 +57,7 @@ static inline struct rdt_fs_context *rdt_fc2context(struct fs_context *fc)
 }
 
 DECLARE_STATIC_KEY_FALSE(rdt_enable_key);
+DECLARE_STATIC_KEY_FALSE(rdt_mon_enable_key);
 
 /**
  * struct mon_evt - Entry in the event list of a resource
arch/x86/kernel/cpu/resctrl/monitor.c +2 -2
index 397206f23d14..773124b0e18a 100644
@@ -514,7 +514,7 @@ void mbm_handle_overflow(struct work_struct *work)
 
 	mutex_lock(&rdtgroup_mutex);
 
-	if (!static_branch_likely(&rdt_enable_key))
+	if (!static_branch_likely(&rdt_mon_enable_key))
 		goto out_unlock;
 
 	d = get_domain_from_cpu(cpu, &rdt_resources_all[RDT_RESOURCE_L3]);
@@ -543,7 +543,7 @@ void mbm_setup_overflow_handler(struct rdt_domain *dom, unsigned long delay_ms)
 	unsigned long delay = msecs_to_jiffies(delay_ms);
 	int cpu;
 
-	if (!static_branch_likely(&rdt_enable_key))
+	if (!static_branch_likely(&rdt_mon_enable_key))
 		return;
 	cpu = cpumask_any(&dom->cpu_mask);
 	dom->mbm_work_cpu = cpu;
arch/x86/kvm/svm.c +43 -0

55 lines not on this page · raw message

arch/x86/kvm/vmx/nested.c +31 -39

111 lines not on this page · raw message

arch/x86/kvm/vmx/vmx.c +15 -0
index 8ebcd9de87a2..8129b6b27c93 100644
@@ -7165,6 +7165,7 @@ static int vmx_check_intercept_io(struct kvm_vcpu *vcpu,
 	else
 		intercept = nested_vmx_check_io_bitmaps(vcpu, port, size);
 
+	/* FIXME: produce nested vmexit and return X86EMUL_INTERCEPTED.  */
 	return intercept ? X86EMUL_UNHANDLEABLE : X86EMUL_CONTINUE;
 }
 
@@ -7194,6 +7195,20 @@ static int vmx_check_intercept(struct kvm_vcpu *vcpu,
 	case x86_intercept_outs:
 		return vmx_check_intercept_io(vcpu, info);
 
+	case x86_intercept_lgdt:
+	case x86_intercept_lidt:
+	case x86_intercept_lldt:
+	case x86_intercept_ltr:
+	case x86_intercept_sgdt:
+	case x86_intercept_sidt:
+	case x86_intercept_sldt:
+	case x86_intercept_str:
+		if (!nested_cpu_has2(vmcs12, SECONDARY_EXEC_DESC))
+			return X86EMUL_CONTINUE;
+
+		/* FIXME: produce nested vmexit and return X86EMUL_INTERCEPTED.  */
+		break;
+
 	/* TODO: check more intercepts... */
 	default:
 		break;
arch/x86/kvm/x86.c +0 -6
index 95180d67d570..c5e15eba8052 100644
@@ -9192,12 +9192,6 @@ void kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu)
 
 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu)
 {
-	vcpu->arch.apf.msr_val = 0;
-
-	vcpu_load(vcpu);
-	kvm_mmu_unload(vcpu);
-	vcpu_put(vcpu);
-
 	kvm_arch_vcpu_free(vcpu);
 }
 
drivers/acpi/acpi_watchdog.c +1 -2
index b5516b04ffc0..d827a4a3e946 100644
@@ -126,12 +126,11 @@ void __init acpi_watchdog_init(void)
 		gas = &entries[i].register_region;
 
 		res.start = gas->address;
+		res.end = res.start + ACPI_ACCESS_BYTE_WIDTH(gas->access_width) - 1;
 		if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) {
 			res.flags = IORESOURCE_MEM;
-			res.end = res.start + ALIGN(gas->access_width, 4) - 1;
 		} else if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_IO) {
 			res.flags = IORESOURCE_IO;
-			res.end = res.start + gas->access_width - 1;
 		} else {
 			pr_warn("Unsupported address space: %u\n",
 				gas->space_id);
drivers/bus/Kconfig +0 -1
index 6b331061d34b..47c2bb444ab4 100644
@@ -138,7 +138,6 @@ config TEGRA_ACONNECT
 	tristate "Tegra ACONNECT Bus Driver"
 	depends on ARCH_TEGRA_210_SOC
 	depends on OF && PM
-	select PM_CLK
 	help
 	  Driver for the Tegra ACONNECT bus which is used to interface with
 	  the devices inside the Audio Processing Engine (APE) for Tegra210.
drivers/char/ipmi/ipmi_ssif.c +7 -3
index 22c6a2e61236..8ac390c2b514 100644
@@ -775,10 +775,14 @@ static void msg_done_handler(struct ssif_info *ssif_info, int result,
 	flags = ipmi_ssif_lock_cond(ssif_info, &oflags);
 	msg = ssif_info->curr_msg;
 	if (msg) {
+		if (data) {
+			if (len > IPMI_MAX_MSG_LENGTH)
+				len = IPMI_MAX_MSG_LENGTH;
+			memcpy(msg->rsp, data, len);
+		} else {
+			len = 0;
+		}
 		msg->rsp_size = len;
-		if (msg->rsp_size > IPMI_MAX_MSG_LENGTH)
-			msg->rsp_size = IPMI_MAX_MSG_LENGTH;
-		memcpy(msg->rsp, data, msg->rsp_size);
 		ssif_info->curr_msg = NULL;
 	}
 
drivers/cpufreq/cpufreq.c +10 -2
index 7679f8a91745..35f8e098e9fa 100644
@@ -1071,9 +1071,17 @@ static int cpufreq_init_policy(struct cpufreq_policy *policy)
 			pol = policy->last_policy;
 		} else if (def_gov) {
 			pol = cpufreq_parse_policy(def_gov->name);
-		} else {
-			return -ENODATA;
+			/*
+			 * In case the default governor is neiter "performance"
+			 * nor "powersave", fall back to the initial policy
+			 * value set by the driver.
+			 */
+			if (pol == CPUFREQ_POLICY_UNKNOWN)
+				pol = policy->policy;
 		}
+		if (pol != CPUFREQ_POLICY_PERFORMANCE &&
+		    pol != CPUFREQ_POLICY_POWERSAVE)
+			return -ENODATA;
 	}
 
 	return cpufreq_set_policy(policy, gov, pol);
drivers/devfreq/devfreq.c +1 -3
index 174795ecbd3b..ff81b7cdab71 100644
@@ -613,7 +613,6 @@ struct devfreq *devfreq_add_device(struct device *dev,
 {
 	struct devfreq *devfreq;
 	struct devfreq_governor *governor;
-	static atomic_t devfreq_no = ATOMIC_INIT(-1);
 	int err = 0;
 
 	if (!dev || !profile || !governor_name) {
@@ -677,8 +676,7 @@ struct devfreq *devfreq_add_device(struct device *dev,
 	devfreq->suspend_freq = dev_pm_opp_get_suspend_opp_freq(dev);
 	atomic_set(&devfreq->suspend_count, 0);
 
-	dev_set_name(&devfreq->dev, "devfreq%d",
-				atomic_inc_return(&devfreq_no));
+	dev_set_name(&devfreq->dev, "%s", dev_name(dev));
 	err = device_register(&devfreq->dev);
 	if (err) {
 		mutex_unlock(&devfreq->lock);
drivers/edac/skx_common.c +1 -1
index d8ff63d91b86..a04349c6d17e 100644
@@ -235,7 +235,7 @@ int skx_get_hi_lo(unsigned int did, int off[], u64 *tolm, u64 *tohm)
 
 	pdev = pci_get_device(PCI_VENDOR_ID_INTEL, did, NULL);
 	if (!pdev) {
-		skx_printk(KERN_ERR, "Can't get tolm/tohm\n");
+		edac_dbg(2, "Can't get tolm/tohm\n");
 		return -ENODEV;
 	}
 
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +1 -1
index bb9a2771a0f9..05d114a72ca1 100644
@@ -1421,7 +1421,7 @@ amdgpu_get_crtc_scanout_position(struct drm_device *dev, unsigned int pipe,
 
 static struct drm_driver kms_driver = {
 	.driver_features =
-	    DRIVER_USE_AGP | DRIVER_ATOMIC |
+	    DRIVER_ATOMIC |
 	    DRIVER_GEM |
 	    DRIVER_RENDER | DRIVER_MODESET | DRIVER_SYNCOBJ,
 	.load = amdgpu_driver_load_kms,
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h +1 -0
index aef6c396bd58..8c0ac66d31d0 100644
@@ -157,6 +157,7 @@ struct amdgpu_gmc {
 	uint32_t                srbm_soft_reset;
 	bool			prt_warning;
 	uint64_t		stolen_size;
+	uint32_t		sdpif_register;
 	/* apertures */
 	u64			shared_aperture_start;
 	u64			shared_aperture_end;
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +36 -1
index d7caca042173..da53a55bf955 100644
@@ -1382,6 +1382,19 @@ static void gmc_v9_0_init_golden_registers(struct amdgpu_device *adev)
 	}
 }
 
+/**
+ * gmc_v9_0_restore_registers - restores regs
+ *
+ * @adev: amdgpu_device pointer
+ *
+ * This restores register values, saved at suspend.
+ */
+static void gmc_v9_0_restore_registers(struct amdgpu_device *adev)
+{
+	if (adev->asic_type == CHIP_RAVEN)
+		WREG32(mmDCHUBBUB_SDPIF_MMIO_CNTRL_0, adev->gmc.sdpif_register);
+}
+
 /**
  * gmc_v9_0_gart_enable - gart enable
  *
@@ -1478,6 +1491,20 @@ static int gmc_v9_0_hw_init(void *handle)
 	return r;
 }
 
+/**
+ * gmc_v9_0_save_registers - saves regs
+ *
+ * @adev: amdgpu_device pointer
+ *
+ * This saves potential register values that should be
+ * restored upon resume
+ */
+static void gmc_v9_0_save_registers(struct amdgpu_device *adev)
+{
+	if (adev->asic_type == CHIP_RAVEN)
+		adev->gmc.sdpif_register = RREG32(mmDCHUBBUB_SDPIF_MMIO_CNTRL_0);
+}
+
 /**
  * gmc_v9_0_gart_disable - gart disable
  *
@@ -1514,9 +1541,16 @@ static int gmc_v9_0_hw_fini(void *handle)
 
 static int gmc_v9_0_suspend(void *handle)
 {
+	int r;
 	struct amdgpu_device *adev = (struct amdgpu_device *)handle;
 
-	return gmc_v9_0_hw_fini(adev);
+	r = gmc_v9_0_hw_fini(adev);
+	if (r)
+		return r;
+
+	gmc_v9_0_save_registers(adev);
+
+	return 0;
 }
 
 static int gmc_v9_0_resume(void *handle)
@@ -1524,6 +1558,7 @@ static int gmc_v9_0_resume(void *handle)
 	int r;
 	struct amdgpu_device *adev = (struct amdgpu_device *)handle;
 
+	gmc_v9_0_restore_registers(adev);
 	r = gmc_v9_0_hw_init(adev);
 	if (r)
 		return r;
drivers/gpu/drm/amd/display/dc/clk_mgr/Makefile +6 -0
index b864869cc7e3..6fa7422c51da 100644
@@ -91,6 +91,12 @@ ifdef CONFIG_DRM_AMD_DC_DCN2_1
 ###############################################################################
 CLK_MGR_DCN21 = rn_clk_mgr.o rn_clk_mgr_vbios_smu.o
 
+# prevent build errors regarding soft-float vs hard-float FP ABI tags
+# this code is currently unused on ppc64, as it applies to Renoir APUs only
+ifdef CONFIG_PPC64
+CFLAGS_$(AMDDALPATH)/dc/clk_mgr/dcn21/rn_clk_mgr.o := $(call cc-option,-mno-gnu-attribute)
+endif
+
 AMD_DAL_CLK_MGR_DCN21 = $(addprefix $(AMDDALPATH)/dc/clk_mgr/dcn21/,$(CLK_MGR_DCN21))
 
 AMD_DISPLAY_FILES += $(AMD_DAL_CLK_MGR_DCN21)
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c +6 -0
index 787f94d815f4..dd92f9c295b4 100644
@@ -91,6 +91,12 @@ void rn_update_clocks(struct clk_mgr *clk_mgr_base,
 		rn_vbios_smu_set_min_deep_sleep_dcfclk(clk_mgr, clk_mgr_base->clks.dcfclk_deep_sleep_khz);
 	}
 
+	// workaround: Limit dppclk to 100Mhz to avoid lower eDP panel switch to plus 4K monitor underflow.
+	if (!IS_DIAG_DC(dc->ctx->dce_environment)) {
+		if (new_clocks->dppclk_khz < 100000)
+			new_clocks->dppclk_khz = 100000;
+	}
+
 	if (should_set_clock(safe_to_lower, new_clocks->dppclk_khz, clk_mgr->base.clks.dppclk_khz)) {
 		if (clk_mgr->base.clks.dppclk_khz > new_clocks->dppclk_khz)
 			dpp_clock_lowered = true;
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c +1 -1
index c3f9f4185ce8..cf877238fff9 100644
@@ -386,7 +386,7 @@ static bool acquire(
 {
 	enum gpio_result result;
 
-	if (!is_engine_available(engine))
+	if ((engine == NULL) || !is_engine_available(engine))
 		return false;
 
 	result = dal_ddc_open(ddc, GPIO_MODE_HARDWARE,
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c +0 -1
index 937a8ba81160..e933f6a369f9 100644
@@ -493,7 +493,6 @@ static void dcn20_plane_atomic_disable(struct dc *dc, struct pipe_ctx *pipe_ctx)
 	dpp->funcs->dpp_dppclk_control(dpp, false, false);
 
 	hubp->power_gated = true;
-	dc->optimized_required = false; /* We're powering off, no need to optimize */
 
 	dc->hwss.plane_atomic_power_down(dc,
 			pipe_ctx->plane_res.dpp,
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c +6 -0
index b0e5e64df212..161bf7caf3ae 100644
@@ -57,6 +57,7 @@
 #include "dcn20/dcn20_dccg.h"
 #include "dcn21_hubbub.h"
 #include "dcn10/dcn10_resource.h"
+#include "dce110/dce110_resource.h"
 
 #include "dcn20/dcn20_dwb.h"
 #include "dcn20/dcn20_mmhubbub.h"
@@ -824,6 +825,7 @@ static const struct dc_debug_options debug_defaults_diags = {
 enum dcn20_clk_src_array_id {
 	DCN20_CLK_SRC_PLL0,
 	DCN20_CLK_SRC_PLL1,
+	DCN20_CLK_SRC_PLL2,
 	DCN20_CLK_SRC_TOTAL_DCN21
 };
 
@@ -1492,6 +1494,10 @@ static bool construct(
 			dcn21_clock_source_create(ctx, ctx->dc_bios,
 				CLOCK_SOURCE_COMBO_PHY_PLL1,
 				&clk_src_regs[1], false);
+	pool->base.clock_sources[DCN20_CLK_SRC_PLL2] =
+			dcn21_clock_source_create(ctx, ctx->dc_bios,
+				CLOCK_SOURCE_COMBO_PHY_PLL2,
+				&clk_src_regs[2], false);
 
 	pool->base.clk_src_count = DCN20_CLK_SRC_TOTAL_DCN21;
 
drivers/gpu/drm/amd/include/asic_reg/dce/dce_12_0_offset.h +2 -0
index b6f74bf4af02..27bb8c1ab858 100644
@@ -7376,6 +7376,8 @@
 #define mmCRTC4_CRTC_DRR_CONTROL                                                                       0x0f3e
 #define mmCRTC4_CRTC_DRR_CONTROL_BASE_IDX                                                              2
 
+#define mmDCHUBBUB_SDPIF_MMIO_CNTRL_0                                                                  0x395d
+#define mmDCHUBBUB_SDPIF_MMIO_CNTRL_0_BASE_IDX                                                         2
 
 // addressBlock: dce_dc_fmt4_dispdec
 // base address: 0x2000
drivers/gpu/drm/i915/Kconfig.debug +0 -1
index 00786a142ff0..41c8e39a73ba 100644
@@ -7,7 +7,6 @@ config DRM_I915_WERROR
         # We use the dependency on !COMPILE_TEST to not be enabled in
         # allmodconfig or allyesconfig configurations
         depends on !COMPILE_TEST
-	select HEADER_TEST
         default n
         help
           Add -Werror to the build flags for (and only for) i915.ko.
drivers/gpu/drm/i915/gvt/dmabuf.c +1 -1
index 4bfaefdf548d..c0347956f7cf 100644
@@ -96,12 +96,12 @@ static void dmabuf_gem_object_free(struct kref *kref)
 			dmabuf_obj = container_of(pos,
 					struct intel_vgpu_dmabuf_obj, list);
 			if (dmabuf_obj == obj) {
+				list_del(pos);
 				intel_gvt_hypervisor_put_vfio_device(vgpu);
 				idr_remove(&vgpu->object_idr,
 					   dmabuf_obj->dmabuf_id);
 				kfree(dmabuf_obj->info);
 				kfree(dmabuf_obj);
-				list_del(pos);
 				break;
 			}
 		}
drivers/gpu/drm/i915/gvt/vgpu.c +1 -1
index d5a6e4e3d0fd..b232965b45b5 100644
@@ -560,9 +560,9 @@ void intel_gvt_reset_vgpu_locked(struct intel_vgpu *vgpu, bool dmlr,
 
 		intel_vgpu_reset_mmio(vgpu, dmlr);
 		populate_pvinfo_page(vgpu);
-		intel_vgpu_reset_display(vgpu);
 
 		if (dmlr) {
+			intel_vgpu_reset_display(vgpu);
 			intel_vgpu_reset_cfg_space(vgpu);
 			/* only reset the failsafe mode when dmlr reset */
 			vgpu->failsafe = false;
drivers/gpu/drm/msm/msm_drv.c +8 -0
index c84f0a8b3f2c..b73fbb65e14b 100644
@@ -441,6 +441,14 @@ static int msm_drm_init(struct device *dev, struct drm_driver *drv)
 	if (ret)
 		goto err_msm_uninit;
 
+	if (!dev->dma_parms) {
+		dev->dma_parms = devm_kzalloc(dev, sizeof(*dev->dma_parms),
+					      GFP_KERNEL);
+		if (!dev->dma_parms)
+			return -ENOMEM;
+	}
+	dma_set_max_seg_size(dev, DMA_BIT_MASK(32));
+
 	msm_gem_shrinker_init(ddev);
 
 	switch (get_mdp_ver(pdev)) {
drivers/gpu/drm/radeon/radeon_drv.c +41 -2

67 lines not on this page · raw message

drivers/gpu/drm/radeon/radeon_kms.c +6 -0
index e85c554eeaa9..2bb0187c5bc7 100644
@@ -31,6 +31,7 @@
 #include <linux/uaccess.h>
 #include <linux/vga_switcheroo.h>
 
+#include <drm/drm_agpsupport.h>
 #include <drm/drm_fb_helper.h>
 #include <drm/drm_file.h>
 #include <drm/drm_ioctl.h>
@@ -77,6 +78,11 @@ void radeon_driver_unload_kms(struct drm_device *dev)
 	radeon_modeset_fini(rdev);
 	radeon_device_fini(rdev);
 
+	if (dev->agp)
+		arch_phys_wc_del(dev->agp->agp_mtrr);
+	kfree(dev->agp);
+	dev->agp = NULL;
+
 done_free:
 	kfree(rdev);
 	dev->dev_private = NULL;
drivers/hid/hid-alps.c +1 -1
index ae79a7c66737..fa704153cb00 100644
@@ -730,7 +730,7 @@ static int alps_input_configured(struct hid_device *hdev, struct hid_input *hi)
 	if (data->has_sp) {
 		input2 = input_allocate_device();
 		if (!input2) {
-			input_free_device(input2);
+			ret = -ENOMEM;
 			goto exit;
 		}
 
drivers/hid/hid-core.c +3 -1
index 851fe54ea59e..359616e3efbb 100644
@@ -1741,7 +1741,9 @@ int hid_report_raw_event(struct hid_device *hid, int type, u8 *data, u32 size,
 
 	rsize = ((report->size - 1) >> 3) + 1;
 
-	if (rsize > HID_MAX_BUFFER_SIZE)
+	if (report_enum->numbered && rsize >= HID_MAX_BUFFER_SIZE)
+		rsize = HID_MAX_BUFFER_SIZE - 1;
+	else if (rsize > HID_MAX_BUFFER_SIZE)
 		rsize = HID_MAX_BUFFER_SIZE;
 
 	if (csize < rsize) {
drivers/hid/hid-ite.c +3 -2
index c436e12feb23..6c55682c5974 100644
@@ -41,8 +41,9 @@ static const struct hid_device_id ite_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ITE, USB_DEVICE_ID_ITE8595) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_258A, USB_DEVICE_ID_258A_6A88) },
 	/* ITE8595 USB kbd ctlr, with Synaptics touchpad connected to it. */
-	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS,
-			 USB_DEVICE_ID_SYNAPTICS_ACER_SWITCH5_012) },
+	{ HID_DEVICE(BUS_USB, HID_GROUP_GENERIC,
+		     USB_VENDOR_ID_SYNAPTICS,
+		     USB_DEVICE_ID_SYNAPTICS_ACER_SWITCH5_012) },
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, ite_devices);
drivers/hid/usbhid/hiddev.c +1 -1
index c879b214a479..35b1fa6d962e 100644
@@ -941,9 +941,9 @@ void hiddev_disconnect(struct hid_device *hid)
 	hiddev->exist = 0;
 
 	if (hiddev->open) {
-		mutex_unlock(&hiddev->existancelock);
 		hid_hw_close(hiddev->hid);
 		wake_up_interruptible(&hiddev->wait);
+		mutex_unlock(&hiddev->existancelock);
 	} else {
 		mutex_unlock(&hiddev->existancelock);
 		kfree(hiddev);
drivers/i2c/busses/i2c-altera.c +1 -1
index 5255d3755411..1de23b4f3809 100644
@@ -171,7 +171,7 @@ static void altr_i2c_init(struct altr_i2c_dev *idev)
 	/* SCL Low Time */
 	writel(t_low, idev->base + ALTR_I2C_SCL_LOW);
 	/* SDA Hold Time, 300ns */
-	writel(div_u64(300 * clk_mhz, 1000), idev->base + ALTR_I2C_SDA_HOLD);
+	writel(3 * clk_mhz / 10, idev->base + ALTR_I2C_SDA_HOLD);
 
 	/* Mask all master interrupt bits */
 	altr_i2c_int_enable(idev, ALTR_I2C_ALL_IRQ, false);
drivers/i2c/busses/i2c-jz4780.c +2 -34
index 25dcd73acd63..8f0e1f802f2d 100644
@@ -73,25 +73,6 @@
 #define JZ4780_I2C_STA_TFNF		BIT(1)
 #define JZ4780_I2C_STA_ACT		BIT(0)
 
-static const char * const jz4780_i2c_abrt_src[] = {
-	"ABRT_7B_ADDR_NOACK",
-	"ABRT_10ADDR1_NOACK",
-	"ABRT_10ADDR2_NOACK",
-	"ABRT_XDATA_NOACK",
-	"ABRT_GCALL_NOACK",
-	"ABRT_GCALL_READ",
-	"ABRT_HS_ACKD",
-	"SBYTE_ACKDET",
-	"ABRT_HS_NORSTRT",
-	"SBYTE_NORSTRT",
-	"ABRT_10B_RD_NORSTRT",
-	"ABRT_MASTER_DIS",
-	"ARB_LOST",
-	"SLVFLUSH_TXFIFO",
-	"SLV_ARBLOST",
-	"SLVRD_INTX",
-};
-
 #define JZ4780_I2C_INTST_IGC		BIT(11)
 #define JZ4780_I2C_INTST_ISTT		BIT(10)
 #define JZ4780_I2C_INTST_ISTP		BIT(9)
@@ -529,21 +510,8 @@ static irqreturn_t jz4780_i2c_irq(int irqno, void *dev_id)
 
 static void jz4780_i2c_txabrt(struct jz4780_i2c *i2c, int src)
 {
-	int i;
-
-	dev_err(&i2c->adap.dev, "txabrt: 0x%08x\n", src);
-	dev_err(&i2c->adap.dev, "device addr=%x\n",
-		jz4780_i2c_readw(i2c, JZ4780_I2C_TAR));
-	dev_err(&i2c->adap.dev, "send cmd count:%d  %d\n",
-		i2c->cmd, i2c->cmd_buf[i2c->cmd]);
-	dev_err(&i2c->adap.dev, "receive data count:%d  %d\n",
-		i2c->cmd, i2c->data_buf[i2c->cmd]);
-
-	for (i = 0; i < 16; i++) {
-		if (src & BIT(i))
-			dev_dbg(&i2c->adap.dev, "I2C TXABRT[%d]=%s\n",
-				i, jz4780_i2c_abrt_src[i]);
-	}
+	dev_dbg(&i2c->adap.dev, "txabrt: 0x%08x, cmd: %d, send: %d, recv: %d\n",
+		src, i2c->cmd, i2c->cmd_buf[i2c->cmd], i2c->data_buf[i2c->cmd]);
 }
 
 static inline int jz4780_i2c_xfer_read(struct jz4780_i2c *i2c,
drivers/infiniband/hw/hns/hns_roce_device.h +1 -2
index 96d1302abde1..e36d31569081 100644
@@ -425,7 +425,7 @@ struct hns_roce_mr_table {
 struct hns_roce_wq {
 	u64		*wrid;     /* Work request ID */
 	spinlock_t	lock;
-	int		wqe_cnt;  /* WQE num */
+	u32		wqe_cnt;  /* WQE num */
 	u32		max_post;
 	int		max_gs;
 	int		offset;
@@ -658,7 +658,6 @@ struct hns_roce_qp {
 	u8			sdb_en;
 	u32			doorbell_qpn;
 	u32			sq_signal_bits;
-	u32			sq_next_wqe;
 	struct hns_roce_wq	sq;
 
 	struct ib_umem		*umem;
drivers/infiniband/hw/hns/hns_roce_hw_v1.c +16 -21
index 5f74bf55f471..a79fa67df871 100644
@@ -74,8 +74,8 @@ static int hns_roce_v1_post_send(struct ib_qp *ibqp,
 	unsigned long flags = 0;
 	void *wqe = NULL;
 	__le32 doorbell[2];
+	u32 wqe_idx = 0;
 	int nreq = 0;
-	u32 ind = 0;
 	int ret = 0;
 	u8 *smac;
 	int loopback;
@@ -88,7 +88,7 @@ static int hns_roce_v1_post_send(struct ib_qp *ibqp,
 	}
 
 	spin_lock_irqsave(&qp->sq.lock, flags);
-	ind = qp->sq_next_wqe;
+
 	for (nreq = 0; wr; ++nreq, wr = wr->next) {
 		if (hns_roce_wq_overflow(&qp->sq, nreq, qp->ibqp.send_cq)) {
 			ret = -ENOMEM;
@@ -96,6 +96,8 @@ static int hns_roce_v1_post_send(struct ib_qp *ibqp,
 			goto out;
 		}
 
+		wqe_idx = (qp->sq.head + nreq) & (qp->sq.wqe_cnt - 1);
+
 		if (unlikely(wr->num_sge > qp->sq.max_gs)) {
 			dev_err(dev, "num_sge=%d > qp->sq.max_gs=%d\n",
 				wr->num_sge, qp->sq.max_gs);
@@ -104,9 +106,8 @@ static int hns_roce_v1_post_send(struct ib_qp *ibqp,
 			goto out;
 		}
 
-		wqe = get_send_wqe(qp, ind & (qp->sq.wqe_cnt - 1));
-		qp->sq.wrid[(qp->sq.head + nreq) & (qp->sq.wqe_cnt - 1)] =
-								      wr->wr_id;
+		wqe = get_send_wqe(qp, wqe_idx);
+		qp->sq.wrid[wqe_idx] = wr->wr_id;
 
 		/* Corresponding to the RC and RD type wqe process separately */
 		if (ibqp->qp_type == IB_QPT_GSI) {
@@ -210,7 +211,6 @@ static int hns_roce_v1_post_send(struct ib_qp *ibqp,
 				       cpu_to_le32((wr->sg_list[1].addr) >> 32);
 			ud_sq_wqe->l_key1 =
 				       cpu_to_le32(wr->sg_list[1].lkey);
-			ind++;
 		} else if (ibqp->qp_type == IB_QPT_RC) {
 			u32 tmp_len = 0;
 
@@ -308,7 +308,6 @@ static int hns_roce_v1_post_send(struct ib_qp *ibqp,
 				ctrl->flag |= cpu_to_le32(wr->num_sge <<
 					      HNS_ROCE_WQE_SGE_NUM_BIT);
 			}
-			ind++;
 		}
 	}
 
@@ -336,7 +335,6 @@ static int hns_roce_v1_post_send(struct ib_qp *ibqp,
 		doorbell[1] = sq_db.u32_8;
 
 		hns_roce_write64_k(doorbell, qp->sq.db_reg_l);
-		qp->sq_next_wqe = ind;
 	}
 
 	spin_unlock_irqrestore(&qp->sq.lock, flags);
@@ -348,12 +346,6 @@ static int hns_roce_v1_post_recv(struct ib_qp *ibqp,
 				 const struct ib_recv_wr *wr,
 				 const struct ib_recv_wr **bad_wr)
 {
-	int ret = 0;
-	int nreq = 0;
-	int ind = 0;
-	int i = 0;
-	u32 reg_val;
-	unsigned long flags = 0;
 	struct hns_roce_rq_wqe_ctrl *ctrl = NULL;
 	struct hns_roce_wqe_data_seg *scat = NULL;
 	struct hns_roce_qp *hr_qp = to_hr_qp(ibqp);
@@ -361,9 +353,14 @@ static int hns_roce_v1_post_recv(struct ib_qp *ibqp,
 	struct device *dev = &hr_dev->pdev->dev;
 	struct hns_roce_rq_db rq_db;
 	__le32 doorbell[2] = {0};
+	unsigned long flags = 0;
+	unsigned int wqe_idx;
+	int ret = 0;
+	int nreq = 0;
+	int i = 0;
+	u32 reg_val;
 
 	spin_lock_irqsave(&hr_qp->rq.lock, flags);
-	ind = hr_qp->rq.head & (hr_qp->rq.wqe_cnt - 1);
 
 	for (nreq = 0; wr; ++nreq, wr = wr->next) {
 		if (hns_roce_wq_overflow(&hr_qp->rq, nreq,
@@ -373,6 +370,8 @@ static int hns_roce_v1_post_recv(struct ib_qp *ibqp,
 			goto out;
 		}
 
+		wqe_idx = (hr_qp->rq.head + nreq) & (hr_qp->rq.wqe_cnt - 1);
+
 		if (unlikely(wr->num_sge > hr_qp->rq.max_gs)) {
 			dev_err(dev, "rq:num_sge=%d > qp->sq.max_gs=%d\n",
 				wr->num_sge, hr_qp->rq.max_gs);
@@ -381,7 +380,7 @@ static int hns_roce_v1_post_recv(struct ib_qp *ibqp,
 			goto out;
 		}
 
-		ctrl = get_recv_wqe(hr_qp, ind);
+		ctrl = get_recv_wqe(hr_qp, wqe_idx);
 
 		roce_set_field(ctrl->rwqe_byte_12,
 			       RQ_WQE_CTRL_RWQE_BYTE_12_RWQE_SGE_NUM_M,
@@ -393,9 +392,7 @@ static int hns_roce_v1_post_recv(struct ib_qp *ibqp,
 		for (i = 0; i < wr->num_sge; i++)
 			set_data_seg(scat + i, wr->sg_list + i);
 
-		hr_qp->rq.wrid[ind] = wr->wr_id;
-
-		ind = (ind + 1) & (hr_qp->rq.wqe_cnt - 1);
+		hr_qp->rq.wrid[wqe_idx] = wr->wr_id;
 	}
 
 out:
@@ -2702,7 +2699,6 @@ static int hns_roce_v1_m_sqp(struct ib_qp *ibqp, const struct ib_qp_attr *attr,
 		hr_qp->rq.tail = 0;
 		hr_qp->sq.head = 0;
 		hr_qp->sq.tail = 0;
-		hr_qp->sq_next_wqe = 0;
 	}
 
 	kfree(context);
@@ -3316,7 +3312,6 @@ static int hns_roce_v1_m_qp(struct ib_qp *ibqp, const struct ib_qp_attr *attr,
 		hr_qp->rq.tail = 0;
 		hr_qp->sq.head = 0;
 		hr_qp->sq.tail = 0;
-		hr_qp->sq_next_wqe = 0;
 	}
 out:
 	kfree(context);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c +41 -39

240 lines not on this page · raw message

drivers/infiniband/sw/siw/siw_cm.c +2 -3
index 0454561718d9..31aa41d85ccf 100644
@@ -1225,10 +1225,9 @@ static void siw_cm_llp_data_ready(struct sock *sk)
 	read_lock(&sk->sk_callback_lock);
 
 	cep = sk_to_cep(sk);
-	if (!cep) {
-		WARN_ON(1);
+	if (!cep)
 		goto out;
-	}
+
 	siw_dbg_cep(cep, "state: %d\n", cep->state);
 
 	switch (cep->state) {
drivers/macintosh/therm_windtunnel.c +31 -21

90 lines not on this page · raw message

drivers/net/bonding/bond_main.c +52 -3

85 lines not on this page · raw message

drivers/net/bonding/bond_options.c +2 -0
index ddb3916d3506..215c10923289 100644
@@ -1398,6 +1398,8 @@ static int bond_option_slaves_set(struct bonding *bond,
 	case '-':
 		slave_dbg(bond->dev, dev, "Releasing interface\n");
 		ret = bond_release(bond->dev, dev);
+		if (!ret)
+			netdev_update_lockdep_key(dev);
 		break;
 
 	default:
drivers/net/dsa/b53/b53_common.c +3 -0
index 7ed667b304d1..d618650533b6 100644
@@ -1353,6 +1353,9 @@ void b53_vlan_add(struct dsa_switch *ds, int port,
 
 		b53_get_vlan_entry(dev, vid, vl);
 
+		if (vid == 0 && vid == b53_default_pvid(dev))
+			untagged = true;
+
 		vl->members |= BIT(port);
 		if (untagged && !dsa_is_cpu_port(ds, port))
 			vl->untag |= BIT(port);
drivers/net/ethernet/amazon/ena/ena_com.c +58 -38

144 lines not on this page · raw message

drivers/net/ethernet/amazon/ena/ena_com.h +9 -0
index 0ce37d54ed10..469f298199a7 100644
@@ -44,6 +44,7 @@
 #include <linux/spinlock.h>
 #include <linux/types.h>
 #include <linux/wait.h>
+#include <linux/netdevice.h>
 
 #include "ena_common_defs.h"
 #include "ena_admin_defs.h"
@@ -655,6 +656,14 @@ int ena_com_rss_init(struct ena_com_dev *ena_dev, u16 log_size);
  */
 void ena_com_rss_destroy(struct ena_com_dev *ena_dev);
 
+/* ena_com_get_current_hash_function - Get RSS hash function
+ * @ena_dev: ENA communication layer struct
+ *
+ * Return the current hash function.
+ * @return: 0 or one of the ena_admin_hash_functions values.
+ */
+int ena_com_get_current_hash_function(struct ena_com_dev *ena_dev);
+
 /* ena_com_fill_hash_function - Fill RSS hash function
  * @ena_dev: ENA communication layer struct
  * @func: The hash function (Toeplitz or crc)
drivers/net/ethernet/amazon/ena/ena_ethtool.c +43 -3

83 lines not on this page · raw message

drivers/net/ethernet/amazon/ena/ena_netdev.c +3 -3
index b4a145220aba..f0cddf250cfd 100644
@@ -3035,8 +3035,8 @@ static void check_for_missing_keep_alive(struct ena_adapter *adapter)
 	if (adapter->keep_alive_timeout == ENA_HW_HINTS_NO_TIMEOUT)
 		return;
 
-	keep_alive_expired = round_jiffies(adapter->last_keep_alive_jiffies +
-					   adapter->keep_alive_timeout);
+	keep_alive_expired = adapter->last_keep_alive_jiffies +
+			     adapter->keep_alive_timeout;
 	if (unlikely(time_is_before_jiffies(keep_alive_expired))) {
 		netif_err(adapter, drv, adapter->netdev,
 			  "Keep alive watchdog timeout.\n");
@@ -3138,7 +3138,7 @@ static void ena_timer_service(struct timer_list *t)
 	}
 
 	/* Reset the timer */
-	mod_timer(&adapter->timer_service, jiffies + HZ);
+	mod_timer(&adapter->timer_service, round_jiffies(jiffies + HZ));
 }
 
 static int ena_calc_io_queue_num(struct pci_dev *pdev,
drivers/net/ethernet/amazon/ena/ena_netdev.h +2 -0
index 72ee51a82ec7..dc02950a96b8 100644
@@ -127,6 +127,8 @@
 
 #define ENA_IO_TXQ_IDX(q)	(2 * (q))
 #define ENA_IO_RXQ_IDX(q)	(2 * (q) + 1)
+#define ENA_IO_TXQ_IDX_TO_COMBINED_IDX(q)	((q) / 2)
+#define ENA_IO_RXQ_IDX_TO_COMBINED_IDX(q)	(((q) - 1) / 2)
 
 #define ENA_MGMNT_IRQ_IDX		0
 #define ENA_IO_IRQ_FIRST_IDX		1
drivers/net/ethernet/apm/xgene/xgene_enet_main.c +1 -1
index d8612131c55e..cc8031ae9aa3 100644
@@ -2020,7 +2020,7 @@ static int xgene_enet_probe(struct platform_device *pdev)
 	int ret;
 
 	ndev = alloc_etherdev_mqs(sizeof(struct xgene_enet_pdata),
-				  XGENE_NUM_RX_RING, XGENE_NUM_TX_RING);
+				  XGENE_NUM_TX_RING, XGENE_NUM_RX_RING);
 	if (!ndev)
 		return -ENOMEM;
 
drivers/net/ethernet/aquantia/atlantic/aq_filters.c +1 -1
index aee827f07c16..01af0f028693 100644
@@ -158,7 +158,7 @@ aq_check_approve_fvlan(struct aq_nic_s *aq_nic,
 	}
 
 	if ((aq_nic->ndev->features & NETIF_F_HW_VLAN_CTAG_FILTER) &&
-	    (!test_bit(be16_to_cpu(fsp->h_ext.vlan_tci),
+	    (!test_bit(be16_to_cpu(fsp->h_ext.vlan_tci) & VLAN_VID_MASK,
 		       aq_nic->active_vlans))) {
 		netdev_err(aq_nic->ndev,
 			   "ethtool: unknown vlan-id specified");
drivers/net/ethernet/aquantia/atlantic/aq_nic.c +3 -5
index 137c1de4c6ec..12949f1ec1ea 100644
@@ -467,8 +467,10 @@ static unsigned int aq_nic_map_skb(struct aq_nic_s *self,
 				     dx_buff->len,
 				     DMA_TO_DEVICE);
 
-	if (unlikely(dma_mapping_error(aq_nic_get_dev(self), dx_buff->pa)))
+	if (unlikely(dma_mapping_error(aq_nic_get_dev(self), dx_buff->pa))) {
+		ret = 0;
 		goto exit;
+	}
 
 	first = dx_buff;
 	dx_buff->len_pkt = skb->len;
@@ -598,10 +600,6 @@ int aq_nic_xmit(struct aq_nic_s *self, struct sk_buff *skb)
 	if (likely(frags)) {
 		err = self->aq_hw_ops->hw_ring_tx_xmit(self->aq_hw,
 						       ring, frags);
-		if (err >= 0) {
-			++ring->stats.tx.packets;
-			ring->stats.tx.bytes += skb->len;
-		}
 	} else {
 		err = NETDEV_TX_BUSY;
 	}
drivers/net/ethernet/aquantia/atlantic/aq_ring.c +5 -2
index 76bdbe1596d6..03821b46a8cb 100644
@@ -243,9 +243,12 @@ bool aq_ring_tx_clean(struct aq_ring_s *self)
 			}
 		}
 
-		if (unlikely(buff->is_eop))
-			dev_kfree_skb_any(buff->skb);
+		if (unlikely(buff->is_eop)) {
+			++self->stats.rx.packets;
+			self->stats.tx.bytes += buff->skb->len;
 
+			dev_kfree_skb_any(buff->skb);
+		}
 		buff->pa = 0U;
 		buff->eop_index = 0xffffU;
 		self->sw_head = aq_ring_next_dx(self, self->sw_head);
drivers/net/ethernet/broadcom/bnxt/bnxt.c +10 -2
index 68618891b0e4..374e11a91790 100644
@@ -11712,6 +11712,14 @@ static int bnxt_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 	if (version_printed++ == 0)
 		pr_info("%s", version);
 
+	/* Clear any pending DMA transactions from crash kernel
+	 * while loading driver in capture kernel.
+	 */
+	if (is_kdump_kernel()) {
+		pci_clear_master(pdev);
+		pcie_flr(pdev);
+	}
+
 	max_irqs = bnxt_get_max_irq(pdev);
 	dev = alloc_etherdev_mq(sizeof(*bp), max_irqs);
 	if (!dev)
@@ -11908,10 +11916,10 @@ static void bnxt_shutdown(struct pci_dev *pdev)
 		dev_close(dev);
 
 	bnxt_ulp_shutdown(bp);
+	bnxt_clear_int_mode(bp);
+	pci_disable_device(pdev);
 
 	if (system_state == SYSTEM_POWER_OFF) {
-		bnxt_clear_int_mode(bp);
-		pci_disable_device(pdev);
 		pci_wake_from_d3(pdev, bp->wol);
 		pci_set_power_state(pdev, PCI_D3hot);
 	}
drivers/net/ethernet/cadence/macb_main.c +5 -1
index 95a94507cec1..234c13ebbc41 100644
@@ -3690,6 +3690,10 @@ static int at91ether_open(struct net_device *dev)
 	u32 ctl;
 	int ret;
 
+	ret = pm_runtime_get_sync(&lp->pdev->dev);
+	if (ret < 0)
+		return ret;
+
 	/* Clear internal statistics */
 	ctl = macb_readl(lp, NCR);
 	macb_writel(lp, NCR, ctl | MACB_BIT(CLRSTAT));
@@ -3750,7 +3754,7 @@ static int at91ether_close(struct net_device *dev)
 			  q->rx_buffers, q->rx_buffers_dma);
 	q->rx_buffers = NULL;
 
-	return 0;
+	return pm_runtime_put(&lp->pdev->dev);
 }
 
 /* Transmit packet */
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +16 -6
index 162881005a6d..c01cf8ef69df 100644
@@ -6003,6 +6003,9 @@ static int hclge_get_all_rules(struct hnae3_handle *handle,
 static void hclge_fd_get_flow_tuples(const struct flow_keys *fkeys,
 				     struct hclge_fd_rule_tuples *tuples)
 {
+#define flow_ip6_src fkeys->addrs.v6addrs.src.in6_u.u6_addr32
+#define flow_ip6_dst fkeys->addrs.v6addrs.dst.in6_u.u6_addr32
+
 	tuples->ether_proto = be16_to_cpu(fkeys->basic.n_proto);
 	tuples->ip_proto = fkeys->basic.ip_proto;
 	tuples->dst_port = be16_to_cpu(fkeys->ports.dst);
@@ -6011,12 +6014,12 @@ static void hclge_fd_get_flow_tuples(const struct flow_keys *fkeys,
 		tuples->src_ip[3] = be32_to_cpu(fkeys->addrs.v4addrs.src);
 		tuples->dst_ip[3] = be32_to_cpu(fkeys->addrs.v4addrs.dst);
 	} else {
-		memcpy(tuples->src_ip,
-		       fkeys->addrs.v6addrs.src.in6_u.u6_addr32,
-		       sizeof(tuples->src_ip));
-		memcpy(tuples->dst_ip,
-		       fkeys->addrs.v6addrs.dst.in6_u.u6_addr32,
-		       sizeof(tuples->dst_ip));
+		int i;
+
+		for (i = 0; i < IPV6_SIZE; i++) {
+			tuples->src_ip[i] = be32_to_cpu(flow_ip6_src[i]);
+			tuples->dst_ip[i] = be32_to_cpu(flow_ip6_dst[i]);
+		}
 	}
 }
 
@@ -9437,6 +9440,13 @@ static int hclge_reset_ae_dev(struct hnae3_ae_dev *ae_dev)
 		return ret;
 	}
 
+	ret = init_mgr_tbl(hdev);
+	if (ret) {
+		dev_err(&pdev->dev,
+			"failed to reinit manager table, ret = %d\n", ret);
+		return ret;
+	}
+
 	ret = hclge_init_fd_config(hdev);
 	if (ret) {
 		dev_err(&pdev->dev, "fd table init fail, ret=%d\n", ret);
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +2 -2
index 3515ace0f020..38042d610f82 100644
@@ -2363,7 +2363,7 @@ static int i40e_vc_enable_queues_msg(struct i40e_vf *vf, u8 *msg)
 		goto error_param;
 	}
 
-	if (i40e_vc_validate_vqs_bitmaps(vqs)) {
+	if (!i40e_vc_validate_vqs_bitmaps(vqs)) {
 		aq_ret = I40E_ERR_PARAM;
 		goto error_param;
 	}
@@ -2425,7 +2425,7 @@ static int i40e_vc_disable_queues_msg(struct i40e_vf *vf, u8 *msg)
 		goto error_param;
 	}
 
-	if (i40e_vc_validate_vqs_bitmaps(vqs)) {
+	if (!i40e_vc_validate_vqs_bitmaps(vqs)) {
 		aq_ret = I40E_ERR_PARAM;
 		goto error_param;
 	}
drivers/net/ethernet/intel/ice/ice_common.c +12 -5
index 3a6b3950eb0e..171f0b625407 100644
@@ -934,7 +934,7 @@ void ice_deinit_hw(struct ice_hw *hw)
  */
 enum ice_status ice_check_reset(struct ice_hw *hw)
 {
-	u32 cnt, reg = 0, grst_delay;
+	u32 cnt, reg = 0, grst_delay, uld_mask;
 
 	/* Poll for Device Active state in case a recent CORER, GLOBR,
 	 * or EMPR has occurred. The grst delay value is in 100ms units.
@@ -956,13 +956,20 @@ enum ice_status ice_check_reset(struct ice_hw *hw)
 		return ICE_ERR_RESET_FAILED;
 	}
 
-#define ICE_RESET_DONE_MASK	(GLNVM_ULD_CORER_DONE_M | \
-				 GLNVM_ULD_GLOBR_DONE_M)
+#define ICE_RESET_DONE_MASK	(GLNVM_ULD_PCIER_DONE_M |\
+				 GLNVM_ULD_PCIER_DONE_1_M |\
+				 GLNVM_ULD_CORER_DONE_M |\
+				 GLNVM_ULD_GLOBR_DONE_M |\
+				 GLNVM_ULD_POR_DONE_M |\
+				 GLNVM_ULD_POR_DONE_1_M |\
+				 GLNVM_ULD_PCIER_DONE_2_M)
+
+	uld_mask = ICE_RESET_DONE_MASK;
 
 	/* Device is Active; check Global Reset processes are done */
 	for (cnt = 0; cnt < ICE_PF_RESET_WAIT_COUNT; cnt++) {
-		reg = rd32(hw, GLNVM_ULD) & ICE_RESET_DONE_MASK;
-		if (reg == ICE_RESET_DONE_MASK) {
+		reg = rd32(hw, GLNVM_ULD) & uld_mask;
+		if (reg == uld_mask) {
 			ice_debug(hw, ICE_DBG_INIT,
 				  "Global reset processes done. %d\n", cnt);
 			break;
drivers/net/ethernet/intel/ice/ice_hw_autogen.h +6 -0
index 152fbd556e9b..9138b19de87e 100644
@@ -273,8 +273,14 @@
 #define GLNVM_GENS_SR_SIZE_S			5
 #define GLNVM_GENS_SR_SIZE_M			ICE_M(0x7, 5)
 #define GLNVM_ULD				0x000B6008
+#define GLNVM_ULD_PCIER_DONE_M			BIT(0)
+#define GLNVM_ULD_PCIER_DONE_1_M		BIT(1)
 #define GLNVM_ULD_CORER_DONE_M			BIT(3)
 #define GLNVM_ULD_GLOBR_DONE_M			BIT(4)
+#define GLNVM_ULD_POR_DONE_M			BIT(5)
+#define GLNVM_ULD_POR_DONE_1_M			BIT(8)
+#define GLNVM_ULD_PCIER_DONE_2_M		BIT(9)
+#define GLNVM_ULD_PE_DONE_M			BIT(10)
 #define GLPCI_CNF2				0x000BE004
 #define GLPCI_CNF2_CACHELINE_SIZE_M		BIT(1)
 #define PF_FUNC_RID				0x0009E880
drivers/net/ethernet/mscc/ocelot_board.c +8 -0
index aac115136720..337156232501 100644
@@ -112,6 +112,14 @@ static irqreturn_t ocelot_xtr_irq_handler(int irq, void *arg)
 		if (err != 4)
 			break;
 
+		/* At this point the IFH was read correctly, so it is safe to
+		 * presume that there is no error. The err needs to be reset
+		 * otherwise a frame could come in CPU queue between the while
+		 * condition and the check for error later on. And in that case
+		 * the new frame is just removed and not processed.
+		 */
+		err = 0;
+
 		ocelot_parse_ifh(ifh, &info);
 
 		dev = ocelot->ports[info.port]->dev;
drivers/net/ethernet/qlogic/qede/qede.h +2 -0
index c303a92d5b06..1f27f9866b80 100644
@@ -163,6 +163,8 @@ struct qede_rdma_dev {
 	struct list_head entry;
 	struct list_head rdma_event_list;
 	struct workqueue_struct *rdma_wq;
+	struct kref refcnt;
+	struct completion event_comp;
 	bool exp_recovery;
 };
 
drivers/net/ethernet/qlogic/qede/qede_rdma.c +28 -1
index ffabc2d2f082..2d873ae8a234 100644
@@ -59,6 +59,9 @@ static void _qede_rdma_dev_add(struct qede_dev *edev)
 static int qede_rdma_create_wq(struct qede_dev *edev)
 {
 	INIT_LIST_HEAD(&edev->rdma_info.rdma_event_list);
+	kref_init(&edev->rdma_info.refcnt);
+	init_completion(&edev->rdma_info.event_comp);
+
 	edev->rdma_info.rdma_wq = create_singlethread_workqueue("rdma_wq");
 	if (!edev->rdma_info.rdma_wq) {
 		DP_NOTICE(edev, "qedr: Could not create workqueue\n");
@@ -83,8 +86,23 @@ static void qede_rdma_cleanup_event(struct qede_dev *edev)
 	}
 }
 
+static void qede_rdma_complete_event(struct kref *ref)
+{
+	struct qede_rdma_dev *rdma_dev =
+		container_of(ref, struct qede_rdma_dev, refcnt);
+
+	/* no more events will be added after this */
+	complete(&rdma_dev->event_comp);
+}
+
 static void qede_rdma_destroy_wq(struct qede_dev *edev)
 {
+	/* Avoid race with add_event flow, make sure it finishes before
+	 * we start accessing the list and cleaning up the work
+	 */
+	kref_put(&edev->rdma_info.refcnt, qede_rdma_complete_event);
+	wait_for_completion(&edev->rdma_info.event_comp);
+
 	qede_rdma_cleanup_event(edev);
 	destroy_workqueue(edev->rdma_info.rdma_wq);
 }
@@ -310,15 +328,24 @@ static void qede_rdma_add_event(struct qede_dev *edev,
 	if (!edev->rdma_info.qedr_dev)
 		return;
 
+	/* We don't want the cleanup flow to start while we're allocating and
+	 * scheduling the work
+	 */
+	if (!kref_get_unless_zero(&edev->rdma_info.refcnt))
+		return; /* already being destroyed */
+
 	event_node = qede_rdma_get_free_event_node(edev);
 	if (!event_node)
-		return;
+		goto out;
 
 	event_node->event = event;
 	event_node->ptr = edev;
 
 	INIT_WORK(&event_node->work, qede_rdma_handle_event);
 	queue_work(edev->rdma_info.rdma_wq, &event_node->work);
+
+out:
+	kref_put(&edev->rdma_info.refcnt, qede_rdma_complete_event);
 }
 
 void qede_rdma_dev_event_open(struct qede_dev *edev)
drivers/net/hyperv/netvsc.c +1 -1
index eab83e71567a..6c0732fc8c25 100644
@@ -99,7 +99,7 @@ static struct netvsc_device *alloc_net_device(void)
 
 	init_waitqueue_head(&net_device->wait_drain);
 	net_device->destroy = false;
-	net_device->tx_disable = false;
+	net_device->tx_disable = true;
 
 	net_device->max_pkt = RNDIS_MAX_PKT_DEFAULT;
 	net_device->pkt_align = RNDIS_PKT_ALIGN_DEFAULT;
drivers/net/hyperv/netvsc_drv.c +3 -0
index 0dee358864f3..ca16ae8c8332 100644
@@ -973,6 +973,7 @@ static int netvsc_attach(struct net_device *ndev,
 	}
 
 	/* In any case device is now ready */
+	nvdev->tx_disable = false;
 	netif_device_attach(ndev);
 
 	/* Note: enable and attach happen when sub-channels setup */
@@ -2350,6 +2351,8 @@ static int netvsc_probe(struct hv_device *dev,
 	else
 		net->max_mtu = ETH_DATA_LEN;
 
+	nvdev->tx_disable = false;
+
 	ret = register_netdevice(net);
 	if (ret != 0) {
 		pr_err("Unable to register netdev.\n");
drivers/net/phy/mdio-bcm-iproc.c +20 -0
index 7e9975d25066..f1ded03f0229 100644
@@ -178,6 +178,23 @@ static int iproc_mdio_remove(struct platform_device *pdev)
 	return 0;
 }
 
+#ifdef CONFIG_PM_SLEEP
+int iproc_mdio_resume(struct device *dev)
+{
+	struct platform_device *pdev = to_platform_device(dev);
+	struct iproc_mdio_priv *priv = platform_get_drvdata(pdev);
+
+	/* restore the mii clock configuration */
+	iproc_mdio_config_clk(priv->base);
+
+	return 0;
+}
+
+static const struct dev_pm_ops iproc_mdio_pm_ops = {
+	.resume = iproc_mdio_resume
+};
+#endif /* CONFIG_PM_SLEEP */
+
 static const struct of_device_id iproc_mdio_of_match[] = {
 	{ .compatible = "brcm,iproc-mdio", },
 	{ /* sentinel */ },
@@ -188,6 +205,9 @@ static struct platform_driver iproc_mdio_driver = {
 	.driver = {
 		.name = "iproc-mdio",
 		.of_match_table = iproc_mdio_of_match,
+#ifdef CONFIG_PM_SLEEP
+		.pm = &iproc_mdio_pm_ops,
+#endif
 	},
 	.probe = iproc_mdio_probe,
 	.remove = iproc_mdio_remove,
drivers/net/usb/qmi_wwan.c +16 -27

88 lines not on this page · raw message

drivers/net/wireless/marvell/mwifiex/main.h +0 -13
index 547ff3c578ee..fa5634af40f7 100644
@@ -1295,19 +1295,6 @@ mwifiex_copy_rates(u8 *dest, u32 pos, u8 *src, int len)
 	return pos;
 }
 
-/* This function return interface number with the same bss_type.
- */
-static inline u8
-mwifiex_get_intf_num(struct mwifiex_adapter *adapter, u8 bss_type)
-{
-	u8 i, num = 0;
-
-	for (i = 0; i < adapter->priv_num; i++)
-		if (adapter->priv[i] && adapter->priv[i]->bss_type == bss_type)
-			num++;
-	return num;
-}
-
 /*
  * This function returns the correct private structure pointer based
  * upon the BSS type and BSS number.
drivers/net/wireless/marvell/mwifiex/tdls.c +28 -47

167 lines not on this page · raw message

drivers/nfc/pn544/i2c.c +1 -0
index 720c89d6066e..4ac8cb262559 100644
@@ -225,6 +225,7 @@ static void pn544_hci_i2c_platform_init(struct pn544_i2c_phy *phy)
 
 out:
 	gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity);
+	usleep_range(10000, 15000);
 }
 
 static void pn544_hci_i2c_enable_mode(struct pn544_i2c_phy *phy, int run_mode)
drivers/nvme/host/core.c +5 -5
index e703827d27e9..7dacfd102a99 100644
@@ -66,8 +66,8 @@ MODULE_PARM_DESC(streams, "turn on support for Streams write directives");
  * nvme_reset_wq - hosts nvme reset works
  * nvme_delete_wq - hosts nvme delete works
  *
- * nvme_wq will host works such are scan, aen handling, fw activation,
- * keep-alive error recovery, periodic reconnects etc. nvme_reset_wq
+ * nvme_wq will host works such as scan, aen handling, fw activation,
+ * keep-alive, periodic reconnects etc. nvme_reset_wq
  * runs reset works which also flush works hosted on nvme_wq for
  * serialization purposes. nvme_delete_wq host controller deletion
  * works which flush reset works for serialization.
@@ -972,7 +972,7 @@ static void nvme_keep_alive_end_io(struct request *rq, blk_status_t status)
 		startka = true;
 	spin_unlock_irqrestore(&ctrl->lock, flags);
 	if (startka)
-		schedule_delayed_work(&ctrl->ka_work, ctrl->kato * HZ);
+		queue_delayed_work(nvme_wq, &ctrl->ka_work, ctrl->kato * HZ);
 }
 
 static int nvme_keep_alive(struct nvme_ctrl *ctrl)
@@ -1002,7 +1002,7 @@ static void nvme_keep_alive_work(struct work_struct *work)
 		dev_dbg(ctrl->device,
 			"reschedule traffic based keep-alive timer\n");
 		ctrl->comp_seen = false;
-		schedule_delayed_work(&ctrl->ka_work, ctrl->kato * HZ);
+		queue_delayed_work(nvme_wq, &ctrl->ka_work, ctrl->kato * HZ);
 		return;
 	}
 
@@ -1019,7 +1019,7 @@ static void nvme_start_keep_alive(struct nvme_ctrl *ctrl)
 	if (unlikely(ctrl->kato == 0))
 		return;
 
-	schedule_delayed_work(&ctrl->ka_work, ctrl->kato * HZ);
+	queue_delayed_work(nvme_wq, &ctrl->ka_work, ctrl->kato * HZ);
 }
 
 void nvme_stop_keep_alive(struct nvme_ctrl *ctrl)
drivers/nvme/host/pci.c +19 -6
index f34a56d588d3..570c75c92e29 100644
@@ -1084,9 +1084,9 @@ static int nvme_poll(struct blk_mq_hw_ctx *hctx)
 
 	spin_lock(&nvmeq->cq_poll_lock);
 	found = nvme_process_cq(nvmeq, &start, &end, -1);
+	nvme_complete_cqes(nvmeq, start, end);
 	spin_unlock(&nvmeq->cq_poll_lock);
 
-	nvme_complete_cqes(nvmeq, start, end);
 	return found;
 }
 
@@ -1407,6 +1407,23 @@ static void nvme_disable_admin_queue(struct nvme_dev *dev, bool shutdown)
 	nvme_poll_irqdisable(nvmeq, -1);
 }
 
+/*
+ * Called only on a device that has been disabled and after all other threads
+ * that can check this device's completion queues have synced. This is the
+ * last chance for the driver to see a natural completion before
+ * nvme_cancel_request() terminates all incomplete requests.
+ */
+static void nvme_reap_pending_cqes(struct nvme_dev *dev)
+{
+	u16 start, end;
+	int i;
+
+	for (i = dev->ctrl.queue_count - 1; i > 0; i--) {
+		nvme_process_cq(&dev->queues[i], &start, &end, -1);
+		nvme_complete_cqes(&dev->queues[i], start, end);
+	}
+}
+
 static int nvme_cmb_qdepth(struct nvme_dev *dev, int nr_io_queues,
 				int entry_size)
 {
@@ -2241,11 +2258,6 @@ static bool __nvme_disable_io_queues(struct nvme_dev *dev, u8 opcode)
 		if (timeout == 0)
 			return false;
 
-		/* handle any remaining CQEs */
-		if (opcode == nvme_admin_delete_cq &&
-		    !test_bit(NVMEQ_DELETE_ERROR, &nvmeq->flags))
-			nvme_poll_irqdisable(nvmeq, -1);
-
 		sent--;
 		if (nr_queues)
 			goto retry;
@@ -2434,6 +2446,7 @@ static void nvme_dev_disable(struct nvme_dev *dev, bool shutdown)
 	nvme_suspend_io_queues(dev);
 	nvme_suspend_queue(&dev->queues[0]);
 	nvme_pci_disable(dev);
+	nvme_reap_pending_cqes(dev);
 
 	blk_mq_tagset_busy_iter(&dev->tagset, nvme_cancel_request, &dev->ctrl);
 	blk_mq_tagset_busy_iter(&dev->admin_tagset, nvme_cancel_request, &dev->ctrl);
drivers/nvme/host/rdma.c +1 -1
index cb4c3000a57e..4ff51da3b13f 100644
@@ -1088,7 +1088,7 @@ static void nvme_rdma_error_recovery(struct nvme_rdma_ctrl *ctrl)
 	if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_RESETTING))
 		return;
 
-	queue_work(nvme_wq, &ctrl->err_work);
+	queue_work(nvme_reset_wq, &ctrl->err_work);
 }
 
 static void nvme_rdma_wr_error(struct ib_cq *cq, struct ib_wc *wc,
drivers/nvme/host/tcp.c +7 -2
index 7544be84ab35..244984420b41 100644
@@ -422,7 +422,7 @@ static void nvme_tcp_error_recovery(struct nvme_ctrl *ctrl)
 	if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_RESETTING))
 		return;
 
-	queue_work(nvme_wq, &to_tcp_ctrl(ctrl)->err_work);
+	queue_work(nvme_reset_wq, &to_tcp_ctrl(ctrl)->err_work);
 }
 
 static int nvme_tcp_process_nvme_cqe(struct nvme_tcp_queue *queue,
@@ -1054,7 +1054,12 @@ static void nvme_tcp_io_work(struct work_struct *w)
 		} else if (unlikely(result < 0)) {
 			dev_err(queue->ctrl->ctrl.device,
 				"failed to send request %d\n", result);
-			if (result != -EPIPE)
+
+			/*
+			 * Fail the request unless peer closed the connection,
+			 * in which case error recovery flow will complete all.
+			 */
+			if ((result != -EPIPE) && (result != -ECONNRESET))
 				nvme_tcp_fail_request(queue->request);
 			nvme_tcp_done_send_req(queue);
 			return;
drivers/perf/arm_smmuv3_pmu.c +1 -1
index 191f410cf35c..2f8787276d9b 100644
@@ -772,7 +772,7 @@ static int smmu_pmu_probe(struct platform_device *pdev)
 		smmu_pmu->reloc_base = smmu_pmu->reg_base;
 	}
 
-	irq = platform_get_irq(pdev, 0);
+	irq = platform_get_irq_optional(pdev, 0);
 	if (irq > 0)
 		smmu_pmu->irq = irq;
 
drivers/pwm/pwm-omap-dmtimer.c +15 -6
index e36fcad668a6..88a3c5690fea 100644
@@ -256,7 +256,7 @@ static int pwm_omap_dmtimer_probe(struct platform_device *pdev)
 	if (!timer_pdev) {
 		dev_err(&pdev->dev, "Unable to find Timer pdev\n");
 		ret = -ENODEV;
-		goto put;
+		goto err_find_timer_pdev;
 	}
 
 	timer_pdata = dev_get_platdata(&timer_pdev->dev);
@@ -264,7 +264,7 @@ static int pwm_omap_dmtimer_probe(struct platform_device *pdev)
 		dev_dbg(&pdev->dev,
 			 "dmtimer pdata structure NULL, deferring probe\n");
 		ret = -EPROBE_DEFER;
-		goto put;
+		goto err_platdata;
 	}
 
 	pdata = timer_pdata->timer_ops;
@@ -283,19 +283,19 @@ static int pwm_omap_dmtimer_probe(struct platform_device *pdev)
 	    !pdata->write_counter) {
 		dev_err(&pdev->dev, "Incomplete dmtimer pdata structure\n");
 		ret = -EINVAL;
-		goto put;
+		goto err_platdata;
 	}
 
 	if (!of_get_property(timer, "ti,timer-pwm", NULL)) {
 		dev_err(&pdev->dev, "Missing ti,timer-pwm capability\n");
 		ret = -ENODEV;
-		goto put;
+		goto err_timer_property;
 	}
 
 	dm_timer = pdata->request_by_node(timer);
 	if (!dm_timer) {
 		ret = -EPROBE_DEFER;
-		goto put;
+		goto err_request_timer;
 	}
 
 	omap = devm_kzalloc(&pdev->dev, sizeof(*omap), GFP_KERNEL);
@@ -352,7 +352,14 @@ static int pwm_omap_dmtimer_probe(struct platform_device *pdev)
 err_alloc_omap:
 
 	pdata->free(dm_timer);
-put:
+err_request_timer:
+
+err_timer_property:
+err_platdata:
+
+	put_device(&timer_pdev->dev);
+err_find_timer_pdev:
+
 	of_node_put(timer);
 
 	return ret;
@@ -372,6 +379,8 @@ static int pwm_omap_dmtimer_remove(struct platform_device *pdev)
 
 	omap->pdata->free(omap->dm_timer);
 
+	put_device(&omap->dm_timer_pdev->dev);
+
 	mutex_destroy(&omap->mutex);
 
 	return 0;
drivers/s390/crypto/ap_bus.h +2 -2
index bb35ba4a8d24..4348fdff1c61 100644
@@ -162,7 +162,7 @@ struct ap_card {
 	unsigned int functions;		/* AP device function bitfield. */
 	int queue_depth;		/* AP queue depth.*/
 	int id;				/* AP card number. */
-	atomic_t total_request_count;	/* # requests ever for this AP device.*/
+	atomic64_t total_request_count;	/* # requests ever for this AP device.*/
 };
 
 #define to_ap_card(x) container_of((x), struct ap_card, ap_dev.device)
@@ -179,7 +179,7 @@ struct ap_queue {
 	enum ap_state state;		/* State of the AP device. */
 	int pendingq_count;		/* # requests on pendingq list. */
 	int requestq_count;		/* # requests on requestq list. */
-	int total_request_count;	/* # requests ever for this AP device.*/
+	u64 total_request_count;	/* # requests ever for this AP device.*/
 	int request_timeout;		/* Request timeout in jiffies. */
 	struct timer_list timeout;	/* Timer for request timeouts. */
 	struct list_head pendingq;	/* List of message sent to AP queue. */
drivers/s390/crypto/ap_card.c +4 -4
index 63b4cc6cd7e5..e85bfca1ed16 100644
@@ -63,13 +63,13 @@ static ssize_t request_count_show(struct device *dev,
 				  char *buf)
 {
 	struct ap_card *ac = to_ap_card(dev);
-	unsigned int req_cnt;
+	u64 req_cnt;
 
 	req_cnt = 0;
 	spin_lock_bh(&ap_list_lock);
-	req_cnt = atomic_read(&ac->total_request_count);
+	req_cnt = atomic64_read(&ac->total_request_count);
 	spin_unlock_bh(&ap_list_lock);
-	return snprintf(buf, PAGE_SIZE, "%d\n", req_cnt);
+	return snprintf(buf, PAGE_SIZE, "%llu\n", req_cnt);
 }
 
 static ssize_t request_count_store(struct device *dev,
@@ -83,7 +83,7 @@ static ssize_t request_count_store(struct device *dev,
 	for_each_ap_queue(aq, ac)
 		aq->total_request_count = 0;
 	spin_unlock_bh(&ap_list_lock);
-	atomic_set(&ac->total_request_count, 0);
+	atomic64_set(&ac->total_request_count, 0);
 
 	return count;
 }
drivers/s390/crypto/ap_queue.c +3 -3
index 37c3bdc3642d..a317ab484932 100644
@@ -479,12 +479,12 @@ static ssize_t request_count_show(struct device *dev,
 				  char *buf)
 {
 	struct ap_queue *aq = to_ap_queue(dev);
-	unsigned int req_cnt;
+	u64 req_cnt;
 
 	spin_lock_bh(&aq->lock);
 	req_cnt = aq->total_request_count;
 	spin_unlock_bh(&aq->lock);
-	return snprintf(buf, PAGE_SIZE, "%d\n", req_cnt);
+	return snprintf(buf, PAGE_SIZE, "%llu\n", req_cnt);
 }
 
 static ssize_t request_count_store(struct device *dev,
@@ -676,7 +676,7 @@ void ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg)
 	list_add_tail(&ap_msg->list, &aq->requestq);
 	aq->requestq_count++;
 	aq->total_request_count++;
-	atomic_inc(&aq->card->total_request_count);
+	atomic64_inc(&aq->card->total_request_count);
 	/* Send/receive as many request from the queue as possible. */
 	ap_wait(ap_sm_event_loop(aq, AP_EVENT_POLL));
 	spin_unlock_bh(&aq->lock);
drivers/s390/crypto/zcrypt_api.c +9 -7
index 9157e728a362..7fa0262e91af 100644
@@ -605,8 +605,8 @@ static inline bool zcrypt_card_compare(struct zcrypt_card *zc,
 	weight += atomic_read(&zc->load);
 	pref_weight += atomic_read(&pref_zc->load);
 	if (weight == pref_weight)
-		return atomic_read(&zc->card->total_request_count) >
-			atomic_read(&pref_zc->card->total_request_count);
+		return atomic64_read(&zc->card->total_request_count) >
+			atomic64_read(&pref_zc->card->total_request_count);
 	return weight > pref_weight;
 }
 
@@ -1216,11 +1216,12 @@ static void zcrypt_qdepth_mask(char qdepth[], size_t max_adapters)
 	spin_unlock(&zcrypt_list_lock);
 }
 
-static void zcrypt_perdev_reqcnt(int reqcnt[], size_t max_adapters)
+static void zcrypt_perdev_reqcnt(u32 reqcnt[], size_t max_adapters)
 {
 	struct zcrypt_card *zc;
 	struct zcrypt_queue *zq;
 	int card;
+	u64 cnt;
 
 	memset(reqcnt, 0, sizeof(int) * max_adapters);
 	spin_lock(&zcrypt_list_lock);
@@ -1232,8 +1233,9 @@ static void zcrypt_perdev_reqcnt(int reqcnt[], size_t max_adapters)
 			    || card >= max_adapters)
 				continue;
 			spin_lock(&zq->queue->lock);
-			reqcnt[card] = zq->queue->total_request_count;
+			cnt = zq->queue->total_request_count;
 			spin_unlock(&zq->queue->lock);
+			reqcnt[card] = (cnt < UINT_MAX) ? (u32) cnt : UINT_MAX;
 		}
 	}
 	local_bh_enable();
@@ -1411,9 +1413,9 @@ static long zcrypt_unlocked_ioctl(struct file *filp, unsigned int cmd,
 		return 0;
 	}
 	case ZCRYPT_PERDEV_REQCNT: {
-		int *reqcnt;
+		u32 *reqcnt;
 
-		reqcnt = kcalloc(AP_DEVICES, sizeof(int), GFP_KERNEL);
+		reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL);
 		if (!reqcnt)
 			return -ENOMEM;
 		zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES);
@@ -1470,7 +1472,7 @@ static long zcrypt_unlocked_ioctl(struct file *filp, unsigned int cmd,
 	}
 	case Z90STAT_PERDEV_REQCNT: {
 		/* the old ioctl supports only 64 adapters */
-		int reqcnt[MAX_ZDEV_CARDIDS];
+		u32 reqcnt[MAX_ZDEV_CARDIDS];
 
 		zcrypt_perdev_reqcnt(reqcnt, MAX_ZDEV_CARDIDS);
 		if (copy_to_user((int __user *) arg, reqcnt, sizeof(reqcnt)))
drivers/s390/net/qeth_l2_main.c +13 -16
index 59e220749ad1..92bace3b28fd 100644
@@ -1846,15 +1846,14 @@ int qeth_l2_vnicc_set_state(struct qeth_card *card, u32 vnicc, bool state)
 
 	QETH_CARD_TEXT(card, 2, "vniccsch");
 
-	/* do not change anything if BridgePort is enabled */
-	if (qeth_bridgeport_is_in_use(card))
-		return -EBUSY;
-
 	/* check if characteristic and enable/disable are supported */
 	if (!(card->options.vnicc.sup_chars & vnicc) ||
 	    !(card->options.vnicc.set_char_sup & vnicc))
 		return -EOPNOTSUPP;
 
+	if (qeth_bridgeport_is_in_use(card))
+		return -EBUSY;
+
 	/* set enable/disable command and store wanted characteristic */
 	if (state) {
 		cmd = IPA_VNICC_ENABLE;
@@ -1900,14 +1899,13 @@ int qeth_l2_vnicc_get_state(struct qeth_card *card, u32 vnicc, bool *state)
 
 	QETH_CARD_TEXT(card, 2, "vniccgch");
 
-	/* do not get anything if BridgePort is enabled */
-	if (qeth_bridgeport_is_in_use(card))
-		return -EBUSY;
-
 	/* check if characteristic is supported */
 	if (!(card->options.vnicc.sup_chars & vnicc))
 		return -EOPNOTSUPP;
 
+	if (qeth_bridgeport_is_in_use(card))
+		return -EBUSY;
+
 	/* if card is ready, query current VNICC state */
 	if (qeth_card_hw_is_reachable(card))
 		rc = qeth_l2_vnicc_query_chars(card);
@@ -1925,15 +1923,14 @@ int qeth_l2_vnicc_set_timeout(struct qeth_card *card, u32 timeout)
 
 	QETH_CARD_TEXT(card, 2, "vniccsto");
 
-	/* do not change anything if BridgePort is enabled */
-	if (qeth_bridgeport_is_in_use(card))
-		return -EBUSY;
-
 	/* check if characteristic and set_timeout are supported */
 	if (!(card->options.vnicc.sup_chars & QETH_VNICC_LEARNING) ||
 	    !(card->options.vnicc.getset_timeout_sup & QETH_VNICC_LEARNING))
 		return -EOPNOTSUPP;
 
+	if (qeth_bridgeport_is_in_use(card))
+		return -EBUSY;
+
 	/* do we need to do anything? */
 	if (card->options.vnicc.learning_timeout == timeout)
 		return rc;
@@ -1962,14 +1959,14 @@ int qeth_l2_vnicc_get_timeout(struct qeth_card *card, u32 *timeout)
 
 	QETH_CARD_TEXT(card, 2, "vniccgto");
 
-	/* do not get anything if BridgePort is enabled */
-	if (qeth_bridgeport_is_in_use(card))
-		return -EBUSY;
-
 	/* check if characteristic and get_timeout are supported */
 	if (!(card->options.vnicc.sup_chars & QETH_VNICC_LEARNING) ||
 	    !(card->options.vnicc.getset_timeout_sup & QETH_VNICC_LEARNING))
 		return -EOPNOTSUPP;
+
+	if (qeth_bridgeport_is_in_use(card))
+		return -EBUSY;
+
 	/* if card is ready, get timeout. Otherwise, just return stored value */
 	*timeout = card->options.vnicc.learning_timeout;
 	if (qeth_card_hw_is_reachable(card))
drivers/soc/tegra/fuse/fuse-tegra30.c +2 -1
index be9424a87173..9c3ef0a02fd4 100644
@@ -35,7 +35,8 @@
     defined(CONFIG_ARCH_TEGRA_124_SOC) || \
     defined(CONFIG_ARCH_TEGRA_132_SOC) || \
     defined(CONFIG_ARCH_TEGRA_210_SOC) || \
-    defined(CONFIG_ARCH_TEGRA_186_SOC)
+    defined(CONFIG_ARCH_TEGRA_186_SOC) || \
+    defined(CONFIG_ARCH_TEGRA_194_SOC)
 static u32 tegra30_fuse_read_early(struct tegra_fuse *fuse, unsigned int offset)
 {
 	if (WARN_ON(!fuse->base))
drivers/thermal/broadcom/brcmstb_thermal.c +9 -22
index 5825ac581f56..680f1a070606 100644
@@ -49,7 +49,7 @@
 #define AVS_TMON_TP_TEST_ENABLE		0x20
 
 /* Default coefficients */
-#define AVS_TMON_TEMP_SLOPE		-487
+#define AVS_TMON_TEMP_SLOPE		487
 #define AVS_TMON_TEMP_OFFSET		410040
 
 /* HW related temperature constants */
@@ -108,23 +108,12 @@ struct brcmstb_thermal_priv {
 	struct thermal_zone_device *thermal;
 };
 
-static void avs_tmon_get_coeffs(struct thermal_zone_device *tz, int *slope,
-				int *offset)
-{
-	*slope = thermal_zone_get_slope(tz);
-	*offset = thermal_zone_get_offset(tz);
-}
-
 /* Convert a HW code to a temperature reading (millidegree celsius) */
 static inline int avs_tmon_code_to_temp(struct thermal_zone_device *tz,
 					u32 code)
 {
-	const int val = code & AVS_TMON_TEMP_MASK;
-	int slope, offset;
-
-	avs_tmon_get_coeffs(tz, &slope, &offset);
-
-	return slope * val + offset;
+	return (AVS_TMON_TEMP_OFFSET -
+		(int)((code & AVS_TMON_TEMP_MAX) * AVS_TMON_TEMP_SLOPE));
 }
 
 /*
@@ -136,20 +125,18 @@ static inline int avs_tmon_code_to_temp(struct thermal_zone_device *tz,
 static inline u32 avs_tmon_temp_to_code(struct thermal_zone_device *tz,
 					int temp, bool low)
 {
-	int slope, offset;
-
 	if (temp < AVS_TMON_TEMP_MIN)
-		return AVS_TMON_TEMP_MAX; /* Maximum code value */
-
-	avs_tmon_get_coeffs(tz, &slope, &offset);
+		return AVS_TMON_TEMP_MAX;	/* Maximum code value */
 
-	if (temp >= offset)
+	if (temp >= AVS_TMON_TEMP_OFFSET)
 		return 0;	/* Minimum code value */
 
 	if (low)
-		return (u32)(DIV_ROUND_UP(offset - temp, abs(slope)));
+		return (u32)(DIV_ROUND_UP(AVS_TMON_TEMP_OFFSET - temp,
+					  AVS_TMON_TEMP_SLOPE));
 	else
-		return (u32)((offset - temp) / abs(slope));
+		return (u32)((AVS_TMON_TEMP_OFFSET - temp) /
+			      AVS_TMON_TEMP_SLOPE);
 }
 
 static int brcmstb_get_temp(void *data, int *temp)
drivers/thermal/db8500_thermal.c +2 -2
index 372dbbaaafb8..21d4d6e6409a 100644
@@ -152,8 +152,8 @@ static irqreturn_t prcmu_high_irq_handler(int irq, void *irq_data)
 		db8500_thermal_update_config(th, idx, THERMAL_TREND_RAISING,
 					     next_low, next_high);
 
-		dev_info(&th->tz->device,
-			 "PRCMU set max %ld, min %ld\n", next_high, next_low);
+		dev_dbg(&th->tz->device,
+			"PRCMU set max %ld, min %ld\n", next_high, next_low);
 	} else if (idx == num_points - 1)
 		/* So we roof out 1 degree over the max point */
 		th->interpolated_temp = db8500_thermal_points[idx] + 1;
drivers/vhost/net.c +1 -9
index 1a2dd53caade..b53b6528d6ce 100644
@@ -1414,10 +1414,6 @@ static int vhost_net_release(struct inode *inode, struct file *f)
 
 static struct socket *get_raw_socket(int fd)
 {
-	struct {
-		struct sockaddr_ll sa;
-		char  buf[MAX_ADDR_LEN];
-	} uaddr;
 	int r;
 	struct socket *sock = sockfd_lookup(fd, &r);
 
@@ -1430,11 +1426,7 @@ static struct socket *get_raw_socket(int fd)
 		goto err;
 	}
 
-	r = sock->ops->getname(sock, (struct sockaddr *)&uaddr.sa, 0);
-	if (r < 0)
-		goto err;
-
-	if (uaddr.sa.sll_family != AF_PACKET) {
+	if (sock->sk->sk_family != AF_PACKET) {
 		r = -EPFNOSUPPORT;
 		goto err;
 	}
drivers/watchdog/wdat_wdt.c +1 -1
index e7cf41aa26c3..1ce39de917f0 100644
@@ -389,7 +389,7 @@ static int wdat_wdt_probe(struct platform_device *pdev)
 
 		memset(&r, 0, sizeof(r));
 		r.start = gas->address;
-		r.end = r.start + gas->access_width - 1;
+		r.end = r.start + ACPI_ACCESS_BYTE_WIDTH(gas->access_width) - 1;
 		if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) {
 			r.flags = IORESOURCE_MEM;
 		} else if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_IO) {
fs/ceph/file.c +11 -6
index 11929d2bb594..cd09e63d682b 100644
@@ -1418,6 +1418,7 @@ static ssize_t ceph_write_iter(struct kiocb *iocb, struct iov_iter *from)
 	struct ceph_cap_flush *prealloc_cf;
 	ssize_t count, written = 0;
 	int err, want, got;
+	bool direct_lock = false;
 	loff_t pos;
 	loff_t limit = max(i_size_read(inode), fsc->max_file_size);
 
@@ -1428,8 +1429,11 @@ static ssize_t ceph_write_iter(struct kiocb *iocb, struct iov_iter *from)
 	if (!prealloc_cf)
 		return -ENOMEM;
 
+	if ((iocb->ki_flags & (IOCB_DIRECT | IOCB_APPEND)) == IOCB_DIRECT)
+		direct_lock = true;
+
 retry_snap:
-	if (iocb->ki_flags & IOCB_DIRECT)
+	if (direct_lock)
 		ceph_start_io_direct(inode);
 	else
 		ceph_start_io_write(inode);
@@ -1519,14 +1523,15 @@ static ssize_t ceph_write_iter(struct kiocb *iocb, struct iov_iter *from)
 
 		/* we might need to revert back to that point */
 		data = *from;
-		if (iocb->ki_flags & IOCB_DIRECT) {
+		if (iocb->ki_flags & IOCB_DIRECT)
 			written = ceph_direct_read_write(iocb, &data, snapc,
 							 &prealloc_cf);
-			ceph_end_io_direct(inode);
-		} else {
+		else
 			written = ceph_sync_write(iocb, &data, pos, snapc);
+		if (direct_lock)
+			ceph_end_io_direct(inode);
+		else
 			ceph_end_io_write(inode);
-		}
 		if (written > 0)
 			iov_iter_advance(from, written);
 		ceph_put_snap_context(snapc);
@@ -1577,7 +1582,7 @@ static ssize_t ceph_write_iter(struct kiocb *iocb, struct iov_iter *from)
 
 	goto out_unlocked;
 out:
-	if (iocb->ki_flags & IOCB_DIRECT)
+	if (direct_lock)
 		ceph_end_io_direct(inode);
 	else
 		ceph_end_io_write(inode);
fs/cifs/cifsacl.c +2 -2
index f842944a5c76..1619af216677 100644
@@ -603,7 +603,7 @@ static void access_flags_to_mode(__le32 ace_flags, int type, umode_t *pmode,
 			((flags & FILE_EXEC_RIGHTS) == FILE_EXEC_RIGHTS))
 		*pmode |= (S_IXUGO & (*pbits_to_set));
 
-	cifs_dbg(NOISY, "access flags 0x%x mode now 0x%x\n", flags, *pmode);
+	cifs_dbg(NOISY, "access flags 0x%x mode now %04o\n", flags, *pmode);
 	return;
 }
 
@@ -632,7 +632,7 @@ static void mode_to_access_flags(umode_t mode, umode_t bits_to_use,
 	if (mode & S_IXUGO)
 		*pace_flags |= SET_FILE_EXEC_RIGHTS;
 
-	cifs_dbg(NOISY, "mode: 0x%x, access flags now 0x%x\n",
+	cifs_dbg(NOISY, "mode: %04o, access flags now 0x%x\n",
 		 mode, *pace_flags);
 	return;
 }
fs/cifs/connect.c +1 -1
index 5d3c867bdc80..bcda48c03882 100644
@@ -4094,7 +4094,7 @@ int cifs_setup_cifs_sb(struct smb_vol *pvolume_info,
 	cifs_sb->mnt_gid = pvolume_info->linux_gid;
 	cifs_sb->mnt_file_mode = pvolume_info->file_mode;
 	cifs_sb->mnt_dir_mode = pvolume_info->dir_mode;
-	cifs_dbg(FYI, "file mode: 0x%hx  dir mode: 0x%hx\n",
+	cifs_dbg(FYI, "file mode: %04ho  dir mode: %04ho\n",
 		 cifs_sb->mnt_file_mode, cifs_sb->mnt_dir_mode);
 
 	cifs_sb->actimeo = pvolume_info->actimeo;
fs/cifs/inode.c +1 -1
index ed59e4a8db59..aafcd79c4772 100644
@@ -1586,7 +1586,7 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, umode_t mode)
 	struct TCP_Server_Info *server;
 	char *full_path;
 
-	cifs_dbg(FYI, "In cifs_mkdir, mode = 0x%hx inode = 0x%p\n",
+	cifs_dbg(FYI, "In cifs_mkdir, mode = %04ho inode = 0x%p\n",
 		 mode, inode);
 
 	cifs_sb = CIFS_SB(inode->i_sb);
fs/dax.c +3 -0
index 2cc43cd914eb..cc56313c6b3b 100644
@@ -1207,6 +1207,9 @@ dax_iomap_rw(struct kiocb *iocb, struct iov_iter *iter,
 		lockdep_assert_held(&inode->i_rwsem);
 	}
 
+	if (iocb->ki_flags & IOCB_NOWAIT)
+		flags |= IOMAP_NOWAIT;
+
 	while (iov_iter_count(iter)) {
 		ret = iomap_apply(inode, pos, iov_iter_count(iter), flags, ops,
 				iter, dax_iomap_actor);
fs/ext4/super.c +3 -3
index 3ca604807839..8bd806a03a90 100644
@@ -2343,7 +2343,7 @@ int ext4_alloc_flex_bg_array(struct super_block *sb, ext4_group_t ngroup)
 {
 	struct ext4_sb_info *sbi = EXT4_SB(sb);
 	struct flex_groups **old_groups, **new_groups;
-	int size, i;
+	int size, i, j;
 
 	if (!sbi->s_log_groups_per_flex)
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

fs/f2fs/data.c +25 -7
index 5d6fd940aab2..ec9a1f9ce2dd 100644

Lines of this file are not shown. View the raw message.

fs/io_uring.c +51 -0

51 lines not on this page · raw message

fs/namei.c +1 -1
index bd1c0ca4151c..5b5759d70822 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs4file.c +0 -1
index 339663d04bf8..54f1c1f626fc 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs4proc.c +16 -2
index f808fb34b110..6b29703d2fe1 100644

Lines of this file are not shown. View the raw message.

fs/ubifs/orphan.c +2 -2
index 54d6db61106f..edf43ddd7dce 100644

Lines of this file are not shown. View the raw message.

fs/xfs/libxfs/xfs_attr.h +5 -2
index 94badfa1743e..91c2cb14276e 100644

Lines of this file are not shown. View the raw message.

fs/xfs/xfs_ioctl.c +2 -0
index d58f0d6a699e..2a1909397cb4 100644

Lines of this file are not shown. View the raw message.

fs/xfs/xfs_ioctl32.c +2 -0
index 1e08bf79b478..e61cc41189f8 100644

Lines of this file are not shown. View the raw message.

include/Kbuild deleted +0 -1185

1,185 lines not on this page · raw message

include/acpi/actypes.h +2 -1
index 2f3f28c7cea3..9373662cdb44 100644

Lines of this file are not shown. View the raw message.

include/asm-generic/vdso/vsyscall.h +2 -2
index ce4103208619..cec543d9e87b 100644

Lines of this file are not shown. View the raw message.

include/linux/blkdev.h +1 -1
index 51ccb4b8770a..bff1def62eed 100644

Lines of this file are not shown. View the raw message.

include/linux/blktrace_api.h +13 -5
index 7bb2d8de9f30..3b6ff5902edc 100644

Lines of this file are not shown. View the raw message.

include/linux/hid.h +1 -1
index cd41f209043f..875f71132b14 100644

Lines of this file are not shown. View the raw message.

include/linux/netdevice.h +3 -4
index f8fde9fa479c..b580a35f50ea 100644

Lines of this file are not shown. View the raw message.

include/linux/netfilter/ipset/ip_set.h +10 -1
index 77336f4c4b1c..32658749e9db 100644

Lines of this file are not shown. View the raw message.

include/linux/sched/nohz.h +2 -0
index 1abe91ff6e4a..6d67e9a5af6b 100644

Lines of this file are not shown. View the raw message.

include/net/flow_dissector.h +9 -0
index e5fc8db1f783..78f6437cbc3a 100644

Lines of this file are not shown. View the raw message.

include/uapi/linux/usb/charger.h +8 -8
index 5f72af35b3ed..ad22079125bf 100644

Lines of this file are not shown. View the raw message.

init/Kconfig +1 -21
index 0328b53d09ad..0bffc8fdbf3d 100644

Lines of this file are not shown. View the raw message.

kernel/audit.c +21 -19
index da8dc0db5bd3..dfc45063cb56 100644

Lines of this file are not shown. View the raw message.

kernel/auditfilter.c +39 -32

71 lines not on this page · raw message

kernel/kprobes.c +3 -1
index 53534aa258a6..34e28b236d68 100644

Lines of this file are not shown. View the raw message.

kernel/locking/lockdep_proc.c +2 -2
index dadb7b7fba37..9bb6d2497b04 100644

Lines of this file are not shown. View the raw message.

kernel/rcu/tree_exp.h +5 -6
index f504ac831779..df90d4d7ad2e 100644

Lines of this file are not shown. View the raw message.

kernel/sched/core.c +21 -10
index e6c65725b7ce..e921126aec84 100644

Lines of this file are not shown. View the raw message.

kernel/sched/fair.c +4 -3
index c87a798d1456..f32ce3a359fa 100644

Lines of this file are not shown. View the raw message.

kernel/sched/loadavg.c +23 -10
index 28a516575c18..de22da666ac7 100644

Lines of this file are not shown. View the raw message.

kernel/time/vsyscall.c +17 -20
index 5ee0f7709410..9577c89179cd 100644

Lines of this file are not shown. View the raw message.

kernel/trace/blktrace.c +83 -31

114 lines not on this page · raw message

kernel/trace/trace.c +2 -0
index 341aab32c946..c6ccaf6c62f7 100644

Lines of this file are not shown. View the raw message.

lib/Kconfig.debug +0 -11
index 93d97f9b0157..f61d834e02fe 100644

Lines of this file are not shown. View the raw message.

mm/debug.c +5 -3
index 0461df1207cb..6a52316af839 100644

Lines of this file are not shown. View the raw message.

mm/gup.c +2 -1
index 8f236a335ae9..745b4036cdfd 100644

Lines of this file are not shown. View the raw message.

mm/huge_memory.c +9 -17
index 1de7f53621a0..6c9689281c07 100644

Lines of this file are not shown. View the raw message.

net/core/dev.c +5 -23
index a7e2e57af63a..db8c229e0f4a 100644

Lines of this file are not shown. View the raw message.

net/core/fib_rules.c +1 -1
index dd220ce7ca7a..bb11fc87bbae 100644

Lines of this file are not shown. View the raw message.

net/ipv4/udp.c +5 -1
index 7ae7065758bd..f3b7cb725c1b 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ip6_fib.c +4 -3
index 6e2af411cd9c..c75274e0745c 100644

Lines of this file are not shown. View the raw message.

net/ipv6/route.c +1 -0
index e4ed9c7b43b0..894c7370c1bd 100644

Lines of this file are not shown. View the raw message.

net/mac80211/mlme.c +1 -5
index 1e3b9d34aaa4..c7d8044ff0fa 100644

Lines of this file are not shown. View the raw message.

net/mac80211/util.c +26 -8
index 32a7a53833c0..decd46b38393 100644

Lines of this file are not shown. View the raw message.

net/netfilter/ipset/ip_set_core.c +24 -10
index a9df9dac57b2..75da200aa5d8 100644

Lines of this file are not shown. View the raw message.

net/netfilter/ipset/ip_set_hash_gen.h +440 -195

635 lines not on this page · raw message

net/netfilter/nft_tunnel.c +2 -2
index f8d2919cf9fd..037e8fce9b30 100644

Lines of this file are not shown. View the raw message.

net/netfilter/xt_hashlimit.c +6 -6
index 6520d9ec1297..1b68a131083c 100644

Lines of this file are not shown. View the raw message.

net/netlink/af_netlink.c +3 -2
index 90b2ab9dd449..e64b8784d487 100644

Lines of this file are not shown. View the raw message.

net/sched/cls_flower.c +1 -0
index 5eceeee593cf..1d270540e74d 100644

Lines of this file are not shown. View the raw message.

net/sctp/sm_statefuns.c +20 -9
index 4ab8208a2dd4..c6d83a64eac3 100644

Lines of this file are not shown. View the raw message.

net/smc/af_smc.c +2 -0
index 6a6d3b2aa5a9..dc09a72f8110 100644

Lines of this file are not shown. View the raw message.

net/smc/smc_clc.c +3 -1
index 49bcebff6378..aee9ccfa99c2 100644

Lines of this file are not shown. View the raw message.

net/tls/tls_device.c +19 -1
index 3f5209e2d4ee..1adeb1c0473b 100644

Lines of this file are not shown. View the raw message.

net/wireless/ethtool.c +6 -2
index a9c0f368db5d..24e18405cdb4 100644

Lines of this file are not shown. View the raw message.

net/wireless/nl80211.c +3 -2
index c74646b7a751..17514744af9e 100644

Lines of this file are not shown. View the raw message.

scripts/Makefile.build +0 -9
index a9e47953ca53..24a33c01bbf7 100644

Lines of this file are not shown. View the raw message.

scripts/Makefile.headersinst +0 -18
index 1b405a7ed14f..708fbd08a2c5 100644

Lines of this file are not shown. View the raw message.

scripts/Makefile.lib +2 -16
index 179d55af5852..a66fc0acad1e 100644

Lines of this file are not shown. View the raw message.

security/integrity/ima/ima_policy.c +26 -18

44 lines not on this page · raw message

tools/perf/ui/browsers/hists.c +1 -0
index 7a7187e069b4..88c3df24b748 100644

Lines of this file are not shown. View the raw message.

tools/perf/ui/gtk/Build +5 -0
index ec22e899a224..9b5d5cbb7af7 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/ftrace/Makefile +1 -1
index cd1f5b3a7774..d6e106fbce11 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/livepatch/Makefile +2 -0
index fd405402c3ff..485696a01989 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/net/fib_tests.sh +6 -0
index 76c1897e6352..474638ef2697 100755

Lines of this file are not shown. View the raw message.

tools/testing/selftests/rseq/Makefile +2 -0
index d6469535630a..f1053630bb6f 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/rtc/Makefile +2 -0
index de9c8566672a..90fa1a346908 100644

Lines of this file are not shown. View the raw message.

usr/include/Makefile +11 -4
index 57b20f7b6729..47cb91d3a51d 100644

Lines of this file are not shown. View the raw message.

virt/kvm/kvm_main.c +6 -6
index b5ea1bafe513..03c681568ab1 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.