Re: [PATCH v2 17/28] nios2: remove unneeded arch/nios2/include/(generated/)asm/signal.h

2017-07-11 Thread Tobias Klauser
On 2017-07-09 at 20:32:49 +0200, Masahiro Yamada wrote: > Currently, NIOS2 has three signal.h files under arch/nios2/include: > > [1] arch/nios2/include/asm/signal.h > [2] arch/nios2/include/uapi/asm/signal.h > [3] arch/nios2/include/generated/asm/signal.h > > [3] is build-time generated by scr

Re: [PATCH v2 18/28] nios2: move generic-y of exported headers to uapi/asm/Kbuild

2017-07-11 Thread Tobias Klauser
On 2017-07-09 at 20:32:50 +0200, Masahiro Yamada wrote: > Since commit fcc8487d477a ("uapi: export all headers under uapi > directories"), all (and only) headers under uapi directories are > exported, but asm-generic wrappers are still exceptions. > > To complete de-coupling the uapi from kernel

Re: [PATCH] iscsi-target: Add login_keys_workaround attribute for non RFC initiators

2017-07-11 Thread Nicholas A. Bellinger
Hey Robert, Any chance to test this with your Flexboot PXE setup..? Please give this a spin ASAP to verify it addresses the regression you reported earlier, wrt FirstBurstLength not being proposed nor responded to using Flexboot PXE. Thank you. On Fri, 2017-07-07 at 22:24 +, Nicholas A. Bel

Re: linux-next: build failure after merge of the vfs tree

2017-07-11 Thread David Howells
Stephen Rothwell wrote: > - if (inode->i_mode & S_IALLUGO != 0775) > + if ((inode->i_mode & S_IALLUGO) != 0775) Acked-by: David Howells

Re: [PATCH 3/3] ARM: dts: at91: sama5d2: use sama5d2 compatible string for SMC

2017-07-11 Thread Lee Jones
On Tue, 11 Jul 2017, Ludovic Desroches wrote: > On Tue, Jul 11, 2017 at 09:58:29AM +0200, Ludovic Desroches wrote: > > On Tue, Jul 11, 2017 at 09:52:58AM +0200, Nicolas Ferre wrote: > > > On 11/07/2017 at 09:40, Ludovic Desroches wrote: > > > > A new compatible string has been introduced for sama5

[PATCH 2/3] PCI: pci-label: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 930 320 01250 4e2 drive

[PATCH 1/3] PCI: pci-sysfs: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 84802024 4 10508290c drive

[PATCH 0/3] constify pci attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (3): [PATCH 1/3] PCI: pci-sysfs: constify attribute_group structures. [PATCH 2/3] PCI: pci-labe

[PATCH 0/3] constify pci attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (3): [PATCH 1/3] PCI: pci-sysfs: constify attribute_group structures. [PATCH 2/3] PCI: pci-labe

[PATCH 3/3] PCI: hotplug: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 418 160 8 586 24a drive

Re: [PATCH] drm: inhibit drm drivers register to uninitialized drm core

2017-07-11 Thread Greg Kroah-Hartman
On Mon, Jul 10, 2017 at 08:00:37PM +0200, Daniel Vetter wrote: > On Mon, Jul 10, 2017 at 9:14 AM, Alexandru Moise > <00moses.alexande...@gmail.com> wrote: > > On Mon, Jul 10, 2017 at 08:52:46AM +0200, Daniel Vetter wrote: > >> On Sat, Jul 08, 2017 at 11:43:52PM +0200, Alexandru Moise wrote: > >> >

Re: [PATCH v3 3/4] phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver

2017-07-11 Thread Kishon Vijay Abraham I
Hi, On Tuesday 27 June 2017 08:29 PM, Al Cooper wrote: > Add a new USB Phy driver for Broadcom STB SoCs. This driver > supports Broadcom STB ARM and MIPS SoCs. This driver in > combination with the Broadcom STB ohci, ehci and xhci > drivers will enable USB1.1, USB2.0 and USB3.0 support. > This Phy

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-11 Thread Peter Zijlstra
On Tue, Jul 11, 2017 at 12:40:06PM +0800, Li, Aubrey wrote: > > On Mon, Jul 10, 2017 at 06:42:06PM +0200, Peter Zijlstra wrote: > >> Data to indicate what hurts how much would be a very good addition to > >> the Changelogs. Clearly you have some, you really should have shared. > In the idle loop,

[PATCH] [media] fc001[23]: make const gain table arrays static

2017-07-11 Thread Colin King
From: Colin Ian King Don't populate the gain tables on the stack but make them static const. Makes the object code smaller: Before: textdata bss dec hex filename 78011408 0920923f9 drivers/media/tuners/fc0012.o 8483 936 0941924cb drive

Re: [RFC] mm/mremap: Remove redundant checks inside vma_expandable()

2017-07-11 Thread Anshuman Khandual
On 07/11/2017 11:56 AM, Vlastimil Babka wrote: > On 07/11/2017 08:03 AM, Michal Hocko wrote: >> On Tue 11-07-17 09:58:42, Anshuman Khandual wrote: here. This is hardly something that would save many cycles in a relatively cold path. >>> Though I have not done any detailed instruction leve

Re: [PATCH v3 7/9] vfio: Use driver_override to avert binding to compromising drivers

2017-07-11 Thread Greg KH
On Mon, Jul 10, 2017 at 03:34:12PM -0600, Alex Williamson wrote: > On Mon, 26 Jun 2017 10:08:55 +0100 > Russell King - ARM Linux wrote: > > > On Tue, Jun 20, 2017 at 09:48:31AM -0600, Alex Williamson wrote: > > > If a device is bound to a non-vfio, non-whitelisted driver while a > > > group is in

Re: [PATCH 4.12 00/27] 4.12.1-stable review

2017-07-11 Thread Greg Kroah-Hartman
On Mon, Jul 10, 2017 at 06:21:52PM -0700, Guenter Roeck wrote: > On 07/10/2017 10:09 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.12.1 release. > > There are 27 patches in this series, all will be posted as a response > > to this one. If anyone has any i

Re: [PATCH v1 1/1] gpio: gpio-crystalcove: Skip IRQ CTRL register update for virtual GPIOs

2017-07-11 Thread Hans de Goede
Hi, On 11-07-17 01:35, sathyanarayanan kuppuswamy wrote: Hi Hans, Do you have any comments on this patch ? It kind of fixes your patch, so would prefer to get your comments. Sorry I did not notice this patch before, did you Cc me ? As for the patch, I deliberately did not add the check to c

Re: [GIT pull] irq updates for 4.13

2017-07-11 Thread Thomas Gleixner
On Tue, 11 Jul 2017, Thomas Gleixner wrote: > On Mon, 10 Jul 2017, Linus Torvalds wrote: > > On Mon, Jul 10, 2017 at 6:35 AM, Sebastian Reichel > > wrote: > > > > > > This patch apparently breaks OMAP platform: > > > > > > 46e48e257360f0845fe17089713cbad4db611e70 is the first bad commit > > > comm

Re: [PATCH] KVM: x86: take slots_lock in kvm_free_pit

2017-07-11 Thread David Hildenbrand
On 10.07.2017 20:53, Radim Krčmář wrote: > kvm_vm_release() did not have slots_lock when calling > kvm_io_bus_unregister_dev() and this went unnoticed until 4a12f9517728 > ("KVM: mark kvm->busses as rcu protected") added dynamic checks. > Luckily, there should be no race at that point: > > =

Re: [PATCH 4.9 00/41] 4.9.37-stable review

2017-07-11 Thread Greg Kroah-Hartman
On Mon, Jul 10, 2017 at 03:31:08PM -0700, Krister Johansen wrote: > Hey Greg, > > On Mon, Jul 10, 2017 at 07:10:33PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.37 release. > > There are 41 patches in this series, all will be posted as a response >

Re: [PATCH 4.9 00/41] 4.9.37-stable review

2017-07-11 Thread Sumit Semwal
Hi Greg, On 10 July 2017 at 22:40, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.37 release. > There are 41 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 know. > >

Re: [GIT pull] irq updates for 4.13

2017-07-11 Thread Thomas Gleixner
On Tue, 11 Jul 2017, Sebastian Reichel wrote: > There you go (this is basically 9967468c0a10). The referenced > cpcap is a PMIC, that uses one of OMAP's GPIOs to generate > interrupts and (among other things) provides an interrupt > controller. > > [1.328521] cpcap-core spi1.0: CPCAP vendor: S

Re: Potential scheduler regression

2017-07-11 Thread Greg KH
On Tue, Jul 11, 2017 at 10:30:14AM +0200, Ingo Molnar wrote: > > * Ben Guthro wrote: > > > > If people have experience with these in the "enterprise" distros, or any > > > other > > > tree, and want to provide me with backported, and tested, patches, I'll > > > be > > > glad to consider them

Re: [PATCH] drm: inhibit drm drivers register to uninitialized drm core

2017-07-11 Thread Daniel Vetter
On Tue, Jul 11, 2017 at 11:41 AM, Greg Kroah-Hartman wrote: > On Mon, Jul 10, 2017 at 08:00:37PM +0200, Daniel Vetter wrote: >> On Mon, Jul 10, 2017 at 9:14 AM, Alexandru Moise >> <00moses.alexande...@gmail.com> wrote: >> > On Mon, Jul 10, 2017 at 08:52:46AM +0200, Daniel Vetter wrote: >> >> On Sa

Re: [PATCH] tty: Fix TIOCGPTPEER ioctl definition

2017-07-11 Thread James Hogan
On Tue, Jul 11, 2017 at 03:12:17AM +0300, Gleb Fotengauer-Malinovskiy wrote: > This ioctl does nothing to justify an _IOC_READ or _IOC_WRITE flag > because it doesn't copy anything from/to userspace to access the > argument. > > Fixes: 54ebbfb1 ("tty: add TIOCGPTPEER ioctl") I think its recommend

Re: [PATCH] drm: inhibit drm drivers register to uninitialized drm core

2017-07-11 Thread Daniel Vetter
On Sat, Jul 08, 2017 at 11:43:52PM +0200, Alexandru Moise wrote: > If the DRM core fails to init for whatever reason, ensure that > no driver ever calls drm_dev_register(). > > This is best done at drm_dev_init() as it covers drivers that call > drm_dev_alloc() as well as drivers that prefer to em

Re: [PATCH RFC v4] cpufreq: schedutil: Make iowait boost more energy efficient

2017-07-11 Thread Viresh Kumar
On 09-07-17, 10:08, Joel Fernandes wrote: > diff --git a/kernel/sched/cpufreq_schedutil.c > b/kernel/sched/cpufreq_schedutil.c > index 622eed1b7658..4d9e8b96bed1 100644 > --- a/kernel/sched/cpufreq_schedutil.c > +++ b/kernel/sched/cpufreq_schedutil.c > @@ -53,7 +53,9 @@ struct sugov_cpu { >

[RESEND PATCH] bus: omap-ocp2scp: Fix error handling in omap_ocp2scp_probe

2017-07-11 Thread Kishon Vijay Abraham I
The error handling code in omap_ocp2scp_probe fails to invoke pm_runtime_disable and fails to initialize return value in certain cases. Fix it here. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori --- drivers/bus/omap-ocp2scp.c | 9 +++-- 1 file changed, 7 insertions(+), 2

Re: [PATCH] bus: omap-ocp2scp: Fix error handling in omap_ocp2scp_probe

2017-07-11 Thread Kishon Vijay Abraham I
Tony, On Wednesday 05 July 2017 01:38 PM, Tony Lindgren wrote: > * Kishon Vijay Abraham I [170704 03:23]: >> +Tony, Arnd, >> >> Hi, >> >> On Friday 19 May 2017 02:16 PM, Kishon Vijay Abraham I wrote: >>> The error handling code in omap_ocp2scp_probe fails to invoke >>> pm_runtime_disable and fail

[PATCH] crypto: brcm - remove BCM_PDC_MBOX dependency in Kconfig

2017-07-11 Thread Raveendra Padasalagi
SPU driver is dependent on generic MAILBOX API's to communicate with underlying DMA engine driver. So this patch removes BCM_PDC_MBOX "depends on" for SPU driver in Kconfig and adds MAILBOX as dependent module. Fixes: 9d12ba86f818 ("crypto: brcm - Add Broadcom SPU driver") Signed-off-by: Raveendr

[PATCH] usb: dwc2: gadget: On USB RESET reset device address to zero

2017-07-11 Thread Minas Harutyunyan
Reseted DEVADDR field in DCFG to zero on USB RESET. Device address in DCFG register does not reset to zero, which required to pass enumeration, after disconnect and reconnect. Signed-off-by: Minas Harutyunyan --- drivers/usb/dwc2/gadget.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/d

Re: [PATCH] usb: dwc2: gadget: On disconnect reset device address to zero

2017-07-11 Thread Minas Harutyunyan
Hi Felipe, On 7/11/2017 11:34 AM, Felipe Balbi wrote: > > Hi, > > Minas Harutyunyan writes: >>> Minas Harutyunyan writes: USB CV driver stack doesn't perform USB RESET after device disconnect/ connect, so need to reset to zero DEVADDR field in DCFG to pass enumeration again.

Re: KASAN vs. boot-time switching between 4- and 5-level paging

2017-07-11 Thread Kirill A. Shutemov
On Mon, Jul 10, 2017 at 05:30:38PM -0700, Andy Lutomirski wrote: > On Mon, Jul 10, 2017 at 2:24 PM, Kirill A. Shutemov > wrote: > > On Mon, Jul 10, 2017 at 01:07:13PM -0700, Andy Lutomirski wrote: > >> Can you give the disassembly of the backtrace lines? Blaming the > >> .endr doesn't make much s

Re: [PATCH 4.9 00/41] 4.9.37-stable review

2017-07-11 Thread Greg Kroah-Hartman
On Tue, Jul 11, 2017 at 03:24:03PM +0530, Sumit Semwal wrote: > Hi Greg, > > > On 10 July 2017 at 22:40, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.9.37 release. > > There are 41 patches in this series, all will be posted as a response > > to this one

Re: [patch] staging: speakup: safely close tty

2017-07-11 Thread Okash Khawaja
Hi, On Mon, Jul 10, 2017 at 12:55:44PM +0100, Alan Cox wrote: > On Fri, 7 Jul 2017 20:13:01 +0100 > Okash Khawaja wrote: > > > Speakup opens tty using tty_open_by_driver. When closing, it calls > > tty_ldisc_release but doesn't close and remove the tty itself. As a > > result, that tty cannot th

[PATCH 2/7] platform/x86: compal-laptop: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 67816144 34 12959329f drive

[PATCH 0/7] Constify platform/x86 attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (7): [PATCH 1/7] platform/x86: fujitsu-laptop: constify attribute_group structures. [PATCH 2/7]

[PATCH 6/7] platform/x86: asus-wmi: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 13140 840 1 13981369d drive

[PATCH 3/7] platform/x86: samsung-laptop: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 87105452 23 141853769 drive

[PATCH 4/7] platform/x86: alienware-wmi: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 69321016 4879961f3c drive

[PATCH 7/7] platform/x86: toshiba_acpi: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 263601072 24 274566b40 drive

Re: [PATCH 1/3] ASoC: codec: cpcap: new codec

2017-07-11 Thread Mark Brown
On Mon, Jul 10, 2017 at 10:15:41PM -0700, Tony Lindgren wrote: > * Mark Brown [170710 10:52]: > > If this is part of a MFD shouldn't the parent device register it without > > it needing to be in the DT? > Having the MFD core part just do devm_of_platform_populate() leaves out > dependencies betw

[PATCH 5/7] platform/x86: panasonic-laptop: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 2505 600 43109 c25 drive

[PATCH 1/7] platform/x86: fujitsu-laptop: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 74741205 24870321ff drive

Re: [GIT pull] irq updates for 4.13

2017-07-11 Thread Thomas Gleixner
Sebastian, On Tue, 11 Jul 2017, Thomas Gleixner wrote: > On Tue, 11 Jul 2017, Sebastian Reichel wrote: > So this crashes in do_raw_spin_unlock_irqrestore() !?! I just have to > wonder how the raw_spin_lock() succeeded. That does not make any sense. can you please apply the patch below on top of 4

[PATCH] net: broadcom: bnx2x: make a couple of const arrays static

2017-07-11 Thread Colin King
From: Colin Ian King Don't populate various tables on the stack but make them static const. Makes the object code smaller by nearly 200 bytes: Before: textdata bss dec hex filename 113468 11200 0 124668 1e6fc bnx2x_ethtool.o After: textdata bss dec

googlespeed

2017-07-11 Thread google lotto
Ref: CGSCS /849499/2017 Esteemed Winner. we wish to inform you that you are among the 50 winners of the last Google lottery draw $250,000 ( two hundred and fifty thousand dollars) Congratulations!! You are now $250,000 ( two hundred and fifty thousand dollars) richer! Winning will be remitted to yo

[PATCH V2 00/10] add clock driver for Spreadtrum platforms

2017-07-11 Thread Chunyan Zhang
This is a rewrite of Spreadtrum's original clock driver[1] according to the comments[2] from Stephen Boyd. This series adds Spreadtrum clock support together with its binding documentation and devicetree data. Any comments would be greatly appreciated. Thanks, Chunyan Changes from V1 (https://l

[PATCH V2 02/10] dt-bindings: Add Spreadtrum clock binding documentation

2017-07-11 Thread Chunyan Zhang
Introduce a new binding with its documentation for Spreadtrum clock sub-framework. Signed-off-by: Chunyan Zhang --- Documentation/devicetree/bindings/clock/sprd.txt | 36 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/sprd.tx

[PATCH V2 01/10] drivers: move clock common macros out from vendor directories

2017-07-11 Thread Chunyan Zhang
These macros are used by more than one SoC vendor platforms, avoid to have many copies of these code, this patch moves them to the common clock directory which every clock drivers can access to. Signed-off-by: Chunyan Zhang --- drivers/clk/clk_common.h | 60 ++

[PATCH V2 05/10] clk: sprd: add mux clock support

2017-07-11 Thread Chunyan Zhang
This patch adds clock multiplexor support for Spreadtrum platforms, the mux clocks also can be found in sprd composite clocks, so provides two helpers that can be reused later on. Original-by: Xiaolong Zhang Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/mux

[PATCH V2 03/10] clk: sprd: Add common infrastructure

2017-07-11 Thread Chunyan Zhang
Added Spreadtrum's clock driver framework together with common structures and interface functions. Signed-off-by: Chunyan Zhang --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/sprd/Kconfig | 4 +++ drivers/clk/sprd/Makefile | 3 ++ drivers/clk/sprd/common.c

[PATCH V2 06/10] clk: sprd: add divider clock support

2017-07-11 Thread Chunyan Zhang
This is a feature that can also be found in sprd composite clocks, provide a bunch of helpers that can be reused later on. Original-by: Xiaolong Zhang Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/div.c| 98 ++

[PATCH V2 10/10] arm64: dts: add clocks for SC9860

2017-07-11 Thread Chunyan Zhang
Now we have clock driver, so add clock devicetree data for SC9860. Signed-off-by: Chunyan Zhang --- arch/arm64/boot/dts/sprd/sc9860.dtsi | 22 ++ arch/arm64/boot/dts/sprd/whale2.dtsi | 3 +-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts

[PATCH V2 08/10] clk: sprd: add adjustable pll support

2017-07-11 Thread Chunyan Zhang
Introduced a common adjustable pll clock driver for Spreadtrum SoCs. Original-by: Xiaolong Zhang Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/pll.c| 236 ++ drivers/clk/sprd/pll.h| 133 ++

[PATCH V2 09/10] clk: sprd: add clocks support for SC9860

2017-07-11 Thread Chunyan Zhang
This patch added the list of clocks for Spreadtrum's SC9860 SoC, together with clock initialization code. Original-by: Xiaolong Zhang Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Kconfig| 10 + drivers/clk/sprd/Makefile |3 + drivers/clk/sprd/sc9

[PATCH V2 04/10] clk: sprd: add gate clock support

2017-07-11 Thread Chunyan Zhang
Some clocks on the Spreadtrum's SoCs are just simple gates. Add support for those clocks. Original-by: Xiaolong Zhang Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/gate.c | 104 ++ drivers/clk/sprd/gate.h |

[PATCH V2 07/10] clk: sprd: add composite clock support

2017-07-11 Thread Chunyan Zhang
This patch introduced composite driveri for Spreadtrum's SoCs. The functions of this composite clock simply consist of divider and mux clocks. Original-by: Xiaolong Zhang Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile| 1 + drivers/clk/sprd/composite.c | 64

Re: [RFC] mm/mremap: Remove redundant checks inside vma_expandable()

2017-07-11 Thread Anshuman Khandual
On 07/11/2017 12:20 PM, Michal Hocko wrote: > On Tue 11-07-17 08:26:40, Vlastimil Babka wrote: >> On 07/11/2017 08:03 AM, Michal Hocko wrote: >>> On Tue 11-07-17 09:58:42, Anshuman Khandual wrote: > here. This is hardly something that would save many cycles in a > relatively cold path.

Re: [RFC] mm/mremap: Remove redundant checks inside vma_expandable()

2017-07-11 Thread Anshuman Khandual
On 07/11/2017 12:26 PM, Vlastimil Babka wrote: > On 07/11/2017 08:50 AM, Michal Hocko wrote: >> On Tue 11-07-17 08:26:40, Vlastimil Babka wrote: >>> On 07/11/2017 08:03 AM, Michal Hocko wrote: Are you telling me that two if conditions cause more than a second difference? That sounds

Re: [RFC] mm/mremap: Remove redundant checks inside vma_expandable()

2017-07-11 Thread Anshuman Khandual
On 07/11/2017 12:46 PM, Michal Hocko wrote: > On Tue 11-07-17 08:56:04, Vlastimil Babka wrote: >> On 07/11/2017 08:50 AM, Michal Hocko wrote: >>> On Tue 11-07-17 08:26:40, Vlastimil Babka wrote: On 07/11/2017 08:03 AM, Michal Hocko wrote: > > Are you telling me that two if conditions c

Re: [PATCH v10 0/3] mm: security: ro protection for dynamic data

2017-07-11 Thread Tetsuo Handa
Igor Stoppa wrote: > - I had to rebase Tetsuo Handa's patch because it didn't apply cleanly > anymore, I would appreciate an ACK to that or a revised patch, whatever > comes easier. Since we are getting several proposals of changing LSM hooks and both your proposal and Casey's "LSM: Security

Re: [PATCH 1/7] platform/x86: fujitsu-laptop: constify attribute_group structures.

2017-07-11 Thread Jonathan Woithe
On Tue, Jul 11, 2017 at 04:18:14PM +0530, Arvind Yadav wrote: > attribute_groups are not supposed to change at runtime. All functions > working with attribute_groups provided by work > with const attribute_group. So mark the non-const structs as const. > > File size before: >text dat

[PATCH] net: stmmac: make const array route_possibilities static

2017-07-11 Thread Colin King
From: Colin Ian King Don't populate array route_possibilities on the stack but make it static const. Makes the object code a little smaller by 85 bytes: Before: textdata bss dec hex filename 99012448 0 12349303d dwmac4_core.o After: textdata bss

Re: [RFC] mm/mremap: Remove redundant checks inside vma_expandable()

2017-07-11 Thread Anshuman Khandual
On 07/11/2017 12:52 PM, Michal Hocko wrote: > On Tue 11-07-17 09:16:12, Michal Hocko wrote: >> On Tue 11-07-17 08:56:04, Vlastimil Babka wrote: > [...] >>> It doesn't explain why it's redundant, indeed. Unfortunately, the commit >>> f106af4e90ea ("fix checks for expand-in-place mremap") which added

Re: [GIT pull] irq updates for 4.13

2017-07-11 Thread Sebastian Reichel
Hi, On Tue, Jul 11, 2017 at 12:52:17PM +0200, Thomas Gleixner wrote: > On Tue, 11 Jul 2017, Thomas Gleixner wrote: > > On Tue, 11 Jul 2017, Sebastian Reichel wrote: > > So this crashes in do_raw_spin_unlock_irqrestore() !?! I just have to > > wonder how the raw_spin_lock() succeeded. That does not

Re: [RFC] mm/mremap: Remove redundant checks inside vma_expandable()

2017-07-11 Thread Michal Hocko
On Tue 11-07-17 16:38:46, Anshuman Khandual wrote: > On 07/11/2017 12:26 PM, Vlastimil Babka wrote: > > On 07/11/2017 08:50 AM, Michal Hocko wrote: > >> On Tue 11-07-17 08:26:40, Vlastimil Babka wrote: > >>> On 07/11/2017 08:03 AM, Michal Hocko wrote: > > Are you telling me that two if co

Re: [RFC v5 31/38] powerpc: introduce get_pte_pkey() helper

2017-07-11 Thread Anshuman Khandual
On 07/10/2017 11:25 AM, Ram Pai wrote: > On Mon, Jul 10, 2017 at 08:41:30AM +0530, Anshuman Khandual wrote: >> On 07/06/2017 02:52 AM, Ram Pai wrote: >>> get_pte_pkey() helper returns the pkey associated with >>> a address corresponding to a given mm_struct. >>> >>> Signed-off-by: Ram Pai >>> ---

[PATCH] powerpc/mm/hash: Remove stale comment.

2017-07-11 Thread Michal Suchanek
In commit e6f81a92015b ("powerpc/mm/hash: Support 68 bit VA") the masking is folded into ASM_VSID_SCRAMBLE but the comment about masking is removed only from the firt use of ASM_VSID_SCRAMBLE. Signed-off-by: Michal Suchanek --- arch/powerpc/mm/slb_low.S | 4 1 file changed, 4 deletions(-)

[PATCH] staging: bcm2835-audio: remove more than 80 char error

2017-07-11 Thread Karuna Grewal
remove the more than 80 character error as pointed out by checkpatch by spliting the statements at the separators in the statements . Signed-off-by: Karuna Grewal --- .../vc04_services/bcm2835-audio/bcm2835-ctl.c | 53 ++ 1 file changed, 35 insertions(+), 18 dele

Re: [PATCH v4 00/10] PCID and improved laziness

2017-07-11 Thread Matt Fleming
On Fri, 30 Jun, at 01:44:22PM, Matt Fleming wrote: > On Thu, 29 Jun, at 08:53:12AM, Andy Lutomirski wrote: > > *** Ingo, even if this misses 4.13, please apply the first patch before > > *** the merge window. > > > > There are three performance benefits here: > > > > 1. TLB flushing is slow. (I.

Re: [PATCH v10 0/3] mm: security: ro protection for dynamic data

2017-07-11 Thread Igor Stoppa
On 11/07/17 14:12, Tetsuo Handa wrote: > Igor Stoppa wrote: >> - I had to rebase Tetsuo Handa's patch because it didn't apply cleanly >> anymore, I would appreciate an ACK to that or a revised patch, whatever >> comes easier. > > Since we are getting several proposals of changing LSM hooks a

Re: [PATCH RFC v4] cpufreq: schedutil: Make iowait boost more energy efficient

2017-07-11 Thread Peter Zijlstra
On Tue, Jul 11, 2017 at 03:44:32PM +0530, Viresh Kumar wrote: > On 09-07-17, 10:08, Joel Fernandes wrote: > > diff --git a/kernel/sched/cpufreq_schedutil.c > > b/kernel/sched/cpufreq_schedutil.c > > index 622eed1b7658..4d9e8b96bed1 100644 > > --- a/kernel/sched/cpufreq_schedutil.c > > +++ b/kernel

Re: [PATCH RFC v4] cpufreq: schedutil: Make iowait boost more energy efficient

2017-07-11 Thread Peter Zijlstra
On Sun, Jul 09, 2017 at 10:08:26AM -0700, Joel Fernandes wrote: > --- a/kernel/sched/cpufreq_schedutil.c > +++ b/kernel/sched/cpufreq_schedutil.c > @@ -53,7 +53,9 @@ struct sugov_cpu { > struct update_util_data update_util; > struct sugov_policy *sg_policy; > > + bool prev_iowait_

[PATCH] platform/x86: peaq-wmi: Fix peaq_ignore_events_counter handling off by 1

2017-07-11 Thread Hans de Goede
If peaq_ignore_events_counter gets set to 1 we should skip polling 1 time, rather then ignoring it. Signed-off-by: Hans de Goede --- drivers/platform/x86/peaq-wmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/peaq-wmi.c b/drivers/platform/x86/peaq-wmi

[PATCH] x86/kernel/cpu/amd.c: use indirect call

2017-07-11 Thread Mikulas Patocka
This old piece of code is supposed to measure the performance of indirect calls to determine if the processor is buggy or not, however the compiler optimizer turns it into a direct call. Use the macro OPTIMIZER_HIDE_VAR to thwart the optimization, so that real indirect call is generated. Signed-

[PATCH] parport_pc: use pr_cont

2017-07-11 Thread Mikulas Patocka
The kernel adds newline automatically between printk calls, we must use pr_cont if we want multiple printk strings on the same line. Signed-off-by: Mikulas Patocka --- drivers/parport/parport_pc.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) Index: linux-2

Re: in:imklog segfault in 4.12+git on most sparc64's

2017-07-11 Thread Meelis Roos
> I tested yesterdays git with 4.13 sparc merge on a big bunch of my test > machines. > > Good news: the timestamps starting from boot seem to work on all the > machines, starting with Ultra 1 and Ultra 2. > > Bad news: all working sun4u machines have the following line in dmesg > (PID varies)

Re: [PATCH v2] PCI: Add ATS-disable quirk for AMD Stoney GPUs

2017-07-11 Thread Joerg Roedel
Hi Bjorn, On Mon, Jul 10, 2017 at 11:53:58AM -0500, Bjorn Helgaas wrote: > I'm still confused. Per Samuel > (6dd9dbac-9b65-bc7c-bb08-413a05d09...@sieb.net): > > Samuel> The other patch seems to fix this issue without disabling ATS. > Samuel> Isn't that better? > > and Alex > (bn6pr12mb1652df413

Re: [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4

2017-07-11 Thread Simon Horman
On Thu, Nov 24, 2016 at 11:58:43AM +0100, Simon Horman wrote: > Hi Magnus, > > On Mon, Mar 14, 2016 at 11:23:42PM +0900, Magnus Damm wrote: > > clocksource: sh_cmt: DT binding rework V4 > > > > [PATCH v4 01/06] devicetree: bindings: Remove sh7372 CMT binding > > [PATCH v4 02/06] devicetree: bindi

Re: [PATCH v9 07/38] x86/mm: Remove phys_to_virt() usage in ioremap()

2017-07-11 Thread Brian Gerst
On Tue, Jul 11, 2017 at 4:35 AM, Arnd Bergmann wrote: > On Tue, Jul 11, 2017 at 6:58 AM, Brian Gerst wrote: >> On Mon, Jul 10, 2017 at 3:50 PM, Tom Lendacky >> wrote: >>> On 7/8/2017 7:57 AM, Brian Gerst wrote: On Fri, Jul 7, 2017 at 9:39 AM, Tom Lendacky >>> >>> I originally had a check

Re: [PATCH v4 01/14] drm/atomic: export drm_atomic_replace_property_blob

2017-07-11 Thread Peter Rosin
On 2017-07-11 10:01, Daniel Vetter wrote: > On Thu, Jul 06, 2017 at 02:20:35PM +0200, Peter Rosin wrote: >> While at it, add some words in the kernel-doc about the 'replaced' arg and >> remove a faulty kernel-doc comment on the return value. >> >> Also remove a redundant return statement. >> >> Sig

Re: [PATCH v7 1/7] perf/core: Define the common branch type classification

2017-07-11 Thread Peter Zijlstra
On Tue, Jul 11, 2017 at 11:00:57PM +0800, Jin Yao wrote: > PERF_BR_NONE: unknown I would suggest PERF_BR_UNKNOWN or PERF_BR_MISC, since PERF_BR_NONE reads like it wasn't a branch at all. > PERF_BR_COND:conditional > PERF_BR_UNCOND : unconditional > PERF_BR_IND

Re: [PATCH v8 4/6] x86/PCI: Enable a 64bit BAR on AMD Family 15h (Models 30h-3fh) Processors v4

2017-07-11 Thread kbuild test robot
-define-for-the-PCI-resource-type-mask-v2/20170711-104904 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree

Re: [PATCH] staging: bcm2835-audio: remove more than 80 char error

2017-07-11 Thread Dan Carpenter
On Tue, Jul 11, 2017 at 04:59:14PM +0530, Karuna Grewal wrote: > remove the more than 80 character error as pointed out by checkpatch by > spliting the statements at the separators in the statements . > Don't indent your commit log. > - if (changed || (ucontrol->value.integer

[PATCH] scsi: hisi_sas: make several const arrays static

2017-07-11 Thread Colin King
From: Colin Ian King Don't populate various tables on the stack but make them static const. Makes the object code smaller by over 280 bytes: Before: textdata bss dec hex filename 398875080 64 45031afe7 hisi_sas_v2_hw.o After: textdata bss dec

Re: [PATCH v4 03/14] drm/fb-helper: separate the fb_setcmap helper into atomic and legacy paths

2017-07-11 Thread Peter Rosin
On 2017-07-11 10:10, Daniel Vetter wrote: > On Thu, Jul 06, 2017 at 02:20:37PM +0200, Peter Rosin wrote: >> The legacy path implements setcmap in terms of crtc .gamma_set. >> >> The atomic path implements setcmap by directly updating the crtc gamma_lut >> property. >> >> This has a couple of benefi

[PATCH] lib/atomic64-test: Add a test that atomic64_inc_not_zero() returns an int

2017-07-11 Thread Michael Ellerman
atomic64_inc_not_zero() returns a "truth value" which in C is traditionally an int. That means callers are likely to expect the result will fit in an int. If an implementation returns a "true" value which does not fit in an int, then there's a possibility that callers will truncate it when they st

Re: [PATCH] staging: bcm2835-audio: remove more than 80 char error

2017-07-11 Thread Joe Perches
On Tue, 2017-07-11 at 16:59 +0530, Karuna Grewal wrote: > remove the more than 80 character error as pointed out by checkpatch by > spliting the statements at the separators in the statements . Not every 80 column warning needs fixing. Your selection of separators is poor. For instance:

[PATCH v4 0/1] KVM: trigger uevents when creating or destroying a VM

2017-07-11 Thread Claudio Imbrenda
This patch adds a few lines to the KVM common code to fire a KOBJ_CHANGE uevent whenever a KVM VM is created or destroyed. The event carries five environment variables: CREATED indicates how many times a new VM has been created. It is useful for example to trigger specific actions when the

[PATCH v4 1/1] KVM: trigger uevents when creating or destroying a VM

2017-07-11 Thread Claudio Imbrenda
This patch adds a few lines to the KVM common code to fire a KOBJ_CHANGE uevent whenever a KVM VM is created or destroyed. The event carries five environment variables: CREATED indicates how many times a new VM has been created. It is useful for example to trigger specific actions when the

Re: [PATCH 1/3] ASoC: codec: cpcap: new codec

2017-07-11 Thread Sebastian Reichel
Hi, On Tue, Jul 11, 2017 at 11:49:11AM +0100, Mark Brown wrote: > On Mon, Jul 10, 2017 at 10:15:41PM -0700, Tony Lindgren wrote: > > * Mark Brown [170710 10:52]: > > > > If this is part of a MFD shouldn't the parent device register it without > > > it needing to be in the DT? > > > Having the M

Re: [PATCH v4 14/14] drm: remove unused and redundant callbacks

2017-07-11 Thread Peter Rosin
On 2017-07-11 10:13, Daniel Vetter wrote: > On Thu, Jul 06, 2017 at 02:20:48PM +0200, Peter Rosin wrote: >> Drivers no longer have any need for these callbacks, and there are no >> users. Zap. Zap-zap-zzzap-p-pp-p. >> >> Signed-off-by: Peter Rosin > > On patches 4-14: Acked-by: Daniel Vetter >

Re: [PATCHSET for-4.13] cgroup: implement cgroup2 thread mode, v2

2017-07-11 Thread Peter Zijlstra
On Mon, Jul 10, 2017 at 05:01:19PM -0400, Waiman Long wrote: > On 07/10/2017 04:32 AM, Peter Zijlstra wrote: > > On Fri, Jun 30, 2017 at 09:23:24AM -0400, Tejun Heo wrote: > >> On Tue, Jun 27, 2017 at 09:01:43AM +0200, Peter Zijlstra wrote: > >>> On Mon, Jun 12, 2017 at 05:27:53PM -0400, Tejun Heo

Re: [PATCH] staging: bcm2835-audio: replace BUG_ON with WARN_ON

2017-07-11 Thread Greg KH
On Tue, Jul 11, 2017 at 04:54:24PM +0530, karuna grewal wrote: > replace BUG_ON with WARN_ON as pointed out by checkpatch > > Signed-off-by: Karuna Grewal I can not accept patches sent in html format... > --- >  drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 2 +- >  1 file changed,

Re: [PATCH] virtio_scsi: always read VPD pages for multiqueue too

2017-07-11 Thread Stefan Hajnoczi
On Wed, Jul 05, 2017 at 10:30:56AM +0200, Paolo Bonzini wrote: > Multi-queue virtio-scsi uses a different scsi_host_template struct. > Add the .device_alloc field there, too. > > Fixes: 25d1d50e23275e141e3a3fe06c25a99f4c4bf4e0 > Cc: sta...@vger.kernel.org > Cc: David Gibson > Signed-off-by: Paolo

Re: [PATCH v7 1/7] perf/core: Define the common branch type classification

2017-07-11 Thread Jin, Yao
On 7/11/2017 8:06 PM, Peter Zijlstra wrote: On Tue, Jul 11, 2017 at 11:00:57PM +0800, Jin Yao wrote: PERF_BR_NONE: unknown I would suggest PERF_BR_UNKNOWN or PERF_BR_MISC, since PERF_BR_NONE reads like it wasn't a branch at all. OK, I will change it to PERF_BR_UNKNOWN. PERF_BR

[PATCH 2/3] regulator: Add support for stm32-vrefbuf

2017-07-11 Thread Fabrice Gasnier
Add regulator driver for STM32 voltage reference buffer which can be used as voltage reference for ADCs, DACs and external components through dedicated VREF+ pin. Signed-off-by: Fabrice Gasnier --- drivers/regulator/Kconfig | 12 +++ drivers/regulator/Makefile| 1 + drivers/re

[PATCH 0/3] Add support for STM32 vrefbuf regulator

2017-07-11 Thread Fabrice Gasnier
Some STM32 devices embed a voltage reference buffer which can be used as voltage reference for ADCs, DACs and also as voltage reference for external components through the dedicated VREF+ pin. This patchset adds vrefbuf regulator driver, device tree bindings and vrefbuf device tree node for STM32H

<    1   2   3   4   5   6   7   8   >