Re: [RFC PATCH] mm, memory_hotplug: do not clear numa_node association after hot_remove

2018-11-08 Thread Michal Hocko
On Fri 09-11-18 09:12:09, Anshuman Khandual wrote: > > > On 11/08/2018 03:59 PM, Michal Hocko wrote: > > [Removing Wen Congyang and Tang Chen from the CC list because their > > emails bounce. It seems that we will never learn about their motivation] > > > > On Thu 08-11-18 11:04:13, Michal Hock

Re: [PATCH 07/10] irqchip/gic-v3-its: Split probing from its node initialization

2018-11-08 Thread Richter, Robert
On 08.11.18 11:25:24, Julien Thierry wrote: > On 07/11/18 22:03, Robert Richter wrote: > >-static int its_init_domain(struct fwnode_handle *handle, struct its_node > >*its) > >+static int its_init_domain(struct its_node *its) > > { > > struct irq_domain *inner_domain; > > struct msi_do

RE: [PATCH] freezer: fix freeze timeout on exec

2018-11-08 Thread Chanho Min
> > > > Can't we simply change de_thread() to use freezable_schedule() ? > > > > Oleg. > > We need to change freezable_schedule_timeout() instead. > freezable_schedule also can't be frozen if sub-threads can't stop > schedule(). > Furthermore, I'm not sure if it is safe to freeze it at de_thread()

Re: [PATCH RFC 0/3] Static calls

2018-11-08 Thread Ingo Molnar
* Ingo Molnar wrote: > > - Does this feature have much value without retpolines? If not, should > > we make it depend on retpolines somehow? > > Paravirt patching, as you mention in your later reply? BTW., to look for candidates of this API, I'd suggest looking at the function call freque

Re: [PATCH 4.14 01/31] eeprom: at24: Add support for address-width property

2018-11-08 Thread Bartosz Golaszewski
czw., 8 lis 2018 o 23:08 Greg Kroah-Hartman napisał(a): > > 4.14-stable review patch. If anyone has any objections, please let me know. > Hi Greg, this looks like a new feature, not a fix. Are you sure this should go into the stable branch? Best regards, Bartosz Golaszewski >

[PATCH] greybus: gpio: switch GPIO portions to use GPIOLIB_IRQCHIP

2018-11-08 Thread Nishad Kamdar
Convert the GPIO driver to use the GPIO irqchip library GPIOLIB_IRQCHIP instead of reimplementing the same. Signed-off-by: Nishad Kamdar --- drivers/staging/greybus/Kconfig | 1 + drivers/staging/greybus/gpio.c | 123 ++-- 2 files changed, 21 insertions(+), 103 del

Re: [PATCH v3 0/3] Huawei laptops

2018-11-08 Thread Takashi Iwai
On Thu, 08 Nov 2018 20:59:45 +0100, Andy Shevchenko wrote: > > On Thu, Nov 8, 2018 at 7:17 PM Ayman Bagabas wrote: > > Is it supposed to go via PDx86 or ALSA tree? I don't mind either way. The addition in platform is more significant, so I suppose you can take it more easily. thanks, Takash

[PATCH v3 4/4] staging: iio: ad7816: Add device tree table.

2018-11-08 Thread Nishad Kamdar
Add device tree table for matching vendor ID. Signed-off-by: Nishad Kamdar --- drivers/staging/iio/adc/ad7816.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/staging/iio/adc/ad7816.c b/drivers/staging/iio/adc/ad7816.c index a2fead85cd46..b8a9149fbac1 100644 --- a/drivers/sta

[PATCH v3 3/4] staging: iio: ad7816: Set RD/WR pin and CONVST pin as outputs.

2018-11-08 Thread Nishad Kamdar
The RD/WR pin and CONVST pin are logical inputs to the AD78xx chip as per the datasheet. Hence convert them to outputs. Signed-off-by: Nishad Kamdar --- drivers/staging/iio/adc/ad7816.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/iio/adc/ad7816.c b/dr

[PATCH v3 2/4] staging: iio: ad7816: Do not use busy_pin in case of AD7818

2018-11-08 Thread Nishad Kamdar
AD7818 does not support busy_pin functionality as per datasheet. Hence drop busy_pin when AD7818 is used. Signed-off-by: Nishad Kamdar --- drivers/staging/iio/adc/ad7816.c | 35 ++-- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/drivers/staging/iio/a

[PATCH v3 1/4] staging: iio: ad7816: Switch to the gpio descriptor interface

2018-11-08 Thread Nishad Kamdar
Use the gpiod interface for rdwr_pin, convert_pin and busy_pin instead of the deprecated old non-descriptor interface. Signed-off-by: Nishad Kamdar --- drivers/staging/iio/adc/ad7816.c | 80 ++-- 1 file changed, 34 insertions(+), 46 deletions(-) diff --git a/drivers/

[PATCH v3 0/4] staging: iio: ad7816: Switch to the gpio descriptor interface

2018-11-08 Thread Nishad Kamdar
Changes in v4: - Drop busy pin in case of AD7818. - Set RD/WR pin and CONVST pin as outputs. - Add device tree table. Nishad Kamdar (4): staging: iio: ad7816: Switch to the gpio descriptor interface staging: iio: ad7816: Do not use busy_pin in case of AD7818 staging: iio: ad7816: Set RD/W

Re: [PATCH RFC 0/3] Static calls

2018-11-08 Thread Ingo Molnar
* Josh Poimboeuf wrote: > These patches are related to two similar patch sets from Ard and Steve: > > - https://lkml.kernel.org/r/20181005081333.15018-1-ard.biesheu...@linaro.org > - https://lkml.kernel.org/r/20181006015110.653946...@goodmis.org > > The code is also heavily inspired by the ju

Re: [PATCH v1 2/4] thermal: tegra: remove unnecessary warnings

2018-11-08 Thread Wei Ni
On 8/11/2018 8:47 PM, Thierry Reding wrote: > On Mon, Nov 05, 2018 at 05:32:32PM +0800, Wei Ni wrote: >> Convert warnings to info as not all platforms may >> have all the thresholds and sensors enabled. >> >> Signed-off-by: Wei Ni >> --- >> drivers/thermal/tegra/soctherm.c | 6 +++--- >> 1 fil

[GIT PULL] s390 patches for 4.20 #2

2018-11-08 Thread Martin Schwidefsky
Hi Linus, please pull s390 fixes for 4.20-rc2 The following changes since commit e5f6d9afa3415104e402cd69288bb03f7165eeba: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (2018-10-25 18:14:31 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux

Re: RFC: userspace exception fixups

2018-11-08 Thread Christoph Hellwig
On Thu, Nov 08, 2018 at 12:05:42PM -0800, Andy Lutomirski wrote: > This whole thing is a mess. I'm starting to think that the cleanest > solution would be to provide a way to just tell the kernel that > certain RIP values have exception fixups. The bay far cleanest solution would be to say that S

[PATCH] of: reserved_mem: disable kmemleak scan on removed memory blocks

2018-11-08 Thread Prateek Patel
From: Sri Krishna chowdary Memory reserved with "nomap" DT property in of_reserved_mem.c removes the memory block. The removed memory blocks don't have VA to PA mapping created in kernel page table. Kmemleak scan on removed memory blocks is causing page faults and leading to kernel panic. So, Dis

[PATCH v6 7/9] EDAC: Add missing debugfs_create_x32 wrapper

2018-11-08 Thread Chris Packham
From: Jan Luebbe We already have wrappers for x8 and x16, so add the missing x32 one. Signed-off-by: Jan Luebbe Reviewed-by: Borislav Petkov Signed-off-by: Chris Packham --- drivers/edac/debugfs.c | 11 +++ drivers/edac/edac_module.h | 5 + 2 files changed, 16 insertions(+)

[PATCH v6 3/9] ARM: aurora-l2: add defines for parity and ECC registers

2018-11-08 Thread Chris Packham
From: Jan Luebbe These defines will be used by subsequent patches to add support for the parity check and error correction functionality in the Aurora L2 cache controller. Signed-off-by: Jan Luebbe Signed-off-by: Chris Packham --- .../include/asm/hardware/cache-aurora-l2.h| 48 +++

[PATCH v6 1/9] ARM: l2c: move cache-aurora-l2.h to asm/hardware

2018-11-08 Thread Chris Packham
From: Jan Luebbe This include file will be used by the AURORA EDAC code. Signed-off-by: Jan Luebbe Reviewed-by: Gregory CLEMENT Signed-off-by: Chris Packham --- arch/arm/{mm => include/asm/hardware}/cache-aurora-l2.h | 0 arch/arm/mm/cache-l2x0.c| 2 +- 2 file

[PATCH v6 6/9] ARM: l2x0: add marvell,ecc-enable property for aurora

2018-11-08 Thread Chris Packham
The aurora cache on the Marvell Armada-XP SoC supports ECC protection for the L2 data arrays. Add a "marvell,ecc-enable" device tree property which can be used to enable this. Signed-off-by: Chris Packham [j...@pengutronix.de: use aurora specific define AURORA_ACR_ECC_EN] Signed-off-by: Jan Luebb

[PATCH v6 8/9] EDAC: Add driver for the Marvell Armada XP SDRAM and L2 cache ECC

2018-11-08 Thread Chris Packham
From: Jan Luebbe Add support for the ECC functionality as found in the DDR RAM and L2 cache controllers on the MV78230/MV78x60 SoCs. This driver has been tested on the MV78460 (on a custom board with a DDR3 ECC DIMM). Signed-off-by: Jan Luebbe [cp use SPDX license] Signed-off-by: Chris Packham

[PATCH v6 4/9] ARM: l2x0: support parity-enable/disable on aurora

2018-11-08 Thread Chris Packham
The aurora cache on the Marvell Armada-XP SoC supports the same tag parity features as the other l2x0 cache implementations. Signed-off-by: Chris Packham [j...@pengutronix.de: use aurora specific define AURORA_ACR_PARITY_EN] Signed-off-by: Jan Luebbe --- arch/arm/mm/cache-l2x0.c | 7 +++ 1

[PATCH v6 9/9] EDAC: armada_xp: Add support for more SoCs

2018-11-08 Thread Chris Packham
The Armada 38x and other integrated SoCs use a reduced pin count so the width of the SDRAM interface is smaller than the Armada XP SoCs. This means that the definition of "full" and "half" width is reduced from 64/32 to 32/16. Signed-off-by: Chris Packham --- drivers/edac/armada_xp_edac.c | 5 ++

[PATCH v6 5/9] dt-bindings: ARM: document marvell,ecc-enable binding

2018-11-08 Thread Chris Packham
Add documentation for the marvell,ecc-enable and marvell,ecc-disable properties which can be used to enable/disable ECC on the Marvell aurora cache. Signed-off-by: Chris Packham --- Notes: Changes in v6: - new (split binding doc from implementation). Documentation/devicetree/bindings/a

[PATCH v6 0/9] EDAC drivers for Armada XP L2 and DDR

2018-11-08 Thread Chris Packham
The current plan is for these to go in via the ARM tree once appropriate Reviews/Acks have been given http://lists.infradead.org/pipermail/linux-arm-kernel/2017-August/525561.html This series adds drivers for the L2 cache and DDR RAM ECC functionality as found on the MV78230/MV78x60 SoCs. Jan has

[PATCH v6 2/9] ARM: aurora-l2: add prefix to MAX_RANGE_SIZE

2018-11-08 Thread Chris Packham
From: Jan Luebbe The macro name is too generic, so add a AURORA_ prefix. Signed-off-by: Jan Luebbe Reviewed-by: Gregory CLEMENT Signed-off-by: Chris Packham --- arch/arm/include/asm/hardware/cache-aurora-l2.h | 2 +- arch/arm/mm/cache-l2x0.c| 4 ++-- 2 files changed,

Re: [PATCH 2/2] phy: qualcomm: Add Synopsys High-Speed USB PHY driver

2018-11-08 Thread Shawn Guo
On Fri, Nov 09, 2018 at 10:52:17AM +0530, Vinod Koul wrote: > On 08-11-18, 15:04, Shawn Guo wrote: > > +static int qcom_snps_hsphy_config_regulators(struct hsphy_priv *priv, int > > high) > > +{ > > + int min, ret, i; > > + > > + min = high ? 1 : 0; /* low or none? */ > > + > > + for (i = 0;

[RFC PATCH] mm: thp: implement THP reservations for anonymous memory

2018-11-08 Thread Anthony Yznaga
When the THP enabled policy is "always", or the mode is "madvise" and a region is marked as MADV_HUGEPAGE, a hugepage is allocated on a page fault if the PMD is empty. This yields the best VA translation performance but increases memory consumption if a significant part of the huge page is never a

[RFC][PATCH v1 03/11] mm: move definition of num_poisoned_pages_inc/dec to include/linux/mm.h

2018-11-08 Thread Naoya Horiguchi
num_poisoned_pages_inc/dec had better be visible to some file like mm/sparse.c and mm/page_alloc.c (for a subsequent patch). So let's move it to include/linux/mm.h. Signed-off-by: Naoya Horiguchi --- include/linux/mm.h | 13 - include/linux/swapops.h | 16 mm/sp

Re: 4.14 backport request for dbdda842fe96f: "printk: Add console owner and waiter logic to load balance console writes"

2018-11-08 Thread Sergey Senozhatsky
On (11/01/18 09:05), Daniel Wang wrote: > > Another deadlock scenario could be the following one: > > > > printk() > > console_trylock() > > down_trylock() > >raw_spin_lock_irqsave(&sem->lock, flags) > > > > panic() > >

[RFC][PATCH v1 02/11] mm: soft-offline: add missing error check of set_hwpoison_free_buddy_page()

2018-11-08 Thread Naoya Horiguchi
set_hwpoison_free_buddy_page() could fail, then the target page is finally not isolated, so it's better to report -EBUSY for userspace to know the failure and chance of retry. And for consistency, this patch moves set_hwpoison_free_buddy_page() in unmap_and_move() to __soft_offline_page(). Fixes:

[RFC][PATCH v1 04/11] mm: madvise: call soft_offline_page() without MF_COUNT_INCREASED

2018-11-08 Thread Naoya Horiguchi
Currently madvise_inject_error() pins the target page when calling memory error handler, but it's not good because the refcount is just an artifact of error injector and mock nothing about hw error itself. IOW, pinning the error page is part of error handler's task, so let's stop doing it. Signed-

[RFC][PATCH v1 11/11] mm: hwpoison: introduce clear_hwpoison_free_buddy_page()

2018-11-08 Thread Naoya Horiguchi
The new function is a reverse operation of set_hwpoison_free_buddy_page() to adjust unpoison_memory() to the new semantics. Signed-off-by: Naoya Horiguchi --- include/linux/page-flags.h | 8 +++- mm/memory-failure.c| 5 +++-- mm/page_alloc.c| 21 + 3

[RFC][PATCH v1 05/11] mm: hwpoison-inject: don't pin for hwpoison_filter()

2018-11-08 Thread Naoya Horiguchi
Another memory error injection interface debugfs:hwpoison/corrupt-pfn also takes bogus refcount for hwpoison_filter(). It's justified because this does a coarse filter, expecting that memory_failure() redoes the check for sure. Signed-off-by: Naoya Horiguchi --- mm/hwpoison-inject.c | 18 +--

[RFC][PATCH v1 01/11] mm: hwpoison: cleanup unused PageHuge() check

2018-11-08 Thread Naoya Horiguchi
memory_failure() forks to memory_failure_hugetlb() for hugetlb pages, so a PageHuge() check after the fork should not be necessary. Signed-off-by: Naoya Horiguchi --- mm/memory-failure.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git v4.19-mmotm-2018-10-30-16-08/mm/memory-

[RFC][PATCH v1 09/11] mm: hwpoison: apply buddy page handling code to hard-offline

2018-11-08 Thread Naoya Horiguchi
Hard-offline of free buddy pages can be handled in the same manner as soft-offline. So this patch applies the new semantics to hard-offline to more complete isolation of offlined page. As a result, the successful case is worth MF_RECOVERED instead of MF_DELAYED, so this patch also changes it. Sign

[PATCH RFC v1 00/11] hwpoison improvement part 1

2018-11-08 Thread Naoya Horiguchi
Hi everyone, I wrote hwpoison patches which partially mention the problems discussed recently on this area [1]. Main point of this series is how we isolate faulty pages more safely/reliable. As pointed out from Michal in thread [2], we can have better isolation functions rather than what we curre

[RFC][PATCH v1 10/11] mm: clear PageHWPoison in memory hotremove

2018-11-08 Thread Naoya Horiguchi
One hopeful usecase of memory hotplug is to replace half-broken DIMMs with new ones, so it makes sense to clear hwpoison info at the time of memory hotremove. I hope that this patch covers the topic discussed in https://lkml.org/lkml/2018/1/17/1228 Signed-off-by: Naoya Horiguchi --- mm/page_all

[RFC][PATCH v1 06/11] mm: hwpoison: remove MF_COUNT_INCREASED

2018-11-08 Thread Naoya Horiguchi
Now there's no user of MF_COUNT_INCREASED, so we can safely remove all calling points. Signed-off-by: Naoya Horiguchi --- include/linux/mm.h | 7 +++ mm/memory-failure.c | 16 +++- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git v4.19-mmotm-2018-10-30-16-08/includ

[RFC][PATCH v1 08/11] mm: soft-offline: isolate error pages from buddy freelist

2018-11-08 Thread Naoya Horiguchi
Soft-offline shares PG_hwpoison with hard-offline to keep track of memory error, but recently we found that the approach can be undesirable for soft-offline because it never expects to stop applications unlike hard-offline. So this patch suggests that memory error handler (not only sets PG_hwpoiso

[RFC][PATCH v1 07/11] mm: remove flag argument from soft offline functions

2018-11-08 Thread Naoya Horiguchi
The argument @flag no longer affects the behavior of soft_offline_page() and its variants, so let's remove them. Signed-off-by: Naoya Horiguchi --- drivers/base/memory.c | 2 +- include/linux/mm.h| 2 +- mm/madvise.c | 2 +- mm/memory-failure.c | 27 +--

Re: [PATCH 04/13] elf-em.h: add EM_XTENSA

2018-11-08 Thread Max Filippov
On Thu, Nov 8, 2018 at 7:15 PM Dmitry V. Levin wrote: > The uapi/linux/audit.h header is going to use EM_XTENSA in order > to define AUDIT_ARCH_XTENSA which is needed to implement > syscall_get_arch() which in turn is required to extend > the generic ptrace API with PTRACE_GET_SYSCALL_INFO request

Re: [PATCH v1 4/4] thermal: tegra: fix coverity defect

2018-11-08 Thread Wei Ni
On 8/11/2018 8:37 PM, Thierry Reding wrote: > On Mon, Nov 05, 2018 at 05:32:34PM +0800, Wei Ni wrote: >> Fix dereference dev before null check. >> >> Signed-off-by: Wei Ni >> --- >> drivers/thermal/tegra/soctherm.c | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/

Re: [PATCH 1/2] dt-bindings: phy: Add Qualcomm Synopsys High-Speed USB PHY binding

2018-11-08 Thread Shawn Guo
On Fri, Nov 09, 2018 at 10:38:19AM +0530, Vinod Koul wrote: > On 08-11-18, 15:04, Shawn Guo wrote: > > From: Sriharsha Allenki > > > > It adds bindings for Synopsys 28nm femto phy controller that supports > > LS/FS/HS usb connectivity on Qualcomm chipsets. > > > > Signed-off-by: Sriharsha Allenk

Re: [PATCH 2/2] arm64: defconfig: Enable some qcom remoteproc configs

2018-11-08 Thread Vinod Koul
On 08-11-18, 22:27, Bjorn Andersson wrote: > On Thu 08 Nov 22:16 PST 2018, Vinod Koul wrote: > > > From: Bjorn Andersson > > > > Enable remoteproc configs to boot the remoteprocs on QC chipsets. These > > are common configs and not specific to a specific SoC so should be enabled > > across the b

Re: [LINUX PATCH v12 1/3] dt-bindings: mtd: arasan: Add device tree binding documentation

2018-11-08 Thread Boris Brezillon
On Fri, 9 Nov 2018 10:30:39 +0530 Naga Sureshkumar Relli wrote: > This patch adds the dts binding document for arasan nand flash controller > > Signed-off-by: Naga Sureshkumar Relli > --- > Changes in v12: > - Removed interrupt-parent description as it is implied as suggested by >Rob Herri

Re: [PATCH 2/2] arm64: defconfig: Enable some qcom remoteproc configs

2018-11-08 Thread Bjorn Andersson
On Thu 08 Nov 22:16 PST 2018, Vinod Koul wrote: > From: Bjorn Andersson > > Enable remoteproc configs to boot the remoteprocs on QC chipsets. These > are common configs and not specific to a specific SoC so should be enabled > across the board. > > Signed-off-by: Bjorn Andersson > Signed-off-b

Re: [PATCH 10/12] fs/locks: create a tree of dependent requests.

2018-11-08 Thread NeilBrown
On Thu, Nov 08 2018, J. Bruce Fields wrote: > On Fri, Nov 09, 2018 at 11:38:19AM +1100, NeilBrown wrote: >> On Thu, Nov 08 2018, J. Bruce Fields wrote: >> >> > On Mon, Nov 05, 2018 at 12:30:48PM +1100, NeilBrown wrote: >> >> When we find an existing lock which conflicts with a request, >> >> and

Re: [PATCH 2/5] mtd: rawnand: qcom: remove driver specific block_markbad function

2018-11-08 Thread Abhishek Sahu
On 2018-11-04 21:26, Boris Brezillon wrote: Hi Abhishek, On Fri, 20 Jul 2018 15:03:48 +0200 Boris Brezillon wrote: On Fri, 20 Jul 2018 17:46:38 +0530 Abhishek Sahu wrote: > Hi Boris, > > On 2018-07-19 03:13, Boris Brezillon wrote: > > On Wed, 18 Jul 2018 23:23:50 +0200 > > Miquel Raynal wr

[PATCH 1/2] arm64: defconfig: Enable QCS404 configs

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Enable GCC and pin control configs to make it possible to boot the QCS404 EVBs. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/confi

[PATCH 2/2] arm64: defconfig: Enable some qcom remoteproc configs

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Enable remoteproc configs to boot the remoteprocs on QC chipsets. These are common configs and not specific to a specific SoC so should be enabled across the board. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/configs/defconfig | 6 ++ 1 fi

Re: [PATCH 3/3] lockdep: Use line-buffered printk() for lockdep messages.

2018-11-08 Thread Sergey Senozhatsky
On (11/08/18 20:37), Tetsuo Handa wrote: > On 2018/11/08 13:45, Sergey Senozhatsky wrote: > > So, can we just do the following? /* a sketch */ > > > > lockdep.c > > printk_safe_enter_irqsave(flags); > > lockdep_report(); > > printk_safe_exit_irqrestore(flags); > > If buffer size were

Re: [PATCH v3 7/9] arm64: defconfig: Enable FSL_MC_BUS and FSL_MC_DPIO

2018-11-08 Thread Horia Geanta
On 11/9/2018 3:11 AM, Marc Gonzalez wrote: > Commit e8342cc7954e ("enable CAAM crypto engine on QorIQ DPAA2 SoCs") > enabled CRYPTO_DEV_FSL_DPAA2_CAAM, which depends on FSL_MC_DPIO, > which is not set. Enable FSL_MC_BUS, and build FSL_MC_DPIO and > CRYPTO_DEV_FSL_DPAA2_CAAM as modules. > > Signed-

[PATCH v3] ext4: missing !bh check in ext4_xattr_inode_write()

2018-11-08 Thread Vasily Averin
According to Ted Ts'o ext4_getblk() called in ext4_xattr_inode_write() should not return bh = NULL The only time that bh could be NULL, then, would be in the case of something really going wrong; a programming error elsewhere (perhaps a wild pointer dereference) or I/O error causing on-disk file s

Re: [PATCH RFC 2/3] mmc: sdhci-omap: Add using external dma

2018-11-08 Thread Kishon Vijay Abraham I
Hi Arnd, On 06/11/18 6:21 PM, Arnd Bergmann wrote: > On 11/5/18, Kishon Vijay Abraham I wrote: >> On 05/11/18 8:46 AM, Chunyan Zhang wrote: >>> >>> + sdhci_switch_extdma(host, true); >> >> A number of devices using sdhci-omap supports ADMA. So switching to >> external >> DMA shouldn't be uncond

Re: [PATCH 2/2] phy: qualcomm: Add Synopsys High-Speed USB PHY driver

2018-11-08 Thread Vinod Koul
On 08-11-18, 15:04, Shawn Guo wrote: > +static int qcom_snps_hsphy_config_regulators(struct hsphy_priv *priv, int > high) > +{ > + int min, ret, i; > + > + min = high ? 1 : 0; /* low or none? */ > + > + for (i = 0; i < VREG_NUM; i++) { > + ret = regulator_set_voltage(priv->

Re: [PATCH 1/2] dt-bindings: phy: Add Qualcomm Synopsys High-Speed USB PHY binding

2018-11-08 Thread Vinod Koul
On 08-11-18, 15:04, Shawn Guo wrote: > From: Sriharsha Allenki > > It adds bindings for Synopsys 28nm femto phy controller that supports > LS/FS/HS usb connectivity on Qualcomm chipsets. > > Signed-off-by: Sriharsha Allenki > Signed-off-by: Anu Ramanathan > Signed-off-by: Bjorn Andersson > Si

Re: [PATCH v4 12/18] arm64: dts: qcom: pms405: add gpios

2018-11-08 Thread Vinod Koul
On 08-11-18, 15:42, Rob Herring wrote: > On Thu, Nov 8, 2018 at 12:41 PM Vinod Koul wrote: > > > > Add the GPIOs present on PMS405 chip. > > > > Signed-off-by: Vinod Koul > > --- > > arch/arm64/boot/dts/qcom/pms405.dtsi | 19 +++ > > 1 file changed, 19 insertions(+) > > > > diff

[LINUX PATCH v12 3/3] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-11-08 Thread Naga Sureshkumar Relli
Add the basic driver for Arasan NAND Flash Controller used in Zynq UltraScale+ MPSoC. It supports HW ECC and upto 24bit correction Signed-off-by: Naga Sureshkumar Relli --- Changes in v12: - Rebased on top of 4.20 - As suggested by Boris, instead of checking the command using nfc_op.cmds[],

[LINUX PATCH v12 1/3] dt-bindings: mtd: arasan: Add device tree binding documentation

2018-11-08 Thread Naga Sureshkumar Relli
This patch adds the dts binding document for arasan nand flash controller Signed-off-by: Naga Sureshkumar Relli --- Changes in v12: - Removed interrupt-parent description as it is implied as suggested by Rob Herring - Added missing ';' as required Changes in v11: - Updated compatible descri

Re: [PATCH v4 01/18] arm64: dts: qcom: qcs404: add base dts files

2018-11-08 Thread Vinod Koul
On 08-11-18, 15:45, Rob Herring wrote: > > +/ { > > + interrupt-parent = <&intc>; > > + > > + #address-cells = <2>; > > + #size-cells = <2>; > > + > > + chosen { }; > > + > > + clocks { > > + xo_board: xo_board { > > Build your dtbs with "W=12" and fix a

RE: [PATCH] gpio: mxc: skip GPIO_IMR restore in noirq resume

2018-11-08 Thread Anson Huang
Please ignore this patch, as it can NOT completely fix the issue of the case when GPIO IRQ coming during the noirq suspend/resume phase, the correct solution should be to save/restore the GPIO registers when local irq is off, so move the GPIO noirq suspend/resume to syscore phase, I have send ou

[LINUX PATCH v12 0/3] Add support for Arasan NAND Flash controller

2018-11-08 Thread Naga Sureshkumar Relli
This patch series adds the basic driver support for Arasan NAND Flash controller. We are reinitiating the patch series by fixing the comments given by Miquel and Boris. Major changes are exec_op() implementation related. Rebased to 4.19 nand tree. Tested MT29F32G08ABCDBJ4. As suggested by Boris,

[LINUX PATCH v12 2/3] mtd: rawnand: Add an option to get sdr timing mode number

2018-11-08 Thread Naga Sureshkumar Relli
Some NAND controllers need SDR timing mode value, instead of timings. i.e the NAND controller will change its operating mode by just configuring the sdr timing mode number. So add a mode field to struct nand_sdr_timings Signed-off-by: Naga Sureshkumar Relli Reviewed-by: Boris Brezillon --- Chang

[PATCH] gpio: mxc: move gpio noirq suspend/resume to syscore phase

2018-11-08 Thread Anson Huang
During noirq suspend/resume phase, GPIO irq could arrive and its registers like IMR will be changed by irq handle process, to make the GPIO registers exactly when it is powered ON after resume, move the GPIO noirq suspend/resume callback to syscore suspend/resume phase, local irq is disabled at thi

drivers/regulator/bd718x7-regulator.c:364:16: error: initializer element is not constant

2018-11-08 Thread kbuild test robot
Hi Matti, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 24ccea7e102de8cbc93ab3befb123bbd18532be9 commit: 2ece646c90c5b45dd76c76ea207a3f3459f2c472 regulator: bd718xx: rename bd71837 to 718xx date: 6 weeks ago con

Re: arm64 + ARM64_64K_PAGES=y

2018-11-08 Thread Anshuman Khandual
On 11/07/2018 03:04 AM, Grygorii Strashko wrote: > Hi All, > > Do anybody tried to use ARM64 RT with 76K pages enabled? > > My attempt shows that enabling  CONFIG_ARM64_64K_PAGES=y increases latencies > by ~30% Depends on what the workload is actually doing. 64K pages should help if the mapp

[PATCH] drivers/android/binder.c: Remove duplicate header

2018-11-08 Thread Brajeswar Ghosh
Remove binder_trace.h which is included more than once Signed-off-by: Brajeswar Ghosh --- drivers/android/binder.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/android/binder.c b/drivers/android/binder.c index cb30a524d16d..719f35a5c04b 100644 --- a/drivers/android/binder.c +++ b/d

Re: [PATCH 4.14 00/31] 4.14.80-stable review

2018-11-08 Thread kernelci.org bot
stable-rc/linux-4.14.y boot: 74 boots: 0 failed, 59 passed with 15 offline (v4.14.79-32-g24f453c41e18) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.79-32-g24f453c41e18/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.14.

UBSAN: Undefined behaviour in mm/page_alloc.c

2018-11-08 Thread Kyungtae Kim
We report a bug in v4.19-rc2 (4.20-rc1 as well, I guess): kernel config: https://kt0755.github.io/etc/config_v2-4.19 repro: https://kt0755.github.io/etc/repro.c4074.c In the middle of page request, this arose because order is too large to handle (mm/page_alloc.c:3119). It actually comes from tha

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Nick Kossifidis
Στις 2018-11-08 17:54, Mark Rutland έγραψε: On Thu, Nov 08, 2018 at 03:45:36PM +0200, Nick Kossifidis wrote: Στις 2018-11-07 14:06, Mark Rutland έγραψε: > On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: > > Mark and Sundeep thanks a lot for your feedback, I guess you convinced >

Re: [PATCH v3 1/3] x86: add support for Huawei WMI hotkeys.

2018-11-08 Thread ayman . bagabas
On Thu, 2018-11-08 at 21:58 +0200, Andy Shevchenko wrote: > On Thu, Nov 8, 2018 at 7:17 PM Ayman Bagabas > wrote: > > This driver adds support for missing hotkeys on some Huawei > > laptops. > > Currently, only Huawei Matebook X and Matebook X Pro is supported. > > > > Thanks for an update, my c

Re: [PATCH 4.9 000/171] 4.9.136-stable review

2018-11-08 Thread kernelci.org bot
stable-rc/linux-4.9.y boot: 84 boots: 0 failed, 70 passed with 14 offline (v4.9.135-172-gcc46a1dedc8b) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.135-172-gcc46a1dedc8b/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.9.y

Re: [PATCH v6] pidns: introduce syscall translate_pid

2018-11-08 Thread Dmitry V. Levin
Hi, On Mon, Jul 16, 2018 at 10:57:48AM -0700, Nagarathnam Muthusamy wrote: > On 06/01/2018 12:18 PM, Konstantin Khlebnikov wrote: > > Each process have different pids, one for each pid namespace it belongs. > > When interaction happens within single pid-ns translation isn't required. > > More comp

Re: [PATCH 4.18 00/34] 4.18.18-stable review

2018-11-08 Thread kernelci.org bot
stable-rc/linux-4.18.y boot: 91 boots: 0 failed, 76 passed with 15 offline (v4.18.17-35-g46c86a0ac4a1) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.18.y/kernel/v4.18.17-35-g46c86a0ac4a1/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.18.

Re: [RFC PATCH] mm, memory_hotplug: do not clear numa_node association after hot_remove

2018-11-08 Thread Anshuman Khandual
On 11/08/2018 03:59 PM, Michal Hocko wrote: > [Removing Wen Congyang and Tang Chen from the CC list because their > emails bounce. It seems that we will never learn about their motivation] > > On Thu 08-11-18 11:04:13, Michal Hocko wrote: >> From: Michal Hocko >> >> Per-cpu numa_node provides

Re: [PATCH v3 0/3] Huawei laptops

2018-11-08 Thread ayman . bagabas
On Thu, 2018-11-08 at 21:59 +0200, Andy Shevchenko wrote: > On Thu, Nov 8, 2018 at 7:17 PM Ayman Bagabas > wrote: > > Is it supposed to go via PDx86 or ALSA tree? There isn't much of work done on behave of ALSA. So PDx86? > > > Changes from v2: > > * Support for Huawei MBX > > * Style and form

[PATCH] iio: adc: sc27xx: Add ADC data conversion timeout

2018-11-08 Thread Baolin Wang
From: Freeman Liu Sometimes the ADC controller met some problems, and it will not complete the data conversion, that will can not wake up the read process any more to block users. So we should add one maximum conversion time to avoid this issue. Signed-off-by: Freeman Liu Signed-off-by: Baolin

[PATCH 03/13] elf-em.h: add EM_NDS32

2018-11-08 Thread Dmitry V. Levin
The uapi/linux/audit.h header is going to use EM_NDS32 in order to define AUDIT_ARCH_NDS32 which is needed to implement syscall_get_arch() which in turn is required to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. The value for EM_NDS32 has been taken from http://www.sco.com/

[PATCH 04/13] elf-em.h: add EM_XTENSA

2018-11-08 Thread Dmitry V. Levin
The uapi/linux/audit.h header is going to use EM_XTENSA in order to define AUDIT_ARCH_XTENSA which is needed to implement syscall_get_arch() which in turn is required to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. The value for EM_XTENSA has been taken from http://www.sco.c

[PATCH 05/13] m68k: define syscall_get_arch()

2018-11-08 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures that use tracehook_report_syscall_entry() in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. Signed-off-by: Dmitry V. Levin --- arch/m68k/include/asm/syscall.h | 12 1 file changed, 12

[PATCH 08/13] h8300: define syscall_get_arch()

2018-11-08 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures that use tracehook_report_syscall_entry() in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. Signed-off-by: Dmitry V. Levin --- arch/h8300/include/asm/syscall.h | 5 + include/uapi/linux/audit.

[PATCH 09/13] hexagon: define syscall_get_arch()

2018-11-08 Thread Dmitry V. Levin
syscall_get_arch() is required to be implemented on all architectures that use tracehook_report_syscall_entry() in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. Signed-off-by: Dmitry V. Levin --- arch/hexagon/include/asm/syscall.h | 8 include/uapi/linux/a

[PATCH 01/13] Move EM_HEXAGON to uapi/linux/elf-em.h

2018-11-08 Thread Dmitry V. Levin
This should never have been defined in the arch tree to begin with, and now uapi/linux/audit.h header is going to use EM_HEXAGON in order to define AUDIT_ARCH_HEXAGON which is needed to implement syscall_get_arch() which in turn is required to extend the generic ptrace API with PTRACE_GET_SYSCALL_I

Re: [PATCH 3/8] sparc: prom: use property "name" directly to construct node names

2018-11-08 Thread David Miller
From: Rob Herring Date: Wed, 7 Nov 2018 16:31:46 -0600 > In preparation to remove direct accesses to the device_node.name > pointer, retrieve the node name from the "name" property instead. > > Cc: "David S. Miller" > Cc: sparcli...@vger.kernel.org > Signed-off-by: Rob Herring On some 32-bit

Re: [PATCH 01/12] fs/locks: rename some lists and pointers.

2018-11-08 Thread J. Bruce Fields
On Fri, Nov 09, 2018 at 11:32:16AM +1100, NeilBrown wrote: > On Thu, Nov 08 2018, J. Bruce Fields wrote: > > > On Mon, Nov 05, 2018 at 12:30:47PM +1100, NeilBrown wrote: > >> struct file lock contains an 'fl_next' pointer which > >> is used to point to the lock that this request is blocked > >> wa

Re: [PATCH 2/8] of: Drop full path from Sparc PDT full_name

2018-11-08 Thread David Miller
From: Rob Herring Date: Wed, 7 Nov 2018 16:31:45 -0600 > @@ -32,24 +32,7 @@ unsigned int of_pdt_unique_id __initdata; > > static char * __init of_pdt_build_full_name(struct device_node *dp) > { > - int len, ourlen, plen; > - char *n; > - > - dp->path_component_name = build_path_c

Re: [PATCH 3.18 000/144] 3.18.125-stable review

2018-11-08 Thread kernelci.org bot
stable-rc/linux-3.18.y boot: 62 boots: 5 failed, 51 passed with 6 offline (v3.18.124-145-g70889240432b) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-3.18.y/kernel/v3.18.124-145-g70889240432b/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-3.

Re: [PATCH 10/12] fs/locks: create a tree of dependent requests.

2018-11-08 Thread J. Bruce Fields
On Fri, Nov 09, 2018 at 11:38:19AM +1100, NeilBrown wrote: > On Thu, Nov 08 2018, J. Bruce Fields wrote: > > > On Mon, Nov 05, 2018 at 12:30:48PM +1100, NeilBrown wrote: > >> When we find an existing lock which conflicts with a request, > >> and the request wants to wait, we currently add the requ

linux-next: Tree for Nov 9

2018-11-08 Thread Stephen Rothwell
Hi all, Changes since 20181108: The tip tree still had its build failure for which I applied a fix patch. Non-merge commits (relative to Linus' tree): 1966 2112 files changed, 84671 insertions(+), 86429 dele

Re: [LKP] [bpf] fd978bf7fd: will-it-scale.per_process_ops -4.0% regression

2018-11-08 Thread Aaron Lu
On Fri, Nov 09, 2018 at 08:19:54AM +0800, Rong Chen wrote: > > > On 11/02/2018 04:36 PM, Daniel Borkmann wrote: > > Hi Rong, > > > > On 11/02/2018 03:14 AM, kernel test robot wrote: > > > Greeting, > > > > > > FYI, we noticed a -4.0% regression of will-it-scale.per_process_ops due > > > to com

Re: [PATCH] Revert "scripts/setlocalversion: git: Make -dirty check more robust"

2018-11-08 Thread Masahiro Yamada
On Thu, Nov 8, 2018 at 12:20 PM Brian Norris wrote: > > On Wed, Nov 7, 2018 at 1:18 PM Doug Anderson wrote: > > On Wed, Nov 7, 2018 at 1:07 PM Genki Sky wrote: > > > On Wed, 7 Nov 2018 12:55:14 -0800, Guenter Roeck > > > wrote: > > > > Ubuntu 16.04 ships with git version 2.7.4. > > > > > > Oka

Re: [PATCH] Revert "scripts/setlocalversion: git: Make -dirty check more robust"

2018-11-08 Thread Masahiro Yamada
On Thu, Nov 8, 2018 at 5:58 AM Guenter Roeck wrote: > > On Wed, Nov 07, 2018 at 12:43:58PM -0800, Genki Sky wrote: > > On Wed, 7 Nov 2018 10:44:37 -0800, Brian Norris > > wrote: > > > On Tue, Nov 06, 2018 at 08:00:36PM -0800, Brian Norris wrote: > > > > On a different tangent: how about the --no

Re: [[PATCH]] mips: Fix switch to NO_BOOTMEM for SGI-IP27/loongons3 NUMA

2018-11-08 Thread 陈华才
Hi, It seems the patch below can solve many problems after switched to NO_BOOTMEM, because the memory allocation behavior is more similar as before. diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index 070234b..7a449d9 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kerne

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Nick Kossifidis
Στις 2018-11-08 18:48, Sudeep Holla έγραψε: On Thu, Nov 08, 2018 at 04:52:30PM +0200, Nick Kossifidis wrote: Στις 2018-11-07 14:28, Sudeep Holla έγραψε: > > I agree, but we have kernel code using it(arm64/kernel/topology.c). It's > too late to remove it. But we can always keep to optional if we

Re: [PATCH v4] perf: Support for Arm A32/T32 instruction sets in CoreSight trace

2018-11-08 Thread leo . yan
On Wed, Nov 07, 2018 at 11:04:12AM +, Robert Walker wrote: > This patch adds support for generating instruction samples from trace of > AArch32 programs using the A32 and T32 instruction sets. > > T32 has variable 2 or 4 byte instruction size, so the conversion between > addresses and instruct

Re: [PATCH 2/2] drm: Revert syncobj timeline changes.

2018-11-08 Thread zhoucm1
On 2018年11月09日 00:52, Christian König wrote: Am 08.11.18 um 17:07 schrieb Koenig, Christian: Am 08.11.18 um 17:04 schrieb Eric Anholt: Daniel suggested I submit this, since we're still seeing regressions from it.  This is a revert to before 48197bc564c7 ("drm: add syncobj timeline support v9

Re: [PATCH 02/24] leds: core: Add support for composing LED class device names

2018-11-08 Thread Baolin Wang
Hi Jacek, On 9 November 2018 at 04:47, Jacek Anaszewski wrote: > Hi Baolin, > > Thanks for the review. > > On 11/07/2018 08:20 AM, Baolin Wang wrote: >> Hi Jacek, >> >> On 7 November 2018 at 06:07, Jacek Anaszewski >> wrote: >>> Add public led_compose_name() API for composing LED class device >>

[PATCH] Suppress the sparse warning ./include/linux/slab.h:332:43: warning: dubious: x & !y

2018-11-08 Thread Darryl T. Agostinelli
Signed-off-by: Darryl T. Agostinelli --- include/linux/slab.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/linux/slab.h b/include/linux/slab.h index 918f374e7156..883b7f56bf35 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h @@ -317,6 +317,7 @@ stat

  1   2   3   4   5   6   7   8   9   10   >