[PATCH AUTOSEL 4.18 04/48] selftests: android: move config up a level

2018-10-05 Thread Sasha Levin
From: Anders Roxell [ Upstream commit 88bc243a3f22b9938c0b53c577dee28025cdb920 ] 'make kselftest-merge' assumes that the config files for the tests are located under the 'main' test dir, like tools/testing/selftests/android/ and not in a subdir to android. Signed-off-by: Anders Roxell Signed-o

[PATCH AUTOSEL 4.18 06/48] ASoC: max98373: Added 10ms sleep after amp software reset

2018-10-05 Thread Sasha Levin
From: Ryan Lee [ Upstream commit ca917f9fe1a0fab3dde41bba4bbd173c5a3c5805 ] Signed-off-by: Ryan Lee Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/max98373.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max983

Re: [PATCH 05/22] KEYS: Provide software public key query function

2018-10-05 Thread James Morris
On Fri, 5 Oct 2018, David Howells wrote: > James Morris wrote: > > > > + if (strcmp(encoding, "raw") == 0) { > > > + strcpy(alg_name, pkey->pkey_algo); > > > + return 0; > > > + } > > > > Can encoding here also be NULL to indicate raw? per patch 01: > > Ummm... By the letter o

[PATCH AUTOSEL 4.18 08/48] ASoC: sigmadsp: safeload should not have lower byte limit

2018-10-05 Thread Sasha Levin
From: Danny Smith [ Upstream commit 5ea752c6efdf5aa8a57aed816d453a8f479f1b0a ] Fixed range in safeload conditional to allow safeload to up to 20 bytes, without a lower limit. Signed-off-by: Danny Smith Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- so

Re: [PATCH v3] tools/lib/traceevent: Replace str_error_r() with an open coded implementation

2018-10-05 Thread Colin McCabe
Hmm. Did you consider setting the ifdefs you can set to always get the POSIX version of strerror_r? best, Colin On Fri, Oct 5, 2018, at 08:30, Steven Rostedt wrote: > On Tue, 2 Oct 2018 17:55:39 -0400 > Steven Rostedt wrote: > > > From: "Steven Rostedt (VMware)" > > > > While working on ha

[PATCH AUTOSEL 4.18 12/48] selftests: memory-hotplug: add required configs

2018-10-05 Thread Sasha Levin
From: Lei Yang [ Upstream commit 4d85af102a66ee6aeefa596f273169e77fb2b48e ] add CONFIG_MEMORY_HOTREMOVE=y in config without this config, /sys/devices/system/memory/memory*/removable always return 0, I endup getting an early skip during test Signed-off-by: Lei Yang Signed-off-by: Shuah Khan (Sa

[PATCH AUTOSEL 4.18 11/48] selftests/efivarfs: add required kernel configs

2018-10-05 Thread Sasha Levin
From: Lei Yang [ Upstream commit 53cf59d6c0ad3edc4f4449098706a8f8986258b6 ] add config file Signed-off-by: Lei Yang Signed-off-by: Shuah Khan (Samsung OSG) Signed-off-by: Sasha Levin --- tools/testing/selftests/efivarfs/config | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/

[PATCH AUTOSEL 4.18 09/48] ASoC: q6routing: initialize data correctly

2018-10-05 Thread Sasha Levin
From: Srinivas Kandagatla [ Upstream commit 7aa09ff24301535491cd4de1b93107ee91449a12 ] Some of the router data fields are left as default zeros which are valid dai ids, so initialize these to invalid value of -1. Without intializing these correctly get_session_from_id() can return incorrect ses

[PATCH AUTOSEL 4.18 10/48] selftests: add headers_install to lib.mk

2018-10-05 Thread Sasha Levin
From: Anders Roxell [ Upstream commit b2d35fa5fc80c27e868e393dcab4c94a0d71737f ] If the kernel headers aren't installed we can't build all the tests. Add a new make target rule 'khdr' in the file lib.mk to generate the kernel headers and that gets include for every test-dir Makefile that include

[PATCH AUTOSEL 4.18 16/48] Fix cg_read_strcmp()

2018-10-05 Thread Sasha Levin
From: Jay Kamat [ Upstream commit 48c2bb0b9cf863e0ed78e269f188ce65b73e0fd1 ] Fix a couple issues with cg_read_strcmp(), to improve correctness of cgroup tests - Fix cg_read_strcmp() always returning 0 for empty "needle" strings. Previously, this function read to a size = 1 buffer when comparing

[PATCH] x86: avoid VLA in pgd_alloc()

2018-10-05 Thread Arnd Bergmann
Turning on -Wvla found a new VLA usage: In file included from include/linux/kernel.h:15, from include/asm-generic/bug.h:18, from arch/x86/include/asm/bug.h:83, from include/linux/bug.h:5, from include/linux/mmdebug.h:5,

[tip:x86/urgent] x86/mm: Avoid VLA in pgd_alloc()

2018-10-05 Thread tip-bot for Arnd Bergmann
Commit-ID: 1be3f247c2882a82279cbcf43717581ea943b692 Gitweb: https://git.kernel.org/tip/1be3f247c2882a82279cbcf43717581ea943b692 Author: Arnd Bergmann AuthorDate: Fri, 5 Oct 2018 18:13:16 +0200 Committer: Ingo Molnar CommitDate: Fri, 5 Oct 2018 18:16:55 +0200 x86/mm: Avoid VLA in pgd_al

[PATCH AUTOSEL 4.18 13/48] ASoC: rsnd: adg: care clock-frequency size

2018-10-05 Thread Sasha Levin
From: Kuninori Morimoto [ Upstream commit 69235ccf491d2e26aefd465c0d3ccd1e3b2a9a9c ] ADG has buffer over flow bug if DT has more than 3 clock-frequency. This patch fixup this issue, and uses first 2 values. clock-frequency = ;/* this is OK */ clock-frequency = ; /*

Re: [PATCH] ARM: orion: avoid VLA in orion_mpp_conf

2018-10-05 Thread Andrew Lunn
On Fri, Oct 05, 2018 at 06:15:49PM +0200, Arnd Bergmann wrote: > Testing randconfig builds found an instance of a VLA that was > missed when determining that we have removed them all: > > arch/arm/plat-orion/mpp.c: In function 'orion_mpp_conf': > arch/arm/plat-orion/mpp.c:31:2: error: ISO C90 forb

[PATCH AUTOSEL 4.18 14/48] ASoC: rsnd: don't fallback to PIO mode when -EPROBE_DEFER

2018-10-05 Thread Sasha Levin
From: Kuninori Morimoto [ Upstream commit 6c92d5a2744e27619a8fcc9d74b91ee9f1cdebd1 ] Current rsnd driver will fallback to PIO mode if it can't get DMA handler. But, DMA might return -EPROBE_DEFER when probe timing. This driver always fallback to PIO mode especially from commit ac6bbf0cdf4206c ("

[PATCH AUTOSEL 4.18 19/48] drm/pl111: Make sure of_device_id tables are NULL terminated

2018-10-05 Thread Sasha Levin
From: zhong jiang [ Upstream commit 7eb33224572636248d5b6cfa1a6b2472207be5c4 ] We prefer to of_device_id tables are NULL terminated. So make vexpress_muxfpga_match is NULL terminated. Signed-off-by: zhong jiang Signed-off-by: Linus Walleij Link: https://patchwork.freedesktop.org/patch/msgid/

[PATCH AUTOSEL 4.18 18/48] ASoC: AMD: Ensure reset bit is cleared before configuring

2018-10-05 Thread Sasha Levin
From: Akshu Agrawal [ Upstream commit 2a665dba016d5493c7d826fec82b0cb643b30d42 ] HW register descriptions says: "DMA Channel Reset...Software must confirm that this bit is cleared before reprogramming any of the channel configuration registers." There could be cases where dma stop errored out le

[PATCH AUTOSEL 4.18 17/48] Add tests for memory.oom.group

2018-10-05 Thread Sasha Levin
From: Jay Kamat [ Upstream commit a987785dcd6c8ae2915460582aebd6481c81eb67 ] Add tests for memory.oom.group for the following cases: - Killing all processes in a leaf cgroup, but leaving the parent untouched - Killing all processes in a parent and leaf cgroup - Keeping processes marked by OOM_

[PATCH AUTOSEL 4.18 22/48] Bluetooth: hci_ldisc: Free rw_semaphore on close

2018-10-05 Thread Sasha Levin
From: Hermes Zhang [ Upstream commit e6a57d22f787e73635ce0d29eef0abb77928b3e9 ] The percpu_rw_semaphore is not currently freed, and this leads to a crash when the stale rcu callback is invoked. DEBUG_OBJECTS detects this. ODEBUG: free active (active state 1) object type: rcu_head hint: (null)

[PATCH AUTOSEL 4.18 27/48] sound: enable interrupt after dma buffer initialization

2018-10-05 Thread Sasha Levin
From: Yu Zhao [ Upstream commit b61749a89f826eb61fc59794d9e4697bd246eb61 ] In snd_hdac_bus_init_chip(), we enable interrupt before snd_hdac_bus_init_cmd_io() initializing dma buffers. If irq has been acquired and irq handler uses the dma buffer, kernel may crash when interrupt comes in. Fix the

[PATCH AUTOSEL 4.18 23/48] mfd: omap-usb-host: Fix dts probe of children

2018-10-05 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 10492ee8ed9188d6d420e1f79b2b9bdbc0624e65 ] It currently only works if the parent bus uses "simple-bus". We currently try to probe children with non-existing compatible values. And we're missing .probe. I noticed this while testing devices configured to prob

[PATCH AUTOSEL 4.18 26/48] scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()

2018-10-05 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit cbe3fd39d223f14b1c60c80fe9347a3dd08c2edb ] We should first do the le16_to_cpu endian conversion and then apply the FCP_CMD_LENGTH_MASK mask. Fixes: 5f35509db179 ("qla2xxx: Terminate exchange if corrupted") Signed-off-by: Dan Carpenter Acked-by: Quinn Tran

[PATCH AUTOSEL 4.18 25/48] scsi: iscsi: target: Don't use stack buffer for scatterlist

2018-10-05 Thread Sasha Levin
From: Laura Abbott [ Upstream commit 679fcae46c8b2352bba3485d521da070cfbe68e6 ] Fedora got a bug report of a crash with iSCSI: kernel BUG at include/linux/scatterlist.h:143! ... RIP: 0010:iscsit_do_crypto_hash_buf+0x154/0x180 [iscsi_target_mod] ... Call Trace: ? iscsi_target_tx_thread+0x200/

[PATCH AUTOSEL 4.18 29/48] bpf: btf: Fix end boundary calculation for type section

2018-10-05 Thread Sasha Levin
From: Martin KaFai Lau [ Upstream commit 4b1c5d917d34f705096bb7dd8a2bd19b0881970e ] The end boundary math for type section is incorrect in btf_check_all_metas(). It just happens that hdr->type_off is always 0 for now because there are only two sections (type and string) and string section must

[PATCH AUTOSEL 4.18 28/48] sound: don't call skl_init_chip() to reset intel skl soc

2018-10-05 Thread Sasha Levin
From: Yu Zhao [ Upstream commit 75383f8d39d4c0fb96083dd460b7b139fbdac492 ] Internally, skl_init_chip() calls snd_hdac_bus_init_chip() which 1) sets bus->chip_init to prevent multiple entrances before device is stopped; 2) enables interrupt. We shouldn't use it for the purpose of resetting devic

[PATCH AUTOSEL 4.18 34/48] hwmon: (nct6775) Use different register to get fan RPM for fan7

2018-10-05 Thread Sasha Levin
From: Guenter Roeck [ Upstream commit 55066354285b36ee09dc50e2527f43a97c567177 ] The documented register to retrieve the fan RPM for fan7 is found to be unreliable at least with NCT6796D revision 3. Let's use register 0x4ce instead. This is undocumented for NCT6796D, but documented for NCT6797D

Re: [PATCH AUTOSEL 3.18 6/6] ubifs: Check for name being NULL while mounting

2018-10-05 Thread Richard Weinberger
Sasha, Am Freitag, 5. Oktober 2018, 18:17:50 CEST schrieb Sasha Levin: > From: Richard Weinberger > > [ Upstream commit 37f31b6ca4311b94d985fb398a72e5399ad57925 ] > > The requested device name can be NULL or an empty string. > Check for that and refuse to continue. UBIFS has to do this manually

Re: [GIT PULL 0/5] perf/urgent fixes

2018-10-05 Thread Ingo Molnar
erf-urgent-for-mingo-4.19-20180918' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent > (2018-09-19 13:25:35 +0200) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-ur

[PATCH AUTOSEL 4.18 33/48] stmmac: fix valid numbers of unicast filter entries

2018-10-05 Thread Sasha Levin
From: Jongsung Kim [ Upstream commit edf2ef7242805e53ec2e0841db26e06d8bc7da70 ] Synopsys DWC Ethernet MAC can be configured to have 1..32, 64, or 128 unicast filter entries. (Table 7-8 MAC Address Registers from databook) Fix dwmac1000_validate_ucast_entries() to accept values between 1 and 32 i

[PATCH AUTOSEL 4.14 01/23] ASoC: rt5514: Fix the issue of the delay volume applied again

2018-10-05 Thread Sasha Levin
From: Oder Chiou [ Upstream commit 6f0a256253f48095ba2e5bcdfbed41f21643c105 ] After our evaluation, we need to modify the default values to make sure the volume applied immediately. Signed-off-by: Oder Chiou Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/rt5514.c

[PATCH AUTOSEL 4.14 02/23] ASoC: wm8804: Add ACPI support

2018-10-05 Thread Sasha Levin
From: Pierre-Louis Bossart [ Upstream commit 960cdd50ca9fdfeb82c2757107bcb7f93c8d7d41 ] HID made of either Wolfson/CirrusLogic PCI ID + 8804 identifier. This helps enumerate the HifiBerry Digi+ HAT boards on the Up2 platform. The scripts at https://github.com/thesofproject/acpi-scripts can be

[PATCH AUTOSEL 4.14 03/23] ASoC: sigmadsp: safeload should not have lower byte limit

2018-10-05 Thread Sasha Levin
From: Danny Smith [ Upstream commit 5ea752c6efdf5aa8a57aed816d453a8f479f1b0a ] Fixed range in safeload conditional to allow safeload to up to 20 bytes, without a lower limit. Signed-off-by: Danny Smith Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- so

[PATCH AUTOSEL 4.14 04/23] selftests/efivarfs: add required kernel configs

2018-10-05 Thread Sasha Levin
From: Lei Yang [ Upstream commit 53cf59d6c0ad3edc4f4449098706a8f8986258b6 ] add config file Signed-off-by: Lei Yang Signed-off-by: Shuah Khan (Samsung OSG) Signed-off-by: Sasha Levin --- tools/testing/selftests/efivarfs/config | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/

[PATCH AUTOSEL 4.14 06/23] ASoC: rsnd: adg: care clock-frequency size

2018-10-05 Thread Sasha Levin
From: Kuninori Morimoto [ Upstream commit 69235ccf491d2e26aefd465c0d3ccd1e3b2a9a9c ] ADG has buffer over flow bug if DT has more than 3 clock-frequency. This patch fixup this issue, and uses first 2 values. clock-frequency = ;/* this is OK */ clock-frequency = ; /*

[PATCH AUTOSEL 4.14 05/23] selftests: memory-hotplug: add required configs

2018-10-05 Thread Sasha Levin
From: Lei Yang [ Upstream commit 4d85af102a66ee6aeefa596f273169e77fb2b48e ] add CONFIG_MEMORY_HOTREMOVE=y in config without this config, /sys/devices/system/memory/memory*/removable always return 0, I endup getting an early skip during test Signed-off-by: Lei Yang Signed-off-by: Shuah Khan (Sa

[PATCH AUTOSEL 4.14 08/23] Bluetooth: hci_ldisc: Free rw_semaphore on close

2018-10-05 Thread Sasha Levin
From: Hermes Zhang [ Upstream commit e6a57d22f787e73635ce0d29eef0abb77928b3e9 ] The percpu_rw_semaphore is not currently freed, and this leads to a crash when the stale rcu callback is invoked. DEBUG_OBJECTS detects this. ODEBUG: free active (active state 1) object type: rcu_head hint: (null)

[PATCH AUTOSEL 4.14 10/23] scsi: iscsi: target: Don't use stack buffer for scatterlist

2018-10-05 Thread Sasha Levin
From: Laura Abbott [ Upstream commit 679fcae46c8b2352bba3485d521da070cfbe68e6 ] Fedora got a bug report of a crash with iSCSI: kernel BUG at include/linux/scatterlist.h:143! ... RIP: 0010:iscsit_do_crypto_hash_buf+0x154/0x180 [iscsi_target_mod] ... Call Trace: ? iscsi_target_tx_thread+0x200/

[PATCH AUTOSEL 4.14 09/23] mfd: omap-usb-host: Fix dts probe of children

2018-10-05 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 10492ee8ed9188d6d420e1f79b2b9bdbc0624e65 ] It currently only works if the parent bus uses "simple-bus". We currently try to probe children with non-existing compatible values. And we're missing .probe. I noticed this while testing devices configured to prob

[PATCH AUTOSEL 4.14 11/23] scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()

2018-10-05 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit cbe3fd39d223f14b1c60c80fe9347a3dd08c2edb ] We should first do the le16_to_cpu endian conversion and then apply the FCP_CMD_LENGTH_MASK mask. Fixes: 5f35509db179 ("qla2xxx: Terminate exchange if corrupted") Signed-off-by: Dan Carpenter Acked-by: Quinn Tran

[PATCH 3/5] arm64: mm: make use of new memblocks_present() helper

2018-10-05 Thread Logan Gunthorpe
Cleanup the arm64_memory_present() function seeing it's very similar to other arches. memblocks_present() is a direct replacement of arm64_memory_present() Signed-off-by: Logan Gunthorpe --- arch/arm64/mm/init.c | 20 +--- 1 file changed, 1 insertion(+), 19 deletions(-) diff --

[PATCH AUTOSEL 4.14 13/23] sound: don't call skl_init_chip() to reset intel skl soc

2018-10-05 Thread Sasha Levin
From: Yu Zhao [ Upstream commit 75383f8d39d4c0fb96083dd460b7b139fbdac492 ] Internally, skl_init_chip() calls snd_hdac_bus_init_chip() which 1) sets bus->chip_init to prevent multiple entrances before device is stopped; 2) enables interrupt. We shouldn't use it for the purpose of resetting devic

[PATCH 0/5] sparsemem support for RISC-V

2018-10-05 Thread Logan Gunthorpe
Hi Everyone, This patchset is intended to implement sparsemem on RISC-V. The first few patches are introducing a common helper used by the sparesmem implementation in other architectures and the final patch is the actual RISC-V implementation. This is the first small step in supporting P2P on RIS

[PATCH 4/5] sh: mm: make use of new memblocks_present() helper

2018-10-05 Thread Logan Gunthorpe
Cleanup the open coded for_each_memblock() loop that is equivalent to the new memblocks_present() helper. Signed-off-by: Logan Gunthorpe Cc: Yoshinori Sato Cc: Rich Felker Cc: Dan Williams Cc: Rob Herring --- arch/sh/mm/init.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff

[PATCH AUTOSEL 4.14 15/23] stmmac: fix valid numbers of unicast filter entries

2018-10-05 Thread Sasha Levin
From: Jongsung Kim [ Upstream commit edf2ef7242805e53ec2e0841db26e06d8bc7da70 ] Synopsys DWC Ethernet MAC can be configured to have 1..32, 64, or 128 unicast filter entries. (Table 7-8 MAC Address Registers from databook) Fix dwmac1000_validate_ucast_entries() to accept values between 1 and 32 i

[PATCH 1/5] mm/sparse: add common helper to mark all memblocks present

2018-10-05 Thread Logan Gunthorpe
Presently the arches arm64, arm, sh have a function which loops through each memblock and calls memory present. riscv will require a similar function. Introduce a common memblocks_present() function that can be used by all the arches. Subsequent patches will cleanup the arches that make use of thi

[PATCH AUTOSEL 4.14 16/23] net: macb: disable scatter-gather for macb on sama5d3

2018-10-05 Thread Sasha Levin
From: Nicolas Ferre [ Upstream commit eb4ed8e2d7fecb5f40db38e4498b9ee23cddf196 ] Create a new configuration for the sama5d3-macb new compatibility string. This configuration disables scatter-gather because we experienced lock down of the macb interface of this particular SoC under very high load

[PATCH AUTOSEL 4.14 14/23] hv_netvsc: fix schedule in RCU context

2018-10-05 Thread Sasha Levin
From: Stephen Hemminger [ Upstream commit 018349d70f28a78d5343b3660cb66e1667005f8a ] When netvsc device is removed it can call reschedule in RCU context. This happens because canceling the subchannel setup work could (in theory) cause a reschedule when manipulating the timer. To reproduce, run

[PATCH] tools/lib/traceevent, tools/perf: Move struct tep_handler definition in a local header file

2018-10-05 Thread Steven Rostedt
From: Tzvetomir Stoyanov As traceevent is going to be transferred into a proper library, its local data should be protected from the library users. This patch encapsulates struct tep_handler into a local header, not visible outside of the library. It implements also a bunch of new APIs, which l

[PATCH 2/5] ARM: mm: make use of new memblocks_present() helper

2018-10-05 Thread Logan Gunthorpe
Cleanup the arm_memory_present() function seeing it's very similar to other arches. The new memblocks_present() helper checks for node ids which the arm version did not. However, this is equivalent seeing HAVE_MEMBLOCK_NODE_MAP should be false in this arch and therefore memblock_get_region_node()

[PATCH AUTOSEL 4.14 17/23] ARM: dts: at91: add new compatibility string for macb on sama5d3

2018-10-05 Thread Sasha Levin
From: Nicolas Ferre [ Upstream commit 321cc359d899a8e988f3725d87c18a628e1cc624 ] We need this new compatibility string as we experienced different behavior for this 10/100Mbits/s macb interface on this particular SoC. Backward compatibility is preserved as we keep the alternative strings. Signe

[PATCH AUTOSEL 4.14 20/23] clk: x86: Stop marking clocks as CLK_IS_CRITICAL

2018-10-05 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 648e921888ad96ea3dc922739e96716ad3225d7f ] Commit d31fd43c0f9a ("clk: x86: Do not gate clocks enabled by the firmware"), which added the code to mark clocks as CLK_IS_CRITICAL, causes all unclaimed PMC clocks on Cherry Trail devices to be on all the time, re

[PATCH AUTOSEL 4.14 19/23] clk: x86: add "ether_clk" alias for Bay Trail / Cherry Trail

2018-10-05 Thread Sasha Levin
From: Hans de Goede [ Upstream commit b1e3454d39f992e5409cd19f97782185950df6e7 ] Commit d31fd43c0f9a ("clk: x86: Do not gate clocks enabled by the firmware") causes all unclaimed PMC clocks on Cherry Trail devices to be on all the time, resulting on the device not being able to reach S0i2 or S0i

[PATCH AUTOSEL 4.9 01/14] ASoC: wm8804: Add ACPI support

2018-10-05 Thread Sasha Levin
From: Pierre-Louis Bossart [ Upstream commit 960cdd50ca9fdfeb82c2757107bcb7f93c8d7d41 ] HID made of either Wolfson/CirrusLogic PCI ID + 8804 identifier. This helps enumerate the HifiBerry Digi+ HAT boards on the Up2 platform. The scripts at https://github.com/thesofproject/acpi-scripts can be

[PATCH AUTOSEL 4.14 23/23] ubifs: Check for name being NULL while mounting

2018-10-05 Thread Sasha Levin
From: Richard Weinberger [ Upstream commit 37f31b6ca4311b94d985fb398a72e5399ad57925 ] The requested device name can be NULL or an empty string. Check for that and refuse to continue. UBIFS has to do this manually since we cannot use mount_bdev(), which checks for this condition. Fixes: 1e51764a

[PATCH AUTOSEL 4.9 02/14] ASoC: sigmadsp: safeload should not have lower byte limit

2018-10-05 Thread Sasha Levin
From: Danny Smith [ Upstream commit 5ea752c6efdf5aa8a57aed816d453a8f479f1b0a ] Fixed range in safeload conditional to allow safeload to up to 20 bytes, without a lower limit. Signed-off-by: Danny Smith Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- so

[PATCH AUTOSEL 4.9 03/14] selftests/efivarfs: add required kernel configs

2018-10-05 Thread Sasha Levin
From: Lei Yang [ Upstream commit 53cf59d6c0ad3edc4f4449098706a8f8986258b6 ] add config file Signed-off-by: Lei Yang Signed-off-by: Shuah Khan (Samsung OSG) Signed-off-by: Sasha Levin --- tools/testing/selftests/efivarfs/config | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/

[PATCH AUTOSEL 4.9 07/14] scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()

2018-10-05 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit cbe3fd39d223f14b1c60c80fe9347a3dd08c2edb ] We should first do the le16_to_cpu endian conversion and then apply the FCP_CMD_LENGTH_MASK mask. Fixes: 5f35509db179 ("qla2xxx: Terminate exchange if corrupted") Signed-off-by: Dan Carpenter Acked-by: Quinn Tran

[tip:perf/urgent] perf record: Use unmapped IP for inline callchain cursors

2018-10-05 Thread tip-bot for Milian Wolff
Commit-ID: 7a8a8fcf7b860e4b2d4edc787c844d41cad9dfcf Gitweb: https://git.kernel.org/tip/7a8a8fcf7b860e4b2d4edc787c844d41cad9dfcf Author: Milian Wolff AuthorDate: Wed, 26 Sep 2018 15:52:06 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 5 Oct 2018 11:18:09 -0300 perf record: U

[PATCH AUTOSEL 4.9 05/14] mfd: omap-usb-host: Fix dts probe of children

2018-10-05 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 10492ee8ed9188d6d420e1f79b2b9bdbc0624e65 ] It currently only works if the parent bus uses "simple-bus". We currently try to probe children with non-existing compatible values. And we're missing .probe. I noticed this while testing devices configured to prob

[PATCH AUTOSEL 4.9 08/14] sound: enable interrupt after dma buffer initialization

2018-10-05 Thread Sasha Levin
From: Yu Zhao [ Upstream commit b61749a89f826eb61fc59794d9e4697bd246eb61 ] In snd_hdac_bus_init_chip(), we enable interrupt before snd_hdac_bus_init_cmd_io() initializing dma buffers. If irq has been acquired and irq handler uses the dma buffer, kernel may crash when interrupt comes in. Fix the

[tip:perf/urgent] perf python: Use -Wno-redundant-decls to build with PYTHON=python3

2018-10-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 05a2f54679861deb188750ba2a70187000b2c71f Gitweb: https://git.kernel.org/tip/05a2f54679861deb188750ba2a70187000b2c71f Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 18 Sep 2018 16:08:02 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 5 Oct 2018 11:11:55 -0300 pe

[PATCH AUTOSEL 4.9 10/14] net: macb: disable scatter-gather for macb on sama5d3

2018-10-05 Thread Sasha Levin
From: Nicolas Ferre [ Upstream commit eb4ed8e2d7fecb5f40db38e4498b9ee23cddf196 ] Create a new configuration for the sama5d3-macb new compatibility string. This configuration disables scatter-gather because we experienced lock down of the macb interface of this particular SoC under very high load

Re: [RFC PATCH 10/10] arch/x86: Introduce QOS feature for AMD

2018-10-05 Thread James Morse
Hi Babu, On 24/09/18 20:19, Moger, Babu wrote: > Enables QOS feature on AMD. > Following QoS sub-features are supported in AMD if the underlying > hardware supports it. > - L3 Cache allocation enforcement > - L3 Cache occupancy monitoring > - L3 Code-Data Prioritization support > - Memory Band

[PATCH AUTOSEL 4.9 06/14] scsi: iscsi: target: Don't use stack buffer for scatterlist

2018-10-05 Thread Sasha Levin
From: Laura Abbott [ Upstream commit 679fcae46c8b2352bba3485d521da070cfbe68e6 ] Fedora got a bug report of a crash with iSCSI: kernel BUG at include/linux/scatterlist.h:143! ... RIP: 0010:iscsit_do_crypto_hash_buf+0x154/0x180 [iscsi_target_mod] ... Call Trace: ? iscsi_target_tx_thread+0x200/

[PATCH] hugetlb: fix ARM 3level page tables

2018-10-05 Thread Arnd Bergmann
The check for __HAVE_ARCH_HUGE_PTEP_GET comes before the definition, leading to an extraneous definition of huge_ptep_get: In file included from arch/arm/include/asm/hugetlb.h:28, from include/linux/hugetlb.h:456, from arch/arm/kvm/../../../virt/kvm/arm/mmu.c:22:

[PATCH AUTOSEL 4.4 01/11] ASoC: wm8804: Add ACPI support

2018-10-05 Thread Sasha Levin
From: Pierre-Louis Bossart [ Upstream commit 960cdd50ca9fdfeb82c2757107bcb7f93c8d7d41 ] HID made of either Wolfson/CirrusLogic PCI ID + 8804 identifier. This helps enumerate the HifiBerry Digi+ HAT boards on the Up2 platform. The scripts at https://github.com/thesofproject/acpi-scripts can be

[PATCH AUTOSEL 4.4 02/11] ASoC: sigmadsp: safeload should not have lower byte limit

2018-10-05 Thread Sasha Levin
From: Danny Smith [ Upstream commit 5ea752c6efdf5aa8a57aed816d453a8f479f1b0a ] Fixed range in safeload conditional to allow safeload to up to 20 bytes, without a lower limit. Signed-off-by: Danny Smith Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- so

[tip:perf/urgent] perf report: Don't try to map ip to invalid map

2018-10-05 Thread tip-bot for Milian Wolff
Commit-ID: ff4ce2885af8f9e8e99864d78dbeb4673f089c76 Gitweb: https://git.kernel.org/tip/ff4ce2885af8f9e8e99864d78dbeb4673f089c76 Author: Milian Wolff AuthorDate: Wed, 26 Sep 2018 15:52:05 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 27 Sep 2018 16:05:43 -0300 perf report:

Hello Good Day,

2018-10-05 Thread Preston Francisco
Dear Respectfully, My Name is Preston Francisco,I write to seek for your indulgence on a US$9.7 Million deal, I am an Insurance agent by profession, this funds was supposed be paid to my late client as Life Assurance policy, he died interstate without any next of kin in case of eventuality and

[PATCH AUTOSEL 4.4 04/11] mfd: omap-usb-host: Fix dts probe of children

2018-10-05 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 10492ee8ed9188d6d420e1f79b2b9bdbc0624e65 ] It currently only works if the parent bus uses "simple-bus". We currently try to probe children with non-existing compatible values. And we're missing .probe. I noticed this while testing devices configured to prob

[PATCH AUTOSEL 4.4 06/11] stmmac: fix valid numbers of unicast filter entries

2018-10-05 Thread Sasha Levin
From: Jongsung Kim [ Upstream commit edf2ef7242805e53ec2e0841db26e06d8bc7da70 ] Synopsys DWC Ethernet MAC can be configured to have 1..32, 64, or 128 unicast filter entries. (Table 7-8 MAC Address Registers from databook) Fix dwmac1000_validate_ucast_entries() to accept values between 1 and 32 i

Re: [RFC PATCH 00/10] arch/x86: AMD QoS support

2018-10-05 Thread James Morse
Hi guys, On 03/10/18 21:09, Moger, Babu wrote: > On 10/03/2018 01:52 PM, Fenghua Yu wrote: >> On Tue, Oct 02, 2018 at 07:16:23PM +, Moger, Babu wrote: >>> On 10/02/2018 01:46 PM, Fenghua Yu wrote: I don't see the name 'RDT' (Resource Director Technology) in the spec "AMD64 Technology

[tip:perf/urgent] perf script python: Fix export-to-sqlite.py sample columns

2018-10-05 Thread tip-bot for Adrian Hunter
Commit-ID: d005efe18db0b4a123dd92ea8e77e27aee8f99fd Gitweb: https://git.kernel.org/tip/d005efe18db0b4a123dd92ea8e77e27aee8f99fd Author: Adrian Hunter AuthorDate: Tue, 11 Sep 2018 14:45:04 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Sep 2018 11:37:05 -0300 perf script

[PATCH AUTOSEL 4.4 08/11] ARM: dts: at91: add new compatibility string for macb on sama5d3

2018-10-05 Thread Sasha Levin
From: Nicolas Ferre [ Upstream commit 321cc359d899a8e988f3725d87c18a628e1cc624 ] We need this new compatibility string as we experienced different behavior for this 10/100Mbits/s macb interface on this particular SoC. Backward compatibility is preserved as we keep the alternative strings. Signe

[PATCH AUTOSEL 4.4 10/11] drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7

2018-10-05 Thread Sasha Levin
From: Amber Lin [ Upstream commit caaa4c8a6be2a275bd14f2369ee364978ff74704 ] A wrong register bit was examinated for checking SDMA status so it reports false failures. This typo only appears on gfx_v7. gfx_v8 checks the correct bit. Acked-by: Alex Deucher Signed-off-by: Amber Lin Reviewed-by:

[PATCH AUTOSEL 4.4 09/11] floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl

2018-10-05 Thread Sasha Levin
From: Andy Whitcroft [ Upstream commit 65eea8edc315589d6c993cf12dbb5d0e9ef1fe4e ] The final field of a floppy_struct is the field "name", which is a pointer to a string in kernel memory. The kernel pointer should not be copied to user memory. The FDGETPRM ioctl copies a floppy_struct to user m

Re: [RFC PATCH 00/10] arch/x86: AMD QoS support

2018-10-05 Thread James Morse
Hi Babu, (Thanks for looping me in!) On 28/09/18 02:57, Moger, Babu wrote: >> On Mon, 24 Sep 2018, Moger, Babu wrote: >> >>> This series adds support for AMD64 architectural extensions for Platform >>> Quality of Service. These extensions are intended to provide for the >>> monitoring of the usag

[tip:perf/urgent] perf script python: Fix export-to-postgresql.py occasional failure

2018-10-05 Thread tip-bot for Adrian Hunter
Commit-ID: 25e11700b54c7b6b5ebfc4361981dae12299557b Gitweb: https://git.kernel.org/tip/25e11700b54c7b6b5ebfc4361981dae12299557b Author: Adrian Hunter AuthorDate: Tue, 11 Sep 2018 14:45:03 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Sep 2018 11:33:06 -0300 perf script

[PATCH AUTOSEL 3.18 1/6] selftests/efivarfs: add required kernel configs

2018-10-05 Thread Sasha Levin
From: Lei Yang [ Upstream commit 53cf59d6c0ad3edc4f4449098706a8f8986258b6 ] add config file Signed-off-by: Lei Yang Signed-off-by: Shuah Khan (Samsung OSG) Signed-off-by: Sasha Levin --- tools/testing/selftests/efivarfs/config | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/

[PATCH] ceph: use an enum instead of 'static const' to define constants

2018-10-05 Thread Arnd Bergmann
Building with W=1 produces lots of warnings for files including ceph_features.h: include/linux/ceph/ceph_features.h:15:24: error: 'CEPH_FEATUREMASK_SERVER_M' defined but not used [-Werror=unused-const-variable=] The normal way to define compile-time constants in the kernel is to use either macro

[PATCH AUTOSEL 3.18 2/6] mfd: omap-usb-host: Fix dts probe of children

2018-10-05 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 10492ee8ed9188d6d420e1f79b2b9bdbc0624e65 ] It currently only works if the parent bus uses "simple-bus". We currently try to probe children with non-existing compatible values. And we're missing .probe. I noticed this while testing devices configured to prob

[PATCH AUTOSEL 3.18 4/6] net: hp100: fix always-true check for link up state

2018-10-05 Thread Sasha Levin
From: Colin Ian King [ Upstream commit a7f38002fb69b44f8fc622ecb838665d0b8666af ] The operation ~(p100_inb(VG_LAN_CFG_1) & HP100_LINK_UP) returns a value that is always non-zero and hence the wait for the link to drop always terminates prematurely. Fix this by using a logical not operator inste

[PATCH] i2c: core: squelch error: uninitialized symbol 'ret'

2018-10-05 Thread George G. Davis
The following smatch error was introduced by commit 7ca5f6be7900 ("i2c: recovery: add get_bus_free callback"): drivers/i2c/i2c-core-base.c:228 i2c_generic_scl_recovery() error: uninitialized symbol 'ret'. Analysis of the code appears to show that the smatch error is a false positive since 'ret'

[PATCH] bpf: 32-bit RSH verification must truncate input before the ALU op

2018-10-05 Thread Jann Horn
When I wrote commit 468f6eafa6c4 ("bpf: fix 32-bit ALU op verification"), I assumed that, in order to emulate 64-bit arithmetic with 32-bit logic, it is sufficient to just truncate the output to 32 bits; and so I just moved the register size coercion that used to be at the start of the function to

[PATCH v4] tools/lib/traceevent: Separate out tep_strerror() for strerror_r() issues

2018-10-05 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" While working on having PowerTop use libtracevent as a shared object library, Tzvetomir hit "str_error_r not defined". This was added by commit c3cec9e68f12d ("tools lib traceevent: Use str_error_r()") because strerror_r() has two definitions, where one is GNU sp

[PATCH AUTOSEL 3.18 6/6] ubifs: Check for name being NULL while mounting

2018-10-05 Thread Sasha Levin
From: Richard Weinberger [ Upstream commit 37f31b6ca4311b94d985fb398a72e5399ad57925 ] The requested device name can be NULL or an empty string. Check for that and refuse to continue. UBIFS has to do this manually since we cannot use mount_bdev(), which checks for this condition. Fixes: 1e51764a

Re: [PATCH v5 3/3] gpiolib: Show correct direction from the beginning

2018-10-05 Thread Jeffrey Hugo
On 10/5/2018 12:53 AM, Ricardo Ribalda Delgado wrote: Current code assumes that the direction is input if direction_input function is set. This might not be the case on GPIOs with programmable direction. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpio/gpiolib.c | 27 +-

[PATCH AUTOSEL 3.18 3/6] stmmac: fix valid numbers of unicast filter entries

2018-10-05 Thread Sasha Levin
From: Jongsung Kim [ Upstream commit edf2ef7242805e53ec2e0841db26e06d8bc7da70 ] Synopsys DWC Ethernet MAC can be configured to have 1..32, 64, or 128 unicast filter entries. (Table 7-8 MAC Address Registers from databook) Fix dwmac1000_validate_ucast_entries() to accept values between 1 and 32 i

[PATCH AUTOSEL 3.18 5/6] floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl

2018-10-05 Thread Sasha Levin
From: Andy Whitcroft [ Upstream commit 65eea8edc315589d6c993cf12dbb5d0e9ef1fe4e ] The final field of a floppy_struct is the field "name", which is a pointer to a string in kernel memory. The kernel pointer should not be copied to user memory. The FDGETPRM ioctl copies a floppy_struct to user m

[PATCH AUTOSEL 4.4 07/11] net: macb: disable scatter-gather for macb on sama5d3

2018-10-05 Thread Sasha Levin
From: Nicolas Ferre [ Upstream commit eb4ed8e2d7fecb5f40db38e4498b9ee23cddf196 ] Create a new configuration for the sama5d3-macb new compatibility string. This configuration disables scatter-gather because we experienced lock down of the macb interface of this particular SoC under very high load

[PATCH AUTOSEL 4.4 11/11] ubifs: Check for name being NULL while mounting

2018-10-05 Thread Sasha Levin
From: Richard Weinberger [ Upstream commit 37f31b6ca4311b94d985fb398a72e5399ad57925 ] The requested device name can be NULL or an empty string. Check for that and refuse to continue. UBIFS has to do this manually since we cannot use mount_bdev(), which checks for this condition. Fixes: 1e51764a

[PATCH AUTOSEL 4.9 13/14] drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7

2018-10-05 Thread Sasha Levin
From: Amber Lin [ Upstream commit caaa4c8a6be2a275bd14f2369ee364978ff74704 ] A wrong register bit was examinated for checking SDMA status so it reports false failures. This typo only appears on gfx_v7. gfx_v8 checks the correct bit. Acked-by: Alex Deucher Signed-off-by: Amber Lin Reviewed-by:

[PATCH AUTOSEL 4.9 12/14] x86/kvm/lapic: always disable MMIO interface in x2APIC mode

2018-10-05 Thread Sasha Levin
From: Vitaly Kuznetsov [ Upstream commit d1766202779e81d0f2a94c4650a6ba31497d369d ] When VMX is used with flexpriority disabled (because of no support or if disabled with module parameter) MMIO interface to lAPIC is still available in x2APIC mode while it shouldn't be (kvm-unit-tests): PASS: ap

[PATCH AUTOSEL 4.4 03/11] selftests/efivarfs: add required kernel configs

2018-10-05 Thread Sasha Levin
From: Lei Yang [ Upstream commit 53cf59d6c0ad3edc4f4449098706a8f8986258b6 ] add config file Signed-off-by: Lei Yang Signed-off-by: Shuah Khan (Samsung OSG) Signed-off-by: Sasha Levin --- tools/testing/selftests/efivarfs/config | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/

[PATCH AUTOSEL 4.9 11/14] ARM: dts: at91: add new compatibility string for macb on sama5d3

2018-10-05 Thread Sasha Levin
From: Nicolas Ferre [ Upstream commit 321cc359d899a8e988f3725d87c18a628e1cc624 ] We need this new compatibility string as we experienced different behavior for this 10/100Mbits/s macb interface on this particular SoC. Backward compatibility is preserved as we keep the alternative strings. Signe

[PATCH AUTOSEL 4.4 05/11] sound: enable interrupt after dma buffer initialization

2018-10-05 Thread Sasha Levin
From: Yu Zhao [ Upstream commit b61749a89f826eb61fc59794d9e4697bd246eb61 ] In snd_hdac_bus_init_chip(), we enable interrupt before snd_hdac_bus_init_cmd_io() initializing dma buffers. If irq has been acquired and irq handler uses the dma buffer, kernel may crash when interrupt comes in. Fix the

[PATCH AUTOSEL 4.9 04/14] selftests: memory-hotplug: add required configs

2018-10-05 Thread Sasha Levin
From: Lei Yang [ Upstream commit 4d85af102a66ee6aeefa596f273169e77fb2b48e ] add CONFIG_MEMORY_HOTREMOVE=y in config without this config, /sys/devices/system/memory/memory*/removable always return 0, I endup getting an early skip during test Signed-off-by: Lei Yang Signed-off-by: Shuah Khan (Sa

[PATCH AUTOSEL 4.14 22/23] drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7

2018-10-05 Thread Sasha Levin
From: Amber Lin [ Upstream commit caaa4c8a6be2a275bd14f2369ee364978ff74704 ] A wrong register bit was examinated for checking SDMA status so it reports false failures. This typo only appears on gfx_v7. gfx_v8 checks the correct bit. Acked-by: Alex Deucher Signed-off-by: Amber Lin Reviewed-by:

[PATCH AUTOSEL 4.9 14/14] ubifs: Check for name being NULL while mounting

2018-10-05 Thread Sasha Levin
From: Richard Weinberger [ Upstream commit 37f31b6ca4311b94d985fb398a72e5399ad57925 ] The requested device name can be NULL or an empty string. Check for that and refuse to continue. UBIFS has to do this manually since we cannot use mount_bdev(), which checks for this condition. Fixes: 1e51764a

[PATCH AUTOSEL 4.9 09/14] stmmac: fix valid numbers of unicast filter entries

2018-10-05 Thread Sasha Levin
From: Jongsung Kim [ Upstream commit edf2ef7242805e53ec2e0841db26e06d8bc7da70 ] Synopsys DWC Ethernet MAC can be configured to have 1..32, 64, or 128 unicast filter entries. (Table 7-8 MAC Address Registers from databook) Fix dwmac1000_validate_ucast_entries() to accept values between 1 and 32 i

<    1   2   3   4   5   6   7   >