[PATCH 4.17 80/97] x86/KVM/VMX: Move the l1tf_flush_l1d test to vmx_l1d_flush()

2018-08-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Nicolai Stange commit 5b6ccc6c3b1a477fbac9ec97a0b4c1c48e765209 upstream Currently, vmx_vcpu_run() checks if l1tf_flush_l1d is set and invokes vmx_l1d_flush() if so. This test is unncessary

[PATCH 4.17 74/97] x86/speculation/l1tf: Unbreak !__HAVE_ARCH_PFN_MODIFY_ALLOWED architectures

2018-08-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Kosina commit 6c26fcd2abfe0a56bbd95271fce02df2896cfd24 upstream pfn_modify_allowed() and arch_has_pfn_modify_check() are outside of the !__ASSEMBLY__ section in

[PATCH 4.17 77/97] cpu/hotplug: detect SMT disabled by BIOS

2018-08-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Josh Poimboeuf commit 73d5e2b472640b1fcdb61ae8be389912ef211bda upstream If SMT is disabled in BIOS, the CPU code doesn't properly detect it. The /sys/devices/system/cpu/smt/control file shows

[PATCH 4.17 92/97] x86/speculation/l1tf: Make pmd/pud_mknotpresent() invert

2018-08-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Andi Kleen commit 0768f91530ff46683e0b372df14fd79fe8d156e5 upstream Some cases in THP like: - MADV_FREE - mprotect - split mark the PMD non present for temporarily to prevent races.

[PATCH 4.17 54/97] x86/KVM/VMX: Add L1D flush algorithm

2018-08-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit a47dd5f06714c844b33f3b5f517b6f3e81ce57b5 upstream To mitigate the L1 Terminal Fault vulnerability it's required to flush L1D on VMENTER to prevent rogue guests from

[PATCH 4.17 94/97] x86/mm/kmmio: Make the tracer robust against L1TF

2018-08-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Andi Kleen commit 1063711b57393c1999248cccb57bebfaf16739e7 upstream The mmio tracer sets io mapping PTEs and PMDs to non present when enabled without inverting the address bits, which makes

[PATCH 4.14 032/104] x86/speculation/l1tf: Disallow non privileged high MMIO PROT_NONE mappings

2018-08-14 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andi Kleen commit 42e4089c7890725fcd32252dc489b72f2921 upstream For L1TF PROT_NONE mappings are protected by inverting the PFN in the page table entry. This sets the high bits in the

[PATCH 4.14 008/104] stop_machine: Disable preemption after queueing stopper threads

2018-08-14 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Isaac J. Manjarres commit 2610e88946632afb78aa58e61f11368ac4c0af7b upstream. This commit: 9fb8d5dc4b64 ("stop_machine, Disable preemption when waking two stopper threads") does not fully

Re: [PATCH] drivers: thermal: do not clobber cooling dev state from userspace

2018-08-14 Thread Lina Iyer
Adding Ram, so he can respond. -- Lina On Thu, Jul 26 2018 at 02:55 -0600, Zhang Rui wrote: On 一, 2018-05-07 at 11:55 -0600, Lina Iyer wrote: From: Ram Chandrasekar Let userspace be another voter for cooling device state instead of the overriding authority. It is possible that the thermal

[PATCH 4.14 045/104] x86/cpu/intel: Evaluate smp_num_siblings early

2018-08-14 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 1910ad5624968f93be48e8e265513c54d66b897c upstream Make use of the new early detection function to initialize smp_num_siblings on the boot cpu before the MP-Table or

Re: [PATCH 1/7] evmtest: Regression testing Integrity Subsystem

2018-08-14 Thread James Morris
On Tue, 14 Aug 2018, David Jacobson wrote: > This patchset introduces evmtest — a stand alone tool for regression > testing IMA. Nice! I usually run the SELinux testsuite as a general sanity check of LSM before pushing to Linus, and I'll also run this once it's merged. -- James Morris

Re: [PATCH RFT] net: dsa: Allow configuring CPU port VLANs

2018-08-14 Thread Florian Fainelli
On 08/14/2018 11:17 AM, Petr Machata wrote: > Florian Fainelli writes: > >> On 06/25/2018 02:17 AM, Ilias Apalodimas wrote: >>> On Mon, Jun 25, 2018 at 12:13:10PM +0300, Petr Machata wrote: Florian Fainelli writes: > if (netif_is_bridge_master(vlan->obj.orig_dev)) > -

[PATCH v3 1/2] dt-bindings: i2c: npcm7xx: add binding for i2c controller

2018-08-14 Thread Tali Perry
Nuvoton NPCM7XX I2C Controller NPCM7xx includes 16 I2C contollers. This driver operates the controller. This module also includes a slave mode, which will be submitted later on. Any feedback would be appreciated. v3 -> v2: - fix dt binding: compatible name: ommit "bus" v2 -> v1:

Re: [PATCH] Bluetooth: mediatek: Fix memory leak

2018-08-14 Thread Sean Wang
Hi, Gustavo thanks for the catch up Acked-by: Sean Wang On Tue, 2018-08-14 at 10:10 -0500, Gustavo A. R. Silva wrote: > In case memory resources for *fw* were allocated, release them before > return. > > Addresses-Coverity-ID: 1472611 ("Resource leak") > Fixes: 7237c4c9ec92 ("Bluetooth:

[PATCH] x86/init: fix build with CONFIG_SWAP=n

2018-08-14 Thread Vlastimil Babka
The introduction of generic_max_swapfile_size and arch-specific versions has broken linking on x86 with CONFIG_SWAP=n due to undefined reference to 'generic_max_swapfile_size'. Fix it by compiling the x86-specific max_swapfile_size() only with CONFIG_SWAP=y. Reported-by: Tomas Pruzina Fixes:

Targeted B2B Companies Emails List

2018-08-14 Thread joyce . murphy
Hi, I just wanted to check if you would be interested in a list of Managed Service Providers (MSPs) and Managed Security Service Providers (MSSPs)? We also have the data intelligence of: • Managed Service Providers (MSP’s) • Managed Security Service Providers (MSSP’s) • IT

Re: [PATCH] x86/init: fix build with CONFIG_SWAP=n

2018-08-14 Thread Linus Torvalds
On Tue, Aug 14, 2018 at 11:51 AM Vlastimil Babka wrote: > > The introduction of generic_max_swapfile_size and arch-specific versions has > broken linking on x86 with CONFIG_SWAP=n due to undefined reference to > 'generic_max_swapfile_size'. Fix it by compiling the x86-specific >

Re: [PATCH] Bluetooth: mediatek: Fix memory leak

2018-08-14 Thread Gustavo A. R. Silva
On 8/14/18 1:45 PM, Sean Wang wrote: > Hi, Gustavo > > thanks for the catch up Glad to help. :) > > Acked-by: Sean Wang > Thanks -- Gustavo

[GIT PULL] .clang-format for v4.19

2018-08-14 Thread Miguel Ojeda
Hi Linus, [Jason Gunthorpe (author of the patch in this set) and I discussed in which tree this file should be. Since anyway I will maintain it and there is no specific tree (that we know of) for this, I just created a branch in my github account.] Please pick this improvement for the

RE: [PATCH 2/5] vmbus: add driver_override support

2018-08-14 Thread Michael Kelley (EOSG)
From: Stephen Hemminger Sent: Tuesday, August 14, 2018 9:35 AM > On Mon, 13 Aug 2018 19:30:50 + > "Michael Kelley (EOSG)" wrote: > > > > +/* > > > + * Return a matching hv_vmbus_device_id pointer. > > > + * If there is no match, return NULL. > > > + */ > > > +static const struct

Time accounting difference under high IO interrupts

2018-08-14 Thread Solio Sarabia
Under high IO activity (storage or network), the kernel is not accounting some cpu cycles, comparing sar vs emon (tool that accesses hw pmu directly). The difference is higher on cores that spend most time on idle state and are constantly waking up to handle interrupts. It happens even with fine

Re: [PATCH 1/4] regulator: core: If consumers don't call regulator_set_load() assume max

2018-08-14 Thread Doug Anderson
Hi, On Tue, Aug 14, 2018 at 11:30 AM, David Collins wrote: > The behavior introduced by this patch seems like an undesirable hack to > me. It goes against the general philosophy within the regulator framework > of taking no action unless directed to do so by an explicit consumer > request (or

Re: [PATCH RFC] Make call_srcu() available during very early boot

2018-08-14 Thread Steven Rostedt
On Tue, 14 Aug 2018 10:44:43 -0700 "Paul E. McKenney" wrote: > > > If I recall correctly, this subterfuge suppresses compiler complaints > > > about initializing an unsigned long with a negative number. :-/ > > > > Did you try: > > > > .srcu_gp_seq_needed = -1UL, > > > > ? > > Works

Re: [PATCH 4.9 000/107] 4.9.120-stable review

2018-08-14 Thread Nathan Chancellor
On Tue, Aug 14, 2018 at 07:16:23PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.120 release. > There are 107 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: general protection fault in send_sigurg_to_task

2018-08-14 Thread J. Bruce Fields
On Mon, Aug 13, 2018 at 06:33:02AM -0700, syzbot wrote: > syzbot has found a reproducer for the following crash on: > > HEAD commit:5ed5da74de9e Add linux-next specific files for 20180813 > git tree: linux-next I fetched linux-next but don't have 5ed5da74de9e. I'm also not sure why

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-14 Thread Rob Herring
On Sat, Aug 04, 2018 at 09:03:49AM +0200, Emmanuel Vadot wrote: > This patch adds documentation for Device-Tree bindings for the Allwinner > Thermal Sensor Controller found on the H3, H5 and A64 SoCs > > Signed-off-by: Emmanuel Vadot > --- > .../bindings/thermal/allwinner-thermal.txt| 41

Re: [PATCH] dt-bindings: phy: qcom-qmp: Cleanup the 'reg' documentation as per review

2018-08-14 Thread Rob Herring
On Mon, 6 Aug 2018 22:14:12 -0700, Douglas Anderson wrote: > After the commit 8b1087fa3a27 ("phy: qcom-qmp: Fix dts bindings to > reflect reality") landed there was some review feedback that 'reg' > should have been documented differently. Fix it as per review > feedback. > > As per that

Re: WARNING in free_loaded_vmcs (2)

2018-08-14 Thread Dmitry Vyukov
On Tue, Aug 14, 2018 at 10:16 AM, Paolo Bonzini wrote: > Is there anything that was changed in syzkaller and is causing it to > find all these bugs? Nothing has changed on syzkaller side as far as I can tell. > On 14/08/2018 14:46, syzbot wrote: >> Hello, >> >> syzbot found the following crash

[PATCH] ARM: dts: imx6: Add stdout-path to Wandboard

2018-08-14 Thread Tuomas Tynkkynen
Setting a stdout-path in the .dtb is convenient because then the user gets a serial console on the RS-232 connector without any extra effort of figuring out the relevant 'console=' boot parameter. Signed-off-by: Tuomas Tynkkynen --- Tested on a Wandboard Quad with mainline U-Boot 2018.05. ---

Re: [PATCH 1/4] dt-bindings: arm: hisilicon: Add binding for Hi3670 SoC

2018-08-14 Thread Rob Herring
On Fri, 10 Aug 2018 23:23:36 +0530, Manivannan Sadhasivam wrote: > Add devicetree binding for Hi3670 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 4 > 1 file changed, 4 insertions(+) > Reviewed-by: Rob Herring

Re: [PATCH 0/5 v2] locks: avoid thundering-herd wake-ups

2018-08-14 Thread J. Bruce Fields
This version looks correct to me, and simpler. I'll be curious to hear whatever you learn from testing! --b. On Tue, Aug 14, 2018 at 01:56:51PM +1000, NeilBrown wrote: > > V2, which added wake_non_conflicts() was more broken than V1 - as > Bruce explained there is no transitivity in the

double clock sched_features warnings msgs

2018-08-14 Thread Joe Lawrence
Hi Peter, A QA tester here has noticed that he can regularly provoke a "rq->clock_update_flags & RQCF_UPDATED" warning when echo'ing into the debugfs sched_features file: % echo WARN_DOUBLE_CLOCK > /sys/kernel/debug/sched_features ... [ cut here ] rq->clock_update_flags

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

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

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-14 Thread Rob Herring
On Tue, Aug 07, 2018 at 06:43:37PM +0800, Baolin Wang wrote: > From: Lanqing Liu > > This patch adds the binding documentation for Spreadtrum SPI > controller device. > > Signed-off-by: Lanqing Liu > Signed-off-by: Baolin Wang > --- > Documentation/devicetree/bindings/spi/spi-sprd.txt | 31

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-14 Thread Rob Herring
On Thu, Aug 09, 2018 at 11:03:11AM +0800, Baolin Wang wrote: > Hi Trent, > > On 9 August 2018 at 02:57, Trent Piepho wrote: > > On Wed, 2018-08-08 at 11:54 +0100, Mark Brown wrote: > >> On Wed, Aug 08, 2018 at 06:35:28PM +0800, Baolin Wang wrote: > >> > On 8 August 2018 at 17:50, Mark Brown

[PATCH v3 0/2] i2c: npcm7xx: new driver for I2C controller

2018-08-14 Thread Tali Perry
Nuvoton NPCM7XX I2C Controller NPCM7xx includes 16 I2C contollers. This driver operates the controller. This module also includes a slave mode, which will be submitted later on. Any feedback would be appreciated. v3 -> v2: - fix dt binding: compatible name: ommit "bus" v2 -> v1:

[PATCH v3 2/2] i2c: npcm7xx: add i2c controller master mode only

2018-08-14 Thread Tali Perry
Nuvoton NPCM7XX I2C Controller NPCM7xx includes 16 I2C contollers. This driver operates the controller. This module also includes a slave mode, which will be submitted later on. Any feedback would be appreciated. v3 -> v2: - fix dt binding: compatible name: ommit "bus" v2 -> v1:

[rcu:dev.2018.08.05a 251/252] kernel/rcu/rcu.h:440:20: error: two or more data types in declaration specifiers

2018-08-14 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2018.08.05a head: 4ad5aae97b17143dae19dcef5984c5e47417064a commit: 411ec41811aa1c759a8c717edf917f9f00ca731e [251/252] srcu: Make call_srcu() available during very early boot config: ia64-allnoconfig (attached as

Re: [PATCH RFC] Make call_srcu() available during very early boot

2018-08-14 Thread Paul E. McKenney
On Tue, Aug 14, 2018 at 02:34:51PM -0400, Steven Rostedt wrote: > On Tue, 14 Aug 2018 10:44:43 -0700 > "Paul E. McKenney" wrote: > > > > > If I recall correctly, this subterfuge suppresses compiler complaints > > > > about initializing an unsigned long with a negative number. :-/ > > > > > >

Re: PCI: Add function 1 DMA alias quirk for Marvell 88SS9183

2018-08-14 Thread Felix Blüthner
Yes, I can confirm that patch. It is the same change I already compiled and installed and is running on my system successfully. > On Mon, Aug 13, 2018 at 02:41:23PM -0500, Bjorn Helgaas wrote: >> Hi, >> >> Thanks a lot for your new report >>

[GIT PULL] auxdisplay for v4.19

2018-08-14 Thread Miguel Ojeda
Hi Linus, Please pull these two small auxdisplay cleanups for 4.19. Cheers, Miguel Ojeda The following changes since commit acb1872577b346bd15ab3a3f8dff780d6cca4b70: Linux 4.18-rc7 (2018-07-29 14:44:52 -0700) are available in the Git repository at: https://github.com/ojeda/linux.git

Re: [PATCH 0/5 v2] locks: avoid thundering-herd wake-ups

2018-08-14 Thread Jeff Layton
On Tue, 2018-08-14 at 14:41 -0400, J. Bruce Fields wrote: > This version looks correct to me, and simpler. I'll be curious to hear > whatever you learn from testing! > > --b. > Agreed. I'll go ahead and put this in linux-next with an eye toward merging in v4.20 if we don't hit any major

4.18+git: undefined reference to `l1tf_vmx_mitigation'

2018-08-14 Thread Meelis Roos
Tried to compile current git (v4.18-1934-gbe718b524d8d) with AMD KVM and got the following linking error: MODPOST vmlinux.o ld: arch/x86/kvm/x86.o: in function `kvm_get_arch_capabilities': x86.c:(.text+0x5132): undefined reference to `l1tf_vmx_mitigation' # # Automatically generated file; DO

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

2018-08-14 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: Ingo Molnar Cc: Josh Poimboeuf Cc: Kees Cook Cc: Geert Uytterhoeven Cc: Will Deacon Cc: David

Re: Build failures with gcc 4.5 and older

2018-08-14 Thread Tony Luck
On Tue, Aug 14, 2018 at 11:02 AM Guenter Roeck wrote: > > On Tue, Aug 14, 2018 at 10:20:32AM -0700, Linus Torvalds wrote: > > On Tue, Aug 14, 2018 at 10:09 AM Guenter Roeck wrote: > > > > > > Does that mean that gcc 4.5 and older are now officially no longer > > > supported for compiling the

Re: [PATCH 1/2] regulator: maxim: Add SPDX license identifiers

2018-08-14 Thread Rob Herring
On Tue, 7 Aug 2018 18:18:25 +0200, Krzysztof Kozlowski wrote: > Replace GPL v2.0 and v2.0+ license statements with SPDX license > identifiers. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/regulator/max14577-regulator.c | 22 + >

Re: general protection fault in send_sigurg_to_task

2018-08-14 Thread Dmitry Vyukov
On Tue, Aug 14, 2018 at 12:11 PM, J. Bruce Fields wrote: > On Mon, Aug 13, 2018 at 06:33:02AM -0700, syzbot wrote: >> syzbot has found a reproducer for the following crash on: >> >> HEAD commit:5ed5da74de9e Add linux-next specific files for 20180813 >> git tree: linux-next > > I fetched

[PATCH] modpost: check strdup() return value

2018-08-14 Thread Randy Dunlap
, 1 insertion(+), 1 deletion(-) --- linux-next-20180814.orig/scripts/mod/modpost.c +++ linux-next-20180814/scripts/mod/modpost.c @@ -672,7 +672,7 @@ static void handle_modversions(struct mo if (ELF_ST_TYPE(sym->st_info) == STT_SPARC_REGIS

Re: [PATCH 1/4] regulator: core: If consumers don't call regulator_set_load() assume max

2018-08-14 Thread David Collins
Hello Doug, On 08/14/2018 10:06 AM, Douglas Anderson wrote: > Not all regulator consumers call regulator_set_load(). On some > regulators (like on RPMh-regulator) this could be bad since the > regulator framework will treat this as if consumer needs no load. > It's much better to assume that a

Re: [PATCH RFC] usercopy: optimize stack check flow when the page-spanning test is disabled

2018-08-14 Thread Kees Cook
(Please use contextual quoting in replies... mixing contextual with top-posting becomes very hard to read...) On Tue, Aug 14, 2018 at 6:02 AM, Yuanxiaofeng (XiAn) wrote: > On Tue, Aug 14, 2018 at 8:35PM Matthew Wilcox wrote: >> On Tue, Aug 14, 2018 at 08:17:31PM +0800, Xiaofeng Yuan wrote: >>>

Re: [PATCH 18/18] cpupower: change strncpy+truncation to strlcpy

2018-08-14 Thread Dominique Martinet
Daniel Díaz wrote on Tue, Aug 14, 2018: > I can't get cpupower to compile anymore now that it made its way to > linux-next: > [/linux/tools/power/cpupower]$ make > CC lib/cpufreq.o > [...] > make[1]: Entering directory '/linux/tools/power/cpupower/bench' > CC main.o >

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-14 Thread Mathieu Poirier
On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: > > On Tue, 14 Aug 2018 10:15:56 -0600 > Mathieu Poirier wrote: > > > On Mon, 13 Aug 2018 at 11:46, Kim Phillips wrote: > > > It yields success for the --per-thread case..: > > > > > > $ sudo taskset -c 0 ./perf record -e cs_etm/@2001.etf/

Re: [RFC PATCH 1/2] ARM: dt: fpga: Added binding docs for Xilinx zynqmp FPGA manager

2018-08-14 Thread Alan Tull
On Tue, Aug 14, 2018 at 11:19 AM, Rob Herring wrote: Hi Nava, I didn't see this posting because it wasn't sent to my current email address or to the linux-fpga mailing list. People's email address change at random times, so the easiest way to keep up is to always check out the linux-next

RE: [PATCH] EDAC, amd64: Add Family 17h Model 11h support.

2018-08-14 Thread Ghannam, Yazen
> -Original Message- > From: Michael Jin > Sent: Friday, August 10, 2018 2:36 PM > To: Borislav Petkov ; Ghannam, Yazen > ; Mauro Carvalho Chehab > > Cc: linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org; Michael Jin > > Subject: [PATCH] EDAC, amd64: Add Family 17h Model 11h

Re: [PATCH 2/3] clk: s2mps11,s3c64xx: Add SPDX license identifiers

2018-08-14 Thread Rob Herring
On Tue, 7 Aug 2018 18:17:12 +0200, Krzysztof Kozlowski wrote: > Replace GPL v2.0 and v2.0+ license statements with SPDX license > identifiers. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/clk/clk-s2mps11.c | 21 + >

Re: [PATCH 3/3] clk: s2mps11: Use existing defines from bindings for clock IDs

2018-08-14 Thread Rob Herring
On Tue, 7 Aug 2018 18:17:13 +0200, Krzysztof Kozlowski wrote: > The clock IDs must match between DeviceTree bindings and the driver. > There is already a header file used by DeviceTree sources so include it > in the driver to remove duplicated symbols. > > Signed-off-by: Krzysztof Kozlowski >

Re: [PATCH 1/2] dt-bindings: clk: meson-g12a: Add G12A AO Clock Bindings

2018-08-14 Thread Rob Herring
On Fri, Aug 10, 2018 at 05:54:27PM +0800, Jian Hu wrote: > Add new clock controller compatible and dt-bingdings headers > for the Always-On domain of the g12a SoC > > Signed-off-by: Jian Hu > --- > .../bindings/clock/amlogic,gxbb-aoclkc.txt | 1 + >

Re: [PATCH 1/3] dt-bindings: iio: vadc: Fix documentation of 'reg'

2018-08-14 Thread Rob Herring
On Wed, 8 Aug 2018 12:13:37 -0700, Matthias Kaehlcke wrote: > The documentation of Qualcomm's SPMI PMIC voltage ADC claims that the > 'reg' property consists of two values, the SPMI address and the length > of the controller's registers. However the SPMI bus to which it is added > specifies

Re: [PATCH 3/4] dt-bindings: arm: hisilicon: Add binding for HiKey970 board

2018-08-14 Thread Rob Herring
On Fri, 10 Aug 2018 23:23:38 +0530, Manivannan Sadhasivam wrote: > Add devicetree binding for HiKey970 board. > > Signed-off-by: Manivannan Sadhasivam > --- > Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 4 > 1 file changed, 4 insertions(+) > Reviewed-by: Rob Herring

Re: WARNING in __snd_rawmidi_transmit_ack (2)

2018-08-14 Thread Takashi Iwai
On Tue, 14 Aug 2018 16:20:02 +0200, syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:4e8b38549b50 Add linux-next specific files for 20180814 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x

Re: [PATCH 1/3] arm64: implement ftrace with regs

2018-08-14 Thread Julien Thierry
On 14/08/18 03:03, Steven Rostedt wrote: On Mon, 13 Aug 2018 11:54:06 +0100 Julien Thierry wrote: --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -78,6 +78,15 @@ ifeq ($(CONFIG_ARM64_MODULE_PLTS),y) KBUILD_LDFLAGS_MODULE+= -T $(srctree)/arch/arm64/kernel/module.lds

Re: [PATCH] mm: migration: fix migration of huge PMD shared pages

2018-08-14 Thread Kirill A. Shutemov
On Mon, Aug 13, 2018 at 11:21:41PM +, Mike Kravetz wrote: > On 08/13/2018 03:58 AM, Kirill A. Shutemov wrote: > > On Sun, Aug 12, 2018 at 08:41:08PM -0700, Mike Kravetz wrote: > >> The page migration code employs try_to_unmap() to try and unmap the > >> source page. This is accomplished by

[PATCH] perf auxtrace: Fix queue resize

2018-08-14 Thread Adrian Hunter
When the number of queues grows beyond 32, the array of queues is resized but not all members were being copied. Fix by also copying 'tid', 'cpu' and 'set'. Fixes: e502789302a6e ("perf auxtrace: Add helpers for queuing AUX area tracing data") Cc: sta...@vger.kernel.org Signed-off-by: Adrian

[PATCH 1/2] x86: apm: mark proc_apm_show as __maybe_unused

2018-08-14 Thread Arnd Bergmann
A new build error appeared with CONFIG_PROC_FS disabled: arch/x86/kernel/apm_32.c:1643:12: error: 'proc_apm_show' defined but not used [-Werror=unused-function] This marks the function as __maybe_unused to let the compiler drop it silently. Fixes: 3f3942aca6da ("proc: introduce

[PATCH 2/2] ARM: rpc: mark ecard_devices_proc_show as __maybe_unused

2018-08-14 Thread Arnd Bergmann
A new build error appeared with CONFIG_PROC_FS disabled: arch/arm/mach-rpc/ecard.c:646:12: error: 'ecard_devices_proc_show' defined but not used [-Werror=unused-function] This marks the function as __maybe_unused to let the compiler drop it silently. Fixes: 3f3942aca6da ("proc: introduce

[PATCH v2] clk: tegra: probe deferral error reporting

2018-08-14 Thread Marcel Ziswiler
From: Marcel Ziswiler Actually report the error code from devm_regulator_get() which may as well just be a probe deferral. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Silence probe deferral as discussed between Peter, Stefan and Stephen. - Fix line over 80 characters as reported by

Re: [PATCH v2 3/3] mm/memory_hotplug: Refactor unregister_mem_sect_under_nodes

2018-08-14 Thread David Hildenbrand
On 13.08.2018 17:46, osalva...@techadventures.net wrote: > From: Oscar Salvador > > unregister_mem_sect_under_nodes() tries to allocate a nodemask_t > in order to check whithin the loop which nodes have already been unlinked, > so we do not repeat the operation on them. > > NODEMASK_ALLOC calls

Re: [PATCH v2 2/3] mm/memory_hotplug: Drop mem_blk check from unregister_mem_sect_under_nodes

2018-08-14 Thread Oscar Salvador
On Tue, Aug 14, 2018 at 11:44:50AM +0200, David Hildenbrand wrote: > > Yes I know, as I said, if it would be local to a file I would not care. > Making this functions never return an error is nice, though (and as you > noted, the return value is never checked). > > I am a friend of stating which

Re: [PATCH v3 15/17] driver/cpufreq: enable Hygon support to cpufreq driver

2018-08-14 Thread Rafael J. Wysocki
On Monday, August 13, 2018 6:22:16 PM CEST Pu Wen wrote: > On 2018/8/12 17:55, Rafael J. Wysocki wrote: > > On Sat, Aug 11, 2018 at 3:36 PM Pu Wen wrote: > >> > >> Enable ACPI cpufreq driver support for Hygon by adding family ID check > >> along with AMD. > >> > >> As Hygon platforms have SMBus

Re: [PATCH 5/5] perf/hw_breakpoint: Simplify breakpoint enable in perf_event_modify_breakpoint

2018-08-14 Thread Oleg Nesterov
On 08/10, Jiri Olsa wrote: > > --- a/kernel/events/core.c > +++ b/kernel/events/core.c > @@ -2867,16 +2867,11 @@ static int perf_event_modify_breakpoint(struct > perf_event *bp, > _perf_event_disable(bp); > > err = modify_user_hw_breakpoint_check(bp, attr, true); > - if (err) {

Re: [PATCH 4/5] perf/hw_breakpoint: Enable breakpoint in modify_user_hw_breakpoint

2018-08-14 Thread Oleg Nesterov
On 08/10, Jiri Olsa wrote: > > --- a/kernel/events/hw_breakpoint.c > +++ b/kernel/events/hw_breakpoint.c > @@ -523,13 +523,11 @@ int modify_user_hw_breakpoint(struct perf_event *bp, > struct perf_event_attr *att > perf_event_disable(bp); > > err =

Re: [PATCH 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe controller

2018-08-14 Thread Jerome Brunet
On Tue, 2018-08-14 at 02:18 -0400, Hanjie Lin wrote: > From: Yue Wang > > The Amlogic Meson PCIe host controller is based on the Synopsys DesignWare > PCI core. This patch adds documentation for the DT bindings in Meson PCIe > controller. > > Signed-off-by: Yue Wang > Signed-off-by: Hanjie Lin

Re: [PATCH 2/2] PCI: meson: add the Amlogic Meson PCIe controller driver

2018-08-14 Thread Jerome Brunet
On Tue, 2018-08-14 at 02:18 -0400, Hanjie Lin wrote: > From: Yue Wang > > The Amlogic Meson PCIe host controller is based on the Synopsys DesignWare > PCI core. This patch adds the driver support for Meson PCIe controller. > > Signed-off-by: Yue Wang > Signed-off-by: Hanjie Lin > --- >

[PATCH] cpuidle: menu: Fix white space

2018-08-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Fix some damaged white space in menu_select(). Signed-off-by: Rafael J. Wysocki --- drivers/cpuidle/governors/menu.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-pm/drivers/cpuidle/governors/menu.c

Re: [PATCH 2/2] PCI: meson: add the Amlogic Meson PCIe phy driver

2018-08-14 Thread Jerome Brunet
On Tue, 2018-08-14 at 02:12 -0400, Hanjie Lin wrote: > From: Yue Wang > > The Meson-PCIE-PHY controller supports the 5-Gbps data rate > of the PCI Express Gen 2 specification and is backwardcompatible > with the 2.5-Gbps Gen 1.1 specification with only > inferred idle detection supported on

Re: [PATCH] bitfield: avoid gcc-8 -Wint-in-bool-context warning

2018-08-14 Thread Arnd Bergmann
On Tue, Aug 14, 2018 at 9:57 AM Johannes Berg wrote: > On Tue, 2018-08-14 at 08:57 +0900, Masahiro Yamada wrote: > > 2018-08-14 7:09 GMT+09:00 Arnd Bergmann : > > > drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c:1025:21: note: in expansion > > > of macro 'FIELD_GET' > > >

Re: [PATCH v9 04/22] s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h.

2018-08-14 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:01 -0400 Tony Krowiak wrote: > From: Harald Freudenberger > > Move all the inline functions from the ap bus header > file ap_asm.h into the in-kernel api header file > arch/s390/include/asm/ap.h so that KVM can make use > of all the low level AP functions. > >

Re: [PATCH v5 2/2] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-08-14 Thread Johan Hovold
On Wed, Jul 25, 2018 at 11:30:18AM +0200, Alexandre Belloni wrote: > Hi, > > On 25/07/2018 11:21:22+0530, Keerthy wrote: > > Cut down the shutdown time from 2 seconds to 1 sec. In case of roll > > over try again. > > > > Signed-off-by: Keerthy > > static void omap_rtc_power_off(void) > > @@

Re: [PATCH v2 2/3] mm/memory_hotplug: Drop mem_blk check from unregister_mem_sect_under_nodes

2018-08-14 Thread David Hildenbrand
On 14.08.2018 11:36, Oscar Salvador wrote: > On Tue, Aug 14, 2018 at 11:30:51AM +0200, David Hildenbrand wrote: > >> >> While it is correct in current code, I wonder if this sanity check >> should stay. I would completely agree if it would be a static function. > > Hi David, > > Well,

Re: [PATCH] mmc: Move the mmc driver init earlier

2018-08-14 Thread Feng Tang
Hi Greg, On Tue, Aug 14, 2018 at 10:42:41AM +0200, Greg Kroah-Hartman wrote: > On Tue, Aug 14, 2018 at 04:08:51PM +0800, Feng Tang wrote: > > Hi Greg, > > > > Thanks for the prompt review. > > > > On Tue, Aug 14, 2018 at 09:40:41AM +0200, Greg Kroah-Hartman wrote: > > > On Tue, Aug 14, 2018 at

Re: [PATCH v2 3/3] mm/memory_hotplug: Refactor unregister_mem_sect_under_nodes

2018-08-14 Thread Oscar Salvador
On Tue, Aug 14, 2018 at 11:39:34AM +0200, David Hildenbrand wrote: > On 13.08.2018 17:46, osalva...@techadventures.net wrote: > > From: Oscar Salvador > > While at it, we can also drop the node_online() check, as a node can only be > > offline if all the memory/cpus associated with it have been

[PATCH v3 2/2] arm64: dts: meson-g12a: add initial g12a s905d2 SoC DT support

2018-08-14 Thread Jianxin Pan
Try to add basic DT support for the Amlogic's Meson-G12A S905D2 SoC, which describe components as follows: Reserve Memory, CPU, GIC, IRQ, Timer, UART. It's capable of booting up into the serial console. Signed-off-by: Jianxin Pan --- arch/arm64/boot/dts/amlogic/Makefile| 1 +

[PATCH v3 1/2] dt-bindings: arm: amlogic: Add Meson G12A binding

2018-08-14 Thread Jianxin Pan
Introduce new bindings for the Meson G12A SoC Signed-off-by: Jianxin Pan Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/amlogic.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt

Re: [RFC PATCH v4 1/2] drm: Add generic colorkey properties for display planes

2018-08-14 Thread Daniel Vetter
On Tue, Aug 14, 2018 at 12:48:08PM +0300, Laurent Pinchart wrote: > Hi Dmitry, > > Thank you for the patch. > > On Tuesday, 7 August 2018 20:22:01 EEST Dmitry Osipenko wrote: > > From: Laurent Pinchart > > > > Color keying is the action of replacing pixels matching a given color > > (or range

[PATCH v5] cpuidle: menu: Handle stopped tick more aggressively

2018-08-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Commit 87c9fe6ee495 (cpuidle: menu: Avoid selecting shallow states with stopped tick) missed the case when the target residencies of deep idle states of CPUs are above the tick boundary which may cause the CPU to get stuck in a shallow idle state for a long time. Say

[PATCH v3 0/2] arm64: dts: meson-g12a: Introduce new DT files for Meson-G12A SoC

2018-08-14 Thread Jianxin Pan
This attempt will try to add new DT files to support Meson-G12A SoC. 1) first, Please notice that, in this patch series, the DT node about 16M reserved memory for hwrom is removed, since it's not needed by G12A SoC. 2) second, the pclk for uart_AO need to be fixed once G12A clock_ao driver is

Re: [PATCH v9 08/22] s390: vfio-ap: base implementation of VFIO AP device driver

2018-08-14 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:05 -0400 Tony Krowiak wrote: > diff --git a/drivers/s390/crypto/vfio_ap_drv.c > b/drivers/s390/crypto/vfio_ap_drv.c > new file mode 100644 > index 000..5069580 > --- /dev/null > +++ b/drivers/s390/crypto/vfio_ap_drv.c > @@ -0,0 +1,118 @@ > +//

Re: [PATCH] bitfield: avoid gcc-8 -Wint-in-bool-context warning

2018-08-14 Thread Arnd Bergmann
On Tue, Aug 14, 2018 at 12:04 PM David Laight wrote: > > From: Johannes Berg > > Sent: 14 August 2018 08:57 > ... > > > How about fixing the root cause > > > in drivers/net/wireless/intel/iwlwifi/fw/api/rx.h ? > > > > > > > > > #define IWL_RX_HE_PHY_SIBG_SYM_OR_USER_NUM_MASK 0x1eULL > >

Re: [PATCH] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-14 Thread dkota
On 2018-08-10 22:16, Mark Brown wrote: On Fri, Aug 10, 2018 at 09:59:46PM +0530, dk...@codeaurora.org wrote: Now the need is, how to communicate the SPI controller maximum frequency to SPI core framework? Is it by DTSI entry or hardcoding in the SPI controller driver? If you've got a limit

Re: [PATCH] arm64: lib: use c string functions for KASAN support

2018-08-14 Thread Andrey Ryabinin
On 08/14/2018 10:55 AM, Kyeongdon Kim wrote: > Assembly optimized string functions cannot detect KASan bug. > This might have been the intention of the original author. > (not too much important to catch) > > But, I found the obvious uaf problem in strcmp() function. > - in this case, using

Re: [PATCH v5 2/2] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-08-14 Thread Johan Hovold
On Wed, Jul 25, 2018 at 11:21:22AM +0530, Keerthy wrote: > Cut down the shutdown time from 2 seconds to 1 sec. In case of roll > over try again. > > Signed-off-by: Keerthy > --- > > Changes in v5: > > * Added an additional check to see if ALARM2 status is not set > before retrying. > *

Re: [PATCH v2 2/3] mm/memory_hotplug: Drop mem_blk check from unregister_mem_sect_under_nodes

2018-08-14 Thread David Hildenbrand
On 14.08.2018 12:06, Oscar Salvador wrote: > On Tue, Aug 14, 2018 at 11:44:50AM +0200, David Hildenbrand wrote: >> >> Yes I know, as I said, if it would be local to a file I would not care. >> Making this functions never return an error is nice, though (and as you >> noted, the return value is

Re: [PATCH 1/2] kconfig: report recursive dependency involving 'imply'

2018-08-14 Thread Dirk Gouders
Masahiro Yamada writes: > Currently, Kconfig does not report anything about the recursive > dependency where 'imply' keywords are involved. > > [Test Code] > > config A > bool "a" > > config B > bool "b" > imply A > depends on A Hello Masahiro,

[PATCH] fix ifnullfree.cocci warnings

2018-08-14 Thread Julia Lawall
From: kbuild test robot NULL check before some freeing functions is not needed. Based on checkpatch warning "kfree(NULL) is safe this check is probably not required" and kfreeaddr.cocci by Julia Lawall. Generated by: scripts/coccinelle/free/ifnullfree.cocci Fixes: 0099cc17a399

Re: [PATCH] mmc: Move the mmc driver init earlier

2018-08-14 Thread Greg Kroah-Hartman
On Tue, Aug 14, 2018 at 04:08:51PM +0800, Feng Tang wrote: > Hi Greg, > > Thanks for the prompt review. > > On Tue, Aug 14, 2018 at 09:40:41AM +0200, Greg Kroah-Hartman wrote: > > On Tue, Aug 14, 2018 at 03:38:10PM +0800, Feng Tang wrote: > > > Hi Greg, > > > > > > On Tue, Aug 14, 2018 at

Re: [PATCH] bluetooth: hci_h5: avoid unused variable warnings

2018-08-14 Thread Arnd Bergmann
On Tue, Aug 14, 2018 at 9:22 AM Hans de Goede wrote: > > Hi Arnd, > > On 14-08-18 00:04, Arnd Bergmann wrote: > > When CONFIG_BT_HCIUART_RTL is disabled, the hci_h5 driver produces a build > > warning because of an incorrect set of #ifdef guards: > > > > drivers/bluetooth/hci_h5.c:920:22: error:

Re: [PATCH v9 05/22] KVM: s390: vsie: simulate VCPU SIE entry/exit

2018-08-14 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:02 -0400 Tony Krowiak wrote: > From: David Hildenbrand > > VCPU requests and VCPU blocking right now don't take care of the vSIE > (as it was not necessary until now). But we want to have VCPU requests > that will also be handled before running the vSIE again. > > So

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-14 Thread Ravi Bangoria
> +static int delayed_uprobe_install(struct vm_area_struct *vma) > +{ > + struct list_head *pos, *q; > + struct delayed_uprobe *du; > + unsigned long vaddr; > + int ret = 0, err = 0; > + > + mutex_lock(_uprobe_lock); > + list_for_each_safe(pos, q, _uprobe_list) { > +

Re: [PATCH v2 2/3] mm/memory_hotplug: Drop mem_blk check from unregister_mem_sect_under_nodes

2018-08-14 Thread David Hildenbrand
On 13.08.2018 17:46, osalva...@techadventures.net wrote: > From: Oscar Salvador > > Before calling to unregister_mem_sect_under_nodes(), > remove_memory_section() already checks if we got a valid > memory_block. > > No need to check that again in unregister_mem_sect_under_nodes(). > >

Re: [PATCH v2 1/3] mm/memory-hotplug: Drop unused args from remove_memory_section

2018-08-14 Thread David Hildenbrand
On 13.08.2018 17:46, osalva...@techadventures.net wrote: > From: Oscar Salvador > > unregister_memory_section() calls remove_memory_section() > with three arguments: > > * node_id > * section > * phys_device > > Neither node_id nor phys_device are used. > Let us drop them from the function. >

<    1   2   3   4   5   6   7   8   9   10   >