[PATCH 4.17 200/336] ACPI / LPSS: Only call pwm_add_table() for Bay Trail PWM if PMIC HRV is 2

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede [ Upstream commit c975e472ec12392a0c34de1350e634310f8a1dea ] The Point of View mobii wintab p800w Bay Trail tablet comes with a Crystal Cove PMIC, yet uses the LPSS PWM for backl

[PATCH 4.14 028/246] vfio: platform: Fix reset module leak in error path

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven [ Upstream commit 28a68387888997e8a7fa57940ea5d55f2e16b594 ] If the IOMMU group setup fails, the reset module is not released. Fixes: b5add544d677d363 ("vfio, platform: mak

[PATCH 4.14 059/246] f2fs: Fix deadlock in shutdown ioctl

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sahitya Tummala [ Upstream commit 60b2b4ee2bc01dd052f99fa9d65da2232102ef8e ] f2fs_ioc_shutdown() ioctl gets stuck in the below path when issued with F2FS_GOING_DOWN_FULLSYNC option. __switch_

[PATCH 4.17 205/336] mtd: rawnand: fsl_ifc: fix FSL NAND driver to read all ONFI parameter pages

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jane Wan [ Upstream commit a75bbe71a27875fdc61cde1af6d799037cef6bed ] Per ONFI specification (Rev. 4.0), if the CRC of the first parameter page read is not valid, the host should read redundan

[PATCH 4.14 020/246] kcov: ensure irq code sees a valid area

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Mark Rutland [ Upstream commit c9484b986ef03492357fddd50afbdd02929cfa72 ] Patch series "kcov: fix unexpected faults". These patches fix a few issues where KCOV code could trigger recursive fa

[PATCH 4.17 221/336] staging: lustre: o2iblnd: fix race at kiblnd_connect_peer

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Doug Oucahrek [ Upstream commit cf04968efe341b9b1c30a527e5dd61b2af9c43d2 ] cmid will be destroyed at OFED if kiblnd_cm_callback return error. if error happen before the end of kiblnd_connect_p

[PATCH 4.17 191/336] ARM: dts: sh73a0: Add missing interrupt-affinity to PMU node

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven [ Upstream commit 57a66497e1b7486609250a482f05935eae5035e9 ] The PMU node references two interrupts, but lacks the interrupt-affinity property, which is required in that cas

[PATCH v2 1/2] Support the nonstring variable attribute (gcc >= 8)

2018-08-01 Thread Miguel Ojeda
>From the GCC manual: The nonstring variable attribute specifies that an object or member declaration with type array of char or pointer to char is intended to store character arrays that do not necessarily contain a terminating NUL character. This is useful in detecting uses of such arrays or poi

[PATCH 4.17 194/336] i40e: free the skb after clearing the bitlock

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Keller [ Upstream commit c79756cb5f084736b138da9319a02f7c72644548 ] In commit bbc4e7d273b5 ("i40e: fix race condition with PTP_TX_IN_PROGRESS bits") we modified the code which handles Tx

[PATCH 4.17 172/336] ALSA: usb-audio: Apply rate limit to warning messages in URB complete callback

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai [ Upstream commit 377a879d9832f4ba69bd6a1fc996bb4181b1e504 ] retire_capture_urb() may print warning messages when the given URB doesn't align, and this may flood the system log ea

[PATCH 4.14 081/246] media: videobuf2-core: dont call memop finish when queueing

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Hans Verkuil [ Upstream commit 90b2da89a083e1395cb322521a42397c49ae4500 ] When a buffer is queued or requeued in vb2_buffer_done, then don't call the finish memop. In this case the buffer is o

Re: [PATCH v2] riscv: Add support to no-FPU systems

2018-08-01 Thread Palmer Dabbelt
On Tue, 26 Jun 2018 21:22:26 PDT (-0700), alan...@andestech.com wrote: This patch adds an option, CONFIG_FPU, to enable/disable floating procedures. Also, some style issues are fixed. Signed-off-by: Alan Kao Cc: Greentime Hu Cc: Zong Li --- arch/riscv/Kconfig | 9 arch

[PATCH 4.14 008/246] Input: elan_i2c - add ACPI ID for lenovo ideapad 330

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Donald Shanty III commit 938f45008d8bc391593c97508bc798cc95a52b9b upstream. This allows Elan driver to bind to the touchpad found in Lenovo Ideapad 330 series laptops. Signed-off-by: Donald S

[PATCH 4.14 013/246] tracing: Fix double free of event_trigger_data

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 1863c387259b629e4ebfb255495f67cd06aa229b upstream. Running the following: # cd /sys/kernel/debug/tracing # echo 50 > buffer_size_kb [ Or some other number

[PATCH 4.17 222/336] staging: lustre: o2iblnd: Fix FastReg map/unmap for MLX5

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Doug Oucharek [ Upstream commit 24d4b7c8de007cff9c7d83c06ae76099fdcce008 ] The FastReg support in ko2iblnd was not unmapping pool items causing the items to leak. In addition, the mapping cod

[PATCH 4.17 228/336] media: siano: get rid of __le32/__le16 cast warnings

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab [ Upstream commit e1b7f11b37def5f3021c06e8c2b4953e099357aa ] Those are all false-positives that appear with smatch when building for arm: drivers/media/common/siano/sm

[PATCH 4.14 097/246] ath: Add regulatory mapping for Serbia

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 2a3169a54bb53717928392a04fb84deb765b51f1 ] The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test

[PATCH 4.14 040/246] watchdog: da9063: Fix updating timeout value

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Marco Felsch [ Upstream commit 44ee54aabfdb3b35866ed909bde3ab01e9679385 ] The DA9063 watchdog has only one register field to store the timeout value and to enable the watchdog. The watchdog ge

[PATCH 4.14 029/246] vfio/mdev: Check globally for duplicate devices

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson [ Upstream commit 002fe996f67f4f46d8917b14cfb6e4313c20685a ] When we create an mdev device, we check for duplicates against the parent device and return -EEXIST if found, but t

[PATCH 4.14 047/246] powerpc/64s: Add barrier_nospec

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Michal Suchanek [ Upstream commit a6b3964ad71a61bb7c61d80a60bea7d42187b2eb ] A no-op form of ori (or immediate of 0 into r31 and the result stored in r31) has been re-tasked as a speculation b

[PATCH v3 0/8] Add clock config and pm support to bcm iProc mdio mux

2018-08-01 Thread Arun Parameswaran
Hi, The patchset is based on David Miller's "net-next" repo. The patchset extends the Broadcom iProc mdio mux to add support for suspend/resume and the ability to configure the internal clock divider. The patchset also sets the scan control register to disable external master access. The base add

[PATCH 4.14 079/246] net: hns3: Fixes the init of the VALID BD info in the descriptor

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Fuyun Liang [ Upstream commit 7d0b130cbbfa4651cc1ab9268a2956c1b9d82ff9 ] RX Buffer Descriptor contains a VALID bit which indicates if the BD is valid and has some data. This field is set by HN

[PATCH 4.17 242/336] i40e: Add advertising 10G LR mode

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jakub Pawlak [ Upstream commit 6ee4d32255865fc4b383355a8354603d60ab9f8a ] The advertising 10G LR mode should be possible to set but in the function i40e_set_link_ksettings() check for this is

[PATCH 4.14 036/246] perf tools: Fix pmu events parsing rule

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Olsa [ Upstream commit ceac7b79df7bd67ef9aaf464b0179a2686aff4ee ] Currently all the event parsing fails end up in the event_pmu rule, and display misleading help like: $ perf stat -e i

[PATCH 4.14 093/246] ath: Add regulatory mapping for APL13_WORLD

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 9ba8df0c52b3e6baa436374b429d3d73bd09a320 ] The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the reg

[PATCH 4.14 098/246] ath: Add regulatory mapping for Bermuda

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 9c790f2d234f65697e3b0948adbfdf36dbe63dd7 ] The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test

[PATCH 4.17 232/336] f2fs: check cap_resource only for data blocks

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim [ Upstream commit a90a0884ac75f825157470a1c17e707d487bceb6 ] This patch changes the rule to check cap_resource for data blocks, not inode or node blocks in order to avoid selinux d

[PATCH v2 2/2] auxdisplay: panel: avoid gcc 8's Wstringop-truncation warning

2018-08-01 Thread Miguel Ojeda
Let gcc know it is not meant to be NUL-terminated by annotating with the new __nonstring variable attribute; and remove the comment since it conveys the same information. Cc: Willy Tarreau Cc: Geert Uytterhoeven Cc: Martin Sebor Signed-off-by: Miguel Ojeda --- drivers/auxdisplay/panel.c | 7 +

[PATCH 4.14 032/246] mm: /proc/pid/pagemap: hide swap entries from unprivileged users

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Huang Ying [ Upstream commit ab6ecf247a9321e3180e021a6a60164dee53ab2e ] In commit ab676b7d6fbf ("pagemap: do not leak physical addresses to non-privileged userspace"), the /proc/PID/pagemap is

[PATCH 4.17 231/336] mmc: sdhci-omap: Fix when capabilities are obtained from SDHCI_CAPABILITIES reg

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kishon Vijay Abraham I [ Upstream commit 0ec4ee3c9b9755b28fd2e89b2ceaae6f15403368 ] sdhci_omap_config_iodelay_pinctrl_state() requires caps and caps2 to be initialized (speed mode capabilities

[PATCH 4.14 085/246] btrfs: qgroup: Finish rescan when hit the last leaf of extent tree

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Qu Wenruo [ Upstream commit ff3d27a048d926b3920ccdb75d98788c567cae0d ] Under the following case, qgroup rescan can double account cowed tree blocks: In this case, extent tree only has one tre

Re: [RFC PATCH] vfio/pci: map prefetchble bars as writecombine

2018-08-01 Thread Srinath Mannam
Hi Alex, In user space UIO driver (DPDK) implementation, sysfs interface "/sys/devices/pci/.../resource0_wc" is used to map prefetchable PCI resources as WC. Platforms which support write-combining maps of PCI resources have arch_can_pci_mmap_wc() flag enabled. So that it allows to map resources a

[PATCH 4.14 046/246] powerpc/lib: Adjust .balign inside string functions for PPC32

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy [ Upstream commit 1128bb7813a896bd608fb622eee3c26aaf33b473 ] commit 87a156fb18fe1 ("Align hot loops of some string functions") degraded the performance of string functions by

[PATCH 4.14 037/246] netfilter: ipset: forbid family for hash:mac sets

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Florent Fourcot [ Upstream commit cbdebe481a14b42c45aa9f4ceb5ff19b55de2c57 ] Userspace `ipset` command forbids family option for hash:mac type: ipset create test hash:mac family inet4 ipset v

[PATCH 4.14 099/246] ath: Add regulatory mapping for Bahamas

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 699e2302c286a14afe7b7394151ce6c4e1790cc1 ] The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test

[PATCH 4.17 177/336] HID: hid-plantronics: Re-resend Update to map button for PTT products

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Terry Junge [ Upstream commit 37e376df5f4993677c33968a0c19b0c5acbf1108 ] Add a mapping for Push-To-Talk joystick trigger button. Tested on ChromeBox/ChromeBook with various Plantronics device

[PATCH 4.17 201/336] media: media-device: fix ioctl function types

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sami Tolvanen [ Upstream commit daa36370b62428cca6d48d1b2530a8419f631c8c ] This change fixes function types for media device ioctls to avoid indirect call mismatches with Control-Flow Integrit

[PATCH 4.17 204/336] media: em28xx: Fix DualHD broken second tuner

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Brad Love [ Upstream commit 01affb000e00cfa0a9e9954476ef50962eb8b168 ] The use of a hard coded i2c address breaks the creation of the second tuner in DualHD 01595 models. The issue is compound

[PATCH 4.14 076/246] mfd: cros_ec: Fail early if we cannot identify the EC

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Vincent Palatin [ Upstream commit 0dbbf25561b29ffab5ba6277429760abdf49ceff ] If we cannot communicate with the EC chip to detect the protocol version and its features, it's very likely useless

[PATCH 4.14 016/246] tracing/kprobes: Fix trace_probe flags on enable_trace_kprobe() failure

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Artem Savkov commit 57ea2a34adf40f3a6e88409aafcf803b8945619a upstream. If enable_trace_kprobe fails to enable the probe in enable_k(ret)probe it returns an error, but does not unset the tp fla

[PATCH 4.17 163/336] regulator: pfuze100: add .is_enable() for pfuze100_swb_regulator_ops

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Anson Huang [ Upstream commit 0b01fd3d40fe6402e5fa3b491ef23109feb1aaa5 ] If is_enabled() is not defined, regulator core will assume this regulator is already enabled, then it can NOT be really

[PATCH 4.14 030/246] vfio/type1: Fix task tracking for QEMU vCPU hotplug

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson [ Upstream commit 48d8476b41eed63567dd2f0ad125c895b9ac648a ] MAP_DMA ioctls might be called from various threads within a process, for example when using QEMU, the vCPU threads

[PATCH 4.17 241/336] fasync: Fix deadlock between task-context and interrupt-context kill_fasync()

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kirill Tkhai [ Upstream commit 7a107c0f55a3b4c6f84a4323df5610360bde1684 ] I observed the following deadlock between them: [task 1] [task 2] [t

[PATCH 4.14 090/246] nvme-pci: Fix AER reset handling

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Keith Busch [ Upstream commit 72cd4cc28e234ed7189ee508ed65ab60c80a97c8 ] The nvme timeout handling doesn't do anything if the pci channel is offline, which is the case when recovering from PCI

Re: can we drop the comedi serial2002 drivers from staging?

2018-08-01 Thread Greg Kroah-Hartman
On Sat, Jun 16, 2018 at 11:06:45AM +0200, Christoph Hellwig wrote: > As far as I can tell there has been no targeted work on the driver > since merging it at all, and since 2014 even the comedi-wide > cleanups stopped, laving just drive by tree wide changes since. > > At the same time the driver b

[PATCH 4.17 169/336] PCI/DPC: Clear interrupt status in interrupt handler top half

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Oza Pawandeep [ Upstream commit 56abbf8ad73c89d0a4c3c84b1449ceaaabd1b8c7 ] The generic IRQ handling code ensures that an interrupt handler runs with its interrupt masked or disabled. If the i

[PATCH 4.17 212/336] mm, powerpc, x86: define VM_PKEY_BITx bits if CONFIG_ARCH_HAS_PKEYS is enabled

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Ram Pai [ Upstream commit 5212213aa5a2359dd0474c9dab22b6220b591fe1 ] VM_PKEY_BITx are defined only if CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS is enabled. Powerpc also needs these bits. Hence l

[PATCH 4.14 045/246] infiniband: fix a possible use-after-free bug

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit cb2595c1393b4a5211534e6f0a0fbad369e21ad8 ] ucma_process_join() will free the new allocated "mc" struct, if there is any error after that, especially the copy_to_use

[PATCH 4.14 083/246] Btrfs: dont BUG_ON() in btrfs_truncate_inode_items()

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval [ Upstream commit 0552210997badb6a60740a26ff9d976a416510f0 ] btrfs_free_extent() can fail because of ENOMEM. There's no reason to panic here, we can just abort the transaction.

[PATCH 4.17 214/336] scsi: 3w-9xxx: fix a missing-check bug

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Wenwen Wang [ Upstream commit c9318a3e0218bc9dacc25be46b9eec363259536f ] In twa_chrdev_ioctl(), the ioctl driver command is firstly copied from the userspace pointer 'argp' and saved to the ke

[PATCH 4.17 234/336] ALSA: hda/ca0132: fix build failure when a local macro is defined

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto [ Upstream commit 8e142e9e628975b005cf1b095331dff6e2de ] DECLARE_TLV_DB_SCALE (alias of SNDRV_CTL_TLVD_DECLARE_DB_SCALE) is used but tlv.h is not included. This causes bui

[PATCH 4.14 035/246] rtc: ensure rtc_set_alarm fails when alarms are not supported

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni [ Upstream commit abfdff44bc38e9e2ef7929f633fb8462632299d4 ] When using RTC_ALM_SET or RTC_WKALM_SET with rtc_wkalrm.enabled not set, rtc_timer_enqueue() is not called and rt

[PATCH 4.14 005/246] IB/srpt: Fix an out-of-bounds stack access in srpt_zerolength_write()

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 2a78cb4db487372152bed2055c038f9634d595e8 upstream. Avoid triggering an out-of-bounds stack access by changing the type of 'wr' from ib_send_wr into ib_rdma_wr. This pat

[PATCH 4.17 186/336] EDAC, altera: Fix ARM64 build warning

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Thor Thayer [ Upstream commit 9ef20753e044f7468c4113e5aecd785419b0b3cc ] The kbuild test robot reported the following warning: drivers/edac/altera_edac.c: In function 'ocram_free_mem': dr

[PATCH 5/5] x86/mm/init: remove freed kernel image areas from alias mapping

2018-08-01 Thread Dave Hansen
From: Dave Hansen The kernel image is mapped into two places in the virtual address space (addresses without KASLR, of course): 1. The kernel direct map (0x8800) 2. The "high kernel map" (0x8100) We actually execute out of #2. If we get the address of

[PATCH 2/5] mm: allow non-direct-map arguments to free_reserved_area()

2018-08-01 Thread Dave Hansen
From: Dave Hansen free_reserved_area() takes pointers as arguments to show which addresses should be freed. However, it does this in a somewhat ambiguous way. If it gets a kernel direct map address, it always works. However, if it gets an address that is part of the kernel image alias mappin

[PATCH 0/5] x86/mm/pti: close two Meltdown leaks with Global kernel mapping

2018-08-01 Thread Dave Hansen
This applies to 4.17 and 4.18. Thanks to Hugh Dickins for initially finding the r/w kernel text issue and coming up with an initial fix. I found the "unused hole" part and came up with different approach for fixing the mess. -- Background: Process Context IDentifiers (PCIDs) are a hardware fea

[PATCH 1/5] x86/mm/pti: clear Global bit more aggressively

2018-08-01 Thread Dave Hansen
From: Dave Hansen The kernel image starts out with the Global bit set across the entire kernel image. The bit is cleared with set_memory_nonglobal() in the configurations with PCIDs where we do not need the performance benefits of the Global bit. However, this is fragile. It means that we ar

[PATCH 3/5] x86/mm/init: pass unconverted symbol addresses to free_init_pages()

2018-08-01 Thread Dave Hansen
From: Dave Hansen The x86 code has several places where it frees parts of kernel image: 1. Unused SMP alternative 2. __init code 3. The hole between text and rodata 4. The hole between rodata and data We call free_init_pages() to do this. Strangely, we convert the symbol addresses to ker

[PATCH 4/5] x86/mm/init: add helper for freeing kernel image pages

2018-08-01 Thread Dave Hansen
From: Dave Hansen When chunks of the kernel image are freed, free_init_pages() is used directly. Consolidate the three sites that do this. Also update the string to give an incrementally better description of that memory versus what was there before. Signed-off-by: Dave Hansen Cc: Kees Cook

[PATCH 4.17 189/336] ARM: dts: stih407-pinctrl: Fix complain about IRQ_TYPE_NONE usage

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Patrice Chotard [ Upstream commit e95b8e718f9bd2386a29639dd21c633b4951dc21 ] Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE") kernel is complaining ab

[PATCH 4.17 162/336] ALSA: emu10k1: Rate-limit error messages about page errors

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai [ Upstream commit 11d42c81036324697d367600bfc16f6dd37636fd ] The error messages at sanity checks of memory pages tend to repeat too many times once when it hits, and without the r

[PATCH 4.14 051/246] RDMA/mad: Convert BUG_ONs to error flows

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky [ Upstream commit 2468b82d69e3a53d024f28d79ba0fdb8bf43dfbf ] Let's perform checks in-place instead of BUG_ONs. Signed-off-by: Leon Romanovsky Signed-off-by: Doug Ledford Sig

[PATCH 4.14 004/246] drivers/infiniband/core/verbs.c: fix build with gcc-4.4.4

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Morton commit 6ee687735e745eafae9e6b93d1ea70bc52e7ad07 upstream. gcc-4.4.4 has issues with initialization of anonymous unions. drivers/infiniband/core/verbs.c: In function '__ib_drain_

[PATCH 4.17 254/336] ASoC: compress: Only call free for components which have been opened

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Charles Keepax [ Upstream commit 572e6c8dd174bc6fc7ba5d9b6935e9ec8d2660f5 ] The core should only call free on a component if said component has already had open called on it. This is not prese

[PATCH 4.14 078/246] wlcore: sdio: check for valid platform device data before suspend

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eyal Reizer [ Upstream commit 6e91d48371e79862ea2c05867aaebe4afe55a865 ] the wl pointer can be null In case only wlcore_sdio is probed while no WiLink module is successfully probed, as in the

[PATCH 4.17 199/336] libata: Fix command retry decision

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Damien Le Moal [ Upstream commit 804689ad2d9b66d0d3920b48cf05881049d44589 ] For failed commands with valid sense data (e.g. NCQ commands), scsi_check_sense() is used in ata_analyze_tf() to det

[PATCH 4.14 044/246] e1000e: Ignore TSYNCRXCTL when getting I219 clock attributes

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Poirier [ Upstream commit fff200caf6f9179dd9a7fc67acd659e614c3f72f ] There have been multiple reports of crashes that look like kernel: RIP: 0010:[] timecounter_read+0xf/0x50 [...] ke

[PATCH 4.14 009/246] Input: i8042 - add Lenovo LaVie Z to the i8042 reset list

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Chen-Yu Tsai commit 384cf4285b34e08917e3e66603382f2b0c4f6e1b upstream. The Lenovo LaVie Z laptop requires i8042 to be reset in order to consistently detect its Elantech touchpad. The nomux and

[PATCH 4.17 224/336] regulator: add dummy function of_find_regulator_by_node

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Changbin Du [ Upstream commit 08813e0ec1cb48e53c86a24d88d26b26878e7b6e ] If device tree is not enabled, of_find_regulator_by_node() should have a dummy function since the function call is stil

[PATCH 4.17 165/336] md: fix NULL dereference of mddev->pers in remove_and_add_spares()

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Yufen Yu [ Upstream commit c42a0e2675721e1444f56e6132a07b7b1ec169ac ] We met NULL pointer BUG as follow: [ 151.760358] BUG: unable to handle kernel NULL pointer dereference at 0

[PATCH 4.14 077/246] mwifiex: handle race during mwifiex_usb_disconnect

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ganapathi Bhat [ Upstream commit b817047ae70c0bd67b677b65d0d69d72cd6e9728 ] Race condition is observed during rmmod of mwifiex_usb: 1. The rmmod thread will call mwifiex_usb_disconnect(), dow

Re: [PATCH v3 2/2] mmc: host: iproc: Add ACPI support to IPROC SDHCI

2018-08-01 Thread Srinath Mannam
Hi Adrian Hunter, Kindly provide your review comments and feedback. Thank you. Regards, Srinath. On Mon, Jul 30, 2018 at 11:45 AM, Srinath Mannam wrote: > Add ACPI support to all IPROC SDHCI varients > > Signed-off-by: Srinath Mannam > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden > Rev

[PATCH v8 0/6] Add Actions Semiconductor Owl S900 I2C support

2018-08-01 Thread Manivannan Sadhasivam
This patchset adds I2C controller support for Actions Semiconductor S900 SoC. This driver has been structured in a way such that there will be only one controller driver for the whole Owl family series (S500, S700 and S900 SoCs). There are 6 I2C controllers with separate memory mapped register spa

[PATCH 4.17 211/336] bnxt_en: Always forward VF MAC address to the PF.

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael Chan [ Upstream commit 707e7e96602675beb5e09bb994195663da6eb56d ] The current code already forwards the VF MAC address to the PF, except in one case. If the VF driver gets a valid MAC

[PATCH 4.14 006/246] drivers/infiniband/ulp/srpt/ib_srpt.c: fix build with gcc-4.4.4

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Morton commit 06892cc190550807d332c95a0114c7e175584012 upstream. gcc-4.4.4 has issues with initialization of anonymous unions: drivers/infiniband/ulp/srpt/ib_srpt.c: In function 'srpt_

[PATCH v8 1/6] dt-bindings: i2c: Add binding for Actions Semiconductor Owl I2C controller

2018-08-01 Thread Manivannan Sadhasivam
Add devicetree binding for Actions Semiconductor Owl I2C controller Signed-off-by: Manivannan Sadhasivam Reviewed-by: Rob Herring --- .../devicetree/bindings/i2c/i2c-owl.txt | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2

[PATCH 4.14 094/246] ath: Add regulatory mapping for APL2_FCCA

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 4f183687e3fad3ce0e06e38976cad81bc4541990 ] The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the reg

[PATCH 4.14 031/246] kernel/hung_task.c: show all hung tasks before panic

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa [ Upstream commit 401c636a0eeb0d51862fce222da1bf08e3a0ffd0 ] When we get a hung task it can often be valuable to see _all_ the hung tasks on the system before calling panic(). Qu

[PATCH 4.14 033/246] mm: vmalloc: avoid racy handling of debugobjects in vunmap

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Chintan Pandya [ Upstream commit f3c01d2f3ade6790db67f80fef60df84424f8964 ] Currently, __vunmap flow is, 1) Release the VM area 2) Free the debug objects corresponding to that vm area. This

[PATCH 4.14 038/246] netfilter: ipset: List timing out entries with "timeout 1" instead of zero

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jozsef Kadlecsik [ Upstream commit bd975e691486ba52790ba23cc9b4fecab7bc0d31 ] When listing sets with timeout support, there's a probability that just timing out entries with "0" timeout value

[PATCH 4.14 015/246] kthread, tracing: Dont expose half-written comm when creating kthreads

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Snild Dolkow commit 3e536e222f2930534c252c1cc7ae799c725c5ff9 upstream. There is a window for racing when printing directly to task->comm, allowing other threads to see a non-terminated string.

[PATCH 4.14 074/246] Bluetooth: btusb: Add a new Realtek 8723DE ID 2ff8:b011

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jian-Hong Pan [ Upstream commit 66d9975c5a7c40aa7e4bb0ec0b0c37ba1f190923 ] Without this patch we cannot turn on the Bluethooth adapter on ASUS E406MA. T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01

[PATCH 4.14 082/246] Btrfs: dont return ino to ino cache if inode item removal fails

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval [ Upstream commit c08db7d8d295a4f3a10faaca376de011afff7950 ] In btrfs_evict_inode(), if btrfs_truncate_inode_items() fails, the inode item will still be in the tree but we still

[PATCH 4.14 053/246] netfilter: nf_tables: check msg_type before nft_trans_set(trans)

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 9c7f96fd77b0dbe1fe7ed1f9c462c45dc48a1076 ] The patch moves the "trans->msg_type == NFT_MSG_NEWSET" check before using nft_trans_set(trans). Otherwise we can ge

[PATCH v8 2/6] arm64: dts: actions: Add pinctrl definition for S900 I2C controller

2018-08-01 Thread Manivannan Sadhasivam
Add pinctrl definition for Actions Semiconductor S900 I2C controller. Pinctrl definitions are only available for I2C0, I2C1, and I2C2. Signed-off-by: Manivannan Sadhasivam --- .../dts/actions/s900-bubblegum-96-pins.dtsi | 29 +++ 1 file changed, 29 insertions(+) create mode 10

[PATCH 4.17 218/336] soc/tegra: pmc: Dont allocate struct tegra_powergate on stack

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Viresh Kumar [ Upstream commit 495ac33a3b82f85ed4fbdd9b826c1d2fbc8e9b68 ] With a later commit an instance of the struct device will be added to struct genpd and with that the size of the struc

[PATCH 4.14 027/246] nfsd: fix potential use-after-free in nfsd4_decode_getdeviceinfo

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Scott Mayhew [ Upstream commit 3171822fdcdd6e6d536047c425af6dc7a92dc585 ] When running a fuzz tester against a KASAN-enabled kernel, the following splat periodically occurs. The problem occur

[PATCH 4.14 095/246] ath: Add regulatory mapping for Uganda

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 1ea3986ad2bc72081c69f3fbc1e5e0eeb3c44f17 ] The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test

[PATCH v8 4/6] arm64: dts: actions: Enable I2C1 and I2C2 in Bubblegum-96 board

2018-08-01 Thread Manivannan Sadhasivam
Enable I2C1 and I2C2 exposed on the low speed expansion connector in Bubblegum-96 board. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts

[PATCH v8 3/6] arm64: dts: actions: Add Actions Semiconductor S900 I2C controller nodes

2018-08-01 Thread Manivannan Sadhasivam
Add I2C controller nodes for Actions Semiconductor S900 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 60 +++ 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.d

[PATCH 4.17 182/336] drm/amd/display: Fix dim display on DCE11

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: "Leo (Sunpeng) Li" [ Upstream commit 84ffa80123f56f80145dc638f21dfcbedda5610d ] Before programming the input gamma, check that we're not using the identity correction. Signed-off-by: Leo (Sun

Re: [PATCH 3/3] PCI/portdrv: Add support for sharing xilinx controller irq with AER

2018-08-01 Thread Sinan Kaya
On 8/1/2018 9:44 AM, Bharat Kumar Gogada wrote: Xilinx ZynqMP PS PCIe does not report AER interrupts using Advanced Error Interrupt Message Number. The controller has dedicated interrupt line for reporting PCIe errors along with AER. Using dedicated controller irq number for AER which is shared

[PATCH 4.17 167/336] gpu: host1x: Acquire a reference to the IOVA cache

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Thierry Reding [ Upstream commit f40e1590c5270e5559fb95a5a0a7c1f5266a522d ] The IOVA API uses a memory cache to allocate IOVA nodes from. To make sure that this cache is available, obtain a re

[PATCH 4.17 208/336] perf: fix invalid bit in diagnostic entry

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Richter [ Upstream commit 3c0a83b14ea71fef5ccc93a3bd2de5f892be3194 ] The s390 CPU measurement facility sampling mode supports basic entries and diagnostic entries. Each entry has a vali

[PATCH 4.17 190/336] ARM: dts: emev2: Add missing interrupt-affinity to PMU node

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven [ Upstream commit 7207b94754b6f503b278b5b200faaf662ffa1da8 ] The PMU node references two interrupts, but lacks the interrupt-affinity property, which is required in that cas

[PATCH v8 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-08-01 Thread Manivannan Sadhasivam
Add Actions Semiconductor Owl family S900 I2C driver. Signed-off-by: Manivannan Sadhasivam Acked-by: Peter Rosin --- drivers/i2c/busses/Kconfig | 7 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-owl.c | 495 +++ 3 files changed, 503 insertion

[PATCH 4.17 213/336] staging: most: cdev: fix chrdev_region leak

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Christian Gromm [ Upstream commit aba258b73101670c06b1dd700e500ed0a3fa0e8e ] The function unregister_chrdev_region is called with a different counter as the alloc_chrdev_region. To fix this, t

[PATCH 4.17 238/336] spi: meson-spicc: Fix error handling in meson_spicc_probe()

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Khoroshilov [ Upstream commit ded5fa4e8bac25612caab8f0822691308a28a552 ] If devm_spi_register_master() fails in meson_spicc_probe(), spicc->core is left undisabled. The patch fixes that

[PATCH v8 6/6] MAINTAINERS: Add entry for Actions Semiconductor Owl I2C driver

2018-08-01 Thread Manivannan Sadhasivam
Add entry for Actions Semiconductor Owl I2C driver under ARM/ACTIONS Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 09b54e9ebc6f..5084c62712fa 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1145,12 +1145,

<    4   5   6   7   8   9   10   11   12   13   >