Re: [PATCH 0/7] drivers: tty: Fix kernel-docs comments

2018-10-17 Thread Geert Uytterhoeven
Hi Tobin, Thanks for your series! On Wed, Oct 17, 2018 at 1:23 AM Tobin C. Harding wrote: > My first patch set using kernel.org email address. I've been so careful > with this one I'm expecting some epic fail :) WARNING: Missing Signed-off-by: line by nominal patch author 'Tobin C. Harding '

[PATCH] Revert "HID: add NOGET quirk for Eaton Ellipse MAX UPS"

2018-10-17 Thread Benjamin Tissoires
This reverts commit 67ddbb3e6568fb1820b2cc45b00c50702b114801. 67ddbb3e656 ("HID: add NOGET quirk for Eaton Ellipse MAX UPS") was reported by Laurent Bigonville. It turns out that a later model Laurent got doesn't need the quirk after all. My take is that Eaton upgraded their firmwares, so we don'

Re: [PATCH] Input: synaptics - avoid using uninitialized variable when probing

2018-10-17 Thread Benjamin Tissoires
On Wed, Oct 17, 2018 at 2:14 AM Dmitry Torokhov wrote: > > synaptics_detect() does not check whether sending commands to the > device succeeds and instead relies on getting unique data from the > device. Let's make sure we seed entire buffer with zeroes to make sure > we not use garbage on stack t

Re: [RFC PATCH] mm, proc: report PR_SET_THP_DISABLE in proc

2018-10-17 Thread Michal Hocko
On Tue 16-10-18 14:24:19, David Rientjes wrote: > On Tue, 16 Oct 2018, Michal Hocko wrote: > > > > I don't understand the point of extending smaps with yet another line. > > > > Because abusing a vma flag part is just wrong. What are you going to do > > when a next bug report states that the fl

Re: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-17 Thread Boris Brezillon
On Wed, 17 Oct 2018 02:07:43 + Yogesh Narayan Gaur wrote: > > > Actually there is no entry of s25fs512s in current spi-nor.c file. > For my connected flash part, jedec ID read points to s25fl512s. I > have asked my board team to confirm the name of exact connected flash > part. When I chec

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-17 Thread Michal Hocko
On Tue 16-10-18 16:16:43, Andrew Morton wrote: > On Tue, 16 Oct 2018 19:11:49 -0400 Andrea Arcangeli > wrote: > > > This was a severe regression > > compared to previous kernels that made important workloads unusable > > and it starts when __GFP_THISNODE was added to THP allocations under > > MA

Re: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-17 Thread Boris Brezillon
On Wed, 17 Oct 2018 09:07:24 +0200 Boris Brezillon wrote: > On Wed, 17 Oct 2018 02:07:43 + > Yogesh Narayan Gaur wrote: > > > > > > Actually there is no entry of s25fs512s in current spi-nor.c file. > > For my connected flash part, jedec ID read points to s25fl512s. I > > have asked my

Re: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-17 Thread Boris Brezillon
On Wed, 17 Oct 2018 09:10:45 +0200 Boris Brezillon wrote: > On Wed, 17 Oct 2018 09:07:24 +0200 > Boris Brezillon wrote: > > > On Wed, 17 Oct 2018 02:07:43 + > > Yogesh Narayan Gaur wrote: > > > > > > > > > Actually there is no entry of s25fs512s in current spi-nor.c file. > > > F

Re: [RFC PATCH for 4.21 06/16] cpu_opv: Provide cpu_opv system call (v8)

2018-10-17 Thread Srikar Dronamraju
Hi Mathieu, > +static int do_cpu_opv(struct cpu_op *cpuop, int cpuopcnt, > + struct cpu_opv_vaddr *vaddr_ptrs, int cpu) > +{ > + struct mm_struct *mm = current->mm; > + int ret; > + > +retry: > + if (cpu != raw_smp_processor_id()) { > + ret = push_task_t

Re: [PATCH 4.9 00/71] 4.9.134-stable review

2018-10-17 Thread Amit Pundir
Hi, On Tue, 16 Oct 2018 at 22:52, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.134 release. > There are 71 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: protected pins and debugfs

2018-10-17 Thread Stephen Boyd
Quoting Sodagudi Prasad (2018-10-16 19:00:45) > On 2018-10-10 12:40, Sodagudi Prasad wrote: > > On 2018-10-07 23:04, Stephen Boyd wrote: > >> Quoting Sodagudi Prasad (2018-10-03 05:38:24) > >>> > >>> for (i = 0; i < chip->ngpio; i++, gpio++) { > >>> + label = gpiochip_is_req

Re: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-17 Thread Boris Brezillon
On Wed, 17 Oct 2018 09:10:45 +0200 Boris Brezillon wrote: > On Wed, 17 Oct 2018 09:07:24 +0200 > Boris Brezillon wrote: > > > On Wed, 17 Oct 2018 02:07:43 + > > Yogesh Narayan Gaur wrote: > > > > > > > > > Actually there is no entry of s25fs512s in current spi-nor.c file. > > > F

Re: [mm PATCH v3 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-17 Thread Mike Rapoport
On Tue, Oct 16, 2018 at 03:01:11PM -0400, Pavel Tatashin wrote: > > > On 10/15/18 4:26 PM, Alexander Duyck wrote: > > This change makes it so that we use the same approach that was already in > > use on Sparc on all the archtectures that support a 64b long. > > > > This is mostly motivated by th

Re: [PATCH v3] kernel/hung_task.c: disable on suspend

2018-10-17 Thread Rafael J. Wysocki
On Tue, Oct 16, 2018 at 6:55 PM Vitaly Kuznetsov wrote: > > It is possible to observe hung_task complaints when system goes to > suspend-to-idle state: > > # echo freeze > /sys/power/state > > PM: Syncing filesystems ... done. > Freezing user space processes ... (elapsed 0.001 seconds) done. >

Re: [PATCH] tty: serial: qcom_geni_serial: Don't slow all ports just for kgdb

2018-10-17 Thread msavaliy
On 2018-10-16 02:14, Douglas Anderson wrote: If you turn on CONFIG_KGDB then you'll get CONFIG_CONSOLE_POLL selected. If you have CONFIG_CONSOLE_POLL selected then the GENI serial driver was setting RX_BYTES_PW to 1 for _all_ UART ports. This doesn't seem like such a good idea. Let's only set

Re: [PATCH 0/7] drivers: tty: Fix kernel-docs comments

2018-10-17 Thread Tobin C. Harding
On Wed, Oct 17, 2018 at 09:00:26AM +0200, Geert Uytterhoeven wrote: > Hi Tobin, > > Thanks for your series! > > On Wed, Oct 17, 2018 at 1:23 AM Tobin C. Harding wrote: > > My first patch set using kernel.org email address. I've been so careful > > with this one I'm expecting some epic fail :) >

Re: [PATCH 1/2] locking/qspinlock_stat: Count instances of nested lock slowpaths

2018-10-17 Thread Peter Zijlstra
On Tue, Oct 16, 2018 at 09:45:06AM -0400, Waiman Long wrote: > Queued spinlock supports up to 4 levels of lock slowpath nesting - > user context, soft IRQ, hard IRQ and NMI. However, we are not sure how > often the nesting happens. So 3 more per-cpu stat counters are added > to track the number of

[PATCH v2 09/21] dt-bindings: PCI: keystone: Add bindings to get device control module

2018-10-17 Thread Kishon Vijay Abraham I
Add bindings to get device control module which has the device id and vendor id to be configured in the keystone PCIe controller. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/pci/pci-keystone.txt | 3 +++ 1 file changed, 3 insertions(+) d

[PATCH v2 01/21] PCI: keystone: Use quirk to limit MRRS for K2G

2018-10-17 Thread Kishon Vijay Abraham I
PCI controller in K2G also has a limitation that memory read request size (MRRS) must not exceed 256 bytes. Use the quirk to limit MRRS (added for K2HK, K2L and K2E) for K2G as well. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 3 +++ 1 file changed, 3 in

[PATCH v2 11/21] PCI: keystone: Cleanup PHY handling

2018-10-17 Thread Kishon Vijay Abraham I
Cleanup PHY handling by using devm_phy_optional_get to get PHYs if the PHYs are optional, creating a device link between the PHY device and the controller device and disable PHY on error cases here. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 122 +++

[PATCH v2 13/21] PCI: keystone: Cleanup configuration space access

2018-10-17 Thread Kishon Vijay Abraham I
Cleanup configuration space access by removing ks_pcie_cfg_setup which has an unncessary check of "if (bus == 0)" which will never be the case of *_other_conf() and adding macros for configuring the CFG_SETUP register required for accessing the configuration space of the device. Signed-off-by: Kis

[PATCH v2 05/21] PCI: keystone: Remove unused argument from ks_dw_pcie_host_init()

2018-10-17 Thread Kishon Vijay Abraham I
No functional change. Remove unused "msi_intc_np" argument from ks_dw_pcie_host_init(). Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone-dw.c | 3 +-- drivers/pci/controller/dwc/pci-keystone.c| 2 +- drivers/pci/controller/dwc/pci-keystone.h| 3 +-- 3 fil

[PATCH v2 04/21] PCI: keystone: Do not initiate link training multiple times

2018-10-17 Thread Kishon Vijay Abraham I
commit 886bc5ceb5cc3ad4b219502d72 ("PCI: designware: Add generic dw_pcie_wait_for_link()") while adding a generic dw_pcie_wait_for_link() performed a special handling (initiate link training multiple times) for keystone which is not required. This also resulted in unncessarily waiting for more time

[PATCH v2 06/21] PCI: keystone: Merge pci-keystone-dw.c and pci-keystone.c

2018-10-17 Thread Kishon Vijay Abraham I
No functional change. Having two different files for keystone PCI driver doesn't serve any purpose. Merge pci-keystone-dw.c and pci-keystone.c into a single pci-keystone.c file and remove pci-keystone.h Signed-off-by: Kishon Vijay Abraham I --- MAINTAINERS | 2

[PATCH v2 07/21] PCI: keystone: Remove redundant platform_set_drvdata

2018-10-17 Thread Kishon Vijay Abraham I
No functional change. Remove redundant platform_set_drvdata invocation in ks_pcie_probe(). Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-keystone.c b/drivers/pci/controller/

[PATCH v2 14/21] PCI: keystone: Get number of outbound windows from DT

2018-10-17 Thread Kishon Vijay Abraham I
Instead of having a fixed outbound window count, get the number of outbound windows from device tree. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/pci/controller/dwc/

[PATCH v2 16/21] PCI: keystone: Cleanup set_dbi_mode and get_dbi_mode

2018-10-17 Thread Kishon Vijay Abraham I
No functional change. Use BIT() macro for DBI_CS2 and cleanup set_dbimode and get_dbi_mode Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-keystone.

[PATCH v2 21/21] PCI: keystone: Cleanup macros defined in pci-keystone.c

2018-10-17 Thread Kishon Vijay Abraham I
No functional change. Cleanup macros defined in pci-keystone.c by removing unused macros, grouping the macros and aligning it properly. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 41 +-- 1 file changed, 16 insertions(+), 25 deletions

[PATCH v2 20/21] PCI: keystone: Reorder header file in alphabetical order

2018-10-17 Thread Kishon Vijay Abraham I
No functional change. Reorder header file in alphabetical order. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-keystone.c b/drivers/pci/controller/dwc

[PATCH v2 17/21] PCI: keystone: Cleanup ks_pcie_link_up()

2018-10-17 Thread Kishon Vijay Abraham I
ks_pcie_link_up() uses registers from the designware core to get the status of the link. Move the register defines to pcie-designware.h and cleanup ks_pcie_link_up(). Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c| 11 +++ drivers/pci/controller/d

[PATCH v2 19/21] PCI: keystone: Add debug error message for all errors

2018-10-17 Thread Kishon Vijay Abraham I
commit 025dd3daeda77f61a280da87ae701 ("PCI: keystone: Add error IRQ handler") added dev_err() message only for ERR_AXI and ERR_FATAL. Add debug error message for ERR_SYS, ERR_NONFATAL, ERR_CORR and ERR_AER here. While at that avoid using ERR_IRQ_STATUS_RAW and use ERR_IRQ_STATUS instead. Signed-o

[PATCH v2 18/21] PCI: keystone: Use ERR_IRQ_STATUS instead of ERR_IRQ_STATUS_RAW to get interrupt status

2018-10-17 Thread Kishon Vijay Abraham I
Use ERR_IRQ_STATUS instead of ERR_IRQ_STATUS_RAW to get interrupt status. ERR_IRQ_STATUS_RAW has the status of the interrupts before masking whereas ERR_IRQ_STATUS has the status of the interrupts after masking. Since all the interrupts are unmasked here, use ERR_IRQ_STATUS. Signed-off-by: Kishon

[PATCH v2 02/21] PCI: keystone: Use quirk to set MRRS for PCI host bridge

2018-10-17 Thread Kishon Vijay Abraham I
Reuse the already existing quirk to set MRRS for PCI host bridge instead of explicitly setting MRRS in ks_pcie_host_init. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 37 +-- 1 file changed, 15 insertions(+), 22 deletions(-) diff --gi

Re: Fate of ihex2fw tool

2018-10-17 Thread Greg Kroah-Hartman
On Tue, Oct 16, 2018 at 10:36:15PM -0700, Andrey Smirnov wrote: > Everyone: > > Since commit 5620a0d1aacd554ebebcff373e31107bb1ef7769 ("firmware: > delete in-kernel firmware"): > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.19-rc7&id=5620a0d1aacd554ebebcff373e

[PATCH v2 00/21] PCI: Cleanup pci-keystone driver

2018-10-17 Thread Kishon Vijay Abraham I
The PCIe controller in AM654 uses Synopsys core revision 4.90a and uses the same TI wrapper as used in keystone2 with certain modification. Hence AM654 will use the same pci wrapper driver pci-keystone.c In preparation for adding AM654 support, cleanup pci-keystone driver here. Most of the cleanu

[PATCH v2 10/21] PCI: keystone: Use SYSCON APIs to get device ID from control module

2018-10-17 Thread Kishon Vijay Abraham I
Control module registers should be read using syscon APIs. pci-keystone.c uses platform_get_resource to get control module registers. Fix it here by using syscon APIs to get device id from control module. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 45 ++

[PATCH v2 15/21] PCI: keystone: Cleanup outbound window configuration

2018-10-17 Thread Kishon Vijay Abraham I
Outbound translation window is configured in order to access the PCIe card's MEM space. Cleanup outbound translation configuration here by using BIT() macros, adding a macro for window size and using lower_32_bits/upper_32_bits macros for configuring the 64 bit offset in the outbound translation re

[PATCH v2 03/21] PCI: keystone: Move dw_pcie_setup_rc out of ks_pcie_establish_link()

2018-10-17 Thread Kishon Vijay Abraham I
No functional change. Move dw_pcie_setup_rc out of ks_pcie_establish_link() so that ks_pcie_establish_link can be used only to start the link. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --gi

[PATCH v2 12/21] PCI: keystone: Invoke pm_runtime APIs to enable clock

2018-10-17 Thread Kishon Vijay Abraham I
Invoke pm_runtime APIs to enable clocks and remove explicit clock enabling using clk_prepare_enable(). Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 28 ++- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/drivers/pci/con

[PATCH v2 08/21] PCI: keystone: Use uniform function naming convention

2018-10-17 Thread Kishon Vijay Abraham I
No functional change. Some function names begin with ks_dw_pcie_* and some function names begin with ks_pcie_*. Modify it so that all function names begin with ks_pcie_*. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 221 +++--- 1 file chan

Re: [PATCH 4.18 101/135] hv_netvsc: pair VF based on serial number

2018-10-17 Thread Greg Kroah-Hartman
On Tue, Oct 16, 2018 at 07:13:12PM +, Haiyang Zhang wrote: > > > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org > ow...@vger.kernel.org> On Behalf Of Greg Kroah-Hartman > > Sent: Tuesday, October 16, 2018 1:06 PM > > To: linux-kernel@vger.kernel.org > > Cc: Greg Kr

RE: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-17 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Wednesday, October 17, 2018 1:00 PM > To: Yogesh Narayan Gaur > Cc: Cyrille Pitchen ; Tudor Ambarus > ; marek.va...@gmail.com; > dw...@infradead.org; computersforpe...@gmail.com; rich...@no

Re: [PATCH 4.18 079/135] Add tests for memory.oom.group

2018-10-17 Thread Greg Kroah-Hartman
On Tue, Oct 16, 2018 at 07:39:10PM +, Roman Gushchin wrote: > On Tue, Oct 16, 2018 at 07:05:09PM +0200, Greg Kroah-Hartman wrote: > > 4.18-stable review patch. If anyone has any objections, please let me know. > > Memory.oom.group has been merged into 4.19, so the test will fail on 4.18. > I

Re: [PATCH 4.18 000/135] 4.18.15-stable review

2018-10-17 Thread Greg Kroah-Hartman
On Tue, Oct 16, 2018 at 08:33:42PM +0200, Holger Hoffstätte wrote: > On 10/16/18 19:03, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.18.15 release. > > Gave this a try since I have r8169 NICs. Applied over .14 and now running > on three different machines. N

Re: [PATCH 4.9 00/71] 4.9.134-stable review

2018-10-17 Thread Greg Kroah-Hartman
On Wed, Oct 17, 2018 at 12:50:42PM +0530, Amit Pundir wrote: > Hi, > > On Tue, 16 Oct 2018 at 22:52, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.9.134 release. > > There are 71 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 4.14 000/109] 4.14.77-stable review

2018-10-17 Thread Greg Kroah-Hartman
On Tue, Oct 16, 2018 at 10:56:42PM -0500, Dan Rue wrote: > On Tue, Oct 16, 2018 at 07:04:28PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.77 release. > > There are 109 patches in this series, all will be posted as a response > > to this one. If an

Re: [RFC][PATCHv2 2/4] printk: move printk_safe macros to printk header

2018-10-17 Thread Peter Zijlstra
On Wed, Oct 17, 2018 at 01:32:51PM +0900, Sergey Senozhatsky wrote: > This probably will be a bit more hairy. logbuf is written to by many > sources and is read from by many sides, including user-space [both read() > and write()]. So we will need more flags/magic around memcpy(). A simple, > "grab

Re: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-17 Thread Tudor Ambarus
Hi, Yogesh, On 10/17/2018 10:46 AM, Yogesh Narayan Gaur wrote: > Hi Boris, > >> -Original Message- >> From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] >> Sent: Wednesday, October 17, 2018 1:00 PM >> To: Yogesh Narayan Gaur >> Cc: Cyrille Pitchen ; Tudor Ambarus >> ; marek.va...

Re: [PATCH v4 3/3] iio: magnetometer: Add driver support for PNI RM3100

2018-10-17 Thread Song Qiang
On 2018/10/12 下午8:53, Himanshu Jha wrote: Hi Qiang, On Fri, Oct 12, 2018 at 04:36:01PM +0800, Song Qiang wrote: On 2018年10月12日 15:35, Song Qiang wrote: PNI RM3100 is a high resolution, large signal immunity magnetometer, composed of 3 single sensors and a processing chip with a MagI2C inter

[PATCH] kmemleak: Add config to select auto scan

2018-10-17 Thread Prateek Patel
From: Sri Krishna chowdary Kmemleak scan is cpu intensive and can stall user tasks at times. To prevent this, add config DEBUG_KMEMLEAK_SCAN_ON to enable/disable auto scan on boot up. Also protect first_run with CONFIG_DEBUG_KMEMLEAK_SCAN_ON as this is meant for only first automatic scan. Signed

Re: [PATCH 1/4] Adds -Wshadow=local on KBUILD_HOSTCFLAGS

2018-10-17 Thread Borislav Petkov
On Tue, Oct 16, 2018 at 09:08:09PM -0300, Leonardo Brás wrote: > Adds -Wshadow=local on KBUILD_HOSTCFLAGS to show shadow warnings > on tools built for HOST. > > Signed-off-by: Leonardo Brás > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Make

[PATCH] staging: rtl8723bs: Fix the return value in case of error in 'rtw_wx_read32()'

2018-10-17 Thread Christophe JAILLET
We return 0 unconditionally in 'rtw_wx_read32()'. However, 'ret' is set to some error codes in several error handling paths. Return 'ret' instead to propagate the error code. Fixes: 554c0a3abf216 ("staging: Add rtl8723bs sdio wifi driver") Signed-off-by: Christophe JAILLET --- drivers/staging/r

Re: [PATCH v7 1/7] mm, devm_memremap_pages: Mark devm_memremap_pages() EXPORT_SYMBOL_GPL

2018-10-17 Thread Michal Hocko
On Fri 12-10-18 10:49:37, Dan Williams wrote: > devm_memremap_pages() is a facility that can create struct page entries > for any arbitrary range and give drivers the ability to subvert core > aspects of page management. > > Specifically the facility is tightly integrated with the kernel's memory

Re: [PATCH V2 0/5] arm64/mm: Enable HugeTLB migration

2018-10-17 Thread Anshuman Khandual
On 10/12/2018 09:29 AM, Anshuman Khandual wrote: > This patch series enables HugeTLB migration support for all supported > huge page sizes at all levels including contiguous bit implementation. > Following HugeTLB migration support matrix has been enabled with this > patch series. All permutatio

Re: [PATCH v3 1/1] serial: imx - Add dma buffer confugration via sysfs

2018-10-17 Thread Fabien Lahoudere
Hi Greg, On Mon, 2018-10-15 at 16:01 +0200, Greg KH wrote: > On Thu, Oct 11, 2018 at 11:25:03AM +0200, Fabien Lahoudere wrote: > > In order to optimize serial communication on imx53 and imx6, we may > > need to tweak DMA period and buffer length per period. > > Why can you not just automatically

RE: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-17 Thread Yogesh Narayan Gaur
Hi Tudor, > -Original Message- > From: Tudor Ambarus [mailto:tudor.amba...@microchip.com] > Sent: Wednesday, October 17, 2018 1:31 PM > To: Yogesh Narayan Gaur ; Boris Brezillon > > Cc: Cyrille Pitchen ; marek.va...@gmail.com; > dw...@infradead.org; computersforpe...@gmail.com; rich...@no

Re: [PATCH 1/4] Adds -Wshadow=local on KBUILD_HOSTCFLAGS

2018-10-17 Thread Masahiro Yamada
On Wed, Oct 17, 2018 at 5:11 PM Borislav Petkov wrote: > > On Tue, Oct 16, 2018 at 09:08:09PM -0300, Leonardo Brás wrote: > > Adds -Wshadow=local on KBUILD_HOSTCFLAGS to show shadow warnings > > on tools built for HOST. > > > > Signed-off-by: Leonardo Brás > > --- > > Makefile | 2 +- > > 1 file

Re: [PATCH] KVM: VMX: enable nested virtualization by default

2018-10-17 Thread Wincy Van
On Wed, Oct 17, 2018 at 6:57 AM Paolo Bonzini wrote: > > With live migration support and finally a good solution for CR2/DR6 > exception payloads, nested VMX should finally be ready for having a stable > userspace ABI. The results of syzkaller fuzzing are not perfect but not > horrible either (an

Re: perf's handling of unfindable user symbols...

2018-10-17 Thread Masami Hiramatsu
On Tue, 16 Oct 2018 15:45:06 -0300 Arnaldo Carvalho de Melo wrote: > > So, I thought something had changed and in the past we would somehow > find that address in the kallsyms, but I couldn't find anything to back > that up, the patch introducing this is over a decade old, lots of things > chang

[PATCH] code-of-conduct: Remove explicit list of discrimination factors

2018-10-17 Thread Geert Uytterhoeven
Providing an explicit list of discrimination factors may give the false impression that discrimination based on other unlisted factors would be allowed. Avoid any ambiguity by removing the list, to ensure "a harassment-free experience for everyone", period. Fixes: 8a104f8b5867c682 ("Code of Condu

[PATCH v2] code-of-conduct: Remove explicit list of discrimination factors

2018-10-17 Thread Geert Uytterhoeven
Providing an explicit list of discrimination factors may give the false impression that discrimination based on other unlisted factors would be allowed. Avoid any ambiguity by removing the list, to ensure "a harassment-free experience for everyone", period. Fixes: 8a104f8b5867c682 ("Code of Condu

Re: [PATCH V13 0/4] C-SKY(csky) Linux Intc Driver

2018-10-17 Thread Marc Zyngier
Hi Guo, On 17/10/18 02:55, Guo Ren wrote: > Hi Marc, > > On Tue, Oct 16, 2018 at 03:41:05PM +0100, Marc Zyngier wrote: >> Guo, >> >> On 16/10/18 15:08, Guo Ren wrote: >>> This is about 13th patchset for C-SKY linux intc drivers and it should pair >>> with 9th kernel patchset. Timer drivers are se

Re: [PATCH 1/4] Adds -Wshadow=local on KBUILD_HOSTCFLAGS

2018-10-17 Thread Borislav Petkov
On Wed, Oct 17, 2018 at 05:21:01PM +0900, Masahiro Yamada wrote: > scripts/Makefile.extrawarn provides options for the target compiler (CC), > whereas this patch adds -Wshadow=local for the host compiler (HOSTCC). Aha, this wants to fix shadowing for the host tools, ok. Next question: why not -Ws

Re: [PATCH v1 1/5] dt-bindings: cpufreq: Add binding for NVIDIA Tegra20/30

2018-10-17 Thread Jon Hunter
On 30/08/2018 20:43, Dmitry Osipenko wrote: > Add device-tree binding that describes CPU frequency-scaling hardware > found on NVIDIA Tegra20/30 SoC's. > > Signed-off-by: Dmitry Osipenko > --- > .../cpufreq/nvidia,tegra20-cpufreq.txt| 38 +++ > 1 file changed, 38 insert

Re: [PATCH] xfs: Fix error code in 'xfs_ioc_getbmap()'

2018-10-17 Thread Christoph Hellwig
On Wed, Oct 17, 2018 at 08:21:38AM +0200, Christophe JAILLET wrote: > In this function, once 'buf' has been allocated, we unconditionally > return 0. > However, 'error' is set to some error codes in several error handling > paths. > Before commit 232b51948b99 ("xfs: simplify the xfs_getbmap interfa

Re: rcu: Kernel stack is corrupted in: perf_trace_rcu_dyntick

2018-10-17 Thread Phy Bio
I will be very happy, if the source code can help you analyze this problem. The source code is in the following: #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include un

Re: Bad MAINTAINERS pattern in section 'USER-MODE LINUX (UML)'

2018-10-17 Thread Richard Weinberger
Joe, On Sat, Sep 29, 2018 at 12:06 AM Joe Perches wrote: > > Please fix this defect appropriately. Care to send a patch? -- Thanks, //richard

Re: [mm PATCH v3 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-17 Thread Michal Hocko
On Mon 15-10-18 13:26:56, Alexander Duyck wrote: > This change makes it so that we use the same approach that was already in > use on Sparc on all the archtectures that support a 64b long. > > This is mostly motivated by the fact that 8 to 10 store/move instructions > are likely always going to be

Re: [PATCH v1 2/5] cpufreq: tegra20: Support OPP, thermal cooling and Tegra30

2018-10-17 Thread Jon Hunter
On 30/08/2018 20:43, Dmitry Osipenko wrote: > Add support for thermal throttling and Operating Performance Points. > Driver now relies on OPP's supplied via device tree and therefore will > work only on devices that use the updated device tree. The generalization > of the driver allows to transpa

Re: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-17 Thread Boris Brezillon
On Wed, 17 Oct 2018 08:20:19 + Yogesh Narayan Gaur wrote: > Hi Tudor, > > > -Original Message- > > From: Tudor Ambarus [mailto:tudor.amba...@microchip.com] > > Sent: Wednesday, October 17, 2018 1:31 PM > > To: Yogesh Narayan Gaur ; Boris Brezillon > > > > Cc: Cyrille Pitchen ; marek

Re: [PATCH v1 3/5] ARM: tegra: Create tegra20-cpufreq device on Tegra30

2018-10-17 Thread Jon Hunter
On 30/08/2018 20:43, Dmitry Osipenko wrote: > Tegra20-cpufreq driver require a platform device in order to be loaded, > instantiate a simple platform device for the driver during of the machines > late initialization. Driver now supports Tegra30 SoC's, hence create the > device on Tegra30 machine

Re: [PATCH v1 1/3] clk: tegra: Convert CCLKG mux to mux + clock divider on Tegra30

2018-10-17 Thread Jon Hunter
On 30/08/2018 20:20, Dmitry Osipenko wrote: > Some of the CCLKG parents aren't accessible via device tree because they > are created as non-DT clocks. Apparently there is no reason to define > these clocks in that manner, hence convert CCLKG mux to mux + clock > divider to remove the non-DT paren

Re: rdma-core doesn't install driver.h, broke libibscif

2018-10-17 Thread Christoph Hellwig
On Mon, Oct 15, 2018 at 05:53:44PM +, Woodruff, Robert J wrote: > James Harvey wrote, > > >Short: Is libibscif dead, and should OS repositories remove it? > > Libibscif is for an old product, Intel's KNC, that is no longer sold and the > S/W is frozen. The open source libibscif is no longer

[PATCH v3] staging: nrf24: add new driver for 2.4GHz radio transceiver

2018-10-17 Thread Marcin Ciupak
This patch adds driver for Nordic Semiconductor nRF24L01+ radio transceiver. Signed-off-by: Marcin Ciupak --- Changes in v2: - add terminating newlines to all logging formats Changes in v3: - patch subject - comments cleanup - goto labels cleanup - scnprintf bugfix - ida_simple_remove

Re: [[PATCH] 8/9] DMA-UART-Driver-for-AST2500

2018-10-17 Thread Benjamin Herrenschmidt
On Wed, 2018-10-17 at 11:35 +0530, Vinod wrote: > On 17-10-18, 09:41, sudheer.v wrote: > > Please add the change log describing the driver and its features > > > Signed-off-by: sudheer.v > > > > --- > > drivers/tty/serial/8250/8250_aspeed_uart_dma.c | 1594 > > > > 1

[PATCH v2 1/3] driver core: add probe_err log helper

2018-10-17 Thread Andrzej Hajda
During probe every time driver gets resource it should usually check for error printk some message if it is not -EPROBE_DEFER and return the error. This pattern is simple but requires adding few lines after any resource acquisition code, as a result it is often omited or implemented only partially.

[PATCH v2] shmem, drm/i915: mark pinned shmemfs pages as unevictable

2018-10-17 Thread Kuo-Hsin Yang
The i915 driver uses shmemfs to allocate backing storage for gem objects. These shmemfs pages can be pinned (increased ref count) by shmem_read_mapping_page_gfp(). When a lot of pages are pinned, vmscan wastes a lot of time scanning these pinned pages. In some extreme case, all pages in the inactiv

Re: [PATCH v1 2/3] clk: tegra: Add more rates to Tegra30 PLLX frequency table

2018-10-17 Thread Jon Hunter
On 30/08/2018 20:20, Dmitry Osipenko wrote: > Add more predefined rates to the PLLX table, allowing to lower the rate > down to 312MHz. This gives more variations of frequency selection to the > CPUFREQ driver. If these tables are pulled from some other NVIDIA kernel or a particular document, I

Re: [PATCH 1/2] ARM: copypage-fa: add kto and kfrom to input operands list

2018-10-17 Thread Arnd Bergmann
On Tue, Oct 16, 2018 at 10:43 PM Nicolas Pitre wrote: > On Tue, 16 Oct 2018, Russell King - ARM Linux wrote: > > On Tue, Oct 16, 2018 at 10:00:19AM +0200, Linus Walleij wrote: > > > On Tue, Oct 16, 2018 at 12:16 AM Stefan Agner wrote: > > It's not obvious yet whether this is right - it contradict

Re: [RFC][PATCH] perf: Rewrite core context handling

2018-10-17 Thread Alexey Budankov
Hi, On 10.10.2018 13:45, Peter Zijlstra wrote: > -static bool perf_rotate_context(struct perf_cpu_context *cpuctx) > +/* > + * XXX somewhat completely buggered; this is in cpu_pmu_context, but we need > + * event_pmu_context for rotations. We also need event_pmu_context specific > + * scheduling

[PATCH 0/1] ACPI / scan: Create platform device for INT33FE ACPI nodes

2018-10-17 Thread Hans de Goede
Hi Rafael, Andy, For the why and what of this patch see the (somewhat long) commit message. The single patch in this set both touches drivers/acpi/scan.c and drivers/platform/x86/intel_cht_int33fe.c, this is done this way to avoid regressions when bisecting. The main change here really is to ACP

[PATCH] ACPI / scan: Create platform device for INT33FE ACPI nodes

2018-10-17 Thread Hans de Goede
Bay and Cherry Trail devices with a Dollar Cove or Whiskey Cove PMIC have an ACPI node with a HID of INT33FE which is a "virtual" battery device implementing a standard ACPI battery interface which depends upon a proprietary, undocument OpRegion called BMOP. Since we do have docs for the actual fue

Re: [PATCH 3/3] kbuild: check the presence of lzo and lz4 tools when necessary

2018-10-17 Thread Masahiro Yamada
On Wed, Oct 17, 2018 at 4:56 AM Borislav Petkov wrote: > > On Tue, Oct 16, 2018 at 06:10:53PM +0900, Masahiro Yamada wrote: > > If CONFIG_KERNEL_LZ4 is enabled without lz4 tool installed on the > > system, the build fails at the very last stage (reported by > > Borislav Petkov [1]). > > > > LZO

[PATCH v2 2/3] driver core: add deferring probe reason to devices_deferred property

2018-10-17 Thread Andrzej Hajda
/sys/kernel/debug/devices_deferred property contains list of deferred devices. This list does not contain reason why the driver deferred probe, the patch improves it. The natural place to set the reason is probe_err function introduced recently, ie. if probe_err will be called with -EPROBE_DEFER in

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-17 Thread Mel Gorman
On Tue, Oct 16, 2018 at 03:37:15PM -0700, Andrew Morton wrote: > On Tue, 16 Oct 2018 08:46:06 +0100 Mel Gorman wrote: > > I consider this to be an unfortunate outcome. On the one hand, we have a > > problem that three people can trivially reproduce with known test cases > > and a patch shown to re

Re: [mm PATCH v3 2/6] mm: Drop meminit_pfn_in_nid as it is redundant

2018-10-17 Thread Michal Hocko
On Mon 15-10-18 13:27:03, Alexander Duyck wrote: > As best as I can tell the meminit_pfn_in_nid call is completely redundant. > The deferred memory initialization is already making use of > for_each_free_mem_range which in turn will call into __next_mem_range which > will only return a memory range

[PATCH] [ALTERNATIVE] ARM: fix copypage functions for clang

2018-10-17 Thread Arnd Bergmann
clang points out that a naked function should not pass the function arguments into the inline assembly: arch/arm/mm/copypage-feroceon.c:67:9: error: parameter references not allowed in naked functions arch/arm/mm/copypage-v4mc.c:64:9: error: parameter references not allowed in naked functions ar

Re: [PATCH] x86: modify inline asm constraints in __cmpxchg_double()

2018-10-17 Thread Juergen Gross
On 16/10/2018 10:01, Ingo Molnar wrote: > > * Juergen Gross wrote: > >> On 16/10/2018 08:25, Ingo Molnar wrote: >>> >>> * Juergen Gross wrote: >>> Some gcc versions seem to have problems with the constraints in __cmpxchg_double() as they suddenly issue a build error when random p

[tip:x86/urgent] x86/fpu: Remove second definition of fpu in __fpu__restore_sig()

2018-10-17 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 5ac33bcb25ad30200c4e6d11802e9e7664463529 Gitweb: https://git.kernel.org/tip/5ac33bcb25ad30200c4e6d11802e9e7664463529 Author: Sebastian Andrzej Siewior AuthorDate: Tue, 16 Oct 2018 22:25:24 +0200 Committer: Ingo Molnar CommitDate: Wed, 17 Oct 2018 08:07:41 +0200 x86/fpu: Remo

Re: [PATCH 3/3] drivers: use probe_err function in obvious cases

2018-10-17 Thread Andrzej Hajda
On 16.10.2018 15:51, Andy Shevchenko wrote: > On Tue, Oct 16, 2018 at 10:22 AM Andrzej Hajda wrote: >> The patch replaces obviously matching code with probe_err function. >> There are many more places where probe_err could be used. >> The patch shows how the new function should be used, and how it

Re: [PATCH 3/3] kbuild: check the presence of lzo and lz4 tools when necessary

2018-10-17 Thread Borislav Petkov
On Wed, Oct 17, 2018 at 05:59:02PM +0900, Masahiro Yamada wrote: > > DESCEND objtool > > CALLscripts/checksyscalls.sh > > CHK include/generated/compile.h > > Building modules, stage 2. > > CC arch/x86/boot/compressed/misc.o > > LZ4 arch/x86/boot/compressed/vmlinux.bin.

[tip:sched/core] sched/completions/Documentation: Add recommendation for dynamic and ONSTACK completions

2018-10-17 Thread tip-bot for Nicholas Mc Guire
Commit-ID: 11e13696a08e838ba48c72404c2b3f41429b5b20 Gitweb: https://git.kernel.org/tip/11e13696a08e838ba48c72404c2b3f41429b5b20 Author: Nicholas Mc Guire AuthorDate: Tue, 16 Oct 2018 15:45:39 +0200 Committer: Ingo Molnar CommitDate: Wed, 17 Oct 2018 08:30:10 +0200 sched/completions/Doc

[tip:x86/urgent] x86/fpu: Fix i486 + no387 boot crash by only saving FPU registers on context switch if there is an FPU

2018-10-17 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: eb4c6255bd6b0a4d3a7daf4f05e3c7a91eed74bf Gitweb: https://git.kernel.org/tip/eb4c6255bd6b0a4d3a7daf4f05e3c7a91eed74bf Author: Sebastian Andrzej Siewior AuthorDate: Tue, 16 Oct 2018 22:25:25 +0200 Committer: Ingo Molnar CommitDate: Wed, 17 Oct 2018 08:07:51 +0200 x86/fpu: Fix

Re: [mm PATCH v3 3/6] mm: Use memblock/zone specific iterator for handling deferred page init

2018-10-17 Thread Michal Hocko
On Mon 15-10-18 13:27:09, Alexander Duyck wrote: > This patch introduces a new iterator for_each_free_mem_pfn_range_in_zone. > > This iterator will take care of making sure a given memory range provided > is in fact contained within a zone. It takes are of all the bounds checking > we were doing i

Re: [patch] mm, slab: avoid high-order slab pages when it does not reduce waste

2018-10-17 Thread Vlastimil Babka
On 10/16/18 5:17 PM, Christopher Lameter wrote: >> I'm not necessarily approaching this from a performance point of view, but >> rather as a means to reduce slab fragmentation when fallback to order-0 >> memory, especially when completely legitimate, is prohibited. From a >> performance standpoint

[tip:locking/core] locking/qspinlock_stat: Count instances of nested lock slowpaths

2018-10-17 Thread tip-bot for Waiman Long
Commit-ID: 1222109a53637f96c581224198b86856d503f892 Gitweb: https://git.kernel.org/tip/1222109a53637f96c581224198b86856d503f892 Author: Waiman Long AuthorDate: Tue, 16 Oct 2018 09:45:06 -0400 Committer: Ingo Molnar CommitDate: Wed, 17 Oct 2018 08:37:31 +0200 locking/qspinlock_stat: Cou

[tip:locking/core] locking/pvqspinlock: Extend node size when pvqspinlock is configured

2018-10-17 Thread tip-bot for Waiman Long
Commit-ID: 0fa809ca7f81c47bea6706bc689e941eb25d7e89 Gitweb: https://git.kernel.org/tip/0fa809ca7f81c47bea6706bc689e941eb25d7e89 Author: Waiman Long AuthorDate: Tue, 16 Oct 2018 09:45:07 -0400 Committer: Ingo Molnar CommitDate: Wed, 17 Oct 2018 08:37:32 +0200 locking/pvqspinlock: Extend

Re: [Ksummit-discuss] [PATCH] code-of-conduct: Remove explicit list of discrimination factors

2018-10-17 Thread Josh Triplett
On Wed, Oct 17, 2018 at 09:19:01AM +0200, Geert Uytterhoeven wrote: > Providing an explicit list of discrimination factors may give the false > impression that discrimination based on other unlisted factors would be > allowed. This impression is, in fact, false, as has already been discussed elsew

Re: [PATCH v3 1/2] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-10-17 Thread Cyrille Pitchen
Hi Yogesh, Tudor, Le 17/10/2018 à 04:07, Yogesh Narayan Gaur a écrit : > Hi Tudor, > >> -Original Message- >> From: Cyrille Pitchen [mailto:cyrille.pitc...@wedev4u.fr] >> Sent: Tuesday, October 16, 2018 10:04 PM >> To: Tudor Ambarus ; Yogesh Narayan Gaur >> ; marek.va...@gmail.com; >> dw.

Re: [PATCH v2 3/3] thermal: da9062/61: Prevent hardware access during system suspend

2018-10-17 Thread Geert Uytterhoeven
Hi Steve, On Wed, Oct 17, 2018 at 10:57 AM Steve Twiss wrote: > On 12 October 2018 08:20 Geert Uytterhoeven wrote: > > Subject: [PATCH v2 3/3] thermal: da9062/61: Prevent hardware access during > > system suspend > > > > The workqueue used for monitoring the hardware may run while the device > >

  1   2   3   4   5   6   7   8   9   >