Re: [PATCH v5 7/9] nvme: get list of namespace descriptors

2017-06-06 Thread Johannes Thumshirn
On 06/06/2017 08:30 PM, Sagi Grimberg wrote: > >> +if (ns->ctrl->vs >= NVME_VS(1, 3, 0)) { >> + /* Don't treat error as fatal we potentially >> + * already have a NGUID or EUI-64 >> + */ >> +if (nvme_identify_ns_descs(ns, ns->ns_id)) >> +dev_warn(n

Re: [PATCH v10 5/5] i2c: aspeed: added slave support for Aspeed I2C driver

2017-06-06 Thread Joel Stanley
On Sat, Jun 3, 2017 at 10:59 AM, Brendan Higgins wrote: > Added slave support for Aspeed I2C controller. Supports fourteen busses > present in AST24XX and AST25XX BMC SoCs by Aspeed. > > Signed-off-by: Brendan Higgins I wired up the first and second buses on the ast2500evb, and performed the fol

RE: [PATCH v3] drm/bridge: Build the panel wrapper in drm_kms_helper

2017-06-06 Thread Lofstedt, Marta
Thanks Maarten now I can build the kernel again. /Marta > -Original Message- > From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf > Of Maarten Lankhorst > Sent: Tuesday, June 6, 2017 5:32 PM > To: Archit Taneja ; Eric Anholt ; > Andrzej Hajda ; Laurent Pinchart > ;

[PATCH 1/1] ARM: imx: Enable REGMAP_MMIO per default

2017-06-06 Thread Alexander Stein
If unset, the gpc drivers fails to link with this error: drivers/built-in.o: In function `imx_gpc_probe': core.c:(.text+0x1e16c): undefined reference to `__devm_regmap_init_mmio_clk' As the gpc driver is built when ARCH_MXC is set, enable REGMAP_MMIO in this case too. Signed-off-by: Alexander St

Re: [PATCH 0/9] ARM: OMAP2+: Adjustments for seven function implementations

2017-06-06 Thread Tony Lindgren
* SF Markus Elfring [170603 11:24]: > From: Markus Elfring > Date: Sat, 3 Jun 2017 20:12:34 +0200 > > Some update suggestions were taken into account > from static source code analysis. > > Markus Elfring (9): > Delete an error message for a failed memory allocation in omap_mcspi_init() > D

[PATCH] Input: synaptics_rmi4 - register F03 port as pass-through serio

2017-06-06 Thread Dmitry Torokhov
The 5th generation Thinkpad X1 Carbons use Synaptics touchpads accessible over SMBus/RMI, combined with ALPS or Elantech trackpoint devices instead of classic IBM/Lenovo trackpoints. Unfortunately there is no way for ALPS driver to detect whether it is dealing with touchpad + trackpoint combination

Re: [PATCH] Revert "mm: vmpressure: fix sending wrong events on underflow"

2017-06-06 Thread zhong jiang
On 2017/6/7 14:17, vinayak menon wrote: > On Wed, Jun 7, 2017 at 11:42 AM, Minchan Kim wrote: >> On Wed, Jun 07, 2017 at 12:56:57PM +0800, zhong jiang wrote: >>> On 2017/6/7 11:55, Minchan Kim wrote: On Wed, Jun 07, 2017 at 11:08:37AM +0800, zhongjiang wrote: > This reverts commit e1587a4

[PATCH 1/2] dt-bindings: ahci-fsl-qoriq: add ls1088a chip name to the list

2017-06-06 Thread Yuantian Tang
Signed-off-by: Tang Yuantian --- Documentation/devicetree/bindings/ata/ahci-fsl-qoriq.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/ata/ahci-fsl-qoriq.txt b/Documentation/devicetree/bindings/ata/ahci-fsl-qoriq.txt index fc33ca0..7c3ca0e

[PATCH 2/2 v2] arm64: dts: ls1088a: update sata node

2017-06-06 Thread Yuantian Tang
1. Remove ls1043a compatible string from node 2. Fix the sata ecc register address error Signed-off-by: Tang Yuantian --- v2: - no change, resend it with binding update arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

Re: [PATCH v3] hwmon: Add support for MAX31785 intelligent fan controller

2017-06-06 Thread Andrew Jeffery
On Wed, 2017-06-07 at 12:18 +0930, Joel Stanley wrote: > On Wed, Jun 7, 2017 at 1:50 AM, Matthew Barth > > wrote: > > > > On 06/06/17 8:33 AM, Guenter Roeck wrote: > > > > > > On 06/06/2017 12:02 AM, Andrew Jeffery wrote: > > > > Over and above the features of the original patch is support for a

Re: [PATCH v5] ACPICA: Tables: Add mechanism to allow to balance late stage acpi_get_table() independently

2017-06-06 Thread Dan Williams
On Tue, Jun 6, 2017 at 9:54 PM, Lv Zheng wrote: > Considering this case: > 1. A program opens a sysfs table file 65535 times, it can increase >validation_count and first increment cause the table to be mapped: > validation_count = 65535 > 2. AML execution causes "Load" to be executed on th

[PATCH] nfs: Fix fscache stat printing in nfs_show_stats()

2017-06-06 Thread Tuo Chen Peng
nfs_show_stats() was incorrectly reading statistics for bytes when printing that for fsc. It caused files like /proc/self/mountstats to report incorrect fsc statistics for NFS mounts. Signed-off-by: Tuo Chen Peng --- fs/nfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[PATCH v3 2/3] nvmem: add snvs_lpgpr driver

2017-06-06 Thread Oleksij Rempel
This is a driver for Low Power General Purpose Register (LPGPR) available on i.MX6 SoCs in Secure Non-Volatile Storage (SNVS) of this chip. It is a 32-bit read/write register located in the low power domain. Since LPGPR is located in the battery-backed power domain, LPGPR can be used by any applic

[PATCH v3 0/3] nvmem: upstream snvs_lpgpr driver

2017-06-06 Thread Oleksij Rempel
changes v3: - remove regmap and offset properties. changes v2: - correct typos: Registe, parrent... Oleksij Rempel (3): nvmem: dt: document SNVS LPGPR binding nvmem: add snvs_lpgpr driver ARM: dts: imx6qdl.dtsi: add "fsl,imx6q-snvs-lpgpr" node .../devicetree/bindings/nvmem/snvs-lpgpr.tx

[PATCH v3 1/3] nvmem: dt: document SNVS LPGPR binding

2017-06-06 Thread Oleksij Rempel
Documentation bindings for the Low Power General Purpose Register available on i.MX6 SoCs in the Secure Non-Volatile Storage. Signed-off-by: Oleksij Rempel --- .../devicetree/bindings/nvmem/snvs-lpgpr.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Doc

[PATCH v3 3/3] ARM: dts: imx6qdl.dtsi: add "fsl,imx6q-snvs-lpgpr" node

2017-06-06 Thread Oleksij Rempel
This node is for Low Power General Purpose Register which can be used as Non-Volatile Storage. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6qdl.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index e426faa9c2

Re: [PATCH] net: wireless: intel: iwlwifi: dvm: remove unused defines

2017-06-06 Thread Luca Coelho
On Wed, 2017-06-07 at 01:20 +0200, Seraphime Kirkovski wrote: > Those constants have been unused for quite some time now. > > Signed-off-by: Seraphime Kirkovski > --- > I've compile-tested it. Thanks. I've applied it to our internal tree and it will reach the mainline at some point. -- Cheers

[PATCH v2] kbuild: switch to thin archives

2017-06-06 Thread Nicholas Piggin
Switch from incremental build to thin archives for packaging built-in.o. binutils version must be bumped to 2.20. Proposed patch for 4.13. Signed-off-by: Nicholas Piggin --- Documentation/process/changes.rst | 9 - Makefile | 3 +++ arch/Kconfig

Re: [PATCH] Add driver for GOODiX GTx5 series touchsereen

2017-06-06 Thread Dmitry Torokhov
Hi Wang, On Wed, Jun 07, 2017 at 12:05:51PM +0800, Wang Yafei wrote: > This driver is for GOODiX GTx5 series touchscreen controllers > such as GT8589, GT7589. This driver designed with hierarchial structure, > for that can be modified to support subsequent controllers easily. > Some zones of the t

[PATCH] Drivers: vt6655 - style fix

2017-06-06 Thread Derek Robson
Fixed "function definition" issues Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/vt6655/card.h| 30 ++--- drivers/staging/vt6655/channel.h | 4 +-- drivers/staging/vt6655/mac.h | 58 drivers/staging/vt6655

Re: [PATCH v3 1/5] acpi, nfit: Switch to use new generic UUID API

2017-06-06 Thread Williams, Dan J
On Mon, 2017-06-05 at 23:22 +0200, Christoph Hellwig wrote: > On Mon, Jun 05, 2017 at 08:10:42PM +0300, Andy Shevchenko wrote: > > > > I hope Christoph can replace old version of this series with new > > one in > > his uuid branch. URL in cover letter, repeating for your > > convenience: > > > >

Re: [PATCH v2] firmware: fix sending -ERESTARTSYS due to signal on fallback

2017-06-06 Thread Dmitry Torokhov
On Tue, Jun 06, 2017 at 09:56:47PM -0700, Andy Lutomirski wrote: > On Tue, Jun 6, 2017 at 5:22 PM, Luis R. Rodriguez wrote: > > On Tue, Jun 06, 2017 at 06:11:51PM -0400, Theodore Ts'o wrote: > >> On Tue, Jun 06, 2017 at 06:47:34PM +0200, Luis R. Rodriguez wrote: > >> > On Tue, Jun 06, 2017 at 03:5

Re: Device address specific mapping of arm,mmu-500

2017-06-06 Thread Ray Jui
Hi Robin, On 6/6/2017 3:02 AM, Robin Murphy wrote: I've currently got some experimental patches pushed out here: git://linux-arm.org/linux-rm iommu/pgtable So far, there's still one silly bug (which doesn't affect DMA ops usage) and an awkward race for non-coherent table walks which wil

[PATCH v0] crypto: virtio - Refacotor virtio_crypto driver for new virito crypto services

2017-06-06 Thread Xin Zeng
In current virtio crypto device driver, some common data structures and implementations that should be used by other virtio crypto algorithms (e.g. asymmetric crypto algorithms) introduce symmetric crypto algorithms specific implementations. This patch refactors these pieces of code so that they ca

Re: [PATCH] Revert "mm: vmpressure: fix sending wrong events on underflow"

2017-06-06 Thread vinayak menon
On Wed, Jun 7, 2017 at 11:42 AM, Minchan Kim wrote: > On Wed, Jun 07, 2017 at 12:56:57PM +0800, zhong jiang wrote: >> On 2017/6/7 11:55, Minchan Kim wrote: >> > On Wed, Jun 07, 2017 at 11:08:37AM +0800, zhongjiang wrote: >> >> This reverts commit e1587a4945408faa58d0485002c110eb2454740c. >> >> >>

Re: [PATCH v4 03/23] mtd: nand: add generic helpers to check, match, maximize ECC settings

2017-06-06 Thread Boris Brezillon
On Wed, 7 Jun 2017 10:48:33 +0900 Masahiro Yamada wrote: > 2017-06-07 6:47 GMT+09:00 Boris Brezillon > : > > On Tue, 6 Jun 2017 08:21:42 +0900 > > Masahiro Yamada wrote: > > > >> Driver are responsible for setting up ECC parameters correctly. > >> Those include: > >> - Check if ECC paramet

Re: [PATCH v5 4/5] arm64: dts: exynos: Remove the OF graph from DSI node

2017-06-06 Thread Hoegeun Kwon
On 05/19/2017 03:17 PM, Hoegeun Kwon wrote: On 05/16/2017 01:48 AM, Krzysztof Kozlowski wrote: On Wed, Mar 08, 2017 at 01:54:11PM +0900, Hoegeun Kwon wrote: The OF graph is not needed because the panel is a child of dsi. Remove the ports node in DSI node. Signed-off-by: Hoegeun Kwon Reviewed-

Re: [PATCH] Revert "mm: vmpressure: fix sending wrong events on underflow"

2017-06-06 Thread Minchan Kim
On Wed, Jun 07, 2017 at 12:56:57PM +0800, zhong jiang wrote: > On 2017/6/7 11:55, Minchan Kim wrote: > > On Wed, Jun 07, 2017 at 11:08:37AM +0800, zhongjiang wrote: > >> This reverts commit e1587a4945408faa58d0485002c110eb2454740c. > >> > >> THP lru page is reclaimed , THP is split to normal page a

Re: [PATCH 2/2] tcp: md5: add fields to the tcp_md5sig struct to set a key address prefix

2017-06-06 Thread Ivan Delalande
On Tue, Jun 06, 2017 at 09:08:22PM -0700, Eric Dumazet wrote: > On Tue, 2017-06-06 at 17:54 -0700, Ivan Delalande wrote: >> diff --git a/include/uapi/linux/tcp.h b/include/uapi/linux/tcp.h >> index 38a2b07afdff..52ac30aa0652 100644 >> --- a/include/uapi/linux/tcp.h >> +++ b/include/uapi/linux/tcp.h

RE: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

2017-06-06 Thread Noam Camus
>From: Vineet Gupta [mailto:vineet.gup...@synopsys.com] >Sent: Wednesday, June 7, 2017 1:11 AM ... >> + >> +config EZNPS_MEM_ERROR >> + bool "ARC-EZchip Memory error as an exception" >> + depends on ARC_PLAT_EZNPS >> + default n >So you set default to "n" - thus by default it wo

linux-next: Tree for Jun 7

2017-06-06 Thread Stephen Rothwell
Hi all, Changes since 20170606: News: I now do a simple boot test of the powerpc pseries_le_defconfig kernel in qemu. Thanks to Michael Ellerman for setting that up for me. The tip tree gained a conflict against the unicore32 tree. The kselftest tree gained conflicts against the jc_docs tree

[RFC PATCH] acpi: indicate to platform when hot remove returns busy

2017-06-06 Thread Lee, Chun-Yi
In hotplug logic, it always indicates non-specific failure to platform through _OST when handing acpi hot-remove event failed. Then platform terminates the hot-remove process but it can not identify the reason. Base on current hot-remove code, there have two situations that it returns busy: - OSP

[PATCH] acpi: handle the acpi hotplug schedule error

2017-06-06 Thread Lee, Chun-Yi
Kernel should decrements the reference count of acpi device when scheduling acpi hotplug work is failed, and also evaluates _OST to notify BIOS the failure. Cc: "Rafael J. Wysocki" Cc: Len Brown Signed-off-by: "Lee, Chun-Yi" --- drivers/acpi/bus.c | 10 -- 1 file changed, 8 insertions(

[PATCH] checkpatch: Silence perl 5.26.0 unescaped left brace warnings

2017-06-06 Thread Cyril Bur
As of perl 5, version 26, subversion 0 (v5.26.0) some new warnings have occurred when running checkpatch. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^(.\s*){ <-- HERE \s*/ at scripts/checkpatch.pl line 3544.

Re: [RFC] clang: 'unused-function' warning on static inline functions

2017-06-06 Thread David Rientjes
On Tue, 6 Jun 2017, Matthias Kaehlcke wrote: > Unfortunately as is the patch doesn't work: > > include/linux/compiler-clang.h:20:9: error: 'inline' macro redefined > [-Werror,-Wmacro-redefined] > #define inline inline __attribute__((unused)) > ^ > include/linux/compiler-gcc.h:78:9: note:

Re: [PATCH 10/16] powerpc: vio: use dev_groups and not dev_attrs for bus_type

2017-06-06 Thread Benjamin Herrenschmidt
On Wed, 2017-06-07 at 07:45 +0200, Greg Kroah-Hartman wrote: > On Wed, Jun 07, 2017 at 09:04:41AM +1000, Benjamin Herrenschmidt wrote: > > On Tue, 2017-06-06 at 21:30 +0200, Greg Kroah-Hartman wrote: > > > >   > > > >   static struct device_attribute vio_dev_attrs[] = { > > > >    __ATTR_RO(na

[patch] compiler, clang: move inline definition to compiler-gcc.h

2017-06-06 Thread David Rientjes
The motivation of commit abb2ea7dfd82 ("compiler, clang: suppress warning for unused static inline functions") is to suppress clang's warnings about unused static inline functions. Clang defines __GNUC__ so it inherits all of compiler-gcc.h as well, so the redefinition of `inline' ends up overr

[PATCH 1/2] HID: Add Oculus Rift CV1 id

2017-06-06 Thread Philipp Zabel
Add VID/PID for Oculus Rift CV1. Signed-off-by: Philipp Zabel --- drivers/hid/hid-ids.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 8ca1e8ce0af2..2953d53a8cc9 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -1133,6

[PATCH 2/2] HID: usbhid: Add HID_QUIRK_NO_INIT_REPORTS for Oculus Rift CV1

2017-06-06 Thread Philipp Zabel
When plugging in an Oculus Rift CV1 HMD, it takes a long time until the hidraw devices appear, specifically two control transfers time out querying the HID report descriptors: $ echo 1 > /sys/module/hid/parameters/debug usb 1-3.1: new full-speed USB device number 11 using xhci_hcd usb

Re: [PATCH] clk: sunxi-ng: Move all clock types to a library

2017-06-06 Thread Chen-Yu Tsai
On Tue, Jun 6, 2017 at 6:04 PM, Arnd Bergmann wrote: > On Mon, Jun 5, 2017 at 4:45 PM, Maxime Ripard > wrote: >> Hi, >> >> On Sat, Jun 03, 2017 at 12:22:32PM +0800, kbuild test robot wrote: >>> Hi Stephen, >>> >>> [auto build test ERROR on sunxi/sunxi/for-next] >>> [also build test ERROR on next-

Re: [PATCH 10/16] powerpc: vio: use dev_groups and not dev_attrs for bus_type

2017-06-06 Thread Greg Kroah-Hartman
On Wed, Jun 07, 2017 at 09:04:41AM +1000, Benjamin Herrenschmidt wrote: > On Tue, 2017-06-06 at 21:30 +0200, Greg Kroah-Hartman wrote: > > >   > > >   static struct device_attribute vio_dev_attrs[] = { > > >    __ATTR_RO(name), > > > @@ -1573,6 +1576,13 @@ static struct device_attribute vio_de

Re: [PATCH v9 07/10] powerpc/perf: PMU functions for Core IMC and hotplugging

2017-06-06 Thread Anju T Sudhakar
Hi Thomas, On Tuesday 06 June 2017 03:39 PM, Thomas Gleixner wrote: On Mon, 5 Jun 2017, Anju T Sudhakar wrote: +static void cleanup_all_core_imc_memory(struct imc_pmu *pmu_ptr) +{ + struct imc_mem_info *ptr = pmu_ptr->mem_info; + + if (!ptr) + return; That's pointless

Re: [PATCH v3 1/3] EDAC: mv64x60: check driver registration success

2017-06-06 Thread Chris Packham
Hi Borislav, On 30/05/17 09:21, Chris Packham wrote: > Check the return status of platform_driver_register() in > mv64x60_edac_init(). Only output messages and initialise the > edac_op_state if the registration is successful. > > Signed-off-by: Chris Packham > --- > Changes in v3: > - catch the

Re: [PATCH v9 05/10] powerpc/perf: IMC pmu cpumask and cpuhotplug support

2017-06-06 Thread Anju T Sudhakar
Hi Thomas, Thank you for reviewing the patch. On Tuesday 06 June 2017 02:09 PM, Thomas Gleixner wrote: On Mon, 5 Jun 2017, Anju T Sudhakar wrote: +/* + * nest_imc_stop : Does OPAL call to stop nest engine. + */ +static void nest_imc_stop(int *cpu_opal_rc) +{ + int rc; + + rc = opa

page table questions

2017-06-06 Thread meng chen
hello ,how to know wheather a pmd maps a 2M physical page or not?? if(pmd_trans_huge(*pmd)){ if(pte_present(*pmd)){ /*page is in ram?*/ } } can I judge it according the above codes?? thanks a lot!!

Re: [PATCH 0/3] target: Add TARGET_SCF_LOOKUP_LUN_FROM_TAG support

2017-06-06 Thread Madhani, Himanshu
> On Jun 3, 2017, at 3:10 PM, Nicholas A. Bellinger > wrote: > > From: Nicholas Bellinger > > Hi Himanshu + Quinn, > > Here is a small series to introduce proper percpu se_lun->lun_ref > counting for TMR, and add common code in target_submit_tmr() to > do tag lookup for unpacked_lun in order

Re: [kernel-hardening] Re: [PATCH v3 04/13] crypto/rng: ensure that the RNG is ready before using

2017-06-06 Thread Stephan Müller
Am Mittwoch, 7. Juni 2017, 00:19:10 CEST schrieb Henrique de Moraes Holschuh: Hi Henrique, > On that same idea, one could add an early_initramfs handler for entropy > data. Any data that comes from outside during the boot process, be it some NVRAM location, the /var/lib...seed file for /dev/ran

Re: [PATCH] Revert "mm: vmpressure: fix sending wrong events on underflow"

2017-06-06 Thread zhong jiang
On 2017/6/7 11:55, Minchan Kim wrote: > On Wed, Jun 07, 2017 at 11:08:37AM +0800, zhongjiang wrote: >> This reverts commit e1587a4945408faa58d0485002c110eb2454740c. >> >> THP lru page is reclaimed , THP is split to normal page and loop again. >> reclaimed pages should not be bigger than nr_scan. b

Re: [PATCH v2] firmware: fix sending -ERESTARTSYS due to signal on fallback

2017-06-06 Thread Andy Lutomirski
On Tue, Jun 6, 2017 at 5:22 PM, Luis R. Rodriguez wrote: > On Tue, Jun 06, 2017 at 06:11:51PM -0400, Theodore Ts'o wrote: >> On Tue, Jun 06, 2017 at 06:47:34PM +0200, Luis R. Rodriguez wrote: >> > On Tue, Jun 06, 2017 at 03:53:16PM +0100, Alan Cox wrote: > > We rely on swait, and swait right now o

[PATCH v5] ACPICA: Tables: Add mechanism to allow to balance late stage acpi_get_table() independently

2017-06-06 Thread Lv Zheng
Considering this case: 1. A program opens a sysfs table file 65535 times, it can increase validation_count and first increment cause the table to be mapped: validation_count = 65535 2. AML execution causes "Load" to be executed on the same table, this time it cannot increase validation_co

Re: [PATCH v5 9/9] nvmet: allow overriding the NVMe VS via configfs

2017-06-06 Thread Guan Junxiong
Hi,Johannes On 2017/6/6 22:36, Johannes Thumshirn wrote: > Allow overriding the announced NVMe Version of a via configfs. > +static ssize_t nvmet_subsys_version_store(struct config_item *item, > +const char *page, size_t count) > +{ > + struct nvmet

Re: [PATCH 3/5] mfd: tps65217: Add a dependency on OF

2017-06-06 Thread Keerthy
On Tuesday 06 June 2017 08:34 PM, Enric Balletbo Serra wrote: > Hi Keerthy, > > By change I was looking at this. Some comments below that I think can > be applied to all patches in this series > > 2017-06-06 16:45 GMT+02:00 Keerthy : >> Currently the driver boots only via device tree hence add

linux-next: manual merge of the kselftest tree with the jc_docs tree

2017-06-06 Thread Stephen Rothwell
Hi Shuah, Today's linux-next merge of the kselftest tree got a conflict in: MAINTAINERS between commit: c061f33f35be ("doc: ReSTify seccomp_filter.txt") from the jc_docs tree and commit: 11fe3c3f54f9 ("selftests: Make test_harness.h more generally available") from the kselftest tree.

Re: Regression on ARMs in next-20170531

2017-06-06 Thread Tony Lindgren
gt; (kmem_cache_alloc+0x2d4/0x364) > > > [] (kmem_cache_alloc) from [] > > > (create_kmalloc_cache+0x20/0x8c) > > > [] (create_kmalloc_cache) from [] > > > (kmem_cache_init+0xac/0x11c) > > > [] (kmem_cache_init) from [] > > > (start_kernel+0x1b8/

linux-next: manual merge of the kselftest tree with the jc_docs tree

2017-06-06 Thread Stephen Rothwell
Hi Shuah, Today's linux-next merge of the kselftest tree got a conflict in: Documentation/dev-tools/index.rst between commit: 7fb2e8a49037 ("docs-rst: convert kgdb DocBook to ReST") from the jc_docs tree and commit: 5714b6531b49 ("Documentation/dev-tools: Use reStructuredText markups fo

Re: [PATCH v2 0/2] x86/mm/KASLR: Do not adapt size of the direct mapping section for SGI UV system

2017-06-06 Thread Baoquan He
Hi all, PING! Is there any further comment or suggetion about this patchset? Thanks Baoquan On 05/20/17 at 08:02pm, Baoquan He wrote: > This is v2 post. > > This patchset is trying to fix a bug that SGI UV system casually hang > during boot with KASLR enabled. The root cause is that mm KASLR a

Re: [RFC 10/55] KVM: arm64: Synchronize EL1 system registers on virtual EL2 entry and exit

2017-06-06 Thread Jintack Lim
Hi Bandan, On Tue, Jun 6, 2017 at 4:16 PM, Bandan Das wrote: > Jintack Lim writes: > >> From: Christoffer Dall >> >> When running in virtual EL2 we use the shadow EL1 systerm register array >> for the save/restore process, so that hardware and especially the memory >> subsystem behaves as code

[PATCH] Add driver for GOODiX GTx5 series touchsereen

2017-06-06 Thread Wang Yafei
This driver is for GOODiX GTx5 series touchscreen controllers such as GT8589, GT7589. This driver designed with hierarchial structure, for that can be modified to support subsequent controllers easily. Some zones of the touchscreen can be set to buttons(according to the hardware). That is why it ha

Re: [PATCH v2] security/keys: rewrite all of big_key crypto

2017-06-06 Thread Eric Biggers
0 [#1] SMP [ 43.700843] CPU: 0 PID: 219 Comm: keyctl Not tainted 4.12.0-rc4-next-20170606-xfstests-3-gc6e36366c198 #120 [ 43.707361] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-20170228_101828-anatol 04/01/2014 [ 43.712167] task: 9ff6f97d8340 task.st

[GIT PULL] ARM: SoC fixes

2017-06-06 Thread Olof Johansson
Hi Linus, The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d: Linux 4.12-rc2 (2017-05-21 19:30:23 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git armsoc-fixes for you to fetch changes up to 151d1d752bb681

Re: [PATCH 2/2] tick: Make sure tick timer is active when bypassing reprogramming

2017-06-06 Thread Levin, Alexander (Sasha Levin)
On Tue, Jun 06, 2017 at 04:52:29PM +0200, Frederic Weisbecker wrote: > On Sat, Jun 03, 2017 at 01:00:53PM +, Levin, Alexander (Sasha Levin) > wrote: > > On Sat, Jun 03, 2017 at 02:42:43PM +0200, Frederic Weisbecker wrote: > > > On Sat, Jun 03, 2017 at 08:06:41AM +, Levin, Alexander (Sasha

Re: [PATCH 2/2] tcp: md5: add fields to the tcp_md5sig struct to set a key address prefix

2017-06-06 Thread Eric Dumazet
On Tue, 2017-06-06 at 17:54 -0700, Ivan Delalande wrote: > Replace padding in the socket option structure tcp_md5sig with a new > flag field and address prefix length so it can be specified when > configuring a new key with the TCP_MD5SIG socket option. > > Signed-off-by: Bob Gilligan > Signed-of

Re: [PATCH] cpufreq: Find transition latency dynamically

2017-06-06 Thread Viresh Kumar
On 06-06-17, 18:48, Leonard Crestez wrote: > I remember checking if transition latency is correct for imx6q-cpufreq > and it does not appear to be. Maybe because i2c latency of regulator > adjustments is not counted in? + software latency + other stuff based on platforms. And that's why I am tryi

Re: [PATCH] Revert "mm: vmpressure: fix sending wrong events on underflow"

2017-06-06 Thread Minchan Kim
On Wed, Jun 07, 2017 at 11:08:37AM +0800, zhongjiang wrote: > This reverts commit e1587a4945408faa58d0485002c110eb2454740c. > > THP lru page is reclaimed , THP is split to normal page and loop again. > reclaimed pages should not be bigger than nr_scan. because of each > loop will increase nr_scan

Re: [PATCH 3/4] watchdog: Split up config options

2017-06-06 Thread Nicholas Piggin
On Tue, 6 Jun 2017 12:49:58 -0400 Don Zickus wrote: > On Sat, Jun 03, 2017 at 04:10:05PM +1000, Nicholas Piggin wrote: > > > > config HARDLOCKUP_DETECTOR > > > > - def_bool y > > > > - depends on LOCKUP_DETECTOR && !HAVE_NMI_WATCHDOG > > > > - depends on PERF_EVENTS && HAVE_PE

Re: [PATCH] modpost: abort if a module name is too long

2017-06-06 Thread Jessica Yu
+++ Wanlong Gao [06/06/17 09:07 +0800]: On 2017/6/5 10:09, Jessica Yu wrote: +++ Wanlong Gao [02/06/17 11:04 +0800]: On 2017/6/2 7:23, Jessica Yu wrote: +++ Wanlong Gao [31/05/17 11:48 +0800]: On 2017/5/31 11:30, Jessica Yu wrote: +++ Wanlong Gao [31/05/17 10:23 +0800]: Hi Jessica, O

Re: [PATCH v2 0/2] ARM: imx6ull: Make suspend/resume work like on 6ul

2017-06-06 Thread Shawn Guo
On Tue, Jun 06, 2017 at 08:50:41PM +0300, Leonard Crestez wrote: > Leonard Crestez (2): > ARM: imx: Add MXC_CPU_IMX6ULL and cpu_is_imx6ull > ARM: imx6ull: Make suspend/resume work like on 6ul Applied both, thanks.

Re: [PATCH 2/2] acpi, gicv3-its, numa: Adding numa node mapping for gic-its units

2017-06-06 Thread Ganapatrao Kulkarni
Adding Lorenzo and Hanzun. On Tue, Jun 6, 2017 at 6:26 PM, Ganapatrao Kulkarni wrote: > Add code to parse SRAT ITS Affinity sub table as defined in ACPI 6.2 > Later in driver probe, its devices are mapped to numa node > using its id to proximity domain mapping. > > Signed-off-by: Ganapatrao Kul

RE: [PATCH] ARM: imx6ull: Make suspend/resume work like on 6ul

2017-06-06 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: 2017-06-07 11:21 AM > To: Anson Huang > Cc: Leonard Crestez ; Peter Chen > ; linux-kernel@vger.kernel.org; Fabio Estevam > ; linux-arm-ker...@lists.infradead.org; Lucas Stach > > Sub

Re: [LTP] [BUG] Unable to handle kernel paging request for unaligned access at address 0xc0000001c52c53df

2017-06-06 Thread Eryu Guan
On Tue, Jun 06, 2017 at 06:00:34PM +0800, Li Wang wrote: > Hi, > > ltp/access04 always panic the latest mainstream kernel-4.12-rc4 on > ppc64le. From the calltrace > I guess the reason is probably that the tests mount ext2 file system > using ext4 driver. > > A simple way to reproduce: > > # dd

Re: [PATCH] ARM: imx6ull: Make suspend/resume work like on 6ul

2017-06-06 Thread Shawn Guo
On Tue, Jun 06, 2017 at 01:51:53PM +0300, Leonard Crestez wrote: > On Mon, 2017-06-05 at 13:37 +0800, Shawn Guo wrote: > > On Tue, May 30, 2017 at 07:11:19PM +0300, Leonard Crestez wrote: > > > > > > Suspend and resume on imx6ull is currenty not working because of some > > > missed checks where be

[PATCH] Revert "mm: vmpressure: fix sending wrong events on underflow"

2017-06-06 Thread zhongjiang
This reverts commit e1587a4945408faa58d0485002c110eb2454740c. THP lru page is reclaimed , THP is split to normal page and loop again. reclaimed pages should not be bigger than nr_scan. because of each loop will increase nr_scan counter. Signed-off-by: zhongjiang --- mm/vmpressure.c | 10 +-

linux-next: manual merge of the tip tree with the unicore32 tree

2017-06-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/unicore32/include/asm/Kbuild between commit: bc27113620ca ("unicore32-oldabi: add oldabi syscall interface") from the unicore32 tree and commit: 6bc51cbaa9d7 ("signal: Remove non-uapi ") from the tip tree. I fixe

[PATCH] f2fs: fix to avoid panic when encountering corrupt node

2017-06-06 Thread Chao Yu
With fault_injection option, generic/361 of fstests will complain us with below message: Call Trace: get_node_page+0x12/0x20 [f2fs] f2fs_iget+0x92/0x7d0 [f2fs] f2fs_fill_super+0x10fb/0x15e0 [f2fs] mount_bdev+0x184/0x1c0 f2fs_mount+0x15/0x20 [f2fs] mount_fs+0x39/0x150 vfs_kern_mount+0x67/0x1

Re: [PATCH 2/6] efi: Avoid fortify checks in EFI stub

2017-06-06 Thread Kees Cook
On Tue, Jun 6, 2017 at 10:17 AM, Mark Rutland wrote: > On Tue, Jun 06, 2017 at 05:13:07PM +, Ard Biesheuvel wrote: >> (+ Mark, Matt) >> >> On 6 June 2017 at 04:52, Kees Cook wrote: >> > This avoids CONFIG_FORTIFY_SOURCE from being enabled during the EFI stub >> > build, as adding a panic() im

Re: [PATCH v4 04/23] mtd: nand: denali: avoid hard-coding ECC step, strength, bytes

2017-06-06 Thread Masahiro Yamada
Hi Boris, 2017-06-07 7:01 GMT+09:00 Boris Brezillon : > On Tue, 6 Jun 2017 08:21:43 +0900 > Masahiro Yamada wrote: > >> This driver was originally written for the Intel MRST platform with >> several platform-specific parameters hard-coded. >> >> Currently, the ECC settings are hard-coded as fol

Re: [PATCH] mm: vmscan: do not pass reclaimed slab to vmpressure

2017-06-06 Thread zhong jiang
On 2017/6/7 10:53, Minchan Kim wrote: > Hi, > > On Tue, Jun 06, 2017 at 09:00:55PM +0800, zhong jiang wrote: >> On 2017/1/31 7:40, Minchan Kim wrote: >>> Hi Vinayak, >>> Sorry for late response. It was Lunar New Year holidays. >>> >>> On Fri, Jan 27, 2017 at 01:43:23PM +0530, vinayak menon wrote: >

Re: [PATCH] mm: vmscan: do not pass reclaimed slab to vmpressure

2017-06-06 Thread Minchan Kim
Hi, On Tue, Jun 06, 2017 at 09:00:55PM +0800, zhong jiang wrote: > On 2017/1/31 7:40, Minchan Kim wrote: > > Hi Vinayak, > > Sorry for late response. It was Lunar New Year holidays. > > > > On Fri, Jan 27, 2017 at 01:43:23PM +0530, vinayak menon wrote: > >>> Thanks for the explain. However, such c

[PATCH] sched/idle: Add deferrable vmstat_updater back

2017-06-06 Thread Aubrey Li
Deferrable vmstat_updater was missing in commit c1de45ca831a ("sched/idle: Add support for tasks that inject idle"), add it back Signed-off-by: Aubrey Li --- kernel/sched/idle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c index ef63adc..6c23e30 1

Re: [PATCH v3] hwmon: Add support for MAX31785 intelligent fan controller

2017-06-06 Thread Joel Stanley
On Wed, Jun 7, 2017 at 1:50 AM, Matthew Barth wrote: > > On 06/06/17 8:33 AM, Guenter Roeck wrote: >> >> On 06/06/2017 12:02 AM, Andrew Jeffery wrote: >>> Over and above the features of the original patch is support for a >>> secondary >>> rotor measurement value that is provided by MAX31785 chips

[PATCH] arm:lpae: build TTB control register value from scratch in v7_ttb_setup

2017-06-06 Thread Hoeun Ryu
Reading TTBCR in early boot stage might return the value of the previous kernel's configuration, especially in case of kexec. For example, if normal kernel (first kernel) had run on a configuration of PHYS_OFFSET <= PAGE_OFFSET and crash kernel (second kernel) is running on a configuration PHYS_OF

Re: [lkp-robot] [tty] 52b03e644f: calltrace:flush_to_ldisc

2017-06-06 Thread Mike Galbraith
On Wed, 2017-06-07 at 10:07 +0800, kernel test robot wrote: > FYI, we noticed the following commit: > > commit: 52b03e644f702dbcb252f6aec92fc0f0d6e29f78 ("tty: fix port buffer > locking V2") > url: > https://github.com/0day-ci/linux/commits/Mike-Galbraith/tty-fix-port-buffer-locking-V2/20170605-

Re: double call identical release when there is a race hitting

2017-06-06 Thread zhong jiang
On 2017/6/6 23:56, Oleg Nesterov wrote: > I can't answer authoritatively, but > > On 06/06, zhong jiang wrote: >> Hi >> >> when I review the code, I find the following scenario will lead to a race , >> but I am not sure whether the real issue will hit or not. >> >> cpu1

Re: [RFC PATCH 2/4] mm, tree wide: replace __GFP_REPEAT by __GFP_RETRY_MAYFAIL with more useful semantic

2017-06-06 Thread Wei Yang
On Tue, Jun 06, 2017 at 02:03:15PM +0200, Michal Hocko wrote: >On Tue 06-06-17 11:04:01, Wei Yang wrote: >> On Mon, Jun 05, 2017 at 08:43:43AM +0200, Michal Hocko wrote: >> >On Sat 03-06-17 10:24:40, Wei Yang wrote: >> >> Hi, Michal >> >> >> >> Just go through your patch. >> >> >> >> I have one q

[PATCH] autofs: sanity check status reported with AUTOFS_DEV_IOCTL_FAIL

2017-06-06 Thread NeilBrown
If a positive status is passed with the AUTOFS_DEV_IOCTL_FAIL ioctl, autofs4_d_automount() will return ERR_PTR(status) with that status to follow_automount(), which will then dereference an invalid pointer. So treat a positive status the same as zero, and map to ENOENT. See comment in systemd

Re: [PATCH v1 1/3] mfd: Add new mfd device TPS68470

2017-06-06 Thread kbuild test robot
Hi Rajmohan, [auto build test WARNING on ljones-mfd/for-mfd-next] [also build test WARNING on v4.12-rc4 next-20170606] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Rajmohan-Mani/mfd-Add-new

Re: [PATCH v2] x86/smpboot: Make logical package management more robust

2017-06-06 Thread Boris Ostrovsky
On 06/06/2017 09:39 AM, Max Vozeler wrote: Hi Thomas, there is a problem booting recent kernels on some Xen domUs hosted by provider JiffyBox. The kernel seems to crash just after logging [0.038700] SMP alternatives: switching to SMP code Do you have the crash splat? Stack trace and su

[PATCH V3] checkpatch: Change format of --color argument to --color[=WHEN]

2017-06-06 Thread Joe Perches
From: John Brooks The boolean --color argument did not offer the ability to force colourized output even if stdout is not a terminal. Change the format of the argument to the familiar --color[=WHEN] construct as seen in common Linux utilities such as git, ls and dmesg, which allows the user to sp

Re: [PATCH v4 03/23] mtd: nand: add generic helpers to check, match, maximize ECC settings

2017-06-06 Thread Masahiro Yamada
2017-06-07 6:47 GMT+09:00 Boris Brezillon : > On Tue, 6 Jun 2017 08:21:42 +0900 > Masahiro Yamada wrote: > >> Driver are responsible for setting up ECC parameters correctly. >> Those include: >> - Check if ECC parameters specified (usually by DT) are valid >> - Meet the chip's ECC requirement

[PATCH] remoteproc: qcom: mdt_loader: Fix rproc_da_to_va

2017-06-06 Thread Sarangdhar Joshi
Refactoring MDT loader broke rproc_da_to_va() for Qualcomm images. This causes an incorrect computation of offset and returns an incorrect virtual address for the relocatable segment(s). Fix this by adding an "out" parameter to qcom_mdt_loader() and setting the correct segment base address in tha

Re: [RFC] usb-phy-generic: Add support to SMSC USB3315

2017-06-06 Thread Peter Chen
On Tue, Jun 06, 2017 at 07:36:10PM +0200, Fabien Lahoudere wrote: > Hi Peter, > > On Tue, 2017-06-06 at 09:55 +0800, Peter Chen wrote: > > On Mon, Jun 05, 2017 at 11:52:26AM +0200, Fabien Lahoudere wrote: > > > On Mon, 2017-06-05 at 17:43 +0800, Peter Chen wrote: > > > > On Mon, Jun 05, 2017 at 10

Re: [PATCH] driver core: remove CLASS_ATTR usage

2017-06-06 Thread Michael Ellerman
Greg KH writes: > From: Greg Kroah-Hartman > > There was only 2 remaining users of CLASS_ATTR() so let's finally get > rid of them and force everyone to use the correct RW/RO/WO versions > instead. > > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > Signed-off-by: Gre

Re: [PATCH v5 09/10] VAS: Define vas_tx_win_open()

2017-06-06 Thread Sukadev Bhattiprolu
Sukadev Bhattiprolu [suka...@linux.vnet.ibm.com] wrote: > +static void *map_paste_region(char *name, uint64_t start, int len) > +{ > + void *map; > + > + if (!request_mem_region(start, len, name)) { > + pr_devel("%s(): request_mem_region(0x%llx, %d) failed\n", > +

Re: [WIP PATCH 2/4] ACPI: button: remove the LID input node when the state is unknown

2017-06-06 Thread Peter Hutterer
On Tue, Jun 06, 2017 at 12:22:09PM +0200, Benjamin Tissoires wrote: [...] > > This is because the aml table puts many Notify(LID, 0x80) in various > > control methods. > > And not one of them but multiple of them will be invoked by various OS > > drivers during suspend/resume period. > > I think

Re: [PATCH] mfd: Add driver for RAVE Supervisory Processor

2017-06-06 Thread Andrey Smirnov
On Tue, Jun 6, 2017 at 11:06 AM, Andrey Smirnov wrote: > Add a driver for RAVE Supervisory Processor, an MCU implementing > varoius bits of housekeeping functionality (watchdoging, backlight > control, LED control, etc) on RAVE family of products by Zodiac > Inflight Innovations. > > This driver i

Re: [PATCH v4 00/23] mtd: nand: denali: Denali NAND IP patch bomb

2017-06-06 Thread Masahiro Yamada
Hi Boris, 2017-06-07 7:09 GMT+09:00 Boris Brezillon : > Hi Masahiro, > > On Tue, 6 Jun 2017 08:21:39 +0900 > Masahiro Yamada wrote: > >> This patch series intends to solve various problems. >> >> [1] The driver just retrieves the OOB area as-is >> whereas the controller uses syndrome page l

Re: [PATCH 2/3] target: Add TARGET_SCF_LOOKUP_LUN_FROM_TAG support for ABORT_TASK

2017-06-06 Thread Tran, Quinn
Looks Good. Regards, Quinn Tran -Original Message- From: Nicholas Bellinger Date: Saturday, June 3, 2017 at 3:10 PM To: target-devel Cc: linux-scsi , lkml , Nicholas Bellinger , "Madhani, Himanshu" , "Tran, Quinn" , Mike Christie , Hannes Reinecke , Christoph Hellwig Subject: [PATC

Re: [PATCH 1/3] target: Add support for TMR percpu reference counting

2017-06-06 Thread Tran, Quinn
Looks good. Regards, Quinn Tran -Original Message- From: Nicholas Bellinger Date: Saturday, June 3, 2017 at 3:10 PM To: target-devel Cc: linux-scsi , lkml , Nicholas Bellinger , "Madhani, Himanshu" , "Tran, Quinn" , Mike Christie , Hannes Reinecke , Christoph Hellwig Subject: [PATC

Re: [PATCH 3/3] qla2xxx: Convert QLA_TGT_ABTS to TARGET_SCF_LOOKUP_LUN_FROM_TAG

2017-06-06 Thread Tran, Quinn
Nic, Thanks. It looks good. Regards, Quinn Tran -Original Message- From: Nicholas Bellinger Date: Saturday, June 3, 2017 at 3:10 PM To: target-devel Cc: linux-scsi , lkml , Nicholas Bellinger , "Madhani, Himanshu" , "Tran, Quinn" , Mike Christie , Hannes Reinecke , Christoph Hellw

Re: [PATCH v5 12/20] ARM: dts: uniphier: Add generic compatible string for I2C EEPROM

2017-06-06 Thread Masahiro Yamada
Hi Javier, 2017-06-06 18:04 GMT+09:00 Javier Martinez Canillas : > Hello Masahiro, > > On Mon, Jun 5, 2017 at 7:13 AM, Masahiro Yamada > wrote: >> Hi. >> >> 2017-05-23 22:34 GMT+09:00 Javier Martinez Canillas : >>> The at24 driver allows to register I2C EEPROM chips using different vendor >>> an

  1   2   3   4   5   6   7   8   9   10   >