Re: [PATCH] ARM: samsung: Save defconfig for Exynos, S3C and S5P configs

2017-06-08 Thread Krzysztof Kozlowski
On Wed, Jun 07, 2017 at 09:49:58PM +0200, Arnd Bergmann wrote: > On Wed, Jun 7, 2017 at 8:18 PM, Krzysztof Kozlowski wrote: > > Some configs for Samsung ARM SoCs were not updated for some time and > > they still contain obsolete Kconfig entries. Generate new defconfig for > >

Re: [PATCH 2/2] xen/input: add multi-touch support

2017-06-08 Thread Oleksandr Andrushchenko
Hi, Dmitry! On 06/07/2017 07:56 PM, Dmitry Torokhov wrote: On Wed, May 31, 2017 at 12:06:56PM +0300, Oleksandr Andrushchenko wrote: Hi, Dmitry! On 05/30/2017 07:37 PM, Dmitry Torokhov wrote: On Tue, May 30, 2017 at 03:50:20PM +0300, Oleksandr Andrushchenko wrote: Hi, Dmitry! On 05/30/2017

[PATCH v4 5/9] perf tools: Decompress kernel module when reading DSO data

2017-06-08 Thread Namhyung Kim
Currently perf decompresses kernel modules when loading symbol table but it missed to do it when reading raw data. Signed-off-by: Namhyung Kim --- tools/perf/util/dso.c | 16 1 file changed, 16 insertions(+) diff --git a/tools/perf/util/dso.c

[PATCH v6 08/12] gpio: Add GPIO driver for the RK805 PMIC

2017-06-08 Thread Jianhong Chen
From: chenjh RK805 has two configurable GPIOs that can be used for several purposes. These are output only. This driver is generic for other Rockchip PMICs to be added. Signed-off-by: chenjh --- drivers/gpio/Kconfig | 6 ++

[PATCH v4 6/9] perf tools: Consolidate error path in __open_dso()

2017-06-08 Thread Namhyung Kim
On failure, it should free the 'name', so clean up the error path using goto. Signed-off-by: Namhyung Kim --- tools/perf/util/dso.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/tools/perf/util/dso.c b/tools/perf/util/dso.c index

Re: [PATCH 06/15] serial: 8250_ingenic: Parse earlycon options

2017-06-08 Thread Marcin Nowakowski
Hi Paul, On 07.06.2017 22:04, Paul Cercueil wrote: In the devicetree, it is possible to specify the baudrate, parity, bits, flow of the early console, by passing a configuration string like this: aliases { serial0 = }; chosen { stdout-path = "serial0:57600n8"; }; This, for

RE: [PATCH] acpi: acpica: dsutils: fixanoff-by-one index

2017-06-08 Thread Zheng, Lv
Hi, > From: Seraphime Kirkovski > > On Wed, Jun 07, 2017 at 03:14:46PM +, Moore, Robert wrote: > > I believe that the rationale for this is that at that point in the code, it > > is *guaranteed* that > there is at least one operand; therefore the -1 would always be valid. > > > > In the

[PATCHSET 0/9] perf tools: Fix for compressed kernel modules (v4)

2017-06-08 Thread Namhyung Kim
Hello, This is v4 of my compressed kernel module work. Please take a look. * changes in v4) - fix build-id cache symbolic link handling in annotate - separate fix for a memory leak (Arnaldo) - consolidate error path in __open_dso (Arnaldo) - remove decompressed file after use The

[PATCH v4 9/9] perf symbols: Kill dso__build_id_is_kmod()

2017-06-08 Thread Namhyung Kim
The commit e7ee40475760 ("perf symbols: Fix symbols searching for module in buildid-cache") added the function to check kernel modules reside in the build-id cache. This was because there's no way to identify a DSO which is actually a kernel module. So it searched linkname of the file and find

Re: [PATCH 46/58] clocksource/drivers: Add a new driver for the Atmel ARM TC blocks

2017-06-08 Thread Daniel Lezcano
+Mark Rutland, +Rob Herring Alexandre, Boris, have a look at https://www.spinics.net/lists/arm-kernel/msg572652.html That will tell you the story. On Thu, Jun 08, 2017 at 07:42:36AM +0200, Boris Brezillon wrote: > Le Thu, 8 Jun 2017 01:17:15 +0200, > Alexandre Belloni

Re: [PATCH v6 06/10] nvmet: add uuid field to nvme_ns and populate via configfs

2017-06-08 Thread Christoph Hellwig
On Wed, Jun 07, 2017 at 11:45:33AM +0200, Johannes Thumshirn wrote: > Add the UUID field from the NVMe Namespace Identification Descriptor > to the nvmet_ns structure and allow it's population via configfs. > > Signed-off-by: Johannes Thumshirn > Reviewed-by: Max Gurtovoy

[PATCH 3/4] mm: unify new_node_page and alloc_migrate_target

2017-06-08 Thread Michal Hocko
From: Michal Hocko 394e31d2ceb4 ("mem-hotplug: alloc new page from a nearest neighbor node when mem-offline") has duplicated a large part of alloc_migrate_target with some hotplug specific special casing. To be more precise it tried to enfore the allocation from a different node

Re: [PATCH v6 07/10] nvme: get list of namespace descriptors

2017-06-08 Thread Christoph Hellwig
On Wed, Jun 07, 2017 at 11:45:34AM +0200, Johannes Thumshirn wrote: > If a target identifies itself as NVMe 1.3 compliant, try to get the > list of Namespace Identification Descriptors and populate the UUID, > NGUID and EUI64 fileds in the NVMe namespace structure with these > values. > >

[PATCH 1/4] mm, memory_hotplug: simplify empty node mask handling in new_node_page

2017-06-08 Thread Michal Hocko
From: Michal Hocko new_node_page tries to allocate the target page on a different NUMA node than the source page. This makes sense in most cases during the hotplug because we are likely to offline the whole numa node. But there are cases where there are no other nodes to

[RFC PATCH 4/4] hugetlb: add support for preferred node to alloc_huge_page_nodemask

2017-06-08 Thread Michal Hocko
From: Michal Hocko alloc_huge_page_nodemask tries to allocate from any numa node in the allowed node mask. This might lead to filling up low NUMA nodes while others are not used. We can reduce this risk by introducing a concept of the preferred node similar to what we have in

Re: [RFC][PATCH 5/5] powerpc: Remove SYNC from _switch

2017-06-08 Thread Peter Zijlstra
On Thu, Jun 08, 2017 at 05:29:38PM +1000, Nicholas Piggin wrote: > On Thu, 8 Jun 2017 08:54:00 +0200 > Peter Zijlstra wrote: > > > On Thu, Jun 08, 2017 at 10:32:44AM +1000, Nicholas Piggin wrote: > > > On Wed, 07 Jun 2017 18:15:06 +0200 > > > Peter Zijlstra

Re: [PATCH v6 05/10] nvmet: implement namespace identify descriptor list

2017-06-08 Thread Christoph Hellwig
On Thu, Jun 08, 2017 at 09:55:37AM +0200, Johannes Thumshirn wrote: > Btw, is the NVMf sleftests still avtively developed? If yes I have a > testcase for this series (not sure this qualifies for blktests) As-is it's pretty dead, but Chaitanya has been looking into resurrecting it in a modern

RE: [linuxwifi] [PATCH] net: wireless: intel: iwlwifi: dvm: fix tid mask

2017-06-08 Thread Grumbach, Emmanuel
> > On Thu, Jun 08, 2017 at 06:31:01AM +, Grumbach, Emmanuel wrote: > > Hi, > > Hi, > > > True, OTOH we need tid to be 8 sometimes. We *just* need to make sure > > that we don't index tid_data with this. Hence I think the proper fix is: > > > > diff --git

Re: [PATCH 3/4] mm: unify new_node_page and alloc_migrate_target

2017-06-08 Thread Michal Hocko
On Thu 08-06-17 10:36:13, Vlastimil Babka wrote: > On 06/08/2017 09:45 AM, Michal Hocko wrote: > > From: Michal Hocko > > > > 394e31d2ceb4 ("mem-hotplug: alloc new page from a nearest neighbor node > > when mem-offline") has duplicated a large part of alloc_migrate_target > >

Re: [PATCH 46/58] clocksource/drivers: Add a new driver for the Atmel ARM TC blocks

2017-06-08 Thread Daniel Lezcano
On Thu, Jun 08, 2017 at 10:13:34AM +0200, Boris Brezillon wrote: > On Thu, 8 Jun 2017 09:44:46 +0200 > Daniel Lezcano wrote: > > > +Mark Rutland, +Rob Herring > > Mark doesn't seem to be CCed. Ah, yes. Thanks for fixing this. > > > > > > Alexandre, Boris, have a

Re: [PATCH 04/15] clk: Add Ingenic jz4770 CGU driver

2017-06-08 Thread Maarten ter Huurne
On Wednesday 07 June 2017 13:59:43 Stephen Boyd wrote: > On 06/07, Paul Cercueil wrote: > > Add support for the clocks provided by the CGU in the Ingenic JZ4770 > > SoC. > > > > Signed-off-by: Paul Cercueil > > Signed-off-by: Maarten ter Huurne > >

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

2017-06-08 Thread Arnd Bergmann
On Wed, Jun 7, 2017 at 9:43 PM, Arnd Bergmann wrote: > On Tue, Jun 6, 2017 at 11:28 PM, Linus Torvalds > wrote: > I even found one function that should be called but is not: > __ila_hash_secret_init(). This one might be a serious bug, > or it might

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

2017-06-08 Thread Stephen Rothwell
Hi Greg, On Thu, 8 Jun 2017 09:22:20 +0200 Greg Kroah-Hartman wrote: > > Looks good to me, thanks for this, I'll keep it around for when the > merge window happens. Actually, that patch needs to go into the net tree before Dave asks Linus to merge it - the net tree

[PATCH] af_unix: Add sockaddr length checks before accessing sa_family in bind and connect handlers

2017-06-08 Thread Mateusz Jurczyk
Verify that the caller-provided sockaddr structure is large enough to contain the sa_family field, before accessing it in bind() and connect() handlers of the AF_UNIX socket. Since neither syscall enforces a minimum size of the corresponding memory region, very short sockaddrs (zero or one byte

[tip:perf/core] perf/core: Remove unused perf_cgroup_event_cgrp_time() function

2017-06-08 Thread tip-bot for Matthias Kaehlcke
Commit-ID: d0fabd1cb8b70073a0f44f1cf8b663b5e7241c74 Gitweb: http://git.kernel.org/tip/d0fabd1cb8b70073a0f44f1cf8b663b5e7241c74 Author: Matthias Kaehlcke AuthorDate: Tue, 23 May 2017 14:51:32 -0700 Committer: Ingo Molnar CommitDate: Thu, 8 Jun 2017

[tip:sched/core] sched/core: Implement new approach to scale select_idle_cpu()

2017-06-08 Thread tip-bot for Peter Zijlstra
Commit-ID: 1ad3aaf3fcd206628a19a9b9e0922b95e2d4 Gitweb: http://git.kernel.org/tip/1ad3aaf3fcd206628a19a9b9e0922b95e2d4 Author: Peter Zijlstra AuthorDate: Wed, 17 May 2017 12:53:50 +0200 Committer: Ingo Molnar CommitDate: Thu, 8 Jun 2017

Re: [RFC PATCH 2/8] firmware: arm_scmi: add basic driver infrastructure for SCMI

2017-06-08 Thread Sudeep Holla
Hi Roy, On 07/06/17 20:18, Roy Franz wrote: > On Wed, Jun 7, 2017 at 9:10 AM, Sudeep Holla wrote: >> The SCMI is intended to allow OSPM to manage various functions that are >> provided by the hardware platform it is running on, including power and >> performance functions.

Re: [RFC PATCH 6/8] firmware: arm_scmi: add initial support for power protocol

2017-06-08 Thread Sudeep Holla
On 07/06/17 21:38, Arnd Bergmann wrote: > On Wed, Jun 7, 2017 at 6:10 PM, Sudeep Holla wrote: > >> +struct scmi_msg_resp_power_attributes { >> + __le16 num_domains; >> + __le16 reserved; >> + __le32 stats_addr_low; >> + __le32 stats_addr_high; >> +

[PATCH 5/9] config: android-base: add CONFIG_IKCONFIG option

2017-06-08 Thread Amit Pundir
From: Greg Kroah-Hartman This adds CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC options, which are a requirement for the O release. Reviewed-at: https://android-review.googlesource.com/#/c/364553/ Signed-off-by: Greg Kroah-Hartman [AmitP: cherry-picked this

[PATCH 0/9] kernel/configs: Android config fragment updates

2017-06-08 Thread Amit Pundir
Hi, Following are the Android config fragment changes cherry-picked from Android common kernel for your consideration. Config fragments are folded or re-placed in sorted order wherever required. Regards, Amit Pundir Chenbo Feng (1): config: android-base: add CGROUP_BPF Greg Kroah-Hartman

[PATCH 7/9] config: android-base: enable CONFIG_INET_DIAG_DESTROY

2017-06-08 Thread Amit Pundir
From: Lorenzo Colitti As of Android N, this is required to close sockets when a network disconnects. Reviewed-at: https://android-review.googlesource.com/#/c/322674/ [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir

[PATCH 1/9] config: android-recommended: enable fstack-protector-strong

2017-06-08 Thread Amit Pundir
From: Jeff Vander Stoep If compiler has stack protector support, set CONFIG_CC_STACKPROTECTOR_STRONG. Reviewed-at: https://android-review.googlesource.com/#/c/238388/ Signed-off-by: Jeff Vander Stoep [AmitP: cherry-picked this change from Android common

[PATCH 2/9] config: android-recommended: enable CONFIG_ARM64_SW_TTBR0_PAN

2017-06-08 Thread Amit Pundir
From: Sami Tolvanen Enable PAN emulation using TTBR0_EL1 switching. Reviewed-at: https://android-review.googlesource.com/#/c/325997/ Signed-off-by: Sami Tolvanen [AmitP: cherry-picked this change from Android common kernel and updated

[PATCH 8/9] config: android-base: add CGROUP_BPF

2017-06-08 Thread Amit Pundir
From: Chenbo Feng Add CONFIG_CGROUP_BPF as a default configuration in android base config since it is used to replace XT_QTAGUID in future. Reviewed-at: https://android-review.googlesource.com/#/c/400374/ Signed-off-by: Chenbo Feng [AmitP: cherry-picked

[PATCH 9/9] config: android-base: disable CONFIG_NFSD and CONFIG_NFS_FS

2017-06-08 Thread Amit Pundir
From: Roberto Pereira Disable Network file system support. Reviewed-at: https://android-review.googlesource.com/#/c/409559/ Signed-off-by: Roberto Pereira [AmitP: cherry-picked this change from Android common kernel and updated commit message]

Re: linux-next: bad base for the dmi quilt series

2017-06-08 Thread Jean Delvare
On Wed, 7 Jun 2017 09:29:08 +1000, Stephen Rothwell wrote: > Hi Jean, > > The current version of the dmi quilt series > (http://jdelvare.nerim.net/devel/linux/jdelvare-dmi/) has a base of > 4.11.3 ... it must be base on somewhere in Linus' tree. I have used > v4.11 as a base for today (the

RE: [linuxwifi] [PATCH] net: wireless: intel: iwlwifi: dvm: fix tid mask

2017-06-08 Thread Grumbach, Emmanuel
Hi, > Subject: [linuxwifi] [PATCH] net: wireless: intel: iwlwifi: dvm: fix tid mask > > Currently the tid mask covers the first 4 bits of iwlagn_tx_resp::ra_tid, > which gives 16 possible values for tid. > This is problematic because IWL_MAX_TID_COUNT is 8, so indexing > iwl_priv::tid_data can

Re: [RFC][PATCH 5/5] powerpc: Remove SYNC from _switch

2017-06-08 Thread Peter Zijlstra
On Thu, Jun 08, 2017 at 10:32:44AM +1000, Nicholas Piggin wrote: > On Wed, 07 Jun 2017 18:15:06 +0200 > Peter Zijlstra wrote: > > > Now that the scheduler's rq->lock is RCsc and thus provides full > > transitivity between scheduling actions. And since we cannot migrate > >

Re: [PATCH 7/8] blk-mq: create hctx for each present CPU

2017-06-08 Thread Christoph Hellwig
On Wed, Jun 07, 2017 at 03:04:11PM -0700, Omar Sandoval wrote: > On Sat, Jun 03, 2017 at 04:04:02PM +0200, Christoph Hellwig wrote: > > Currently we only create hctx for online CPUs, which can lead to a lot > > of churn due to frequent soft offline / online operations. Instead > > allocate one

Re: [PATCH v2] refcount: Create unchecked atomic_t implementation

2017-06-08 Thread Christoph Hellwig
On Wed, Jun 07, 2017 at 07:58:31PM -0700, Kees Cook wrote: > Many subsystems will not use refcount_t unless there is a way to build the > kernel so that there is no regression in speed compared to atomic_t. This > adds CONFIG_REFCOUNT_FULL to enable the full refcount_t implementation > which has

Re: [PATCH] md: don't use flush_signals in userspace processes

2017-06-08 Thread NeilBrown
On Wed, Jun 07 2017, Mikulas Patocka wrote: > The function flush_signals clears all pending signals for the process. It > may be used by kernel threads when we need to prepare a kernel thread for > responding to signals. However using this function for an userspaces > processes is incorrect -

[PATCH v6 01/12] mfd: rk808: fix up the chip id get failed

2017-06-08 Thread Jianhong Chen
From: Elaine Zhang the rk8xx chip id is: ((MSB << 8) | LSB) & 0xfff0 Signed-off-by: Elaine Zhang --- drivers/mfd/rk808.c | 21 +++-- include/linux/mfd/rk808.h | 1 + 2 files changed, 16 insertions(+), 6 deletions(-)

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

2017-06-08 Thread Boris Brezillon
Le Thu, 8 Jun 2017 15:16:53 +0900, Masahiro Yamada a écrit : > Hi Boris, > > 2017-06-07 20:52 GMT+09:00 Masahiro Yamada : > > This patch series intends to solve various problems. > > > > [1] The driver just retrieves the OOB area

Re: [PATCH v5 10/23] mtd: nand: denali: rework interrupt handling

2017-06-08 Thread Boris Brezillon
Le Thu, 8 Jun 2017 15:10:18 +0900, Masahiro Yamada a écrit : > Hi Boris, > > > 2017-06-07 22:57 GMT+09:00 Boris Brezillon > : > > On Wed, 7 Jun 2017 20:52:19 +0900 > > Masahiro Yamada wrote: >

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

2017-06-08 Thread Masahiro Yamada
2017-06-08 15:16 GMT+09:00 Masahiro Yamada : > Hi Boris, > > 2017-06-07 20:52 GMT+09:00 Masahiro Yamada : >> This patch series intends to solve various problems. >> >> [1] The driver just retrieves the OOB area as-is >> whereas the

[PATCH v6 00/12] rk808: Add RK805 support

2017-06-08 Thread Jianhong Chen
From: chenjh change in v6: patch1~7 no changed in V6. add patch 8~12 for gpio and powerkey func for rk805. change in v5: PATCH V5 1/7: NO change in V5 PATCH V5 2/7: fix the rk805 reg addr in numerical order PATCH V5 3/7: NO change in V5 PATCH V5 4/7: fix up the

Re: [PATCH 2/3] mmc: host: omap_hsmmc: use mmc_regulator_get_supply() to get regulators

2017-06-08 Thread Ulf Hansson
> host->pbias = devm_regulator_get_optional(host->dev, "pbias"); > @@ -2143,7 +2136,8 @@ static int omap_hsmmc_probe(struct platform_device > *pdev) > if (ret) > goto err_irq; > > - mmc->ocr_avail = mmc_pdata(host)->ocr_mask; > + if

Re: [PATCH] ARM: samsung: Save defconfig for Exynos, S3C and S5P configs

2017-06-08 Thread Arnd Bergmann
On Thu, Jun 8, 2017 at 8:45 AM, Krzysztof Kozlowski wrote: > On Wed, Jun 07, 2017 at 09:49:58PM +0200, Arnd Bergmann wrote: >> On Wed, Jun 7, 2017 at 8:18 PM, Krzysztof Kozlowski wrote: >> > Some configs for Samsung ARM SoCs were not updated for some time and >>

[PATCH v6 09/12] Input: Add power key driver for Rockchip RK805 PMIC

2017-06-08 Thread Jianhong Chen
From: chenjh This driver provides a input driver for the power key on the Rockchip RK805 PMIC. Signed-off-by: chenjh --- drivers/input/misc/Kconfig| 6 +++ drivers/input/misc/Makefile | 1 + drivers/input/misc/rk805-pwrkey.c |

Re: [PATCH 2/3] mm/page_ref: Ensure page_ref_unfreeze is ordered against prior accesses

2017-06-08 Thread Vlastimil Babka
On 06/06/2017 07:58 PM, Will Deacon wrote: > page_ref_freeze and page_ref_unfreeze are designed to be used as a pair, > wrapping a critical section where struct pages can be modified without > having to worry about consistency for a concurrent fast-GUP. > > Whilst page_ref_freeze has full barrier

Re: [f2fs-dev] [PATCH v3] f2fs: dax: implement direct access

2017-06-08 Thread Sun Qiuyang
Hi Chao, See my comments below. Hi Qiuyang, On 2017/6/7 17:29, sunqiuyang wrote: From: Qiuyang Sun This is a new version of PATCH v2 2/2 with the following minor changes: - In dax_move_data_page(), the call of allocate_data_block() is changed according to the new

[tip:locking/core] MAINTAINERS: Claim atomic*_t maintainership

2017-06-08 Thread tip-bot for Peter Zijlstra
Commit-ID: 3942b77121986519ee52ab4dd4ae8f4383dfe765 Gitweb: http://git.kernel.org/tip/3942b77121986519ee52ab4dd4ae8f4383dfe765 Author: Peter Zijlstra AuthorDate: Tue, 8 Nov 2016 15:06:03 +0100 Committer: Ingo Molnar CommitDate: Thu, 8 Jun 2017

[PATCH 0/2] drivers: net: add const to mii_phy_ops structures

2017-06-08 Thread Bhumika Goyal
The object references of mii_phy_ops structures are only stored in the ops field of a mii_phy_def structure. This ops field is of type const. So, mii_phy_ops structures having similar properties can be declared as const. Bhumika Goyal (2): drivers/net/sungem: add const to mii_phy_ops structures

Re: [PATCH 1/3] nvmem: core: remove member users from struct nvmem_device

2017-06-08 Thread Srinivas Kandagatla
On 07/06/17 22:51, Heiner Kallweit wrote: Am 07.06.2017 um 17:30 schrieb Srinivas Kandagatla: On 04/06/17 12:01, Heiner Kallweit wrote: Member users is used only to check whether we're allowed to remove the module. So in case of built-in it's not used at all and in case nvmem providers

Re: [PATCH] mm: correct the comment when reclaimed pages exceed the scanned pages

2017-06-08 Thread Minchan Kim
On Wed, Jun 07, 2017 at 04:31:06PM +0800, zhongjiang wrote: > The commit e1587a494540 ("mm: vmpressure: fix sending wrong events on > underflow") declare that reclaimed pages exceed the scanned pages due > to the thp reclaim. it is incorrect because THP will be spilt to normal > page and loop

Re: [PATCH] ASoC: Intel: sst: Remove unused function sst_restore_shim64()

2017-06-08 Thread Takashi Iwai
On Wed, 07 Jun 2017 23:53:29 +0200, Matthias Kaehlcke wrote: > > Hi Takashi, > > El Wed, Jun 07, 2017 at 11:40:19PM +0200 Takashi Iwai ha dit: > > > On Tue, 23 May 2017 02:12:58 +0200, > > Matthias Kaehlcke wrote: > > > > > > Looks like the function has never been used since it was added by

[PATCH v6 03/12] regulator: rk808: Add regulator driver for RK805

2017-06-08 Thread Jianhong Chen
From: Elaine Zhang Add support for the rk805 regulator. The regulator module consists of 4 DCDCs, 3 LDOs. The output voltages are configurable and are meant to supply power to the main processor and other components. Signed-off-by: Elaine Zhang

Re: [PATCH] x86/ldt: Rename ldr_struct.size to .n_entries

2017-06-08 Thread Ingo Molnar
* Borislav Petkov wrote: > On Tue, Jun 06, 2017 at 03:20:22PM -0700, Andy Lutomirski wrote: > > In the subject: ldt_struct, perhaps? > > Right. Committer, pls fix. :-) Fixed. I also renamed 'n_entries' to 'nr_entries', which is the canonical form: triton:~/tip> git grep -w

Re: [PATCH v6 10/34] x86, x86/mm, x86/xen, olpc: Use __va() against just the physical address in cr3

2017-06-08 Thread kbuild test robot
-Secure-Memory-Encryption-AMD/20170608-104147 config: um-x86_64_defconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=um SUBARCH=x86_64 All errors (new ones prefixed by >>): I

Re: [PATCH v6 05/10] nvmet: implement namespace identify descriptor list

2017-06-08 Thread Johannes Thumshirn
On 06/08/2017 09:44 AM, Christoph Hellwig wrote: >> +if (sg_zeroout_area(req->sg, req->sg_cnt, NVME_IDENTIFY_DATA_SIZE, off) > > Shouldn;t the third argument be NVME_IDENTIFY_DATA_SIZE - off in theory? > It's probably fine as is as the S/G helpers deal with overflows > gracefully, but still..

Re: CPU_BIG_ENDIAN in generic code (was: Re: [PATCH v3 3/7] arch/sparc: Define config parameter CPU_BIG_ENDIAN)

2017-06-08 Thread Arnd Bergmann
On Thu, Jun 8, 2017 at 1:07 AM, Babu Moger wrote: > > On 5/29/2017 9:56 PM, Michael Ellerman wrote: >> >> Geert Uytterhoeven writes: >> >>> Hi Michael, >>> >>> On Mon, May 29, 2017 at 2:07 PM, Michael Ellerman >>> wrote:

Re: kernel BUG at kernel/locking/rtmutex.c:1027

2017-06-08 Thread Sebastian Andrzej Siewior
On 2017-06-08 09:31:39 [+0200], Mike Galbraith wrote: > On Thu, 2017-06-08 at 07:01 +, Feng Feng24 Liu wrote: > > > > Our kernel version is: kernel4.4.6-rt14 > > > > Latest 4.4-rt is 4.4.70-rt83... Exactly. Please test it with the latest v4.4 RT tree.

Re: [PATCH 3/3] libnvdimm: New ACPI 6.2 DSM functions

2017-06-08 Thread Johannes Thumshirn
On 06/07/2017 07:04 PM, Jerry Hoemann wrote: > @@ -179,6 +217,10 @@ static inline const char *nvdimm_bus_cmd_name(unsigned > cmd) > [ND_CMD_ARS_START] = "ars_start", > [ND_CMD_ARS_STATUS] = "ars_status", > [ND_CMD_CLEAR_ERROR] = "clear_error", > +

Re: [PATCH] Fix loop device flush before configure v3

2017-06-08 Thread James Wang
On 06/08/2017 03:53 PM, Johannes Thumshirn wrote: > On 06/08/2017 08:52 AM, James Wang wrote: >> Test method: >> modprobe loop max_loop=64 >> dd if=/dev/zero of=disk bs=512 count=200K >> for((i=0;i<4;i++))do losetup -f disk; done >> mkfs.ext4 -F /dev/loop0 >> for((i=0;i<4;i++))do mkdir t$i;

Re: [PATCH 46/58] clocksource/drivers: Add a new driver for the Atmel ARM TC blocks

2017-06-08 Thread Boris Brezillon
On Thu, 8 Jun 2017 09:44:46 +0200 Daniel Lezcano wrote: > +Mark Rutland, +Rob Herring Mark doesn't seem to be CCed. > > > Alexandre, Boris, have a look at > https://www.spinics.net/lists/arm-kernel/msg572652.html > > That will tell you the story. Then we're in a

[PATCH 6/7] pktcdvd: use class_groups instead of class_attrs

2017-06-08 Thread Greg Kroah-Hartman
The class_attrs pointer is long depreciated, and is about to be finally removed, so move to use the class_groups pointer instead. Cc: Cc: Jens Axboe Cc: Hannes Reinecke Cc: Jan Kara Cc: Mike Christie

[PATCH 2/7] scsi: ibmvscsi_tgt: remove use of class_attrs

2017-06-08 Thread Greg Kroah-Hartman
The class_attrs pointer is going away and it's not even being used in this driver, so just remove it entirely. Cc: "Bryant G. Ly" Cc: Michael Cyr Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen"

[PATCH 7/7] driver core: remove class_attrs from struct class

2017-06-08 Thread Greg Kroah-Hartman
This field is no longer used or needed (use class_groups instead), so it can be removed along with the driver core functionality that created and removed these files. Signed-off-by: Greg Kroah-Hartman --- drivers/base/class.c | 33 -

Re: [PATCH 0/5] xen/pvh*: Support > 32 VCPUs at restore

2017-06-08 Thread Juergen Gross
On 03/06/17 02:05, Ankur Arora wrote: > This patch series fixes a bunch of issues in the xen_vcpu setup > logic. > > Simplify xen_vcpu related code: code refactoring in advance of the > rest of the patch series. > > Support > 32 VCPUs at restore: unify all vcpu restore logic in >

Re: [PATCH v5 0/7] ARM: Fix dma_alloc_coherent() and friends for NOMMU

2017-06-08 Thread Vladimir Murzin
Ping! On 24/05/17 11:24, Vladimir Murzin wrote: > Short story: > > Without these patches coherent DMA is broken for András and Alexandre, > so they cannot safely enable DMA on their platforms. > > Patches have been circulated on a list since last year without much > attention to changes in

Re: [RFC PATCH 4/4] hugetlb: add support for preferred node to alloc_huge_page_nodemask

2017-06-08 Thread Vlastimil Babka
On 06/08/2017 09:45 AM, Michal Hocko wrote: > From: Michal Hocko > > alloc_huge_page_nodemask tries to allocate from any numa node in the > allowed node mask. This might lead to filling up low NUMA nodes while > others are not used. We can reduce this risk by introducing a

Re: [PATCH 08/10] KVM: arm/arm64: vgic: Handle unshared mapped interrupts

2017-06-08 Thread Auger Eric
Hi Christoffer, On 02/06/2017 15:33, Christoffer Dall wrote: > On Wed, May 24, 2017 at 10:13:21PM +0200, Eric Auger wrote: >> Virtual interrupts directly mapped to physical interrupts require >> some special care. Their pending and active state must be observed >> at distributor level and not in

Re: bug fix for registers debugfs file implementation [RFC]

2017-06-08 Thread Charles Keepax
On Wed, Jun 07, 2017 at 04:31:15PM -0700, noman pouigt wrote: > On Mon, Apr 24, 2017 at 2:02 AM, Charles Keepax > wrote: > >> > I'm also very surprised that this is failing for you as I know this code > >> > has been fairly heavily exercised with devices with

[PATCH] Revert "[media] et8ek8: Export OF device ID as module aliases"

2017-06-08 Thread Arnd Bergmann
This one got applied twice, causing a build error with clang: drivers/media/i2c/et8ek8/et8ek8_driver.c:1499:1: error: redefinition of '__mod_of__et8ek8_of_table_device_table' Fixes: 9ae05fd1e791 ("[media] et8ek8: Export OF device ID as module aliases") Signed-off-by: Arnd Bergmann

Crypto Fixes for 4.12

2017-06-08 Thread Herbert Xu
Hi Linus: This push fixes a couple of places in the crypto code that were doing interruptible sleeps dangerously. They have been converted to use non-interruptible sleeps. This push also fixes a bug in asymmetric_keys where it would trigger a use-after-free if a request returned EBUSY due to a

Re: [PATCH 5/7] gpio: use class_groups instead of class_attrs

2017-06-08 Thread Robert P. J. Day
On Thu, 8 Jun 2017, Greg Kroah-Hartman wrote: > The class_attrs pointer is long depreciated, and is about to be finally ^^^ deprecated rday -- Robert P. J. Day

[PATCH RFC] KVM: async_pf: fix async_pf exception injection

2017-06-08 Thread Wanpeng Li
INFO: task gnome-terminal-:1734 blocked for more than 120 seconds. Not tainted 4.12.0-rc4+ #8 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. gnome-terminal- D0 1734 1015 0x Call Trace: __schedule+0x3cd/0xb30 schedule+0x40/0x90

[tip:sched/core] sched/deadline: Track the active utilization

2017-06-08 Thread tip-bot for Luca Abeni
Commit-ID: e36d8677bfa55054e4194ec3683189b882a538f6 Gitweb: http://git.kernel.org/tip/e36d8677bfa55054e4194ec3683189b882a538f6 Author: Luca Abeni AuthorDate: Thu, 18 May 2017 22:13:28 +0200 Committer: Ingo Molnar CommitDate: Thu, 8 Jun 2017

[tip:sched/core] sched/deadline: Implement GRUB accounting

2017-06-08 Thread tip-bot for Luca Abeni
Commit-ID: c52f14d384628db0217a7a9080ab800d5ffb2d72 Gitweb: http://git.kernel.org/tip/c52f14d384628db0217a7a9080ab800d5ffb2d72 Author: Luca Abeni AuthorDate: Thu, 18 May 2017 22:13:31 +0200 Committer: Ingo Molnar CommitDate: Thu, 8 Jun 2017

[tip:sched/core] sched/deadline: Improve the tracking of active utilization

2017-06-08 Thread tip-bot for Luca Abeni
Commit-ID: 209a0cbda7a01d2ea32a8b631d35e873bee498e9 Gitweb: http://git.kernel.org/tip/209a0cbda7a01d2ea32a8b631d35e873bee498e9 Author: Luca Abeni AuthorDate: Thu, 18 May 2017 22:13:29 +0200 Committer: Ingo Molnar CommitDate: Thu, 8 Jun 2017

Re: [PATCH V7 1/2] PM / Domains: Add support to select performance-state of domains

2017-06-08 Thread Viresh Kumar
On 08-06-17, 09:48, Ulf Hansson wrote: > It's not a nightmare, just a tricky thing to solve. :-) I may have just solved it actually :) So the real locking problem was the case where a subdomain have multiple parent domains and how do we access its performance_state field from all the paths that

Re: [PATCH v2] mm/oom_kill: count global and memory cgroup oom kills

2017-06-08 Thread Michal Hocko
On Mon 05-06-17 17:27:50, Konstantin Khlebnikov wrote: > > > On 05.06.2017 11:50, Michal Hocko wrote: > >On Thu 25-05-17 13:28:30, Konstantin Khlebnikov wrote: [...] > >>index 04c9143a8625..dd30a045ef5b 100644 > >>--- a/mm/oom_kill.c > >>+++ b/mm/oom_kill.c > >>@@ -876,6 +876,11 @@ static void

Re: [PATCH v5 07/23] mtd: nand: denali: do not propagate NAND_STATUS_FAIL to waitfunc()

2017-06-08 Thread Masahiro Yamada
Hi Boris, 2017-06-08 16:05 GMT+09:00 Boris Brezillon : > Le Thu, 8 Jun 2017 15:11:03 +0900, > Masahiro Yamada a écrit : > >> Hi Boris, >> >> >> 2017-06-07 22:33 GMT+09:00 Boris Brezillon >> :

Re: [RFC][PATCH 5/5] powerpc: Remove SYNC from _switch

2017-06-08 Thread Nicholas Piggin
On Thu, 08 Jun 2017 19:54:30 +1000 Michael Ellerman wrote: > Peter Zijlstra writes: > > On Thu, Jun 08, 2017 at 05:29:38PM +1000, Nicholas Piggin wrote: > >> On Thu, 8 Jun 2017 08:54:00 +0200 > >> Peter Zijlstra wrote: > >> >

linux-next: build failure after merge of the uuid tree

2017-06-08 Thread Stephen Rothwell
Hi Christoph, After merging the uuid tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: In file included from drivers/base/cpu.c:16:0: include/linux/acpi.h:744:16: error: unknown type name 'guid_t' const guid_t *guid, ^ Caused by commit

[PATCH 1/2] drivers/net/sungem: add const to mii_phy_ops structures

2017-06-08 Thread Bhumika Goyal
The object references of mii_phy_ops structures are only stored in the ops field of a mii_phy_def structure. This ops field is of type const. So, mii_phy_ops structures having similar properties can be declared as const. Signed-off-by: Bhumika Goyal ---

[PATCH 2/2] drivers: net: emac: add const to mii_phy_ops structures

2017-06-08 Thread Bhumika Goyal
The object references of mii_phy_ops structures are only stored in the ops field of a mii_phy_def structure. This ops field is of type const. So, mii_phy_ops structures having similar properties can be declared as const. Signed-off-by: Bhumika Goyal ---

Re: [PATCH RFC 0/2] KVM: s390: avoid having to enable vm.alloc_pgste

2017-06-08 Thread Heiko Carstens
On Thu, Jun 08, 2017 at 07:35:28AM +0200, Martin Schwidefsky wrote: > On Wed, 7 Jun 2017 22:47:56 +0200 > Heiko Carstens wrote: > > On Wed, Jun 07, 2017 at 02:34:40PM +0200, Martin Schwidefsky wrote: > > > +#define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ > >

Re: [PATCH] nvmem: core: add managed version of nvmem_register

2017-06-08 Thread Srinivas Kandagatla
On 07/06/17 22:55, Heiner Kallweit wrote: Am 07.06.2017 um 18:19 schrieb Srinivas Kandagatla: On 04/06/17 12:06, Heiner Kallweit wrote: Add a device-managed version of nvmem_register. Signed-off-by: Heiner Kallweit --- Documentation/nvmem/nvmem.txt | 1 +

[PATCH v6 07/12] mfd: dt-bindings: Add RK805 device tree bindings document

2017-06-08 Thread Jianhong Chen
From: Elaine Zhang Add device tree bindings documentation for Rockchip's RK805 PMIC. Signed-off-by: Elaine Zhang --- Documentation/devicetree/bindings/mfd/rk808.txt | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-)

[PATCH v6 06/12] rtc: Kconfig: Name RK805 in Kconfig for RTC_DRV_RK808

2017-06-08 Thread Jianhong Chen
From: Elaine Zhang The RK808 and RK805 PMICs are using a similar register map. We can reuse the rtc driver for the RK805 PMIC. So let's add the RK805 in the Kconfig description. Signed-off-by: Elaine Zhang --- drivers/rtc/Kconfig | 4 ++-- 1

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

2017-06-08 Thread Benjamin Tissoires
On Jun 08 2017 or thereabouts, Philipp Zabel wrote: > Hi Benjamin, > > On Wed, Jun 7, 2017 at 9:11 AM, Benjamin Tissoires > wrote: > > Hi Philip, > > > > On Jun 07 2017 or thereabouts, Philipp Zabel wrote: > [...] > > 2 things: > > - the 2 patches should be

[PATCH v6 05/12] clk: Kconfig: Name RK805 in Kconfig for COMMON_CLK_RK808

2017-06-08 Thread Jianhong Chen
From: Elaine Zhang The RK808 and RK805 PMICs are using a similar register map. We can reuse the clk driver for the RK805 PMIC. So let's add the RK805 in the Kconfig description. Signed-off-by: Elaine Zhang --- drivers/clk/Kconfig | 4 ++-- 1

Re: [RFC][PATCH 5/5] powerpc: Remove SYNC from _switch

2017-06-08 Thread Nicholas Piggin
On Thu, 8 Jun 2017 08:54:00 +0200 Peter Zijlstra wrote: > On Thu, Jun 08, 2017 at 10:32:44AM +1000, Nicholas Piggin wrote: > > On Wed, 07 Jun 2017 18:15:06 +0200 > > Peter Zijlstra wrote: > > > > > Now that the scheduler's rq->lock is RCsc and thus

Re: [PATCH v6 02/10] nvmet: use NVME_IDENTIFY_DATA_SIZE

2017-06-08 Thread Christoph Hellwig
Looks good, but we should also use this for BUILD_BUG_ON checks on the identify payloads, bug I can fix that up. Reviewed-by: Christoph Hellwig

Re: [PATCH v6 01/10] scatterlist: add sg_zeroout_area() helper

2017-06-08 Thread Christoph Hellwig
> size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents, > void *buf, size_t buflen, off_t skip); > > +size_t sg_zeroout_area(struct scatterlist *sgl, unsigned int nents, > +size_t buflen, off_t skip); Maybe sg_zero_buffer to fit with

Re: [PATCH v4 7/9] perf test: Decompress kernel module before objdump

2017-06-08 Thread Adrian Hunter
On 08/06/17 10:31, Namhyung Kim wrote: > If a kernel modules is compressed, it should be decompressed before > running objdump to parse binary data correctly. This fixes a failure of > object code reading test for me. > > Signed-off-by: Namhyung Kim Acked-by: Adrian Hunter

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

2017-06-08 Thread Andrew Jeffery
On Wed, 2017-06-07 at 08:55 -0700, Guenter Roeck wrote: > On Tue, Jun 06, 2017 at 04:32:30PM +0930, Andrew Jeffery wrote: > > Add a basic driver for the MAX31785, focusing on the fan control > > features but ignoring the temperature and voltage monitoring > > features of the device. > > > > This

RE: [PATCH v2] refcount: Create unchecked atomic_t implementation

2017-06-08 Thread Reshetova, Elena
> On Wed, Jun 07, 2017 at 07:58:31PM -0700, Kees Cook wrote: > > Many subsystems will not use refcount_t unless there is a way to build the > > kernel so that there is no regression in speed compared to atomic_t. This > > adds CONFIG_REFCOUNT_FULL to enable the full refcount_t implementation > >

Re: [PATCH] Fix loop device flush before configure v3

2017-06-08 Thread Johannes Thumshirn
On 06/08/2017 08:52 AM, James Wang wrote: > Test method: > modprobe loop max_loop=64 > dd if=/dev/zero of=disk bs=512 count=200K > for((i=0;i<4;i++))do losetup -f disk; done > mkfs.ext4 -F /dev/loop0 > for((i=0;i<4;i++))do mkdir t$i; mount /dev/loop$i t$i;done > for f in `ls /dev/loop[0-9]*|sort`;

  1   2   3   4   5   6   7   8   9   10   >