Commit b97d9524 authored by Ben Hutchings's avatar Ben Hutchings Committed by Lorenzo "Palinuro" Faletra
Browse files

Import Debian changes 4.18.10-1

linux (4.18.10-1) unstable; urgency=medium

  * New upstream stable update:
    - i2c: xiic: Make the start and the byte count write atomic
    - i2c: i801: fix DNV's SMBCTRL register offset
    - HID: multitouch: fix Elan panels with 2 input modes declaration
    - HID: core: fix grouping by application
    - HID: i2c-hid: Fix flooded incomplete report after S3 on Rayd touchscreen
    - HID: input: fix leaking custom input node name
    - mm/hugetlb: filter out hugetlb pages if HUGEPAGE migration is not
    - mac80211: don't update the PM state of a peer upon a multicast frame
    - scsi: lpfc: Correct MDS diag and nvmet configuration
    - nbd: don't allow invalid blocksize settings
    - block: don't warn when doing fsync on read-only devices
    - block: bfq: swap puts in bfqg_and_blkg_put
    - android: binder: fix the race mmap and alloc_new_buf_locked
    - [mips*] VDSO: Match data page cache colouring when D$ aliases
    - smb3: Backup intent flag missing for directory opens with backupuid mounts
    - smb3: check for and properly advertise directory lease support
    - cifs: connect to servername instead of IP for IPC$ share
    - btrfs: fix qgroup_free wrong num_bytes in btrfs_subvolume_reserve_metadata
    - btrfs: fix data corruption when deduplicating between different files
    - [arm64] KVM: Only force FPEXC32_EL2.EN if trapping FPSIMD
    - [armhf, arm64] KVM: Clean dcache to PoC when changing PTE due to CoW
    - [[powerpc*] KVM: Book3S HV: Use correct pagesize in kvm_unmap_radix()
    - [s390x] KVM: vsie: copy wrapping keys to right place
    - [x86] KVM: SVM: Set EMULTYPE_NO_REEXECUTE for RSM emulation
    - [x86] KVM: VMX: Do not allow reexecute_instruction() when skipping MMIO
    - [x86] KVM: Invert emulation re-execute behavior to make it opt-in
    - [x86] KVM: Default to not allowing emulation retry in kvm_mmu_page_fault
    - [x86] KVM: Do not re-{try,execute} after failed emulation in L2
    - ACPI / LPSS: Force LPSS quirks on boot
    - memory: ti-aemif: fix a potential NULL-pointer dereference
    - ALSA: hda - Fix cancel_work_sync() stall from jackpoll work
    - cpu/hotplug: Adjust misplaced smb() in cpuhp_thread_fun()
    - cpu/hotplug: Prevent state corruption on error rollback
    - [x86] microcode: Make sure boot_cpu_data.microcode is up-to-date
    - [x86] microcode: Update the new microcode revision unconditionally
    - [x86] process: Don't mix user/kernel regs in 64bit __show_regs()
    - [x86] apic/vector: Make error return value negative
    - switchtec: Fix Spectre v1 vulnerability
    - misc: mic: SCIF Fix scif_get_new_port() error handling
    - ALSA: hda/realtek - Add mute LED quirk for HP Spectre x360
    - ethtool: Remove trailing semicolon for static inline
    - i2c: aspeed: Add an explicit type casting for *get_clk_reg_val
    - Bluetooth: h5: Fix missing dependency on BT_HCIUART_SERDEV
    - gpio: tegra: Move driver registration to subsys_init level
    - [powerpc*] powernv: Fix concurrency issue with npu->mmio_atsd_usage
    - [powerpc*] 4xx: Fix error return path in ppc4xx_msi_probe()
    - media: davinci: vpif_display: Mix memory leak on probe error path
    - media: dw2102: Fix memleak on sequence of probes
    - net: phy: Fix the register offsets in Broadcom iProc mdio mux driver
    - scsi: qla2xxx: Fix unintended Logout
    - scsi: qla2xxx: Fix session state stuck in Get Port DB
    - scsi: qla2xxx: Silent erroneous message
    - clk: scmi: Fix the rounding of clock rate
    - blk-mq: fix updating tags depth
    - scsi: lpfc: Fix driver crash when re-registering NVME rports.
    - scsi: target: fix __transport_register_session locking
    - md/raid5: fix data corruption of replacements after originals dropped
    - timers: Clear timer_base::must_forward_clk with timer_base::lock held
    - gpu: ipu-v3: default to id 0 on missing OF alias
    - misc: ti-st: Fix memory leak in the error path of probe()
    - uio: potential double frees if __uio_register_device() fails
    - firmware: vpd: Fix section enabled flag on vpd_section_destroy
    - [x86] Drivers: hv: vmbus: Cleanup synic memory free path
    - tty: rocket: Fix possible buffer overwrite on register_PCI
    - uio: fix possible circular locking dependency
    - iwlwifi: pcie: don't access periphery registers when not available
    - IB/IPoIB: Set ah valid flag in multicast send flow
    - f2fs: fix to active page in lru list for read path
    - f2fs: do not set free of current section
    - f2fs: Keep alloc_valid_block_count in sync
    - f2fs: issue discard align to section in LFS mode
    - f2fs: fix defined but not used build warnings
    - f2fs: fix to detect looped node chain correctly
    - ASoC: soc-pcm: Use delay set in component pointer function
    - perf tools: Allow overriding MAX_NR_CPUS at compile time
    - device-dax: avoid hang on error before devm_memremap_pages()
    - NFSv4.0 fix client reference leak in callback
    - perf c2c report: Fix crash for empty browser
    - perf evlist: Fix error out while applying initial delay and LBR
    - [powerpc*] pseries: fix EEH recovery of some IOV devices
    - [powerpc*] macintosh/via-pmu: Add missing mmio accessors
    - ath9k: report tx status on EOSP
    - ath9k_hw: fix channel maximum power level test
    - ath10k: prevent active scans on potential unusable channels
    - wlcore: Set rx_status boottime_ns field on rx
    - rpmsg: core: add support to power domains for devices
    - mtd: rawnand: make subop helpers return unsigned values
    - scsi: tcmu: do not set max_blocks if data_bitmap has been setup
    - [mips*] Fix ISA virt/bus conversion for non-zero PHYS_OFFSET
    - ata: libahci: Allow reconfigure of DEVSLP register
    - ata: libahci: Correct setting of DEVSLP register
    - nfs: Referrals not inheriting proto setting from parent
    - scsi: 3ware: fix return 0 on the error path of probe
    - tools/testing/nvdimm: kaddr and pfn can be NULL to ->direct_access()
    - ath10k: disable bundle mgmt tx completion event support
    - media: em28xx: explicitly disable TS packet filter
    - PCI: mobiveil: Fix struct mobiveil_pcie.pcie_reg_base address type
    - [powerpc*] mm: Don't report PUDs as memory leaks when using kmemleak
    - Bluetooth: hidp: Fix handling of strncpy for hid->name information
    - [x86] mm: Remove in_nmi() warning from vmalloc_fault()
    - [armhf] pinctrl: imx: off by one in imx_pinconf_group_dbg_show()
    - gpio: pxa: disable pinctrl calls for PXA3xx
    - gpio: ml-ioh: Fix buffer underwrite on probe error path
    - [x86, arm64] pinctrl/amd: only handle irq if it is pending and unmasked
    - [armhf, arm64] net: mvneta: fix mtu change on port without link
    - f2fs: try grabbing node page lock aggressively in sync scenario
    - pktcdvd: Fix possible Spectre-v1 for pkt_devs
    - f2fs: fix to skip GC if type in SSA and SIT is inconsistent
    - [x86] tpm/tpm_i2c_infineon: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
    - f2fs: fix to do sanity check with reserved blkaddr of inline inode
    - [mips*] Octeon: add missing of_node_put()
    - [mips*] generic: fix missing of_node_put()
    - thermal: rcar_thermal: avoid NULL dereference in absence of IRQ resources
    - thermal_hwmon: Sanitize attribute name passed to hwmon
    - net: dcb: For wild-card lookups, use priority -1, not 0
    - dm cache: only allow a single io_mode cache feature to be requested
    - Input: atmel_mxt_ts - only use first T9 instance
    - [powerpc*] partitions/aix: append null character to print data from disk
    - [powerpc*] partitions/aix: fix usage of uninitialized lv_info and lvname
    - drm/amd/display: Prevent PSR from being enabled if initialization fails
    - media: em28xx: Fix dual transport stream operation
    - [arm64] iommu/arm-smmu-v3: Abort all transactions if SMMU is enabled in
      kdump kernel
    - f2fs: fix to wait on page writeback before updating page
    - f2fs: Fix uninitialized return in f2fs_ioc_shutdown()
    - media: em28xx: Fix DualHD disconnect oops
    - f2fs: avoid potential deadlock in f2fs_sbi_store
    - f2fs: fix to do sanity check with secs_per_zone (CVE-2018-13100)
    - [armhf] mfd: ti_am335x_tscadc: Fix struct clk memory leak
    - f2fs: fix to do sanity check with {sit,nat}_ver_bitmap_bytesize
    - f2fs: fix to propagate return value of scan_nat_page()
    - f2fs: fix to do sanity check with extra_attr feature (CVE-2018-13098)
    - RDMA/hns: Add illegal hop_num judgement
    - NFSv4.1: Fix a potential layoutget/layoutrecall deadlock
    - RDMA/hns: Update the data type of immediate data
    - [mips*] WARN_ON invalid DMA cache maintenance, not BUG_ON
    - [mips*] mscc: ocelot: fix length of memory address space for MIIM
    - RDMA/cma: Do not ignore net namespace for unbound cm_id
    - clocksource: Revert "Remove kthread"
    - autofs: fix autofs_sbi() does not check super block type
    - mm: get rid of vmacache_flush_all() entirely (CVE-2018-17182)
    - be2net: Fix memory leak in be_cmd_get_profile_config()
    - net/mlx5: Fix use-after-free in self-healing flow
    - rds: fix two RCU related problems
    - tipc: orphan sock in tipc_release()
    - net/mlx5: E-Switch, Fix memory leak when creating switchdev mode FDB
    - net/tls: Set count of SG entries if sk_alloc_sg returns -ENOSPC
    - net/mlx5: Check for error in mlx5_attach_interface
    - net/mlx5: Fix debugfs cleanup in the device init/remove flow
    - erspan: fix error handling for erspan tunnel
    - erspan: return PACKET_REJECT when the appropriate tunnel is not found
    - tcp: really ignore MSG_ZEROCOPY if no SO_ZEROCOPY
    - net/mlx5: Fix not releasing read lock when adding flow rules
    - net/mlx5: Fix possible deadlock from lockdep when adding fte to fg
    - net/mlx5: Use u16 for Work Queue buffer fragment size
    - [armhf, arm64] usb: dwc3: change stream event enable bit back to 13
    - [arm64] iommu/arm-smmu-v3: sync the OVACKFLG to PRIQ consumer register
    - [armhf] iommu/io-pgtable-arm-v7s: Abort allocation when table address
      overflows the PTE
    - [armhf] iommu/io-pgtable-arm: Fix pgtable allocation in selftest
    - ALSA: msnd: Fix the default sample sizes
    - ALSA: usb-audio: Add support for Encore mDSD USB DAC
    - ALSA: usb-audio: Fix multiple definitions in AU0828_DEVICE() macro
    - xfrm: fix 'passing zero to ERR_PTR()' warning
    - [amd64, arm64] amd-xgbe: use dma_mapping_error to check map errors
    - nfp: don't fail probe on pci_sriov_set_totalvfs() errors
    - iwlwifi: cancel the injective function between hw pointers to tfd entry
    - gfs2: Special-case rindex for gfs2_grow
    - [armhf] clk: imx6ul: fix missing of_node_put()
    - [armhf] clk: imx6sll: fix missing of_node_put()
    - [arm64] clk: mvebu: armada-37xx-periph: Fix wrong return value in
    - Input: pxrc - fix freeing URB on device teardown
    - clk: core: Potentially free connection id
    - clk: clk-fixed-factor: Clear OF_POPULATED flag in case of failure
    - media: tw686x: Fix oops on buffer alloc failure
    - [armhf] dmaengine: pl330: fix irq race with terminate_all
    - [mips*] ath79: fix system restart
    - media: videobuf2-core: check for q->error in vb2_core_qbuf()
    - IB/rxe: Drop QP0 silently
    - block: allow max_discard_segments to be stacked
    - IB/ipoib: Fix error return code in ipoib_dev_init()
    - mtd/maps: fix solutionengine.c printk format warnings
    - gfs2: Don't reject a supposedly full bitmap if we have blocks reserved
    - perf tools: Synthesize GROUP_DESC feature in pipe mode
    - perf tools: Fix struct comm_str removal crash
    - [powerpc*] perf: Fix callchain ip filtering when return address is in a
    - fbdev: Distinguish between interlaced and progressive modes
    - [armhf] exynos: Clear global variable on init error path
    - [powerpc*] perf: Fix callchain ip filtering
    - nvmet: fix file discard return status
    - nvme-rdma: unquiesce queues when deleting the controller
    - [armhf, arm64] KVM: vgic: Fix possible spectre-v1 write in
    - [powerpc*] powerpc/powernv: opal_put_chars partial write fix
    - perf script: Show correct offsets for DWARF-based unwinding
    - ASoC: rt5514: Fix the issue of the delay volume applied
    - [mips*] jz4740: Bump zload address
    - mac80211: restrict delayed tailroom needed decrement
    - Smack: Fix handling of IPv4 traffic received by PF_INET6 sockets
    - wan/fsl_ucc_hdlc: use IS_ERR_VALUE() to check return value of
    - [arm64] fix possible spectre-v1 write in ptrace_hbp_set_event()
    - reset: imx7: Fix always writing bits as 0
    - efi/arm: preserve early mapping of UEFI memory map longer for BGRT
    - ALSA: usb-audio: Generic DSD detection for Thesycon-based implementations
    - nfp: avoid buffer leak when FW communication fails
    - xen-netfront: fix queue name setting
    - [arm64] dts: qcom: db410c: Fix Bluetooth LED trigger
    - ARM: dts: qcom: msm8974-hammerhead: increase load on l20 for sdhci
    - soc: qcom: smem: Correct check for global partition
    - [s390x] qeth: fix race in used-buffer accounting
    - [s390x] qeth: reset layer2 attribute on layer switch
    - platform/x86: toshiba_acpi: Fix defined but not used build warnings
    - KVM: arm/arm64: Fix vgic init race
    - drivers/base: stop new probing during shutdown
    - i2c: aspeed: Fix initial values of master and slave state
    - drm/amd/pp: Set Max clock level to display by default
    - regulator: qcom_spmi: Use correct regmap when checking for error
    - regulator: qcom_spmi: Fix warning Bad of_node_put()
    - iommu/ipmmu-vmsa: IMUCTRn.TTSEL needs a special usage on R-Car Gen3
    - dmaengine: mv_xor_v2: kill the tasklets upon exit
    - crypto: sharah - Unregister correct algorithms for SAHARA 3
    - [x86] pti: Check the return value of pti_user_pagetable_walk_p4d()
    - [x86] pti: Check the return value of pti_user_pagetable_walk_pmd()
    - [x86} mm/pti: Add an overflow check to pti_clone_pmds()
    - PCI/AER: Honor "pcie_ports=native" even if HEST sets FIRMWARE_FIRST
    - xen-netfront: fix warn message as irq device name has '/'
    - RDMA/cma: Protect cma dev list with lock
    - pstore: Fix incorrect persistent ram buffer mapping
    - xen/netfront: fix waiting for xenbus state change
    - IB/ipoib: Avoid a race condition between start_xmit and cm_rep_handler
    - [s390x] crypto: Fix return code checking in cbc_paes_crypt()
    - [armhf] mmc: omap_hsmmc: fix wakeirq handling on removal
    - ipmi: Rework SMI registration failure
    - ipmi: Move BT capabilities detection to the detect call
    - ipmi: Fix I2C client removal in the SSIF driver
    - ovl: fix oopses in ovl_fill_super() failure paths
    - vmbus: don't return values for uninitalized channels
    - tools: hv: Fix a bug in the key delete code
    - misc: ibmvsm: Fix wrong assignment of return code
    - misc: hmc6352: fix potential Spectre v1
    - xhci: Fix use after free for URB cancellation on a reallocated endpoint
    - usb: Don't die twice if PCI xhci host is not responding in resume
    - usb: xhci: fix interrupt transfer error happened on MTK platforms
    - usb: mtu3: fix error of xhci port id when enable U3 dual role
    - mei: ignore not found client in the enumeration
    - mei: bus: fix hw module get/put balance
    - mei: bus: need to unlink client before freeing
    - dm verity: fix crash on bufio buffer that was allocated with vmalloc
    - usb: Add quirk to support DJI CineSSD
    - usb: uas: add support for more quirk flags
    - usb: Avoid use-after-free by flushing endpoints early in
    - usb: host: u132-hcd: Fix a sleep-in-atomic-context bug in u132_get_frame()
    - usb: add quirk for WORLDE Controller KS49 or Prodipe MIDI 49C USB
    - usb: gadget: udc: renesas_usb3: fix maxpacket size of ep0
    - usb: net2280: Fix erroneous synchronization change
    - usb: serial: io_ti: fix array underflow in completion handler
    - usb: misc: uss720: Fix two sleep-in-atomic-context bugs
    - usb: serial: ti_usb_3410_5052: fix array underflow in completion handler
    - usb: yurex: Fix buffer over-read in yurex_write()
    - usb: cdc-wdm: Fix a sleep-in-atomic-context bug in
    - Revert "cdc-acm: implement put_char() and flush_chars()"
    - cifs: prevent integer overflow in nxt_dir_entry()
    - CIFS: fix wrapping bugs in num_entries()
    - cifs: integer overflow in in SMB2_ioctl()
    - xtensa: ISS: don't allocate memory in platform_setup
    - perf/core: Force USER_DS when recording user stack data
    - perf tools: Fix maps__find_symbol_by_name()
    - of: fix phandle cache creation for DTs with no phandles
    - x86/EISA: Don't probe EISA bus for Xen PV guests
    - NFSv4: Fix a tracepoint Oops in initiate_file_draining()
    - NFSv4.1 fix infinite loop on I/O.
    - of: add helper to lookup compatible child node
    - mmc: meson-mx-sdio: fix OF child-node lookup
    - binfmt_elf: Respect error return from `regset->active'
    - net/mlx5: Add missing SET_DRIVER_VERSION command translation
    - audit: fix use-after-free in audit_add_watch
    - mtdchar: fix overflows in adjustment of `count`
    - vfs: fix freeze protection in mnt_want_write_file() for overlayfs
    - bpf: fix rcu annotations in compute_effective_progs()
    - spi: dw: fix possible race condition
    - Bluetooth: Use lock_sock_nested in bt_accept_enqueue
    - evm: Don't deadlock if a crypto algorithm is unavailable
    - [powerpc*] KVM: Book3S HV: Add of_node_put() in success path
    - security: check for kstrdup() failure in lsm_append()
    - PM / devfreq: use put_device() instead of kfree()
    - [powerpc*] KVM: Book3S: Fix matching of hardware and emulated TCE tables
    - configfs: fix registered group removal
    - sched/core: Use smp_mb() in wake_woken_function()
    - efi/esrt: Only call efi_mem_reserve() for boot services memory
    - [arm64] net: hns3: Reset net device with rtnl_lock
    - [arm64] net: hns3: Fix for reset_level default assignment probelm
    - [arm64] hisi: handle of_iomap and fix missing of_node_put
    - [arm64] hisi: fix error handling and missing of_node_put
    - [arm64] net: hns3: Fix return value error in hns3_reset_notify_down_enet
    - [arm64] hisi: check of_iomap and fix missing of_node_put
    - liquidio: fix hang when re-binding VF host drv after running DPDK VF
    - [armhf] gpu: ipu-v3: csi: pass back mbus_code_to_bus_cfg error codes
    - ASoC: hdmi-codec: fix routing
    - serial: 8250: of: Correct of_platform_serial_setup() error handling
    - tty: fix termios input-speed encoding when using BOTHER
    - tty: fix termios input-speed encoding
    - [armhf, arm64] mmc: tegra: prevent HS200 on Tegra 3
    - mmc: sdhci: do not try to use 3.3V signaling if not supported
    - drm/nouveau: Fix runtime PM leak in drm_open()
    - drm/nouveau/debugfs: Wake up GPU before doing any reclocking
    - [armhf, arm64] drm/nouveau: tegra: Detach from ARM DMA/IOMMU mapping
    - tls: Fix zerocopy_from_iter iov handling
    - parport: sunbpp: fix error return code
    - sched/fair: Fix util_avg of new tasks for asymmetric systems
    - f2fs: do checkpoint in kill_sb
    - drm/amd/display: support access ddc for mst branch
    - gpiolib: Mark gpio_suffixes array with __maybe_unused
    - [armhf, arm64] net: mvpp2: make sure we use single queue mode on PPv2.1
    - mfd: 88pm860x-i2c: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
    - input: rohm_bu21023: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
    - [x86] drm/amdkfd: Fix kernel queue 64 bit doorbell offset calculation
    - [x86] drm/amdkfd: Fix error codes in kfd_get_process
    - ALSA: pcm: Fix snd_interval_refine first/last with open min/max
    - scsi: libfc: fixup 'sleeping function called from invalid context'
    - scsi: lpfc: Fix NVME Target crash in defer rcv logic
    - scsi: lpfc: Fix panic if driver unloaded when port is offline
    - [arm64] perf: Disable PMU while processing counter overflows
    - drm/amd/pp: Send khz clock values to DC for smu7/8
    - IB/mlx5: fix uaccess beyond "count" in debugfs read/write handlers
    - blk-mq: only attempt to merge bio if there is rq in sw queue
    - blk-mq: avoid to synchronize rcu inside blk_cleanup_queue()
    - [arm64] pinctrl: msm: Fix msm_config_group_get() to be compliant
    - [arm64] pinctrl: qcom: spmi-gpio: Fix pmic_gpio_config_get() to be
    - [armhf, arm64] clk: tegra: bpmp: Don't crash when a clock fails to
    - [x86] mei: bus: type promotion bug in mei_nfc_if_version()
    - [x86] crypto: ccp - add timeout support in the SEV command

  [ Vagrant Cascadian ]
  * debian/rules.real: Generate linux-source tarball with root user and
    group specified, to fix reproducibility issues.

  [ Ben Hutchings ]
  * drivers/net/ethernet: Ignore ABI changes
  * [arm64] ACPI: Change ACPI_NFIT from built-in to module
  * [i386/686] Enable MGEODE_LX instead of M686 (regression in 4.16)
    - x86-32: Disable 3D-Now in generic config
  * Bump ABI to 2

  [ Yves-Alexis Perez ]
  * [x86] enable PINCTRL_AMD for touchpad support on Lenovo IdeaPad.
    (closes: #876141)

  [ Geoff Levand ]
  * [arm64] Add support for new server hardware (Closes: #900581):
    - Enable SCHED_SMT for hardware multithreading processors
    - Enable ARM64_LSE_ATOMICS for v8.1 processors
      ACPI_APEI_MEMORY_FAILURE as built-in;
      ACPI_APEI_EINJ, WDAT_WDT as modules
  * [arm64] acpi: Add fixup for HPE m400 quirks

  [ Salvatore Bonaccorso ]
  * floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl
  * scsi: target: iscsi: Use hex2bin instead of a re-implementation
  * scsi: target: iscsi: Use bin2hex instead of a re-implementation

linux (4.18.8-1) unstable; urgency=medium

  * New upstream stable update:
    - rcu: Make expedited GPs handle CPU 0 being offline
    - net: 6lowpan: fix reserved space for single frames
    - net: mac802154: tx: expand tailroom if necessary
    - 9p/net: Fix zero-copy path in the 9p virtio transport
    - spi: pxa2xx: Add support for Intel Ice Lake
    - mmc: block: Fix unsupported parallel dispatch of requests
    - readahead: stricter check for bdi io_pages
    - block: fix infinite loop if the device loses discard capability
    - block: blk_init_allocated_queue() set q->fq as NULL in the fail case
    - block: really disable runtime-pm for blk-mq
    - blkcg: Introduce blkg_root_lookup()
    - block: Introduce blk_exit_queue()
    - block: Ensure that a request queue is dissociated from the cgroup
    - apparmor: fix bad debug check in apparmor_secid_to_secctx()
    - dma-buf: Move BUG_ON from _add_shared_fence to _add_shared_inplace
    - libertas: fix suspend and resume for SDIO connected cards
    - media: Revert "[media] tvp5150: fix pad format frame height"
    - [arm64] mailbox: xgene-slimpro: Fix potential NULL pointer dereference
    - Replace magic for trusting the secondary keyring with #define
    - Fix kexec forbidding kernels signed with keys in the secondary keyring to
    - [powerpc*] fadump: handle crash memory ranges array index overflow
    - [powerpc*] 64s: Fix page table fragment refcount race vs speculative
    - [powerpc*] pseries: Fix endianness while restoring of r3 in MCE handler.
    - [powerpc*] pkeys: Give all threads control of their key permissions
    - [powerpc*] pkeys: Deny read/write/execute by default
    - [powerpc*] pkeys: key allocation/deallocation must not change pkey
    - [powerpc*] pkeys: Save the pkey registers before fork
    - [powerpc*] pkeys: Fix calculation of total pkeys.
    - [powerpc*] pkeys: Preallocate execute-only key
    - [powerpc*] nohash: fix pte_access_permitted()
    - [powerpc64] ftrace: Include ftrace.h needed for enable/disable calls
    - [powerpc*] powernv/pci: Work around races in PCI bridge enabling
    - cxl: Fix wrong comparison in cxl_adapter_context_get()
    - ocxl: Fix page fault handler in case of fault on dying process
    - IB/mlx5: Honor cnt_set_id_valid flag instead of set_id
    - IB/mlx5: Fix leaking stack memory to userspace
    - IB/srpt: Fix srpt_cm_req_recv() error path (1/2)
    - IB/srpt: Fix srpt_cm_req_recv() error path (2/2)
    - IB/srpt: Support HCAs with more than two ports
    - RDMA/mlx5: Fix shift overflow in mlx5_ib_create_wq
    - ib_srpt: Fix a use-after-free in srpt_close_ch()
    - ib_srpt: Fix a use-after-free in __srpt_close_all_ch()
    - RDMA/rxe: Set wqe->status correctly if an unexpected response is received
    - 9p: fix multiple NULL-pointer-dereferences
    - fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr
    - 9p/virtio: fix off-by-one error in sg list bounds check
    - net/9p/client.c: version pointer uninitialized
    - net/9p/trans_fd.c: fix race-condition by flushing workqueue before the
    - dm integrity: change 'suspending' variable from bool to int
    - dm thin: stop no_space_timeout worker when switching to write-mode
    - dm cache metadata: save in-core policy_hint_size to on-disk superblock
    - dm cache metadata: set dirty on all cache blocks after a crash
    - dm crypt: don't decrease device limits
    - dm writecache: fix a crash due to reading past end of dirty_bitmap
    - uart: fix race between uart_put_char() and uart_shutdown()
    - [x86] Drivers: hv: vmbus: Fix the offer_in_progress in
    - [x86] Drivers: hv: vmbus: Reset the channel callback in
    - extcon: Release locking when sending the notification of connector state
    - [x86] vmw_balloon: fix inflation of 64-bit GFNs
    - [x86] vmw_balloon: do not use 2MB without batching
    - [x86] vmw_balloon: VMCI_DOORBELL_SET does not check status
    - [x86] vmw_balloon: fix VMCI use when balloon built into kernel
    - [armhf] rtc: omap: fix resource leak in registration error path
    - [armhf] rtc: omap: fix potential crash on power off
    - tracing: Do not call start/stop() functions when tracing_on does not
    - tracing/blktrace: Fix to allow setting same value
    - printk/tracing: Do not trace printk_nmi_enter()
    - uprobes: Use synchronize_rcu() not synchronize_sched()
    - mfd: hi655x: Fix regmap area declared size for hi655x
    - ovl: fix wrong use of impure dir cache in ovl_iterate()
    - ACPICA: AML Parser: skip opcodes that open a scope upon parse failure
    - ACPICA: Clear status of all events when entering sleep states
    - drivers/block/zram/zram_drv.c: fix bug storing backing_dev
    - sched: idle: Avoid retaining the tick when it has been stopped
    - cpuidle: menu: Handle stopped tick more aggressively
    - cpufreq: governor: Avoid accessing invalid governor_data
    - PM / sleep: wakeup: Fix build error caused by missing SRCU support
    - ALSA: ac97: fix device initialization in the compat layer
    - ALSA: ac97: fix check of pm_runtime_get_sync failure
    - ALSA: ac97: fix unbalanced pm_runtime_enable
    - [x86, arm64] i2c: designware: Re-init controllers with pm_disabled set on
    - [x86] KVM: VMX: fixes for vmentry_l1d_flush module parameter
    - [powerpc*] KVM: Book3S: Fix guest DMA when guest partially backed by
      THP pages
    - block, bfq: return nbytes and not zero from struct cftype .write() method
    - pnfs/blocklayout: off by one in bl_map_stripe()
    - nfsd: fix leaked file lock with nfs exported overlayfs
    - NFSv4 client live hangs after live data migration recovery
    - NFSv4: Fix locking in pnfs_generic_recover_commit_reqs
    - NFSv4: Fix a sleep in atomic context in nfs4_callback_sequence()
    - [armhf] ARM: dts: am57xx-idk: Enable dual role for USB2 port
    - [armhf] pwm: omap-dmtimer: Return -EPROBE_DEFER if no dmtimer platform
    - mm/tlb: Remove tlb_remove_table() non-concurrent condition
    - [x86] iommu/vt-d: Add definitions for PFSID
    - [x86] iommu/vt-d: Fix dev iotlb pfsid use
    - sys: don't hold uts_sem while accessing userspace memory
    - ubifs: Fix memory leak in lprobs self-check
    - Revert "UBIFS: Fix potential integer overflow in allocation"
    - ubifs: Check data node size before truncate
    - ubifs: xattr: Don't operate on deleted inodes
    - ubifs: Fix directory size calculation for symlinks
    - ubifs: Fix synced_i_size calculation for xattr inodes
    - [armhf] pwm: tiehrpwm: Don't use emulation mode bits to control PWM output
    - [armhf] pwm: tiehrpwm: Fix disabling of output of PWMs
    - fb: fix lost console when the user unplugs a USB adapter
    - udlfb: fix semaphore value leak
    - udlfb: fix display corruption of the last line
    - udlfb: don't switch if we are switching to the same videomode
    - udlfb: set optimal write delay
    - udlfb: make a local copy of fb_ops
    - udlfb: handle allocation failure
    - udlfb: set line_length in dlfb_ops_set_par
    - getxattr: use correct xattr length
    - libnvdimm: Use max contiguous area for namespace size
    - libnvdimm: fix ars_status output length calculation
    - bcache: release dc->writeback_lock properly in bch_writeback_thread()
    - cap_inode_getsecurity: use d_find_any_alias() instead of d_find_alias()
    - mm, dev_pagemap: Do not clear ->mapping on final put
    - perf auxtrace: Fix queue resize
    - [x86] crypto: vmx - Fix sleep-in-atomic bugs
    - [x86] crypto: aesni - Use unaligned loads from gcm_context_data
    - [arm64] crypto: arm64/sm4-ce - check for the right CPU feature bit
    - fs/quota: Fix spectre gadget in do_quotactl
    - udf: Fix mounting of Win7 created UDF filesystems
    - cpuidle: menu: Retain tick when shallow state is selected
    - [arm64] mm: always enable CONFIG_HOLES_IN_ZONE
    - act_ife: fix a potential use-after-free
    - ipv4: tcp: send zero IPID for RST and ACK sent in SYN-RECV and TIME-WAIT
    - net: sched: Fix memory exposure from short TCA_U32_SEL
    - qlge: Fix netdev features configuration.
    - r8152: disable RX aggregation on new Dell TB16 dock
    - tcp: do not restart timewait timer on rst reception
    - vti6: remove !skb->ignore_df check from vti6_xmit()
    - act_ife: move tcfa_lock down to where necessary
    - act_ife: fix a potential deadlock
    - net: sched: action_ife: take reference to meta module
    - bnxt_en: Clean up unused functions.
    - bnxt_en: Do not adjust max_cp_rings by the ones used by RDMA.
    - net/sched: act_pedit: fix dump of extended layered op
    - tipc: fix a missing rhashtable_walk_exit()
    - [x86] hv_netvsc: Fix a deadlock by getting rtnl lock earlier in
    - tipc: fix the big/little endian issue in tipc_dest
    - sctp: remove useless start_fail from sctp_ht_iter in proc
    - erspan: set erspan_ver to 1 by default when adding an erspan dev
    - ipv6: don't get lwtstate twice in ip6_rt_copy_init()
    - net/ipv6: init ip6 anycast rt->dst.input as ip6_input
    - net/ipv6: Only update MTU metric if it set
    - net/ipv6: Put lwtstate when destroying fib6_info
    - net/mlx5: Fix SQ offset in QPs with small RQ
    - r8169: set RxConfig after tx/rx is enabled for RTL8169sb/8110sb devices
    - [armhf,arm64] Revert "net: stmmac: Do not keep rearming the coalesce
      timer in stmmac_xmit"
    - ip6_vti: fix creating fallback tunnel device for vti6
    - ip6_vti: fix a null pointer deference when destroy vti6 tunnel
    - nfp: wait for posted reconfigs when disabling the device
    - sctp: hold transport before accessing its asoc in sctp_transport_get_next
    - vhost: correctly check the iova range when waking virtqueue
    - [x86] hv_netvsc: ignore devices that are not PCI
    - cifs: check if SMB2 PDU size has been padded and suppress the warning
    - hfsplus: don't return 0 when fill_super() failed
    - hfs: prevent crash on exit from failed search
    - sunrpc: Don't use stack buffer with scatterlist
    - fork: don't copy inconsistent signal handler state to child
    - fs/proc/vmcore.c: hide vmcoredd_mmap_dumps() for nommu builds
    - reiserfs: change j_timestamp type to time64_t
    - [armhf,arm64] iommu/rockchip: Handle errors returned from PM framework
    - hfsplus: fix NULL dereference in hfsplus_lookup() (CVE-2018-14617)
    - [armhf,arm64] iommu/rockchip: Move irq request past pm_runtime_enable
    - fs/proc/kcore.c: use __pa_symbol() for KCORE_TEXT list entries
    - fat: validate ->i_start before using
    - workqueue: skip lockdep wq dependency in cancel_work_sync()
    - workqueue: re-add lockdep dependencies for flushing
    - scripts: modpost: check memory allocation results
    - apparmor: fix an error code in __aa_create_ns()
    - virtio: pci-legacy: Validate queue pfn
    - [x86] mce: Add notifier_block forward declaration
    - i2c: core: ACPI: Make acpi_gsb_i2c_read_bytes() check i2c_transfer return
    - IB/hfi1: Invalid NUMA node information can cause a divide by zero
    - [armhf,arm64] pwm: meson: Fix mux clock names
    - [powerpc*] topology: Get topology for shared processors at boot
    - mm/fadvise.c: fix signed overflow UBSAN complaint
    - mm: make DEFERRED_STRUCT_PAGE_INIT explicitly depend on SPARSEMEM
    - fs/dcache.c: fix kmemcheck splat at take_dentry_name_snapshot()
    - [x86] platform: intel_punit_ipc: fix build errors
    - bpf, sockmap: fix map elem deletion race with smap_stop_sock
    - tcp, ulp: fix leftover icsk_ulp_ops preventing sock from reattach
    - bpf, sockmap: fix sock_map_ctx_update_elem race with exist/noexist
    - net/xdp: Fix suspicious RCU usage warning
    - bpf, sockmap: fix leakage of smap_psock_map_entry
    - netfilter: ip6t_rpfilter: set F_IFACE for linklocal addresses
    - [s390x] kdump: Fix memleak in nt_vmcoreinfo
    - ipvs: fix race between ip_vs_conn_new() and ip_vs_del_dest()
    - mfd: sm501: Set coherent_dma_mask when creating subdevices
    - netfilter: x_tables: do not fail xt_alloc_table_info too easilly
    - [x86] platform: asus-nb-wmi: Add keymap entry for lid flip action on
    - netfilter: fix memory leaks on netlink_dump_start error
    - tcp, ulp: add alias for all ulp modules
    - ubi: Initialize Fastmap checkmapping correctly
    - ACPICA: ACPICA: add status check for acpi_hw_read before assigning return
    - [arm*] perf arm spe: Fix uninitialized record error variable
    - [arm64] net: hns3: Fix for command format parsing error in
    - block: don't warn for flush on read-only device
    - [arm64] net: hns3: Fix for phy link issue when using marvell phy driver
    - PCI: Match Root Port's MPS to endpoint's MPSS as necessary
    - drm/amd/display: Guard against null crtc in CRC IRQ
    - perf tools: Check for null when copying nsinfo.
    - f2fs: avoid race between zero_range and background GC
    - f2fs: fix avoid race between truncate and background GC
    - net/9p/trans_fd.c: fix race by holding the lock
    - net/9p: fix error path of p9_virtio_probe
    - f2fs: fix to clear PG_checked flag in set_page_dirty()
    - [armhf,arm64] pinctrl: axp209: Fix NULL pointer dereference after
    - bpf: fix bpffs non-array map seq_show issue
    - [powerpc*] uaccess: Enable get_user(u64, *p) on 32-bit
    - [powerpc*] Fix size calculation using resource_size()
    - [powerpc*] perf probe powerpc: Fix trace event post-processing
    - block: bvec_nr_vecs() returns value for wrong slab
    - brcmfmac: fix brcmf_wiphy_wowl_params() NULL pointer dereference
    - [s390x] dasd: fix hanging offline processing due to canceled worker
    - [s390x] dasd: fix panic for failed online processing
    - ACPI / scan: Initialize status to ACPI_STA_DEFAULT
    - blk-mq: count the hctx as active before allocating tag
    - scsi: aic94xx: fix an error code in aic94xx_init()
    - NFSv4: Fix error handling in nfs4_sp4_select_mode()
    - Input: do not use WARN() in input_alloc_absinfo()
    - xen/balloon: fix balloon initialization for PVH Dom0
    - [armhf] PCI: mvebu: Fix I/O space end address calculation
    - dm kcopyd: avoid softlockup in run_complete_job
    - [x86] staging: comedi: ni_mio_common: fix subdevice flags for PFI
    - ASoC: rt5677: Fix initialization of
    - [armhf] iommu/omap: Fix cache flushes on L2 table entries
    - selinux: cleanup dentry and inodes on error in selinuxfs
    - RDS: IB: fix 'passing zero to ERR_PTR()' warning
    - cfq: Suppress compiler warnings about comparisons
    - smb3: fix reset of bytes read and written stats
    - CIFS: fix memory leak and remove dead code
    - SMB3: Number of requests sent should be displayed for SMB3 not just CIFS
    - smb3: if server does not support posix do not allow posix mount option
    - [powerpcspe] platforms/85xx: fix t1042rdb_diu.c build errors & warning
    - [powerpc*] 64s: Make rfi_flush_fallback a little more robust
    - [powerpc*] pseries: Avoid using the size greater than RTAS_ERROR_LOG_MAX.
    - [armhf,arm64] clk: rockchip: Add pclk_rkpwm_pmu to PMU critical clocks in
    - drm/amd/display: Read back max backlight value at boot
    - [x86] KVM: vmx: track host_state.loaded using a loaded_vmcs pointer
    - [x86] kvm: nVMX: Fix fault vector for VMX operation at CPL > 0
    - [armhf] drm/etnaviv: fix crash in GPU suspend when init failed due to
      buffer placement
    - btrfs: Exit gracefully when chunk map cannot be inserted to the tree
    - btrfs: replace: Reset on-disk dev stats value after replace
    - btrfs: fix in-memory value of total_devices after seed device deletion
    - btrfs: relocation: Only remove reloc rb_trees if reloc control has been
      initialized (CVE-2018-14609)
    - btrfs: tree-checker: Detect invalid and empty essential trees
    - btrfs: check-integrity: Fix NULL pointer dereference for degraded mount
    - btrfs: lift uuid_mutex to callers of btrfs_open_devices
    - btrfs: Don't remove block group that still has pinned down bytes
    - btrfs: Fix a C compliance issue
    - [armhf,arm64] rockchip: Force CONFIG_PM on Rockchip systems
    - btrfs: do btrfs_free_stale_devices outside of device_list_add
    - btrfs: extend locked section when adding a new device in device_list_add
    - btrfs: rename local devices for fs_devices in btrfs_free_stale_devices(
    - btrfs: use device_list_mutex when removing stale devices
    - btrfs: lift uuid_mutex to callers of btrfs_scan_one_device
    - btrfs: lift uuid_mutex to callers of btrfs_parse_early_options
    - btrfs: reorder initialization before the mount locks uuid_mutex
    - btrfs: fix mount and ioctl device scan ioctl race
    - [x86] drm/i915/lpe: Mark LPE audio runtime pm as "no callbacks"
    - [x86] drm/i915: Nuke the LVDS lid notifier
    - [x86] drm/i915: Increase LSPCON timeout
    - [x86] drm/i915: Free write_buf that we allocated with kzalloc.
    - drm/amdgpu: update uvd_v6_0_ring_vm_funcs to use new nop packet
    - drm/amdgpu: fix a reversed condition
    - drm/amdgpu: Fix RLC safe mode test in gfx_v9_0_enter_rlc_safe_mode
    - drm/amd/pp: Convert voltage unit in mV*4 to mV on CZ/ST
    - drm/amd/powerplay: fixed uninitialized value
    - drm/amd/pp/Polaris12: Fix a chunk of registers missed to program
    - drm/edid: Quirk Vive Pro VR headset non-desktop.
    - drm/edid: Add 6 bpc quirk for SDC panel in Lenovo B50-80
    - drm/amd/display: fix type of variable
    - drm/amd/display: Don't share clk source between DP and HDMI
    - drm/amd/display: update clk for various HDMI color depths
    - drm/amd/display: Use requested HDMI aspect ratio
    - drm/amd/display: Report non-DP display as disconnected without EDID
    - [armhf,arm64] drm/rockchip: lvds: add missing of_node_put
    - [armhf,arm64] drm/rockchip: vop: split out core clock enablement into
      separate functions
    - [armhf,arm64] drm/rockchip: vop: fix irq disabled after vop driver probed
    - drm/amd/display: Pass connector id when executing VBIOS CT
    - drm/amd/display: Check if clock source in use before disabling
    - drm/amdgpu: update tmr mc address
    - drm/amdgpu:add tmr mc address into amdgpu_firmware_info
    - drm/amdgpu:add new firmware id for VCN
    - drm/amdgpu:add VCN support in PSP driver
    - drm/amdgpu:add VCN booting with firmware loaded by PSP
    - drm/amdgpu: fix incorrect use of fcheck
    - drm/amdgpu: fix incorrect use of drm_file->pid
    - [x86] drm/i915: Re-apply "Perform link quality check, unconditionally
      during long pulse"
    - uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member
    - mm: respect arch_dup_mmap() return value
    - [x86] drm/i915: set DP Main Stream Attribute for color range on DDI
    - [i386] tsc: Prevent result truncation on 32bit
    - drm/amdgpu: Keep track of amount of pinned CPU visible VRAM
    - drm/amdgpu: Make pin_size values atomic
    - drm/amdgpu: Warn and update pin_size values when destroying a pinned BO
    - drm/amdgpu: Don't warn on destroying a pinned BO
    - debugobjects: Make stack check warning more informative
    - [i386] pae: use 64 bit atomic xchg function in native_ptep_get_and_clear
    - [x86] xen: don't write ptes directly in 32-bit PV guests
    - [x86] kvm: Set highest physical address bits in non-present/reserved SPTEs
    - [x86] kvm: avoid unused variable warning
    - HID: redragon: fix num lock and caps lock LEDs

  [ Ben Hutchings ]
  * [x86] wireless: Enable R8822BE as module (Closes: #908330)
  * Move all patch generation scripts to debian/bin
  * [rt] genpatch-rt: Store patches and series file in debian/patches-rt
  * linux-headers: Stop linking the doc directory, which is not binNMU-safe
  * debian/copyright: Simplify exclusions to work with mk-origtargz
  * debian/{watch,bin/uscan-hook}: Drop uscan hook in favour of uupdate
  * debian/watch: Add options for signature validation
  * README.Debian: Update URLs that were pointing to Alioth
  * README.Debian: Describe where to find patches for a specific version
  * Revert "i40e: Add kconfig dependency to ensure cmpxchg64() is available"

  [ Salvatore Bonaccorso ]
  * mac80211: don't update the PM state of a peer upon a multicast frame
    (Closes: #887045, #886292)

  [ Romain Perier ]
  * [x86] Enable TI TPS6598x USB Power Delivery controller family
  * [x86] crypto: ccp: add timeout support in the SEV command (Closes: #908248)
  * [rt] Update to 4.18.7-rt5
parents 85c7b185 34cfdd4d
# SPDX-License-Identifier: GPL-2.0
NAME = Merciless Moray
......@@ -225,10 +225,12 @@ no-dot-config-targets := $(clean-targets) \
cscope gtags TAGS tags help% %docs check% coccicheck \
$(version_h) headers_% archheaders archscripts \
kernelversion %src-pkg
no-sync-config-targets := $(no-dot-config-targets) install %install
config-targets := 0
mixed-targets := 0
dot-config := 1
config-targets := 0
mixed-targets := 0
dot-config := 1
may-sync-config := 1
ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
ifeq ($(filter-out $(no-dot-config-targets), $(MAKECMDGOALS)),)
......@@ -236,6 +238,16 @@ ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
ifneq ($(filter $(no-sync-config-targets), $(MAKECMDGOALS)),)
ifeq ($(filter-out $(no-sync-config-targets), $(MAKECMDGOALS)),)
may-sync-config := 0
ifneq ($(KBUILD_EXTMOD),)
may-sync-config := 0
ifeq ($(KBUILD_EXTMOD),)
ifneq ($(filter config %config,$(MAKECMDGOALS)),)
config-targets := 1
......@@ -610,7 +622,7 @@ ARCH_CFLAGS :=
include arch/$(SRCARCH)/Makefile
ifeq ($(dot-config),1)
ifeq ($(KBUILD_EXTMOD),)
ifeq ($(may-sync-config),1)
# Read in dependencies to all Kconfig* files, make sure to run syncconfig if
# changes are detected. This should be included after arch/$(SRCARCH)/Makefile
# because some architectures define CROSS_COMPILE there.
......@@ -625,8 +637,9 @@ $(KCONFIG_CONFIG) include/config/auto.conf.cmd: ;
include/config/%.conf: $(KCONFIG_CONFIG) include/config/auto.conf.cmd
$(Q)$(MAKE) -f $(srctree)/Makefile syncconfig
# external modules needs include/generated/autoconf.h and include/config/auto.conf
# but do not care if they are up-to-date. Use auto.conf to trigger the test
# External modules and some install targets need include/generated/autoconf.h
# and include/config/auto.conf but do not care if they are up-to-date.
# Use auto.conf to trigger the test
PHONY += include/config/auto.conf
......@@ -638,7 +651,7 @@ include/config/auto.conf:
echo >&2 ; \
endif # may-sync-config
# Dummy target needed, because used as prerequisite
......@@ -530,24 +530,19 @@ SYSCALL_DEFINE4(osf_mount, unsigned long, typenr, const char __user *, path,
SYSCALL_DEFINE1(osf_utsname, char __user *, name)
int error;
char tmp[5 * 32];
error = -EFAULT;
if (copy_to_user(name + 0, utsname()->sysname, 32))
goto out;
if (copy_to_user(name + 32, utsname()->nodename, 32))
goto out;
if (copy_to_user(name + 64, utsname()->release, 32))
goto out;
if (copy_to_user(name + 96, utsname()->version, 32))
goto out;
if (copy_to_user(name + 128, utsname()->machine, 32))
goto out;
memcpy(tmp + 0 * 32, utsname()->sysname, 32);
memcpy(tmp + 1 * 32, utsname()->nodename, 32);
memcpy(tmp + 2 * 32, utsname()->release, 32);
memcpy(tmp + 3 * 32, utsname()->version, 32);
memcpy(tmp + 4 * 32, utsname()->machine, 32);
error = 0;
return error;
if (copy_to_user(name, tmp, sizeof(tmp)))
return -EFAULT;
return 0;
......@@ -567,18 +562,21 @@ SYSCALL_DEFINE2(osf_getdomainname, char __user *, name, int, namelen)
int len, err = 0;
char *kname;
char tmp[32];
if (namelen > 32)
if (namelen < 0 || namelen > 32)
namelen = 32;
kname = utsname()->domainname;
len = strnlen(kname, namelen);
if (copy_to_user(name, kname, min(len + 1, namelen)))
err = -EFAULT;
len = min(len + 1, namelen);
memcpy(tmp, kname, len);
return err;
if (copy_to_user(name, tmp, len))
return -EFAULT;
return 0;
......@@ -739,13 +737,14 @@ SYSCALL_DEFINE3(osf_sysinfo, int, command, char __user *, buf, long, count)
unsigned long offset;
const char *res;
long len, err = -EINVAL;
long len;
char tmp[__NEW_UTS_LEN + 1];
offset = command-1;
if (offset >= ARRAY_SIZE(sysinfo_table)) {
/* Digital UNIX has a few unpublished interfaces here */
printk("sysinfo(%d)", command);
goto out;
return -EINVAL;
......@@ -753,13 +752,11 @@ SYSCALL_DEFINE3(osf_sysinfo, int, command, char __user *, buf, long, count)
len = strlen(res)+1;
if ((unsigned long)len > (unsigned long)count)
len = count;
if (copy_to_user(buf, res, len))
err = -EFAULT;
err = 0;
memcpy(tmp, res, len);
return err;
if (copy_to_user(buf, tmp, len))
return -EFAULT;
return 0;
SYSCALL_DEFINE5(osf_getsysinfo, unsigned long, op, void __user *, buffer,
......@@ -9,6 +9,10 @@
/ {
aliases {
ethernet = &gmac;
axs10x_mb {
compatible = "simple-bus";
#address-cells = <1>;
......@@ -68,7 +72,7 @@ pguclk: pguclk {
ethernet@0x18000 {
gmac: ethernet@0x18000 {
#interrupt-cells = <1>;
compatible = "snps,dwmac";
reg = < 0x18000 0x2000 >;
......@@ -81,6 +85,7 @@ ethernet@0x18000 {
max-speed = <100>;
resets = <&creg_rst 5>;
reset-names = "stmmaceth";
mac-address = [00 00 00 00 00 00]; /* Filled in by U-Boot */
ehci@0x40000 {
......@@ -25,6 +25,10 @@ chosen {
bootargs = "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1";
aliases {
ethernet = &gmac;
cpus {
#address-cells = <1>;
#size-cells = <0>;
......@@ -163,7 +167,7 @@ mmcclk_biu: mmcclk-biu {
#clock-cells = <0>;
ethernet@8000 {
gmac: ethernet@8000 {
#interrupt-cells = <1>;
compatible = "snps,dwmac";
reg = <0x8000 0x2000>;
......@@ -176,6 +180,7 @@ ethernet@8000 {
phy-handle = <&phy0>;
resets = <&cgu_rst HSDK_ETH_RESET>;
reset-names = "stmmaceth";
mac-address = [00 00 00 00 00 00]; /* Filled in by U-Boot */
mdio {
#address-cells = <1>;
# CONFIG_SWAP is not set
# CONFIG_SWAP is not set
# CONFIG_SWAP is not set
......@@ -66,10 +66,6 @@ mmc0-led {
&omap_dwc3_2 {
extcon = <&extcon_usb2>;
&extcon_usb2 {
id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;
......@@ -57,10 +57,6 @@ mmc0-led {
&omap_dwc3_2 {
extcon = <&extcon_usb2>;
&extcon_usb2 {
id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
vbus-gpio = <&gpio3 26 GPIO_ACTIVE_HIGH>;
......@@ -395,8 +395,13 @@ &usb1 {
dr_mode = "host";
&omap_dwc3_2 {
extcon = <&extcon_usb2>;
&usb2 {
dr_mode = "peripheral";
extcon = <&extcon_usb2>;
dr_mode = "otg";
&mmc1 {
......@@ -189,6 +189,8 @@ l20 {
regulator-max-microvolt = <2950000>;
regulator-system-load = <200000>;
l21 {
......@@ -206,6 +206,7 @@ i2cmux@70 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x70>;
reset-gpio = <&gpio TEGRA_GPIO(BB, 0) GPIO_ACTIVE_LOW>;
......@@ -203,6 +203,7 @@ static int __init exynos_pmu_irq_init(struct device_node *node,
if (!domain) {
pmu_base_addr = NULL;
return -ENOMEM;
......@@ -148,13 +148,20 @@ static int hi3xxx_hotplug_init(void)
struct device_node *node;
node = of_find_compatible_node(NULL, NULL, "hisilicon,sysctrl");
if (node) {
ctrl_base = of_iomap(node, 0);
id = HI3620_CTRL;
return 0;
if (!node) {
return -ENOENT;
return -ENOENT;
ctrl_base = of_iomap(node, 0);
if (!ctrl_base) {
return -ENOMEM;
id = HI3620_CTRL;
return 0;
void hi3xxx_set_cpu(int cpu, bool enable)
......@@ -173,11 +180,15 @@ static bool hix5hd2_hotplug_init(void)
struct device_node *np;
np = of_find_compatible_node(NULL, NULL, "hisilicon,cpuctrl");
if (np) {
ctrl_base = of_iomap(np, 0);
return true;
return false;
if (!np)
return false;
ctrl_base = of_iomap(np, 0);
if (!ctrl_base)
return false;
return true;
void hix5hd2_set_cpu(int cpu, bool enable)
......@@ -219,10 +230,10 @@ void hip01_set_cpu(int cpu, bool enable)
if (!ctrl_base) {
np = of_find_compatible_node(NULL, NULL, "hisilicon,hip01-sysctrl");
if (np)
ctrl_base = of_iomap(np, 0);
ctrl_base = of_iomap(np, 0);
if (enable) {
......@@ -17,6 +17,7 @@ config ARCH_ROCKCHIP
select PM
Support for Rockchip's Cortex-A9 Single-to-Quad-Core-SoCs
containing the RK2928, RK30xx and RK31xx series.
......@@ -754,7 +754,6 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNK
def_bool y
depends on NUMA
source kernel/Kconfig.preempt
source kernel/Kconfig.hz
......@@ -151,6 +151,7 @@ config ARCH_ROCKCHIP
select GPIOLIB
select PINCTRL
select PM
This enables support for the ARMv8 based Rockchip chipsets,
......@@ -331,7 +331,7 @@ uart0: serial@11002000 {
reg = <0 0x11002000 0 0x400>;
interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
clocks = <&topckgen CLK_TOP_UART_SEL>,
<&pericfg CLK_PERI_UART1_PD>;
<&pericfg CLK_PERI_UART0_PD>;
clock-names = "baud", "bus";
status = "disabled";
......@@ -338,7 +338,7 @@ led@5 {
led@6 {
label = "apq8016-sbc:blue:bt";
gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "bt";
linux,default-trigger = "bluetooth-power";
default-state = "off";
......@@ -58,6 +58,7 @@ cpu1: cpu@1 {
clocks = <&sys_clk 32>;
enable-method = "psci";
operating-points-v2 = <&cluster0_opp>;
#cooling-cells = <2>;
cpu2: cpu@100 {
......@@ -77,6 +78,7 @@ cpu3: cpu@101 {
clocks = <&sys_clk 33>;
enable-method = "psci";
operating-points-v2 = <&cluster1_opp>;
#cooling-cells = <2>;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment