Re: [PATCH v2] net: stmmac: Use the right logging function in stmmac_mdio_register

2017-08-10 Thread Andrew Lunn
On Thu, Aug 10, 2017 at 09:38:26AM +0200, Romain Perier wrote: > Currently, the function stmmac_mdio_register() is only used by > stmmac_dvr_probe() from stmmac_main.c, in order to register the MDIO bus > and probe information about the PHY. As this function is called before > calling register_netd

[PATCH v5 10/11] ARM64: dts: rockchip: Add gmac2phy node support for rk3328

2017-08-10 Thread David Wu
The gmac2phy controller of rk3328 is connected to integrated PHY directly inside, add the node for the integrated PHY support. Signed-off-by: David Wu --- changes in v5: - Use phy-is-integrated property via PHY node. - Move the PHY clock, reset control, pinctrl to PHY node. arch/arm64/boot/d

[PATCH v5 11/11] ARM64: dts: rockchip: Enable gmac2phy for rk3328-evb

2017-08-10 Thread David Wu
Enable the gmac2phy, make the gmac2phy work on the rk3328-evb board. Signed-off-by: David Wu --- arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts b/arch/arm64/boot/dts/rockchip/rk3328-e

Re: [RFC PATCH 0/9] Introduce housekeeping subsystem

2017-08-10 Thread Chris Metcalf
On 8/10/2017 8:54 AM, Frederic Weisbecker wrote: But perhaps I should add a new NO_HZ_FULL_BUT_HOUSEKEEPING option. Otherwise we'll change the meaning of NO_HZ_FULL_ALL way too much, to the point that its default behaviour will be the exact opposite of the current one: by default every CPU is ho

Re: [RFC v1 1/4] ipmi_bmc: framework for BT IPMI on BMCs

2017-08-10 Thread Corey Minyard
On 08/07/2017 10:52 PM, Brendan Higgins wrote: From: Benjamin Fair This patch introduces a framework for writing IPMI drivers which run on a Board Management Controller. It is similar in function to OpenIPMI. The framework handles registering devices and routing messages. Ok, I think I unders

Re: [RESEND PATCH v5] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2017-08-10 Thread Waiman Long
On 08/10/2017 09:27 AM, Waiman Long wrote: > On 08/10/2017 07:50 AM, Peter Zijlstra wrote: >> On Wed, May 24, 2017 at 09:38:28AM -0400, Waiman Long wrote: >>> # of thread w/o patchwith patch % Change >>> --- --- >>>4 405

Re: [PATCH v2 3/4] dt-bindings: remoteproc: Add bindings for Davinci DSP processors

2017-08-10 Thread Rob Herring
On Tue, Aug 01, 2017 at 10:48:43AM -0500, Suman Anna wrote: > Add the device tree bindings document for the DSP processor > subsystem devices on TI Davinci DA8xx/OMAP-L13x SoCs. > > Signed-off-by: Suman Anna > --- > v2: > - Updated the patch header > - Revised the binding status statement slig

[PATCH] staging:media:atomisp:Fix block comments use * on subsequent lines ap1302.c

2017-08-10 Thread Harold Gomez
This patch fixes the warning WARNING: Block comments use * on subsequent lines +/* When loading firmware, host writes firmware data from address 0x8000. + When the address reaches 0x9FFF, the next address should return to 0x8000. WARNING: Block comments use a trailing */ on a separate line +

Re: Linux 4.13: Reported regressions as of Sunday, 2017-08-06

2017-08-10 Thread Jeff Mahoney
On 8/6/17 9:59 AM, Thorsten Leemhuis wrote: > Hi! Find below my second regression report for Linux 4.13. It lists 10 > regressions I'm currently aware of (albeit in one case it's not entirely > clear yet if it's a regression in 4.13). One regression got fixed since > last weeks report. You can also

Re: [PATCH v4 1/2] x86/unwind: add ORC unwinder

2017-08-10 Thread Josh Poimboeuf
On Thu, Aug 10, 2017 at 09:05:19AM +0200, Juergen Gross wrote: > > I'm wondering why xen_patch() even exists. The main difference between > > xen_patch() and native_patch() seems to be that xen_patch() does some > > relocs when doing an inline patch after calling paravirt_patch_insns(). > > > > B

Re: [PATCH] staging: bcm2835-audio: Fix memory corruption

2017-08-10 Thread Dan Carpenter
On Thu, Aug 10, 2017 at 02:25:57PM +0100, Phil Elwell wrote: > > > On 10/08/2017 12:24, Dan Carpenter wrote: > > On Thu, Aug 10, 2017 at 11:52:42AM +0100, Phil Elwell wrote: > >> On 10/08/2017 11:21, Dan Carpenter wrote: > >>> The original patch did not go through the normal review process... > >

Re: [PATCH] KVM: X86: Fix residual mmio emulation request to userspace

2017-08-10 Thread Dmitry Vyukov
On Thu, Aug 10, 2017 at 3:44 PM, Paolo Bonzini wrote: > On 10/08/2017 07:33, Wanpeng Li wrote: >> Reported by syzkaller: >> >> The kvm-intel.unrestricted_guest=0 >> >>WARNING: CPU: 5 PID: 1014 at >> /home/kernel/data/kvm/arch/x86/kvm//x86.c:7227 >> kvm_arch_vcpu_ioctl_run+0x38b/0x1be0 [kvm]

Re: [PATCH RFC net-next] net: Allow name change of IFF_UP interfaces

2017-08-10 Thread Andrew Lunn
> >> Can you think of any particular real world scenarios which are broken by > >> the change? > > > > How about: > > > > man 8 dhclient-script > > > > The interface name is passed in $interface to the scripts. Do we get > > the old name or the new name? I suspect scripts are going to break if > >

Re: [PATCH v2 0/2] mm,fork,security: introduce MADV_WIPEONFORK

2017-08-10 Thread Michal Hocko
On Thu 10-08-17 15:21:10, Michal Hocko wrote: [...] > Thanks, these references are really useful to build a picture. I would > probably use an unlinked fd with O_CLOEXEC to dect this but I can see > how this is not the greatest option for a library. Blee, brainfart on my end. For some reason I mix

Re: Increased memory usage with scsi-mq

2017-08-10 Thread Richard W.M. Jones
On Thu, Aug 10, 2017 at 02:53:58PM +0200, Paolo Bonzini wrote: > can_queue and cmd_per_lun are different. can_queue should be set to the > value of vq->vring.num where vq is the command virtqueue (the first one > is okay if there's >1). > > If you want to change it, you'll have to do so in QEMU.

Re: [PATCH] fpga: Convert to using %pOF instead of full_name

2017-08-10 Thread Alan Tull
I sent it on 8/2/2017. I probably missed a window. Alan On Wed, Aug 9, 2017 at 4:54 PM, Rob Herring wrote: > On Wed, Jul 19, 2017 at 9:32 AM, Alan Tull wrote: >> On Tue, Jul 18, 2017 at 11:42 PM, Moritz Fischer wrote: >>> On Tue, Jul 18, 2017 at 04:43:02PM -0500, Rob Herring wrote: Now t

[tip:x86/build] x86/build: Drop unused mflags-y

2017-08-10 Thread tip-bot for Cao jin
Commit-ID: e20f7e5e7243008d507c3d2d2e02cd40eb94a8c0 Gitweb: http://git.kernel.org/tip/e20f7e5e7243008d507c3d2d2e02cd40eb94a8c0 Author: Cao jin AuthorDate: Mon, 7 Aug 2017 19:29:44 +0800 Committer: Ingo Molnar CommitDate: Thu, 10 Aug 2017 14:20:15 +0200 x86/build: Drop unused mflags-y

[tip:x86/platform] x86/platform/intel-mid: Make 'bt_sfi_data' const

2017-08-10 Thread tip-bot for Bhumika Goyal
Commit-ID: 276c87054751bb6adfa160a6e68e47b97592a897 Gitweb: http://git.kernel.org/tip/276c87054751bb6adfa160a6e68e47b97592a897 Author: Bhumika Goyal AuthorDate: Sun, 6 Aug 2017 22:45:20 +0530 Committer: Ingo Molnar CommitDate: Thu, 10 Aug 2017 14:24:32 +0200 x86/platform/intel-mid: Mak

[tip:x86/asm] x86/asm: Fix UNWIND_HINT_REGS macro for older binutils

2017-08-10 Thread tip-bot for Josh Poimboeuf
Commit-ID: af79ded44b7c5eee46b433a9269fcf899372225b Gitweb: http://git.kernel.org/tip/af79ded44b7c5eee46b433a9269fcf899372225b Author: Josh Poimboeuf AuthorDate: Mon, 7 Aug 2017 09:38:05 -0500 Committer: Ingo Molnar CommitDate: Thu, 10 Aug 2017 14:16:19 +0200 x86/asm: Fix UNWIND_HINT_R

Re: [PATCH] ACPI/IORT: fix build regression without IOMMU

2017-08-10 Thread Lorenzo Pieralisi
On Thu, Aug 10, 2017 at 02:11:00PM +0200, Arnd Bergmann wrote: > A recent change reintroduced a bug that had previously been > fixed by commit d49f2dedf33b ("ACPI/IORT: Fix CONFIG_IOMMU_API > dependency"): > > drivers/acpi/arm64/iort.c: In function 'iort_iommu_configure': > drivers/acpi/arm64/iort

Re: [PATCH] KVM: X86: Fix residual mmio emulation request to userspace

2017-08-10 Thread Paolo Bonzini
On 10/08/2017 16:09, Dmitry Vyukov wrote: > On Thu, Aug 10, 2017 at 3:44 PM, Paolo Bonzini wrote: >> On 10/08/2017 07:33, Wanpeng Li wrote: >>> Reported by syzkaller: >>> >>> The kvm-intel.unrestricted_guest=0 >>> >>>WARNING: CPU: 5 PID: 1014 at >>> /home/kernel/data/kvm/arch/x86/kvm//x86.c:7

RE: [v6] wlcore: add missing nvs file name info for wilink8

2017-08-10 Thread Reizer, Eyal
> > > > Sure, just want to make sure we are not trying to add work around just for > A couple of faulty devices. > > > > I have verified using a couple of com6 modules with an am335x-evm and > > they had mac addresses read ok. > > > > Sounds like there are multiple variants of the wl12xx > > avai

Re: [PATCH RESEND] x86/smpboot: Unbreak CPU0 hotplug

2017-08-10 Thread Ingo Molnar
* Vitaly Kuznetsov wrote: > Vitaly Kuznetsov writes: > > > A hang on CPU0 onlining after a preceding offlining is observed. Trace > > shows that CPU0 is stuck in check_tsc_sync_target() waiting for source > > CPU to run check_tsc_sync_source() but this never happens. Source CPU, > > in its tur

Re: [PATCH v4 1/2] x86/unwind: add ORC unwinder

2017-08-10 Thread Juergen Gross
On 10/08/17 16:09, Josh Poimboeuf wrote: > On Thu, Aug 10, 2017 at 09:05:19AM +0200, Juergen Gross wrote: >>> I'm wondering why xen_patch() even exists. The main difference between >>> xen_patch() and native_patch() seems to be that xen_patch() does some >>> relocs when doing an inline patch after

[PATCH] ASoC: compress: Delete error messages for a failed memory allocation in snd_soc_new_compress()

2017-08-10 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 10 Aug 2017 16:21:34 +0200 Omit extra messages for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed

Re: Re: [PATCH] oom_reaper: close race without using oom_lock

2017-08-10 Thread Tetsuo Handa
Michal Hocko wrote: > On Thu 10-08-17 21:10:30, Tetsuo Handa wrote: > > Michal Hocko wrote: > > > On Tue 08-08-17 11:14:50, Tetsuo Handa wrote: > > > > Michal Hocko wrote: > > > > > On Sat 05-08-17 10:02:55, Tetsuo Handa wrote: > > > > > > Michal Hocko wrote: > > > > > > > On Wed 26-07-17 20:33:21,

Re: Increased memory usage with scsi-mq

2017-08-10 Thread Paolo Bonzini
On 10/08/2017 16:16, Richard W.M. Jones wrote: > On Thu, Aug 10, 2017 at 02:53:58PM +0200, Paolo Bonzini wrote: >> can_queue and cmd_per_lun are different. can_queue should be set to the >> value of vq->vring.num where vq is the command virtqueue (the first one >> is okay if there's >1). >> >> If

[PATCH] staging:media:atomisp:Fix trivial codingstyle issues

2017-08-10 Thread Harold Gomez
change comment style to match codingstyle. Issue found by checkpatch change four comments. Signed-off-by: Harold Gomez --- drivers/staging/media/atomisp/i2c/ap1302.c | 38 -- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/drivers/staging/media/atomisp

Re: [PATCH] KVM: MMU: Fix softlockup due to mmu_lock is held too long

2017-08-10 Thread Paolo Bonzini
On 10/08/2017 15:55, Wanpeng Li wrote: > From: Wanpeng Li > > watchdog: BUG: soft lockup - CPU#5 stuck for 22s! [warn_test:3089] > irq event stamp: 20532 > hardirqs last enabled at (20531): [] > restore_regs_and_iret+0x0/0x1d > hardirqs last disabled at (20532): [] > apic_timer_interrupt+0x

Re: [PATCH] serio: PS2 gpio bit banging driver for the serio bus

2017-08-10 Thread Danilo Krummrich
Hi Linus, On 2017-08-07 18:22, Danilo Krummrich wrote: > +static int ps2_gpio_write(struct serio *serio, unsigned char val) > +{ > + struct ps2_gpio_data *drvdata = serio->port_data; > + > + drvdata->mode = PS2_MODE_TX; > + drvdata->tx_byte = val; > + /* Make sure ISR run

Re: [PATCH v4 1/2] x86/unwind: add ORC unwinder

2017-08-10 Thread Josh Poimboeuf
On Thu, Aug 10, 2017 at 04:24:58PM +0200, Juergen Gross wrote: > >> I'll send some patches to: > >> > >> - remove xen_patch() > >> - remove lguest > >> - remove vsmp > >> > >> In case nobody objects to apply those patches we can possibly simplify > >> some more code. > >> > >> I'd love that. :-) >

Re: [PATCH v3] livepatch: introduce shadow variable API

2017-08-10 Thread Miroslav Benes
It generally looks ok. Only few questions below... [...] > +In-flight parent objects > + > + > +Sometimes it may not be convenient or possible to allocate shadow > +variables alongside their parent objects. Or a livepatch fix may > +require shadow varibles to only a subs

Re: [PATCH v4 1/2] x86/unwind: add ORC unwinder

2017-08-10 Thread Josh Poimboeuf
On Thu, Aug 10, 2017 at 09:09:03AM -0500, Josh Poimboeuf wrote: > static inline notrace unsigned long arch_local_save_flags(void) > { > return PVOP_CALLEE0(unsigned long, pv_irq_ops.save_fl, > "pushfq; popq %rax", CPU_FEATURE_NATIVE, > "call

Re: [PATCH v2] net: stmmac: Use the right logging function in stmmac_mdio_register

2017-08-10 Thread Romain Perier
Hi Andrew, Le 10/08/2017 à 15:56, Andrew Lunn a écrit : > On Thu, Aug 10, 2017 at 09:38:26AM +0200, Romain Perier wrote: >> Currently, the function stmmac_mdio_register() is only used by >> stmmac_dvr_probe() from stmmac_main.c, in order to register the MDIO bus >> and probe information about the

Re: [PATCH v7 7/9] mm: Add address parameter to arch_validate_prot()

2017-08-10 Thread Khalid Aziz
On 08/10/2017 07:20 AM, Michael Ellerman wrote: Khalid Aziz writes: A protection flag may not be valid across entire address space and hence arch_validate_prot() might need the address a protection bit is being set on to ensure it is a valid protection flag. For example, sparc processors suppo

Re: [PATCH] mm: add pmd_t initializer __pmd() to work around a GCC bug.

2017-08-10 Thread Zi Yan
Ping. Just wonder what is the status of this patch. This patch is trivial and I successfully compiled it for sparc32. swp_entry_to_pmd() will be the only user of __pmd() in sparc32, returning __pmd(0). Having __pmd() can help replace following code in include/linux/swapops.h (in linux-next: https:

Re: [PATCH] x86/efi: page align EFI ROM image ranges

2017-08-10 Thread Ingo Molnar
* Matt Fleming wrote: > On Wed, 02 Aug, at 11:41:38AM, Stuart Hayes wrote: > > (Resend because I mistyped the maintainer's email address the first time.) > > > > The kernel's EFI stub locates and copies EFI ROM images into memory, > > which it allocates using the byte-granular EFI allocate_pool

Re: [PATCH 1/4] drivers/hwmon/pmbus: Add IBM power supply hwmon driver

2017-08-10 Thread Guenter Roeck
On Wed, Aug 02, 2017 at 04:17:10PM -0500, Eddie James wrote: > From: "Edward A. James" > > Add the driver to monitor power supplies with hwmon over pmbus. > > Signed-off-by: Edward A. James > --- > drivers/hwmon/pmbus/Kconfig | 10 +++ > drivers/hwmon/pmbus/Makefile | 1 + > drivers/hwmon/

[PATCH] arm64: fix pmem interface definition

2017-08-10 Thread Arnd Bergmann
Defining the two functions as 'static inline' and exporting them leads to the interesting case where we can use the interface from loadable modules, but not from built-in drivers, as shown in this link failure: vers/nvdimm/claim.o: In function `nsio_rw_bytes': claim.c:(.text+0x1b8): undefined refe

Re: [PATCH v4 2/4] crypto: add crypto_(un)register_ahashes()

2017-08-10 Thread Lars Persson
On 08/10/2017 02:53 PM, Lars Persson wrote: From: Rabin Vincent There are already helpers to (un)register multiple normal and AEAD algos. Add one for ahashes too. Signed-off-by: Lars Persson Signed-off-by: Rabin Vincent --- v4: crypto_register_skciphers was used where crypto_unregister_sk

[PATCH] mmc: mmci: stop building qcom dml as module

2017-08-10 Thread srinivas . kandagatla
From: Srinivas Kandagatla It does not make sense for qcom dml code to be a seperate module, as this has just 2 helper functions specific to qcom, and used directly by mmci driver, so just compile this along with main mmci driver. This would also fix issues arrising due to Kconfig combinations be

Re: [PATCH 2/4] drivers/hwmon/pmbus: ibmps: Add non-hwmon attributes

2017-08-10 Thread Guenter Roeck
On Wed, Aug 02, 2017 at 04:17:11PM -0500, Eddie James wrote: > From: "Edward A. James" > > Add sysfs entries to dump out PS registers and clear faults. > > Signed-off-by: Edward A. James > --- > drivers/hwmon/pmbus/ibmps.c | 78 > + > 1 file changed

Re: [PATCH 4/4] Documentation: ABI: Add IBM power supply sysfs documentation

2017-08-10 Thread Guenter Roeck
On Wed, Aug 02, 2017 at 04:17:13PM -0500, Eddie James wrote: > From: "Edward A. James" > > Signed-off-by: Edward A. James > --- > Documentation/ABI/testing/sysfs-driver-ibmps | 49 > > 1 file changed, 49 insertions(+) > create mode 100644 Documentation/ABI/testing

Re: [PATCH RESEND] x86/smpboot: Unbreak CPU0 hotplug

2017-08-10 Thread Vitaly Kuznetsov
Ingo Molnar writes: > * Vitaly Kuznetsov wrote: > >> Vitaly Kuznetsov writes: >> >> > A hang on CPU0 onlining after a preceding offlining is observed. Trace >> > shows that CPU0 is stuck in check_tsc_sync_target() waiting for source >> > CPU to run check_tsc_sync_source() but this never happen

[PATCH v3] net: stmmac: Use the right logging function in stmmac_mdio_register

2017-08-10 Thread Romain Perier
Currently, the function stmmac_mdio_register() is only used by stmmac_dvr_probe() from stmmac_main.c, in order to register the MDIO bus and probe information about the PHY. As this function is called before calling register_netdev(), all messages logged from stmmac_mdio_register are prefixed by "(u

Re: [PATCH v2 3/3] dt-bindings: ASoC: rockchip: Add rockchip,codec-names property

2017-08-10 Thread Mark Brown
On Thu, Aug 10, 2017 at 12:54:58PM +0800, Jeffy Chen wrote: > Add a new rockchip,codec-names property, so that the driver can parse > the codecs by name. Why? You're already referencing the CODECs by phandle and these names are not part of any ABI... signature.asc Description: PGP signature

Re: [PATCH v2 11/14] perf report: cache srclines for callchain nodes

2017-08-10 Thread Namhyung Kim
On Thu, Aug 10, 2017 at 8:51 PM, Milian Wolff wrote: > On Donnerstag, 10. August 2017 04:13:25 CEST Namhyung Kim wrote: >> Hi Milian, >> >> On Sun, Aug 06, 2017 at 11:24:43PM +0200, Milian Wolff wrote: >> > On one hand this ensures that the memory is properly freed when >> > the DSO gets freed. On

Re: [PATCH 0/3] livepatch: introduce atomic replace

2017-08-10 Thread Jason Baron
On 08/10/2017 07:12 AM, Miroslav Benes wrote: Ok - associating the "atomic replace" with the patch itself makes sense to me. It would also basically work, I think with the patch I proposed except for the case where the the "atomic replace" was on top of several non-"atomic replace" patches. T

Re: [PATCH v5 2/5] lib: Add zstd modules

2017-08-10 Thread Austin S. Hemmelgarn
On 2017-08-10 07:32, Austin S. Hemmelgarn wrote: On 2017-08-10 04:30, Eric Biggers wrote: On Wed, Aug 09, 2017 at 07:35:53PM -0700, Nick Terrell wrote: It can compress at speeds approaching lz4, and quality approaching lzma. Well, for a very loose definition of "approaching", and certainly n

Re: [PATCH 3/4] Documentation: hwmon: Add IBM power supply documentation

2017-08-10 Thread Guenter Roeck
On Wed, Aug 02, 2017 at 04:17:12PM -0500, Eddie James wrote: > From: "Edward A. James" > > Signed-off-by: Edward A. James > --- > Documentation/hwmon/ibmps | 53 > +++ > 1 file changed, 53 insertions(+) > create mode 100644 Documentation/hwmon/ibmps

Question about apds990x.ko

2017-08-10 Thread Anton Volkov
Hello. While searching for races in the Linux kernel I've come across "drivers/misc/apds990x.ko" module. Here are questions that I came up with while analyzing results. Lines are given using the info from Linux v4.12. Consider the following case: Thread 1: Thread 2: apd

Re: Possible null pointer dereference in rcar-dmac.ko

2017-08-10 Thread Laurent Pinchart
Hi Morimoto-san, Thank you for the patch. On Thursday 10 Aug 2017 02:09:21 Kuninori Morimoto wrote: > Anton Volkov noticed that engine->dev is NULL before > of_dma_controller_register() in probe. > Thus there might be a NULL pointer dereference in > rcar_dmac_chan_start_xfer while accessing chan-

Re: [PATCH v4 1/2] x86/unwind: add ORC unwinder

2017-08-10 Thread Juergen Gross
On 10/08/17 16:39, Josh Poimboeuf wrote: > On Thu, Aug 10, 2017 at 04:24:58PM +0200, Juergen Gross wrote: I'll send some patches to: - remove xen_patch() - remove lguest - remove vsmp In case nobody objects to apply those patches we can possibly simplify some

Re: [PATCH 1/4] drivers/hwmon/pmbus: Add IBM power supply hwmon driver

2017-08-10 Thread Guenter Roeck
On Wed, Aug 02, 2017 at 04:17:10PM -0500, Eddie James wrote: > From: "Edward A. James" > > Add the driver to monitor power supplies with hwmon over pmbus. > > Signed-off-by: Edward A. James > --- > drivers/hwmon/pmbus/Kconfig | 10 +++ > drivers/hwmon/pmbus/Makefile | 1 + > drivers/hwmon/

[PATCH] parport: use release_mem_region instead of release_resource

2017-08-10 Thread Anton Vasilyev
Use api pair of request_mem_region and release_mem_region instead of release_resource. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev --- drivers/parport/parport_ax88796.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dri

[PATCH] staging:media:atomisp:Fix code indent error

2017-08-10 Thread Harold Gomez
code indent should use tabs where possible change spaces to tabs Signed-off-by: Harold Gomez --- drivers/staging/media/atomisp/i2c/ap1302.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/atomisp/i2c/ap1302.c b/drivers/staging/media/atomisp/i2c/ap1302.c

[PATCH v2] x86/efi: page align EFI ROM image ranges

2017-08-10 Thread Stuart Hayes
The kernel's EFI stub locates and copies EFI ROM images into memory, which it allocates using the byte-granular EFI allocate_pool function. These memory ranges are then added to setup_data, and later to e820 (in e820__reserve_setup_data()). The e820 ranges are parsed to create nosave regions

Re: [PATCH v2 3/4] dt-bindings: remoteproc: Add bindings for Davinci DSP processors

2017-08-10 Thread Suman Anna
On 08/10/2017 09:01 AM, Rob Herring wrote: > On Tue, Aug 01, 2017 at 10:48:43AM -0500, Suman Anna wrote: >> Add the device tree bindings document for the DSP processor >> subsystem devices on TI Davinci DA8xx/OMAP-L13x SoCs. >> >> Signed-off-by: Suman Anna >> --- >> v2: >> - Updated the patch he

[PATCH] arc: Mask individual IRQ lines during core INTC init

2017-08-10 Thread Alexey Brodkin
ARC cores on reset have all interrupt lines of built-in INTC enabled. Which means once we globally enable interrupts (very early on boot) faulty hardware blocks may trigger an interrupt that Linux kernel cannot handle yet as corresponding handler is not yet installed. In that case system falls in

Re: Question about apds990x.ko

2017-08-10 Thread Greg KH
On Thu, Aug 10, 2017 at 05:57:30PM +0300, Anton Volkov wrote: > Hello. > > While searching for races in the Linux kernel I've come across > "drivers/misc/apds990x.ko" module. Here are questions that I came up with > while analyzing results. Lines are given using the info from Linux v4.12. > > Con

Re: [PATCH] ARM: OMAP2+: omap_device: drop broken RPM status update from suspend_noirq

2017-08-10 Thread Tony Lindgren
* Johan Hovold [170726 01:36]: > On Wed, Jul 26, 2017 at 01:17:17AM -0700, Tony Lindgren wrote: > * Johan > Hovold [170726 00:51]: > > > On Tue, Jul 25, 2017 at 12:48:40PM -0500, Grygorii Strashko wrote: > > > > So, thank you for your patches and sorry for the noise. > > > > > > > > Tested-by:

Re: [PATCH v3 00/13] introduce the Xen PV Calls frontend

2017-08-10 Thread Boris Ostrovsky
On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > Hi all, > > this series introduces the frontend for the newly introduced PV Calls > procotol. > > PV Calls is a paravirtualized protocol that allows the implementation of > a set of POSIX functions in a different domain. The PV Calls frontend > se

Re: [GIT PULL 00/18] perf/core improvements

2017-08-10 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit c3a3800fe46f00ceeeb181cc07cc4fdaed4574f1: > > Merge tag 'perf-co

Re: Question about apds990x.ko

2017-08-10 Thread Anton Volkov
The author of this driver as well as bh1770glc.ko is Samu Onkalo. His e-mail that was found as a contact in the module's source is invalid. I tried to add him previous time (Question about bh1770glc.ko). The message was not delivered then. On 10.08.2017 18:07, Greg KH wrote: On Thu, Aug 10, 2

Re: [PATCH 4.12 004/106] scsi: sg: fix SG_DXFER_FROM_DEV transfers

2017-08-10 Thread Greg Kroah-Hartman
On Thu, Aug 10, 2017 at 08:14:14AM +0200, Johannes Thumshirn wrote: > On Wed, Aug 09, 2017 at 09:51:48AM -0700, Greg KH wrote: > > 4.12-stable review patch. If anyone has any objections, please let me know. > > Yep I do, please don't use this one. It has a follow up/was superseded by: > f930c7043

Re: [PATCH v10 0/9] Hyper-V: paravirtualized remote TLB flushing and hypercall improvements

2017-08-10 Thread Ingo Molnar
* Vitaly Kuznetsov wrote: > Vitaly Kuznetsov writes: > > > Changes since v9: > > - Rebase to 4.13-rc3. > > - Drop PATCH1 as it was already taken by Greg to char-misc tree. There're no > > functional dependencies on this patch so the series can go through a > > different tree > > (and it a

Re: [PATCH 1/2] ARM: dts: am571x-idk: Fix GPIO polarity for MMC1 card detect

2017-08-10 Thread Tony Lindgren
* Kishon Vijay Abraham I [170810 00:46]: > Tony, > > On Thursday 10 August 2017 03:38 AM, Tony Lindgren wrote: > > * Kishon Vijay Abraham I [170807 22:22]: > >> The GPIO polarity for MMC1 card detect is set to '0' which means > >> active-high. However the polarity should be active-low. Fix it >

[PATCH] i2c: use release_mem_region instead of release_resource

2017-08-10 Thread Anton Vasilyev
Use api pair of request_mem_region and release_mem_region instead of release_resource. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev --- drivers/i2c/busses/i2c-simtec.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drive

Re: [PATCH v10 0/9] Hyper-V: paravirtualized remote TLB flushing and hypercall improvements

2017-08-10 Thread Vitaly Kuznetsov
Ingo Molnar writes: > * Vitaly Kuznetsov wrote: > >> Vitaly Kuznetsov writes: >> >> > Changes since v9: >> > - Rebase to 4.13-rc3. >> > - Drop PATCH1 as it was already taken by Greg to char-misc tree. There're >> > no >> > functional dependencies on this patch so the series can go through a

Re: [patch v2 0/2]

2017-08-10 Thread Greg KH
On Mon, Aug 07, 2017 at 05:17:45PM +0300, Oleksandr Shamray wrote: > When a need raise up to use JTAG interface for system's devices > programming or CPU debugging, it could be done from the external > JTAG master controller. Your subject line is a bit "odd" :(

Re: [V2] firmware: vpd: use memunmap instead of iounmap

2017-08-10 Thread Greg Kroah-Hartman
On Wed, Aug 09, 2017 at 07:01:47PM +0800, Pan Bian wrote: > In functions vpd_sections_init() and vpd_section_init(), iounmap() is > used to unmap memory. However, in these cases, memunmap() should be > used. > > Signed-off-by: Pan Bian > --- > drivers/firmware/google/vpd.c | 10 +- > 1 f

Re: [PATCH 1/2] ASoC: codecs: add const to snd_soc_codec_driver structures

2017-08-10 Thread Mark Brown
On Thu, Aug 03, 2017 at 09:30:19PM +0530, Bhumika Goyal wrote: > sound/soc/codecs/88pm860x-codec.c | 2 +- > sound/soc/codecs/ab8500-codec.c| 2 +- > sound/soc/codecs/ac97.c| 2 +- > sound/soc/codecs/ad1836.c | 2 +- > sound/soc/codecs/ad193x.c

[RFC PATCH] sched/topology: Introduce NUMA identity node sched domain

2017-08-10 Thread Suravee Suthikulpanit
On AMD Family17h-based (EPYC) system, a NUMA node can contain upto 8 cores (16 threads) with the following topology. C0 | T0 T1 |||| T0 T1 | C4 |||| C1 | T0 T1 | L3 || L3 | T0 T1 | C5

Re: [PATCH] sched/fair: Make PELT signal more accurate

2017-08-10 Thread Joel Fernandes
On Thu, Aug 10, 2017 at 12:17 AM, Vincent Guittot wrote: > On 9 August 2017 at 19:51, Joel Fernandes wrote: >> Hi Vincent, >> >> On Wed, Aug 9, 2017 at 3:23 AM, Vincent Guittot >> wrote: >> Yes this is true, however since I'm using the 'delta' instead of period_contrib, its only

[PATCH] hwmon:(stts751) buffer overread on wrong chip configuration

2017-08-10 Thread Anton Vasilyev
If stts751 hw by some reason reports conversion rate bigger then 9: ret = i2c_smbus_read_byte_data(priv->client, STTS751_REG_RATE); then dereference stts751_intervals[priv->interval] leads to buffer overread. The path adds sanity check for value read from chip. Found by Linux Driver Verif

Re: [PATCH 2/2] mm,fork: introduce MADV_WIPEONFORK

2017-08-10 Thread Michal Hocko
On Sun 06-08-17 10:04:25, Rik van Riel wrote: [...] > diff --git a/kernel/fork.c b/kernel/fork.c > index 17921b0390b4..db1fb2802ecc 100644 > --- a/kernel/fork.c > +++ b/kernel/fork.c > @@ -659,6 +659,13 @@ static __latent_entropy int dup_mmap(struct mm_struct > *mm, > tmp->vm_flags &

Re: [PATCH v3 2/5] ASoC: codecs: msm8916-wcd-analog: get micbias voltage from dt

2017-08-10 Thread Mark Brown
On Wed, Aug 09, 2017 at 06:49:24PM +0200, srinivas.kandaga...@linaro.org wrote: > - snd_soc_write(codec, CDC_A_MICB_1_VAL, MICB_1_VAL_MICB_OUT_VAL_V2P70V); > - /* > - * Special headset needs MICBIAS as 2.7V so wait for > - * 50 msec for the MICBIAS to reach 2.7 volts. > - */

Re: [PATCH 1/2] ASoC: codecs: add const to snd_soc_codec_driver structures

2017-08-10 Thread Bhumika Goyal
On Thu, Aug 10, 2017 at 8:50 PM, Mark Brown wrote: > On Thu, Aug 03, 2017 at 09:30:19PM +0530, Bhumika Goyal wrote: > >> sound/soc/codecs/88pm860x-codec.c | 2 +- >> sound/soc/codecs/ab8500-codec.c| 2 +- >> sound/soc/codecs/ac97.c| 2 +- >> sound/soc/codecs/ad1836.c

[PATCH] ASoC: rsnd: Delete an error message for a failed memory allocation in three functions

2017-08-10 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 10 Aug 2017 17:13:19 +0200 Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Si

Re: [RFC PATCH v2 0/6] mm, memory_hotplug: allocate memmap from hotadded memory

2017-08-10 Thread Dan Williams
On Thu, Aug 10, 2017 at 4:40 AM, Michal Hocko wrote: > On Tue 08-08-17 13:01:36, Dan Williams wrote: >> On Mon, Aug 7, 2017 at 12:00 AM, Michal Hocko wrote: >> > Any comments? Especially for the arch specific? Has anybody had a chance >> > to test this? I do not want to rush this but I would be r

RE: [PATCH 3/3] x86/vsmp: remove vsmp paravirt support

2017-08-10 Thread Shai Fultheim (s...@scalemp.com)
NACK. This is needed and used by thousands of installations. Shai Fultheim | M +1 (408) 480-1612 | E s...@scalemp.com This email message and any attachments to it are ScaleMP confidential information. -Original Message- From: In

Re: [PATCH v4 1/4] can: dev: Add support for limiting configured bitrate

2017-08-10 Thread Marc Kleine-Budde
Hello, sorry for stepping in late On 08/10/2017 02:59 AM, Franklin S Cooper Jr wrote: > Various CAN or CAN-FD IP may be able to run at a faster rate than > what the transceiver the CAN node is connected to. This can lead to > unexpected errors. However, CAN transceivers typically have fixed >

[PATCH] dvb-usb: Add memory free on error path in dw2102_probe()

2017-08-10 Thread Anton Vasilyev
If dw2102_probe() fails on dvb_usb_device_init(), then memleak occurs. The patch adds deallocation to the error path. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev --- drivers/media/usb/dvb-usb/dw2102.c | 39 +-

Re: [PATCH -tip 1/2] kprobes/x86: Don't forget to set memory back to RO on failure

2017-08-10 Thread Ingo Molnar
* Masami Hiramatsu wrote: > Do not forget to set kprobes insn buffer memory back > to RO on failure path. Without this fix, if there is > an unexpected error on copying instructions, kprobes > insn buffer kept RW, which can allow unexpected modifying > instruction buffer. > > Fixes: d0381c81c2f

Re: [PATCH] power: smb347-charger: Summit SMB358 charger IC

2017-08-10 Thread Rob Herring
On Wed, Aug 02, 2017 at 12:20:26AM +0530, Vinay Simha BN wrote: > Summit microelectronics' SMB358 charger chip has > almost the same register map and functionality. > voltage and current table are only differed. > > SMB345 charger IC tested in nexus7 > > Cc: John Stultz > Cc: Sumit Semwal > Cc:

Re: [PATCH 3/3] x86/vsmp: remove vsmp paravirt support

2017-08-10 Thread Juergen Gross
On 10/08/17 17:28, Shai Fultheim (s...@scalemp.com) wrote: > NACK. This is needed and used by thousands of installations. Okay, thanks for reacting so fast. Will drop the patch. Juergen > > > > Shai Fultheim | M +1 (408) 480-1612 | E s

Re: [PATCH v2 0/2] mm,fork,security: introduce MADV_WIPEONFORK

2017-08-10 Thread Michal Hocko
On Tue 08-08-17 14:45:14, Rik van Riel wrote: > On Tue, 2017-08-08 at 09:52 -0700, Matthew Wilcox wrote: > > On Tue, Aug 08, 2017 at 11:46:08AM -0400, Rik van Riel wrote: > > > On Tue, 2017-08-08 at 08:19 -0700, Mike Kravetz wrote: > > > > If the use case is fairly specific, then perhaps it makes s

Re: [PATCH 1/2] ASoC: codecs: add const to snd_soc_codec_driver structures

2017-08-10 Thread Mark Brown
On Thu, Aug 10, 2017 at 08:56:35PM +0530, Bhumika Goyal wrote: > On Thu, Aug 10, 2017 at 8:50 PM, Mark Brown wrote: > > This is difficult to apply against current code as it is a single commit > > over lots of files but the ASoC tree has lots of branches. I've figured > > out the dependencies bu

Re: [RFC PATCH v2 0/6] mm, memory_hotplug: allocate memmap from hotadded memory

2017-08-10 Thread Michal Hocko
On Thu 10-08-17 08:27:56, Dan Williams wrote: > On Thu, Aug 10, 2017 at 4:40 AM, Michal Hocko wrote: > > On Tue 08-08-17 13:01:36, Dan Williams wrote: > >> On Mon, Aug 7, 2017 at 12:00 AM, Michal Hocko wrote: > >> > Any comments? Especially for the arch specific? Has anybody had a chance > >> > t

Re: [PATCH 1/4] drivers/hwmon/pmbus: Add IBM power supply hwmon driver

2017-08-10 Thread Eddie James
On 08/10/2017 10:00 AM, Guenter Roeck wrote: On Wed, Aug 02, 2017 at 04:17:10PM -0500, Eddie James wrote: From: "Edward A. James" Add the driver to monitor power supplies with hwmon over pmbus. Signed-off-by: Edward A. James --- drivers/hwmon/pmbus/Kconfig | 10 +++ drivers/hwmon/pmbu

Re: [PATCH v2 0/2] mm,fork,security: introduce MADV_WIPEONFORK

2017-08-10 Thread Michal Hocko
On Thu 10-08-17 15:23:05, Colm MacCárthaigh wrote: > On Thu, Aug 10, 2017 at 3:05 PM, Michal Hocko wrote: > >> Too late for that. VM_DONTFORK is already implemented > >> through MADV_DONTFORK & MADV_DOFORK, in a way that is > >> very similar to the MADV_WIPEONFORK from these patches. > > > > Yeah,

Re: [PATCH v2 2/4] drm/tinydrm: add support for LEGO MINDSTORMS EV3 LCD

2017-08-10 Thread Rob Herring
On Tue, Aug 01, 2017 at 05:11:48PM -0500, David Lechner wrote: > LEGO MINDSTORMS EV3 has an LCD with a ST7586 controller. This adds a new > module for the ST7586 controller with parameters for the EV3 LCD display. > > Signed-off-by: David Lechner > --- > .../devicetree/bindings/display/st7586.tx

Applied "ASoC: compress: Delete error messages for a failed memory allocation in snd_soc_new_compress()" to the asoc tree

2017-08-10 Thread Mark Brown
The patch ASoC: compress: Delete error messages for a failed memory allocation in snd_soc_new_compress() has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (us

Re: Increased memory usage with scsi-mq

2017-08-10 Thread Richard W.M. Jones
OK this is looking a bit better now. With scsi-mq enabled: 175 disks virtqueue_size=64: 318 disks * virtqueue_size=16: 775 disks * With scsi-mq disabled: 1755 disks * = new results I also ran the whole libguestfs test suite with virtqueue_si

Re: [PATCH 4.12 000/106] 4.12.6-stable review

2017-08-10 Thread Kevin Hilman
Greg Kroah-Hartman writes: > On Wed, Aug 09, 2017 at 01:34:09PM -0700, kernelci.org bot wrote: >> stable-rc/linux-4.12.y boot: 211 boots: 17 failed, 194 passed >> (v4.12.5-106-g38a3c1c9f248) >> >> Full Boot Summary: >> https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.12.y/kernel/v4.1

Applied "ASoC: spear: Delete an error message for a failed memory allocation in two functions" to the asoc tree

2017-08-10 Thread Mark Brown
The patch ASoC: spear: Delete an error message for a failed memory allocation in two functions has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually some

Applied "ASoC: rsnd: Delete an error message for a failed memory allocation in three functions" to the asoc tree

2017-08-10 Thread Mark Brown
The patch ASoC: rsnd: Delete an error message for a failed memory allocation in three functions has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually som

Applied "ASoC: codecs: add const to snd_soc_codec_driver structures" to the asoc tree

2017-08-10 Thread Mark Brown
The patch ASoC: codecs: add const to snd_soc_codec_driver structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

[PATCH 18/19] scsi: hisi_sas: replace kfree with scsi_host_put

2017-08-10 Thread John Garry
Instances of kfree(shost) should be replaced with scsi_host_put(). In addition, a missing scsi_host_put() is added for error path in hisi_sas_shost_alloc_pci() and v3 driver removal. Signed-off-by: Pan Bian # For main.c changes Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.

Re: [PATCH v5 6/6] dt-bindings: Document the Rockchip RGA bindings

2017-08-10 Thread Rob Herring
On Wed, Aug 02, 2017 at 11:19:47AM +0800, Jacob Chen wrote: > Add DT bindings documentation for Rockchip RGA > > Signed-off-by: Jacob Chen > Signed-off-by: Yakir Yang > --- > .../devicetree/bindings/media/rockchip-rga.txt | 33 > ++ > 1 file changed, 33 insertions(+) >

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