Linux 6.6.4
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.6.4 kernel.
All users of the 6.6 kernel series must upgrade.
The updated 6.6.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.6.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/devicetree/bindings/usb/microchip,usb5744.yaml | 7 Makefile | 2 arch/arm/xen/enlighten.c | 3 arch/arm64/include/asm/setup.h | 17 arch/arm64/mm/pageattr.c | 7 arch/s390/kernel/ipl.c | 1 block/bdev.c | 2 block/blk-cgroup.h | 2 drivers/accel/ivpu/ivpu_hw_37xx.c | 54 drivers/accel/ivpu/ivpu_hw_40xx.c | 8 drivers/acpi/acpi_video.c | 2 drivers/acpi/device_pm.c | 13 drivers/acpi/processor_idle.c | 2 drivers/acpi/resource.c | 7 drivers/ata/pata_isapnp.c | 3 drivers/gpu/drm/ast/ast_drv.h | 13 drivers/gpu/drm/ast/ast_mode.c | 62 drivers/gpu/drm/i915/gt/intel_gt.c | 11 drivers/gpu/drm/i915/i915_driver.c | 4 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 1 drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c | 2 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 9 drivers/gpu/drm/panel/panel-simple.c | 13 drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 14 drivers/hid/hid-core.c | 12 drivers/hid/hid-debug.c | 3 drivers/irqchip/irq-gic-v3-its.c | 16 drivers/md/bcache/btree.c | 4 drivers/md/bcache/sysfs.c | 2 drivers/md/bcache/writeback.c | 22 drivers/md/dm-delay.c | 17 drivers/md/md.c | 3 drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 14 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 11 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 14 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 16 drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c | 20 drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 2 drivers/net/ethernet/wangxun/libwx/wx_hw.c | 8 drivers/net/ethernet/wangxun/ngbe/ngbe_main.c | 4 drivers/net/ethernet/wangxun/txgbe/txgbe_main.c | 4 drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 drivers/net/hyperv/netvsc_drv.c | 66 drivers/net/ipa/reg/gsi_reg-v5.0.c | 2 drivers/net/usb/ax88179_178a.c | 4 drivers/net/veth.c | 46 drivers/net/vrf.c | 38 drivers/net/wireguard/device.c | 4 drivers/net/wireguard/receive.c | 12 drivers/net/wireguard/send.c | 3 drivers/nvme/host/fabrics.c | 2 drivers/nvme/target/fabrics-cmd.c | 4 drivers/phy/Kconfig | 1 drivers/phy/Makefile | 1 drivers/phy/realtek/Kconfig | 32 drivers/phy/realtek/Makefile | 3 drivers/phy/realtek/phy-rtk-usb2.c | 1325 ----------- drivers/phy/realtek/phy-rtk-usb3.c | 761 ------ drivers/platform/x86/amd/pmc/pmc.c | 31 drivers/platform/x86/hp/hp-bioscfg/bioscfg.c | 24 drivers/platform/x86/ideapad-laptop.c | 11 drivers/s390/block/dasd.c | 24 drivers/s390/net/Kconfig | 3 drivers/s390/net/ism_drv.c | 93 drivers/thunderbolt/switch.c | 2 drivers/usb/cdns3/cdnsp-ring.c | 3 drivers/usb/core/config.c | 3 drivers/usb/core/hub.c | 23 drivers/usb/dwc2/hcd_intr.c | 15 drivers/usb/dwc3/core.c | 2 drivers/usb/dwc3/drd.c | 2 drivers/usb/dwc3/dwc3-qcom.c | 65 drivers/usb/host/xhci-plat.c | 50 drivers/usb/misc/onboard_usb_hub.c | 2 drivers/usb/misc/onboard_usb_hub.h | 7 drivers/usb/serial/option.c | 11 drivers/usb/typec/tcpm/tcpm.c | 12 drivers/xen/swiotlb-xen.c | 1 fs/afs/dynroot.c | 4 fs/afs/internal.h | 1 fs/afs/server_list.c | 2 fs/afs/super.c | 2 fs/afs/vl_rotate.c | 10 fs/ecryptfs/inode.c | 12 fs/inode.c | 2 fs/libfs.c | 14 fs/nfsd/cache.h | 4 fs/nfsd/nfscache.c | 64 fs/nfsd/nfssvc.c | 14 fs/overlayfs/inode.c | 10 fs/overlayfs/overlayfs.h | 8 fs/smb/client/cifs_debug.c | 16 fs/smb/client/cifsglob.h | 2 fs/smb/client/connect.c | 6 fs/smb/client/sess.c | 112 fs/smb/client/smb2ops.c | 6 fs/stat.c | 6 include/acpi/acpi_bus.h | 1 include/linux/hid.h | 3 include/linux/netdevice.h | 30 include/linux/pagemap.h | 17 include/linux/sched/coredump.h | 10 include/linux/usb/phy.h | 13 include/trace/events/rxrpc.h | 2 include/uapi/linux/fcntl.h | 3 include/uapi/linux/prctl.h | 1 io_uring/fs.c | 2 io_uring/rsrc.c | 2 kernel/fork.c | 2 kernel/locking/lockdep.c | 3 kernel/sched/fair.c | 161 + kernel/sys.c | 36 mm/page-writeback.c | 2 net/core/dev.c | 57 net/core/filter.c | 1 net/ipv4/route.c | 2 net/rxrpc/input.c | 61 net/smc/af_smc.c | 8 net/tls/tls_sw.c | 3 sound/pci/hda/patch_realtek.c | 10 tools/hv/hv_kvp_daemon.c | 20 tools/hv/hv_set_ifconfig.sh | 4 tools/include/uapi/linux/prctl.h | 1 tools/power/pm-graph/sleepgraph.py | 2 tools/testing/selftests/arm64/fp/za-fork.c | 2 tools/testing/vsock/vsock_test.c | 19 126 files changed, 1208 insertions(+), 2686 deletions(-)
Abel Wu (1):
sched/eevdf: Fix vruntime adjustment on reweight
Alex Elder (1):
net: ipa: fix one GSI register field width
Alexander Stein (1):
usb: dwc3: Fix default mode initialization
Andrzej Hajda (1):
drm/i915: do not clean GT table on error path
Ani Sinha (1):
hv/hv_kvp_daemon: Some small fixes for handling NM keyfiles
Arseniy Krasnov (1):
vsock/test: fix SEQPACKET message bounds test
Asuna Yang (1):
USB: serial: option: add Luat Air72*U series products
Badhri Jagan Sridharan (2):
usb: typec: tcpm: Fix sink caps op current check
usb: typec: tcpm: Skip hard reset when in error recovery
Bjorn Andersson (1):
drm/msm/dpu: Add missing safe_lut_tbl in sc8280xp catalog
Charles Mirabile (1):
io_uring/fs: consider link->flags when getting path for LINKAT
Charles Yi (1):
HID: fix HID device resource race between HID core and debugging support
Chen Ni (1):
ata: pata_isapnp: Add missing error check for devm_ioport_map()
Christoph Hellwig (3):
filemap: add a per-mapping stable writes flag
block: update the stable_writes flag in bdev_add
nvmet: nul-terminate the NQNs passed in the connect command
Chuck Lever (3):
NFSD: Fix "start of NFS reply" pointer passed to nfsd_cache_update()
NFSD: Fix checksum mismatches in the duplicate reply cache
libfs: getdents() should return 0 after reaching EOD
Coly Li (2):
bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in btree_gc_coalesce()
bcache: check return value from btree_node_alloc_replacement()
Cong Yang (1):
drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP
D. Wythe (1):
net/smc: avoid data corruption caused by decline
Daniel Borkmann (2):
net, vrf: Move dstats structure to core
net: Move {l,t,d}stats allocation to core and convert veth & vrf
David Howells (6):
rxrpc: Fix RTT determination to use any ACK as a source
rxrpc: Defer the response to a PING ACK until we've parsed it
afs: Fix afs_server_list to be cleaned up with RCU
afs: Make error on cell lookup failure consistent with OpenAFS
afs: Return ENOENT if no cell DNS record can be found
afs: Fix file locking on R/O volumes to operate in local mode
David Woodhouse (2):
PM: tools: Fix sleepgraph syntax error
ACPI: processor_idle: use raw_safe_halt() in acpi_idle_play_dead()
Eric Dumazet (1):
wireguard: use DEV_STATS_INC()
Fang Xiang (1):
irqchip/gic-v3-its: Flush ITS tables correctly in non-coherent GIC designs
Florent Revest (1):
mm: add a NO_INHERIT flag to the PR_SET_MDWE prctl
Gerd Bayer (1):
s390/ism: ism driver implies smc protocol
Gil Fine (1):
thunderbolt: Set lane bonding bit only for downstream port
Greg Kroah-Hartman (1):
Linux 6.6.4
Haiyang Zhang (2):
hv_netvsc: fix race of netvsc and VF register_netdevice
hv_netvsc: Fix race of register_netdevice_notifier and VF register
Hannes Reinecke (1):
nvme: blank out authentication fabrics options if not configured
Hans de Goede (3):
ACPI: video: Use acpi_device_fix_up_power_children()
ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA
ACPI: PM: Add acpi_device_fix_up_power_children() function
Harshit Mogalapalli (3):
platform/x86: hp-bioscfg: Simplify return check in hp_add_other_attributes() platform/x86: hp-bioscfg: move mutex_lock() down in hp_add_other_attributes() platform/x86: hp-bioscfg: Fix error handling in hp_add_other_attributes()
Helge Deller (1):
prctl: Disable prctl(PR_SET_MDWE) on parisc
Ivan Vecera (1):
i40e: Fix adding unsupported cloud filters
Jacek Lawrynowicz (1):
accel/ivpu/37xx: Fix hangs related to MMIO reset
Jan Höppner (1):
s390/dasd: protect device queue against concurrent access
Jann Horn (1):
tls: fix NULL deref on tls_sw_splice_eof() with empty record
Jiawen Wu (1):
net: wangxun: fix kernel panic due to null pointer
Johan Hovold (8):
USB: dwc3: qcom: fix resource leaks on probe deferral
USB: dwc3: qcom: fix ACPI platform device leak
Revert "usb: phy: add usb phy notify port status API" Revert "phy: realtek: usb: Add driver for the Realtek SoC USB 3.0 PHY" Revert "phy: realtek: usb: Add driver for the Realtek SoC USB 2.0 PHY"
USB: xhci-plat: fix legacy PHY double init
USB: dwc3: qcom: fix software node leak on probe errors
USB: dwc3: qcom: fix wakeup after probe deferral
Jonas Karlman (1):
drm/rockchip: vop: Fix color for RGB888/BGR888 format on VOP full
Jonathan Marek (1):
drm/msm/dsi: use the correct VREG_CTRL_1 value for 4nm cphy
Jose Ignacio Tornos Martinez (1):
net: usb: ax88179_178a: fix failed operations during ax88179_reset
Keisuke Nishimura (1):
sched/fair: Fix the decision for load balance
Keith Busch (2):
swiotlb-xen: provide the "max_mapping_size" method
io_uring: fix off-by one bvec index
Kunwu Chan (1):
ipv4: Correct/silence an endian warning in __ip_do_redirect
Lech Perczak (1):
USB: serial: option: don't claim interface 4 for ZTE MF290
Long Li (1):
hv_netvsc: Mark VF as slave before exposing it to user-mode
Lorenzo Bianconi (1):
net: veth: fix ethtool stats reporting
Marek Vasut (2):
drm/panel: simple: Fix Innolux G101ICE-L01 bus flags drm/panel: simple: Fix Innolux G101ICE-L01 timings
Mark Brown (1):
kselftest/arm64: Fix output formatting for za-fork
Mikhail Zaslonko (1):
s390/ipl: add missing IPL_TYPE_ECKD_DUMP case to ipl_init()
Mikulas Patocka (1):
dm-delay: fix a race between delay_presuspend and delay_bio
Ming Lei (1):
blk-cgroup: avoid to warn !rcu_read_lock_held() in blkg_lookup()
Mingzhe Zou (3):
bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up race
bcache: fixup init dirty data errors
bcache: fixup lock c->root error
Niklas Neronin (1):
usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
Oliver Neukum (1):
USB: dwc2: write HCINT with INTMASK applied
Pawel Laszczak (1):
usb: cdnsp: Fix deadlock issue during using NCM gadget
Peilin Ye (2):
bpf: Fix dev's rx stats for bpf_redirect_peer traffic
veth: Use tstats per-CPU traffic counters
Peter Zijlstra (1):
lockdep: Fix block chain corruption
Puliang Lu (1):
USB: serial: option: fix FM101R-GL defines
Raju Rangoju (3):
amd-xgbe: handle corner-case during sfp hotplug
amd-xgbe: handle the corner-case during tx completion
amd-xgbe: propagate the correct speed and duplex status
Rand Deeb (1):
bcache: prevent potential division by zero error
Ricardo Ribalda (1):
usb: dwc3: set the dma max_seg_size
Samuel Holland (1):
net: axienet: Fix check for partial TX checksum
Shyam Prasad N (3):
cifs: distribute channels across interfaces based on speed
cifs: account for primary channel in the interface list
cifs: fix leak of iface for primary channel
Shyam Sundar S K (1):
platform/x86/amd/pmc: adjust getting DRAM size behavior
Song Liu (1):
md: fix bi_status reporting in md_end_clone_io
Stanislaw Gruszka (1):
accel/ivpu: Do not initialize parameters on power up
Stefan Berger (1):
fs: Pass AT_GETATTR_NOSEC flag to getattr interface function
Stefan Binding (1):
ALSA: hda/realtek: Add quirks for ASUS 2024 Zenbooks
Stefan Eichenberger (2):
dt-bindings: usb: microchip,usb5744: Add second supply
usb: misc: onboard-hub: add support for Microchip USB5744
Stefano Stabellini (1):
arm/xen: fix xen_vcpu_info allocation alignment
Stuart Hayhurst (1):
platform/x86: ideapad-laptop: Set max_brightness before using it
Suman Ghosh (2):
octeontx2-pf: Fix memory leak during interface down
octeontx2-pf: Fix ntuple rule creation to direct packet to VF with higher Rx queue than its PF
Thomas Zimmermann (1):
drm/ast: Disconnect BMC if physical connector is connected
Victor Fragoso (1):
USB: serial: option: add Fibocom L7xx modules
Vitalii Torshyn (1):
ALSA: hda: ASUS UM5302LA: Added quirks for cs35L41/10431A83 on i2c bus
Will Deacon (1):
arm64: mm: Fix "rodata=on" when CONFIG_RODATA_FULL_DEFAULT_ENABLED=y
Xuxin Xiong (1):
drm/panel: auo,b101uan08.3: Fine tune the panel power sequence
Greg Kroah-Hartman
maintainerDocumentation/devicetree/bindings/usb/microchip,usb5744.yaml +6 -1
@@ -36,7 +36,11 @@ properties: vdd-supply: description: - VDD power supply to the hub + 3V3 power supply to the hub + + vdd2-supply: + description: + 1V2 power supply to the hub peer-hub: $ref: /schemas/types.yaml#/definitions/phandle
@@ -62,6 +66,7 @@ allOf: properties: reset-gpios: false vdd-supply: false + vdd2-supply: false peer-hub: false i2c-bus: false else:
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 6 -SUBLEVEL = 3 +SUBLEVEL = 4 EXTRAVERSION = NAME = Hurr durr I'ma ninja sloth
arch/arm/xen/enlighten.c +2 -1
@@ -484,7 +484,8 @@ static int __init xen_guest_init(void)* for secondary CPUs as they are brought up. * For uniformity we use VCPUOP_register_vcpu_info even on cpu0. */ - xen_vcpu_info = alloc_percpu(struct vcpu_info); + xen_vcpu_info =__alloc_percpu (sizeof (struct vcpu_info ), +1 <<fls (sizeof (struct vcpu_info ) -1 ));if (xen_vcpu_info ==NULL )return -ENOMEM ;
arch/arm64/include/asm/setup.h +15 -2
@@ -21,9 +21,22 @@ static inline bool arch_parse_debug_rodata(char *arg)extern bool rodata_enabled;extern bool rodata_full; -if (arg && !strcmp (arg,"full" )) { +if (!arg) +return false; + +if (!strcmp (arg,"full" )) { + rodata_enabled = rodata_full = true; +return true; + } + +if (!strcmp (arg,"off" )) { + rodata_enabled = rodata_full = false; +return true; + } + +if (!strcmp (arg,"on" )) { rodata_enabled = true; - rodata_full = true; + rodata_full = false;return true; }
arch/arm64/mm/pageattr.c +3 -4
@@ -29,8 +29,8 @@ bool can_set_direct_map(void)* * KFENCE pool requires page-granular mapping if initialized late. */ -return (rodata_enabled && rodata_full) ||debug_pagealloc_enabled () || -arm64_kfence_can_set_direct_map (); +return rodata_full ||debug_pagealloc_enabled () || +arm64_kfence_can_set_direct_map (); }static int change_page_range (pte_t *ptep,unsigned long addr,void *data)
@@ -105,8 +105,7 @@ static int change_memory_common(unsigned long addr, int numpages,* If we are manipulating read-only permissions, apply the same * change to the linear mapping of the pages that back this VM area. */ -if (rodata_enabled && - rodata_full && (pgprot_val (set_mask) ==PTE_RDONLY || +if (rodata_full && (pgprot_val (set_mask) ==PTE_RDONLY ||pgprot_val (clear_mask) ==PTE_RDONLY )) {for (i =0 ; i < area->nr_pages; i++) { __change_memory_common((u64)page_address(area->pages[i]),
arch/s390/kernel/ipl.c +1 -0
@@ -666,6 +666,7 @@ static int __init ipl_init(void) &ipl_ccw_attr_group_lpar);break ;case IPL_TYPE_ECKD : +case IPL_TYPE_ECKD_DUMP : rc =sysfs_create_group (&ipl_kset->kobj, &ipl_eckd_attr_group);break ;case IPL_TYPE_FCP :
block/bdev.c +2 -0
@@ -425,6 +425,8 @@ void bdev_set_nr_sectors(struct block_device *bdev, sector_t sectors)void bdev_add (struct block_device *bdev,dev_t dev) { +if (bdev_stable_writes (bdev)) +mapping_set_stable_writes (bdev->bd_inode->i_mapping); bdev->bd_dev = dev; bdev->bd_inode->i_rdev = dev; bdev->bd_inode->i_ino = dev;
block/blk-cgroup.h +0 -2
@@ -249,8 +249,6 @@ static inline struct blkcg_gq *blkg_lookup(struct blkcg *blkcg, {struct blkcg_gq *blkg; -WARN_ON_ONCE (!rcu_read_lock_held ()); -if (blkcg == &blkcg_root)return q->root_blkg;
drivers/accel/ivpu/ivpu_hw_37xx.c +26 -28
87 lines not on this page · raw message
drivers/accel/ivpu/ivpu_hw_40xx.c +4 -4
@@ -728,6 +728,10 @@ static int ivpu_hw_40xx_info_init(struct ivpu_device *vdev)ivpu_hw_init_range (&vdev->hw->ranges.shave,0x80000000 +SZ_256M ,SZ_2G -SZ_256M );ivpu_hw_init_range (&vdev->hw->ranges.dma,0x200000000 ,SZ_8G ); +ivpu_hw_read_platform (vdev); +ivpu_hw_wa_init (vdev); +ivpu_hw_timeouts_init (vdev); +return 0 ; }
@@ -819,10 +823,6 @@ static int ivpu_hw_40xx_power_up(struct ivpu_device *vdev)return ret; } -ivpu_hw_read_platform (vdev); -ivpu_hw_wa_init (vdev); -ivpu_hw_timeouts_init (vdev); - ret =ivpu_hw_40xx_d0i3_disable (vdev);if (ret)ivpu_warn (vdev,"Failed to disable D0I3: %d\n" , ret);
drivers/acpi/acpi_video.c +1 -1
@@ -2031,7 +2031,7 @@ static int acpi_video_bus_add(struct acpi_device *device)* HP ZBook Fury 16 G10 requires ACPI video's child devices have _PS0 * evaluated to have functional panel brightness control. */ -acpi_device_fix_up_power_extended (device); +acpi_device_fix_up_power_children (device); pr_info("%s [%s] (multi-head: %s rom: %s post: %s)\n", ACPI_VIDEO_DEVICE_NAME, acpi_device_bid(device),
drivers/acpi/device_pm.c +13 -0
@@ -397,6 +397,19 @@ void acpi_device_fix_up_power_extended(struct acpi_device *adev) }EXPORT_SYMBOL_GPL (acpi_device_fix_up_power_extended); +/** +* acpi_device_fix_up_power_children - Force a device's children into D0. +* @adev: Parent device object whose children's power state is to be fixed up. +* +* Call acpi_device_fix_up_power() for @adev's children so long as they +* are reported as present and enabled. +*/ +void acpi_device_fix_up_power_children (struct acpi_device *adev) +{ +acpi_dev_for_each_child (adev, fix_up_power_if_applicable,NULL ); +} +EXPORT_SYMBOL_GPL (acpi_device_fix_up_power_children); +int acpi_device_update_power (struct acpi_device *device,int *state_p) {int state;
drivers/acpi/processor_idle.c +1 -1
@@ -592,7 +592,7 @@ static int acpi_idle_play_dead(struct cpuidle_device *dev, int index)while (1 ) {if (cx->entry_method ==ACPI_CSTATE_HALT ) -safe_halt (); +raw_safe_halt ();else if (cx->entry_method ==ACPI_CSTATE_SYSTEMIO ) {io_idle (cx->address); }else
drivers/acpi/resource.c +7 -0
@@ -446,6 +446,13 @@ static const struct dmi_system_id asus_laptop[] = { DMI_MATCH(DMI_BOARD_NAME, "B1402CBA"), }, }, + { +/* Asus ExpertBook B1402CVA */ + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"ASUSTeK COMPUTER INC." ), + DMI_MATCH(DMI_BOARD_NAME, "B1402CVA"), + }, + }, { .ident ="Asus ExpertBook B1502CBA" , .matches = {
drivers/ata/pata_isapnp.c +3 -0
@@ -82,6 +82,9 @@ static int isapnp_init_one(struct pnp_dev *idev, const struct pnp_device_id *devif (pnp_port_valid (idev,1 )) { ctl_addr =devm_ioport_map (&idev->dev,pnp_port_start (idev,1 ),1 ); +if (!ctl_addr) +return -ENOMEM ; + ap->ioaddr.altstatus_addr = ctl_addr; ap->ioaddr.ctl_addr = ctl_addr; ap->ops = &isapnp_port_ops;
drivers/gpu/drm/ast/ast_drv.h +12 -1
@@ -172,6 +172,17 @@ to_ast_sil164_connector(struct drm_connector *connector) return container_of(connector, struct ast_sil164_connector, base); } +struct ast_bmc_connector { +struct drm_connector base; +struct drm_connector *physical_connector; +}; + +static inline struct ast_bmc_connector * +to_ast_bmc_connector (struct drm_connector *connector) +{ + return container_of(connector, struct ast_bmc_connector, base); +} +/* * Device */
@@ -216,7 +227,7 @@ struct ast_device { } astdp;struct {struct drm_encoder encoder; -struct drm_connector connector; +struct ast_bmc_connector bmc_connector; } bmc; } output;
drivers/gpu/drm/ast/ast_mode.c +55 -7
121 lines not on this page · raw message
drivers/gpu/drm/i915/gt/intel_gt.c +0 -11
@@ -967,8 +967,6 @@ int intel_gt_probe_all(struct drm_i915_private *i915) err:i915_probe_error (i915,"Failed to initialize %s! (%d)\n" , gtdef->name, ret); -intel_gt_release_all (i915); -return ret; }
@@ -987,15 +985,6 @@ int intel_gt_tiles_init(struct drm_i915_private *i915)return 0 ; } -void intel_gt_release_all (struct drm_i915_private *i915) -{ -struct intel_gt *gt; -unsigned int id; - -for_each_gt (gt, i915, id) - i915->gt[id] =NULL ; -} -void intel_gt_info_print (const struct intel_gt_info *info,struct drm_printer *p) {
drivers/gpu/drm/i915/i915_driver.c +1 -3
@@ -777,7 +777,7 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent) ret =i915_driver_mmio_probe (i915);if (ret <0 ) - goto out_tiles_cleanup; + goto out_runtime_pm_put; ret =i915_driver_hw_probe (i915);if (ret <0 )
@@ -837,8 +837,6 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)i915_ggtt_driver_late_release (i915); out_cleanup_mmio:i915_driver_mmio_release (i915); -out_tiles_cleanup: -intel_gt_release_all (i915); out_runtime_pm_put:enable_rpm_wakeref_asserts (&i915->runtime_pm);i915_driver_late_release (i915);
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h +1 -0
@@ -419,6 +419,7 @@ static const struct dpu_perf_cfg sc8280xp_perf_data = { .min_llcc_ib = 0, .min_dram_ib = 800000, .danger_lut_tbl = {0xf, 0xffff, 0x0}, + .safe_lut_tbl = {0xfe00, 0xfe00, 0xffff}, .qos_lut_tbl = { {.nentry = ARRAY_SIZE(sc8180x_qos_linear), .entries = sc8180x_qos_linear
drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c +1 -1
@@ -918,7 +918,7 @@ static int dsi_7nm_phy_enable(struct msm_dsi_phy *phy,if ((phy->cfg->quirks &DSI_PHY_7NM_QUIRK_V5_2 )) {if (phy->cphy_mode) { vreg_ctrl_0 =0x45 ; - vreg_ctrl_1 =0x45 ; + vreg_ctrl_1 =0x41 ; glbl_rescode_top_ctrl =0x00 ; glbl_rescode_bot_ctrl =0x00 ; }else {
drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c +5 -4
@@ -2049,6 +2049,7 @@ static const struct panel_desc auo_b101uan08_3_desc = { .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE | MIPI_DSI_MODE_LPM, .init_cmds = auo_b101uan08_3_init_cmd, + .lp11_before_reset = true, };static const struct drm_display_mode boe_tv105wum_nw0_default_mode = {
@@ -2106,11 +2107,11 @@ static const struct panel_desc starry_qfh032011_53g_desc = { };static const struct drm_display_mode starry_himax83102_j02_default_mode = { - .clock =161600 , + .clock =162850 , .hdisplay =1200 , - .hsync_start =1200 +40 , - .hsync_end =1200 +40 +20 , - .htotal =1200 +40 +20 +40 , + .hsync_start =1200 +50 , + .hsync_end =1200 +50 +20 , + .htotal =1200 +50 +20 +50 , .vdisplay =1920 , .vsync_start =1920 +116 , .vsync_end =1920 +116 +8 ,
drivers/gpu/drm/panel/panel-simple.c +7 -6
@@ -2326,13 +2326,13 @@ static const struct panel_desc innolux_g070y2_t02 = {static const struct display_timing innolux_g101ice_l01_timing = { .pixelclock = {60400000 ,71100000 ,74700000 }, .hactive = {1280 ,1280 ,1280 }, - .hfront_porch = {41 ,80 ,100 }, - .hback_porch = {40 ,79 ,99 }, - .hsync_len = {1 ,1 ,1 }, + .hfront_porch = {30 ,60 ,70 }, + .hback_porch = {30 ,60 ,70 }, + .hsync_len = {22 ,40 ,60 }, .vactive = {800 ,800 ,800 }, - .vfront_porch = {5 ,11 ,14 }, - .vback_porch = {4 ,11 ,14 }, - .vsync_len = {1 ,1 ,1 }, + .vfront_porch = {3 ,8 ,14 }, + .vback_porch = {3 ,8 ,14 }, + .vsync_len = {4 ,7 ,12 }, .flags =DISPLAY_FLAGS_DE_HIGH , };
@@ -2349,6 +2349,7 @@ static const struct panel_desc innolux_g101ice_l01 = { .disable = 200, }, .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, .connector_type = DRM_MODE_CONNECTOR_LVDS, };
drivers/gpu/drm/rockchip/rockchip_drm_vop.c +11 -3
@@ -247,14 +247,22 @@ static inline void vop_cfg_done(struct vop *vop)VOP_REG_SET (vop, common, cfg_done,1 ); } -static bool has_rb_swapped (uint32_t format) +static bool has_rb_swapped (uint32_t version,uint32_t format) {switch (format) {case DRM_FORMAT_XBGR8888 :case DRM_FORMAT_ABGR8888 : -case DRM_FORMAT_BGR888 :case DRM_FORMAT_BGR565 :return true; +/* +* full framework (IP version 3.x) only need rb swapped for RGB888 and +* little framework (IP version 2.x) only need rb swapped for BGR888, +* check for 3.x to also only rb swap BGR888 for unknown vop version +*/ +case DRM_FORMAT_RGB888 : +return VOP_MAJOR (version) ==3 ; +case DRM_FORMAT_BGR888 : +return VOP_MAJOR (version) !=3 ;default :return false; }
@@ -1013,7 +1021,7 @@ static void vop_plane_atomic_update(struct drm_plane *plane,VOP_WIN_SET (vop, win, dsp_info, dsp_info);VOP_WIN_SET (vop, win, dsp_st, dsp_st); - rb_swap =has_rb_swapped (fb->format->format); + rb_swap =has_rb_swapped (vop->data->version, fb->format->format);VOP_WIN_SET (vop, win, rb_swap, rb_swap);/*
drivers/hid/hid-core.c +10 -2
@@ -702,15 +702,22 @@ static void hid_close_report(struct hid_device *device)* Free a device structure, all reports, and all fields. */ -static void hid_device_release (struct device *dev) +void hiddev_free (struct kref *ref) { -struct hid_device *hid =to_hid_device (dev); + struct hid_device *hid = container_of(ref, struct hid_device, ref);hid_close_report (hid);kfree (hid->dev_rdesc);kfree (hid); } +static void hid_device_release (struct device *dev) +{ +struct hid_device *hid =to_hid_device (dev); + +kref_put (&hid->ref, hiddev_free); +} +/* * Fetch a report description item from the data stream. We support long * items, though they are not used yet.
@@ -2846,6 +2853,7 @@ struct hid_device *hid_allocate_device(void)spin_lock_init (&hdev->debug_list_lock);sema_init (&hdev->driver_input_lock,1 );mutex_init (&hdev->ll_open_lock); +kref_init (&hdev->ref);hid_bpf_device_init (hdev);
drivers/hid/hid-debug.c +3 -0
@@ -1135,6 +1135,7 @@ static int hid_debug_events_open(struct inode *inode, struct file *file) goto out; } list->hdev = (struct hid_device *) inode->i_private; +kref_get (&list->hdev->ref); file->private_data = list;mutex_init (&list->read_mutex);
@@ -1227,6 +1228,8 @@ static int hid_debug_events_release(struct inode *inode, struct file *file)list_del (&list->node);spin_unlock_irqrestore (&list->hdev->debug_list_lock, flags);kfifo_free (&list->hid_debug_fifo); + +kref_put (&list->hdev->ref, hiddev_free);kfree (list);return 0 ;
drivers/irqchip/irq-gic-v3-its.c +10 -6
@@ -2379,12 +2379,12 @@ static int its_setup_baser(struct its_node *its, struct its_baser *baser,break ; } +if (!shr) +gic_flush_dcache_to_poc (base,PAGE_ORDER_TO_SIZE (order)); +its_write_baser (its, baser, val); tmp = baser->val; -if (its->flags &ITS_FLAGS_FORCE_NON_SHAREABLE ) - tmp &= ~GITS_BASER_SHAREABILITY_MASK ; -if ((val ^ tmp) &GITS_BASER_SHAREABILITY_MASK ) {/* * Shareability didn't stick. Just use
@@ -2394,10 +2394,9 @@ static int its_setup_baser(struct its_node *its, struct its_baser *baser,* non-cacheable as well. */ shr = tmp &GITS_BASER_SHAREABILITY_MASK ; -if (!shr) { +if (!shr) cache = GITS_BASER_nC; -gic_flush_dcache_to_poc (base,PAGE_ORDER_TO_SIZE (order)); - } + goto retry_baser; }
@@ -2609,6 +2608,11 @@ static int its_alloc_tables(struct its_node *its)/* erratum 24313: ignore memory access type */ cache = GITS_BASER_nCnB; +if (its->flags &ITS_FLAGS_FORCE_NON_SHAREABLE ) { + cache = GITS_BASER_nC; + shr =0 ; + } +for (i =0 ; i <GITS_BASER_NR_REGS ; i++) {struct its_baser *baser = its->tables + i;u64 val =its_read_baser (its, baser);
drivers/md/bcache/btree.c +3 -1
@@ -1363,7 +1363,7 @@ static int btree_gc_coalesce(struct btree *b, struct btree_op *op,memset (new_nodes,0 ,sizeof (new_nodes));closure_init_stack (&cl); -while (nodes <GC_MERGE_NODES && !IS_ERR (r[nodes].b)) +while (nodes <GC_MERGE_NODES && !IS_ERR_OR_NULL (r[nodes].b)) keys += r[nodes++].keys; blocks =btree_default_blocks (b->c) *2 /3 ;
@@ -1527,6 +1527,8 @@ static int btree_gc_rewrite_node(struct btree *b, struct btree_op *op,return 0 ; n =btree_node_alloc_replacement (replace,NULL ); +if (IS_ERR (n)) +return 0 ;/* recheck reserve after allocating replacement node */ if (btree_check_reserve (b,NULL )) {
drivers/md/bcache/sysfs.c +1 -1
@@ -1103,7 +1103,7 @@ SHOW(__bch_cache) sum +=INITIAL_PRIO - cached[i];if (n) -do_div (sum, n); + sum =div64_u64 (sum, n);for (i =0 ; i <ARRAY_SIZE (q); i++) q[i] = INITIAL_PRIO - cached[n * (i + 1) /
drivers/md/bcache/writeback.c +17 -5
@@ -977,24 +977,35 @@ static int bch_btre_dirty_init_thread_nr(void)void bch_sectors_dirty_init (struct bcache_device *d) {int i; +struct btree *b =NULL ;struct bkey *k =NULL ;struct btree_iter iter;struct sectors_dirty_init op;struct cache_set *c = d->c;struct bch_dirty_init_state state; +retry_lock: + b = c->root; +rw_lock (0 , b, b->level); +if (b != c->root) { +rw_unlock (0 , b); + goto retry_lock; + } +/* Just count root keys if no leaf node */ -rw_lock (0 , c->root, c->root->level);if (c->root->level ==0 ) {bch_btree_op_init (&op.op,-1 ); op.inode = d->id; op.count =0 ;for_each_key_filter (&c->root->keys, - k, &iter, bch_ptr_invalid) + k, &iter, bch_ptr_invalid) { +if (KEY_INODE (k) != op.inode) +continue ;sectors_dirty_init_fn (&op.op, c->root, k); + } -rw_unlock (0 , c->root); +rw_unlock (0 , b);return ; }
@@ -1014,23 +1025,24 @@ void bch_sectors_dirty_init(struct bcache_device *d)if (atomic_read (&state.enough))break ; +atomic_inc (&state.started); state.infos[i].state = &state; state.infos[i].thread =kthread_run (bch_dirty_init_thread, &state.infos[i],"bch_dirtcnt[%d]" , i);if (IS_ERR (state.infos[i].thread)) {pr_err ("fails to run thread bch_dirty_init[%d]\n" , i); +atomic_dec (&state.started);for (--i; i >=0 ; i--)kthread_stop (state.infos[i].thread); goto out; } -atomic_inc (&state.started); } out:/* Must wait for all threads to stop. */ wait_event (state.wait,atomic_read (&state.started) ==0 ); -rw_unlock (0 , c->root); +rw_unlock (0 , b); }void bch_cached_dev_writeback_init (struct cached_dev *dc)
drivers/md/dm-delay.c +12 -5
@@ -31,7 +31,7 @@ struct delay_c {struct workqueue_struct *kdelayd_wq;struct work_struct flush_expired_bios;struct list_head delayed_bios; -atomic_t may_delay; +bool may_delay;struct delay_class read;struct delay_class write;
@@ -192,7 +192,7 @@ static int delay_ctr(struct dm_target *ti, unsigned int argc, char **argv)INIT_WORK (&dc->flush_expired_bios, flush_expired_bios);INIT_LIST_HEAD (&dc->delayed_bios);mutex_init (&dc->timer_lock); -atomic_set (&dc->may_delay,1 ); + dc->may_delay = true; dc->argc = argc; ret =delay_class_ctr (ti, &dc->read, argv);
@@ -247,7 +247,7 @@ static int delay_bio(struct delay_c *dc, struct delay_class *c, struct bio *bio)struct dm_delay_info *delayed;unsigned long expires =0 ; -if (!c->delay || !atomic_read (&dc->may_delay)) +if (!c->delay)return DM_MAPIO_REMAPPED ; delayed =dm_per_bio_data (bio,sizeof (struct dm_delay_info ));
@@ -256,6 +256,10 @@ static int delay_bio(struct delay_c *dc, struct delay_class *c, struct bio *bio) delayed->expires = expires = jiffies +msecs_to_jiffies (c->delay);mutex_lock (&delayed_bios_lock); +if (unlikely (!dc->may_delay)) { +mutex_unlock (&delayed_bios_lock); +return DM_MAPIO_REMAPPED ; + } c->ops++;list_add_tail (&delayed->list, &dc->delayed_bios);mutex_unlock (&delayed_bios_lock);
@@ -269,7 +273,10 @@ static void delay_presuspend(struct dm_target *ti) {struct delay_c *dc = ti->private; -atomic_set (&dc->may_delay,0 ); +mutex_lock (&delayed_bios_lock); + dc->may_delay = false; +mutex_unlock (&delayed_bios_lock); +del_timer_sync (&dc->delay_timer);flush_bios (flush_delayed_bios (dc,1 )); }
@@ -278,7 +285,7 @@ static void delay_resume(struct dm_target *ti) {struct delay_c *dc = ti->private; -atomic_set (&dc->may_delay,1 ); + dc->may_delay = true; }static int delay_map (struct dm_target *ti,struct bio *bio)
drivers/md/md.c +2 -1
@@ -8669,7 +8669,8 @@ static void md_end_clone_io(struct bio *bio)struct bio *orig_bio = md_io_clone->orig_bio;struct mddev *mddev = md_io_clone->mddev; - orig_bio->bi_status = bio->bi_status; +if (bio->bi_status && !orig_bio->bi_status) + orig_bio->bi_status = bio->bi_status;if (md_io_clone->start_time)bio_end_io_acct (orig_bio, md_io_clone->start_time);
drivers/net/ethernet/amd/xgbe/xgbe-drv.c +14 -0
@@ -682,10 +682,24 @@ static void xgbe_service(struct work_struct *work)static void xgbe_service_timer (struct timer_list *t) {struct xgbe_prv_data *pdata =from_timer (pdata, t, service_timer); +struct xgbe_channel *channel; +unsigned int i;queue_work (pdata->dev_workqueue, &pdata->service_work);mod_timer (&pdata->service_timer, jiffies +HZ ); + +if (!pdata->tx_usecs) +return ; + +for (i =0 ; i < pdata->channel_count; i++) { + channel = pdata->channel[i]; +if (!channel->tx_ring || channel->tx_timer_active) +break ; + channel->tx_timer_active =1 ; +mod_timer (&channel->tx_timer, + jiffies +usecs_to_jiffies (pdata->tx_usecs)); + } }static void xgbe_init_timers (struct xgbe_prv_data *pdata)
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c +8 -3
@@ -314,10 +314,15 @@ static int xgbe_get_link_ksettings(struct net_device *netdev, cmd->base.phy_address = pdata->phy.address; - cmd->base.autoneg = pdata->phy.autoneg; - cmd->base.speed = pdata->phy.speed; - cmd->base.duplex = pdata->phy.duplex; +if (netif_carrier_ok (netdev)) { + cmd->base.speed = pdata->phy.speed; + cmd->base.duplex = pdata->phy.duplex; + }else { + cmd->base.speed =SPEED_UNKNOWN ; + cmd->base.duplex =DUPLEX_UNKNOWN ; + } + cmd->base.autoneg = pdata->phy.autoneg; cmd->base.port =PORT_NONE ;XGBE_LM_COPY (cmd, supported, lks, supported);
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c +13 -1
@@ -1193,7 +1193,19 @@ static int xgbe_phy_config_fixed(struct xgbe_prv_data *pdata)if (pdata->phy.duplex !=DUPLEX_FULL )return -EINVAL ; -xgbe_set_mode (pdata, mode); +/* Force the mode change for SFI in Fixed PHY config. +* Fixed PHY configs needs PLL to be enabled while doing mode set. +* When the SFP module isn't connected during boot, driver assumes +* AN is ON and attempts autonegotiation. However, if the connected +* SFP comes up in Fixed PHY config, the link will not come up as +* PLL isn't enabled while the initial mode set command is issued. +* So, force the mode change for SFI in Fixed PHY configuration to +* fix link issues. +*/ +if (mode ==XGBE_MODE_SFI ) +xgbe_change_mode (pdata, mode); +else +xgbe_set_mode (pdata, mode);return 0 ; }
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +9 -7
@@ -3842,7 +3842,7 @@ static int i40e_vc_add_cloud_filter(struct i40e_vf *vf, u8 *msg)struct i40e_pf *pf = vf->pf;struct i40e_vsi *vsi =NULL ;int aq_ret =0 ; -int i, ret; +int i;if (!i40e_sync_vf_state (vf,I40E_VF_STATE_ACTIVE )) { aq_ret = -EINVAL ;
@@ -3866,8 +3866,10 @@ static int i40e_vc_add_cloud_filter(struct i40e_vf *vf, u8 *msg) } cfilter =kzalloc (sizeof (*cfilter),GFP_KERNEL ); -if (!cfilter) -return -ENOMEM ; +if (!cfilter) { + aq_ret = -ENOMEM ; + goto err_out; + }/* parse destination mac address */ for (i =0 ; i <ETH_ALEN ; i++)
@@ -3915,13 +3917,13 @@ static int i40e_vc_add_cloud_filter(struct i40e_vf *vf, u8 *msg)/* Adding cloud filter programmed as TC filter */ if (tcf.dst_port) - ret =i40e_add_del_cloud_filter_big_buf (vsi, cfilter, true); + aq_ret =i40e_add_del_cloud_filter_big_buf (vsi, cfilter, true);else - ret =i40e_add_del_cloud_filter (vsi, cfilter, true); -if (ret) { + aq_ret =i40e_add_del_cloud_filter (vsi, cfilter, true); +if (aq_ret) {dev_err (&pf->pdev->dev,"VF %d: Failed to add cloud filter, err %pe aq_err %s\n" , - vf->vf_id,ERR_PTR (ret), + vf->vf_id,ERR_PTR (aq_ret),i40e_aq_str (&pf->hw, pf->hw.aq.asq_last_status)); goto err_free; }
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c +19 -1
@@ -1088,6 +1088,7 @@ int otx2_add_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc)struct ethhdr *eth_hdr;bool new = false;int err =0 ; +u64 vf_num;u32 ring;if (!flow_cfg->max_flows) {
@@ -1100,7 +1101,21 @@ int otx2_add_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc)if (!(pfvf->flags &OTX2_FLAG_NTUPLE_SUPPORT ))return -ENOMEM ; -if (ring >= pfvf->hw.rx_queues && fsp->ring_cookie !=RX_CLS_FLOW_DISC ) +/* Number of queues on a VF can be greater or less than +* the PF's queue. Hence no need to check for the +* queue count. Hence no need to check queue count if PF +* is installing for its VF. Below is the expected vf_num value +* based on the ethtool commands. +* +* e.g. +* 1. ethtool -U <netdev> ... action -1 ==> vf_num:255 +* 2. ethtool -U <netdev> ... action <queue_num> ==> vf_num:0 +* 3. ethtool -U <netdev> ... vf <vf_idx> queue <queue_num> ==> +* vf_num:vf_idx+1 +*/ + vf_num =ethtool_get_flow_spec_ring_vf (fsp->ring_cookie); +if (!is_otx2_vf (pfvf->pcifunc) && !vf_num && + ring >= pfvf->hw.rx_queues && fsp->ring_cookie !=RX_CLS_FLOW_DISC )return -EINVAL ;if (fsp->location >=otx2_get_maxflows (flow_cfg))
@@ -1182,6 +1197,9 @@ int otx2_add_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc) flow_cfg->nr_flows++; } +if (flow->is_vf) +netdev_info (pfvf->netdev, +"Make sure that VF's queue number is within its queue limit\n" );return 0 ; }
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c +2 -0
@@ -1934,6 +1934,8 @@ int otx2_stop(struct net_device *netdev)/* Clear RSS enable flag */ rss = &pf->hw.rss_info; rss->enable = false; +if (!netif_is_rxfh_configured (netdev)) +kfree (rss->rss_ctx[DEFAULT_RSS_CONTEXT_GROUP ]);/* Cleanup Queue IRQ */ vec = pci_irq_vector(pf->pdev,
drivers/net/ethernet/wangxun/libwx/wx_hw.c +5 -3
@@ -1677,10 +1677,12 @@ int wx_sw_init(struct wx *wx) wx->subsystem_device_id = pdev->subsystem_device; }else { err =wx_flash_read_dword (wx,0xfffdc , &ssid); -if (!err) - wx->subsystem_device_id =swab16 ((u16 )ssid); +if (err <0 ) { +wx_err (wx,"read of internal subsystem device id failed\n" ); +return err; + } -return err; + wx->subsystem_device_id =swab16 ((u16 )ssid); } wx->mac_table = kcalloc(wx->mac.num_rar_entries,
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c +1 -3
@@ -121,10 +121,8 @@ static int ngbe_sw_init(struct wx *wx)/* PCI config space info */ err =wx_sw_init (wx); -if (err <0 ) { -wx_err (wx,"read of internal subsystem device id failed\n" ); +if (err <0 )return err; - }/* mac type, phy type , oem type */ ngbe_init_type_code (wx);
drivers/net/ethernet/wangxun/txgbe/txgbe_main.c +1 -3
@@ -362,10 +362,8 @@ static int txgbe_sw_init(struct wx *wx)/* PCI config space info */ err =wx_sw_init (wx); -if (err <0 ) { -wx_err (wx,"read of internal subsystem device id failed\n" ); +if (err <0 )return err; - }txgbe_init_type_code (wx);
drivers/net/ethernet/xilinx/xilinx_axienet_main.c +1 -1
@@ -822,7 +822,7 @@ axienet_start_xmit(struct sk_buff *skb, struct net_device *ndev)if (lp->features &XAE_FEATURE_FULL_TX_CSUM ) {/* Tx Full Checksum Offload Enabled */ cur_p->app0 |=2 ; - }else if (lp->features &XAE_FEATURE_PARTIAL_RX_CSUM ) { + }else if (lp->features &XAE_FEATURE_PARTIAL_TX_CSUM ) { csum_start_off =skb_transport_offset (skb); csum_index_off = csum_start_off + skb->csum_offset;/* Tx Partial Checksum Offload Enabled */
drivers/net/hyperv/netvsc_drv.c +45 -21
127 lines not on this page · raw message
drivers/net/ipa/reg/gsi_reg-v5.0.c +1 -1
@@ -78,7 +78,7 @@ REG_STRIDE_FIELDS(EV_CH_E_CNTXT_0, ev_ch_e_cntxt_0, 0x0001c000 + 0x12000 * GSI_EE_AP, 0x80);static const u32 reg_ev_ch_e_cntxt_1_fmask[] = { - [R_LENGTH ] =GENMASK (19 ,0 ), + [R_LENGTH ] =GENMASK (23 ,0 ), }; REG_STRIDE_FIELDS(EV_CH_E_CNTXT_1, ev_ch_e_cntxt_1,
drivers/net/usb/ax88179_178a.c +2 -2
@@ -1583,11 +1583,11 @@ static int ax88179_reset(struct usbnet *dev) *tmp16 =AX_PHYPWR_RSTCTL_IPRL ;ax88179_write_cmd (dev,AX_ACCESS_MAC ,AX_PHYPWR_RSTCTL ,2 ,2 , tmp16); -msleep (200 ); +msleep (500 ); *tmp =AX_CLK_SELECT_ACS |AX_CLK_SELECT_BCS ;ax88179_write_cmd (dev,AX_ACCESS_MAC ,AX_CLK_SELECT ,1 ,1 , tmp); -msleep (100 ); +msleep (200 );/* Ethernet PHY Auto Detach*/ ax88179_auto_detach (dev);
drivers/net/veth.c +13 -33
97 lines not on this page · raw message
drivers/net/vrf.c +10 -28
@@ -121,22 +121,12 @@ struct net_vrf {int ifindex; }; -struct pcpu_dstats { -u64 tx_pkts; -u64 tx_bytes; -u64 tx_drps; -u64 rx_pkts; -u64 rx_bytes; -u64 rx_drps; -struct u64_stats_sync syncp; -}; -static void vrf_rx_stats (struct net_device *dev,int len) {struct pcpu_dstats *dstats =this_cpu_ptr (dev->dstats);u64_stats_update_begin (&dstats->syncp); - dstats->rx_pkts++; + dstats->rx_packets++; dstats->rx_bytes += len;u64_stats_update_end (&dstats->syncp); }
@@ -161,10 +151,10 @@ static void vrf_get_stats64(struct net_device *dev,do { start =u64_stats_fetch_begin (&dstats->syncp); tbytes = dstats->tx_bytes; - tpkts = dstats->tx_pkts; - tdrops = dstats->tx_drps; + tpkts = dstats->tx_packets; + tdrops = dstats->tx_drops; rbytes = dstats->rx_bytes; - rpkts = dstats->rx_pkts; + rpkts = dstats->rx_packets; }while (u64_stats_fetch_retry (&dstats->syncp, start)); stats->tx_bytes += tbytes; stats->tx_packets += tpkts;
@@ -421,7 +411,7 @@ static int vrf_local_xmit(struct sk_buff *skb, struct net_device *dev,if (likely (__netif_rx (skb) ==NET_RX_SUCCESS ))vrf_rx_stats (dev, len);else -this_cpu_inc (dev->dstats->rx_drps); +this_cpu_inc (dev->dstats->rx_drops);return NETDEV_TX_OK ; }
@@ -616,11 +606,11 @@ static netdev_tx_t vrf_xmit(struct sk_buff *skb, struct net_device *dev)struct pcpu_dstats *dstats =this_cpu_ptr (dev->dstats);u64_stats_update_begin (&dstats->syncp); - dstats->tx_pkts++; + dstats->tx_packets++; dstats->tx_bytes += len;u64_stats_update_end (&dstats->syncp); }else { -this_cpu_inc (dev->dstats->tx_drps); +this_cpu_inc (dev->dstats->tx_drops); }return ret;
@@ -1174,22 +1164,15 @@ static void vrf_dev_uninit(struct net_device *dev)vrf_rtable_release (dev, vrf);vrf_rt6_release (dev, vrf); - -free_percpu (dev->dstats); - dev->dstats =NULL ; }static int vrf_dev_init (struct net_device *dev) {struct net_vrf *vrf =netdev_priv (dev); - dev->dstats = netdev_alloc_pcpu_stats(struct pcpu_dstats); -if (!dev->dstats) - goto out_nomem; -/* create the default dst which points back to us */ if (vrf_rtable_create (dev) !=0 ) - goto out_stats; + goto out_nomem;if (vrf_rt6_create (dev) !=0 ) goto out_rth;
@@ -1203,9 +1186,6 @@ static int vrf_dev_init(struct net_device *dev) out_rth:vrf_rtable_release (dev, vrf); -out_stats: -free_percpu (dev->dstats); - dev->dstats =NULL ; out_nomem:return -ENOMEM ; }
@@ -1704,6 +1684,8 @@ static void vrf_setup(struct net_device *dev) dev->min_mtu =IPV6_MIN_MTU ; dev->max_mtu =IP6_MAX_MTU ; dev->mtu = dev->max_mtu; + + dev->pcpu_stat_type =NETDEV_PCPU_STAT_DSTATS ; } static int vrf_validate(struct nlattr *tb[], struct nlattr *data[],
drivers/net/wireguard/device.c +2 -2
@@ -210,7 +210,7 @@ static netdev_tx_t wg_xmit(struct sk_buff *skb, struct net_device *dev)*/ while (skb_queue_len (&peer->staged_packet_queue) >MAX_STAGED_PACKETS ) {dev_kfree_skb (__skb_dequeue (&peer->staged_packet_queue)); - ++dev->stats.tx_dropped; +DEV_STATS_INC (dev, tx_dropped); }skb_queue_splice_tail (&packets, &peer->staged_packet_queue);spin_unlock_bh (&peer->staged_packet_queue.lock);
@@ -228,7 +228,7 @@ static netdev_tx_t wg_xmit(struct sk_buff *skb, struct net_device *dev)else if (skb->protocol ==htons (ETH_P_IPV6 ))icmpv6_ndo_send (skb,ICMPV6_DEST_UNREACH ,ICMPV6_ADDR_UNREACH ,0 ); err: - ++dev->stats.tx_errors; +DEV_STATS_INC (dev, tx_errors);kfree_skb (skb);return ret; }
drivers/net/wireguard/receive.c +6 -6
@@ -416,20 +416,20 @@ static void wg_packet_consume_data_done(struct wg_peer *peer,net_dbg_skb_ratelimited ("%s: Packet has unallowed src IP (%pISc) from peer %llu (%pISpfsc)\n" , dev->name, skb, peer->internal_id, &peer->endpoint.addr); - ++dev->stats.rx_errors; - ++dev->stats.rx_frame_errors; +DEV_STATS_INC (dev, rx_errors); +DEV_STATS_INC (dev, rx_frame_errors); goto packet_processed; dishonest_packet_type:net_dbg_ratelimited ("%s: Packet is neither ipv4 nor ipv6 from peer %llu (%pISpfsc)\n" , dev->name, peer->internal_id, &peer->endpoint.addr); - ++dev->stats.rx_errors; - ++dev->stats.rx_frame_errors; +DEV_STATS_INC (dev, rx_errors); +DEV_STATS_INC (dev, rx_frame_errors); goto packet_processed; dishonest_packet_size:net_dbg_ratelimited ("%s: Packet has incorrect size from peer %llu (%pISpfsc)\n" , dev->name, peer->internal_id, &peer->endpoint.addr); - ++dev->stats.rx_errors; - ++dev->stats.rx_length_errors; +DEV_STATS_INC (dev, rx_errors); +DEV_STATS_INC (dev, rx_length_errors); goto packet_processed; packet_processed:dev_kfree_skb (skb);
drivers/net/wireguard/send.c +2 -1
@@ -333,7 +333,8 @@ static void wg_packet_create_data(struct wg_peer *peer, struct sk_buff *first)void wg_packet_purge_staged_packets (struct wg_peer *peer) {spin_lock_bh (&peer->staged_packet_queue.lock); - peer->device->dev->stats.tx_dropped += peer->staged_packet_queue.qlen; +DEV_STATS_ADD (peer->device->dev, tx_dropped, + peer->staged_packet_queue.qlen);__skb_queue_purge (&peer->staged_packet_queue);spin_unlock_bh (&peer->staged_packet_queue.lock); }
drivers/nvme/host/fabrics.c +2 -0
@@ -645,8 +645,10 @@ static const match_table_t opt_tokens = { { NVMF_OPT_TOS, "tos=%d" }, { NVMF_OPT_FAIL_FAST_TMO, "fast_io_fail_tmo=%d" }, { NVMF_OPT_DISCOVERY, "discovery" }, +#ifdef CONFIG_NVME_HOST_AUTH { NVMF_OPT_DHCHAP_SECRET, "dhchap_secret=%s" }, { NVMF_OPT_DHCHAP_CTRL_SECRET, "dhchap_ctrl_secret=%s" }, +#endif { NVMF_OPT_ERR, NULL } };
drivers/nvme/target/fabrics-cmd.c +4 -0
@@ -244,6 +244,8 @@ static void nvmet_execute_admin_connect(struct nvmet_req *req) goto out; } + d->subsysnqn[NVMF_NQN_FIELD_LEN -1 ] ='\0' ; + d->hostnqn[NVMF_NQN_FIELD_LEN -1 ] ='\0' ; status =nvmet_alloc_ctrl (d->subsysnqn, d->hostnqn, req,le32_to_cpu (c->kato), &ctrl);if (status)
@@ -313,6 +315,8 @@ static void nvmet_execute_io_connect(struct nvmet_req *req) goto out; } + d->subsysnqn[NVMF_NQN_FIELD_LEN -1 ] ='\0' ; + d->hostnqn[NVMF_NQN_FIELD_LEN -1 ] ='\0' ; ctrl =nvmet_ctrl_find_get (d->subsysnqn, d->hostnqn,le16_to_cpu (d->cntlid), req);if (!ctrl) {
drivers/phy/Kconfig +0 -1
@@ -87,7 +87,6 @@ source "drivers/phy/motorola/Kconfig" source "drivers/phy/mscc/Kconfig" source "drivers/phy/qualcomm/Kconfig" source "drivers/phy/ralink/Kconfig" -source "drivers/phy/realtek/Kconfig" source "drivers/phy/renesas/Kconfig" source "drivers/phy/rockchip/Kconfig" source "drivers/phy/samsung/Kconfig"
drivers/phy/Makefile +0 -1
@@ -26,7 +26,6 @@ obj-y += allwinner/ \ mscc/ \ qualcomm/ \ ralink/ \ - realtek/ \ renesas/ \ rockchip/ \ samsung/ \
drivers/phy/realtek/Kconfig deleted +0 -32
@@ -1,32 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Phy drivers for Realtek platforms -# - -if ARCH_REALTEK || COMPILE_TEST - -config PHY_RTK_RTD_USB2PHY - tristate "Realtek RTD USB2 PHY Transceiver Driver" - depends on USB_SUPPORT - select GENERIC_PHY - select USB_PHY - select USB_COMMON - help - Enable this to support Realtek SoC USB2 phy transceiver. - The DHC (digital home center) RTD series SoCs used the Synopsys - DWC3 USB IP. This driver will do the PHY initialization - of the parameters. - -config PHY_RTK_RTD_USB3PHY - tristate "Realtek RTD USB3 PHY Transceiver Driver" - depends on USB_SUPPORT - select GENERIC_PHY - select USB_PHY - select USB_COMMON - help - Enable this to support Realtek SoC USB3 phy transceiver. - The DHC (digital home center) RTD series SoCs used the Synopsys - DWC3 USB IP. This driver will do the PHY initialization - of the parameters. - -endif # ARCH_REALTEK || COMPILE_TEST
drivers/phy/realtek/Makefile deleted +0 -3
@@ -1,3 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_PHY_RTK_RTD_USB2PHY) += phy-rtk-usb2.o -obj-$(CONFIG_PHY_RTK_RTD_USB3PHY) += phy-rtk-usb3.o
drivers/phy/realtek/phy-rtk-usb2.c deleted +0 -1325
1,325 lines not on this page · raw message
drivers/phy/realtek/phy-rtk-usb3.c deleted +0 -761
237 lines not on this page · raw message
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c +11 -13
Lines of this file are not shown. View the raw message.
drivers/s390/net/ism_drv.c +46 -47
93 lines not on this page · raw message
drivers/usb/dwc3/dwc3-qcom.c +47 -18
65 lines not on this page · raw message
drivers/usb/host/xhci-plat.c +30 -20
50 lines not on this page · raw message
fs/nfsd/nfscache.c +43 -21
64 lines not on this page · raw message
fs/smb/client/sess.c +98 -14
112 lines not on this page · raw message
kernel/sched/fair.c +135 -26
161 lines not on this page · raw message
net/core/dev.c +56 -1
57 lines not on this page · raw message
net/rxrpc/input.c +29 -32
61 lines not on this page · raw message
tools/testing/selftests/arm64/fp/za-fork.c +1 -1
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.