Re: [PATCH 2/4] KVM: VMX: avoid double list add with VT-d posted interrupts

2017-06-08 Thread Paolo Bonzini
- Original Message - > From: "Peter Xu" > To: "Paolo Bonzini" > Cc: linux-kernel@vger.kernel.org, k...@vger.kernel.org, "Longpeng" > , "Huangweidong" > , "Gonglei" , "wangxin" > , "Radim > Krčmář" > Sent: Thursday, June 8, 2017 8:50:57 AM > Subject: Re: [PATCH 2/4] KVM: VMX: avoid do

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 com

Re: [PATCH v1 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-06-08 Thread Hans de Goede
Hi, On 07-06-17 22:10, Sakari Ailus wrote: Hi Andy, On Wed, Jun 07, 2017 at 04:40:13PM +0300, Andy Shevchenko wrote: On Wed, Jun 7, 2017 at 3:15 PM, Sakari Ailus wrote: On Tue, Jun 06, 2017 at 05:23:56PM +0300, Andy Shevchenko wrote: Follow the pattern, please, I suppose ti_pmic_tps68470.c

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

2017-06-08 Thread Christoph Hellwig
On Thu, Jun 08, 2017 at 04:04:15PM +1000, Stephen Rothwell wrote: > 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 'gui

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

2017-06-08 Thread Feng Feng24 Liu
Hi, T Makphaibulchoke & Steve I found that you discuss about " kernel BUG at kernel/locking/rtmutex.c:997 " at https://groups.google.com/forum/#!topic/fa.linux.kernel/aV2peeXs71E Could you help to give some advice? Our kernel version is: kernel4.4.6-rt1

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

2017-06-08 Thread 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 > : > > On Wed, 7 Jun 2017 20:52:16 +0900 > > Masahiro Yamada wrote: > > > >> Currently, the error handling of denali_write_page(_raw) is a bit > >> complicated. If th

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

2017-06-08 Thread Viresh Kumar
On 07-06-17, 14:26, Ulf Hansson wrote: > On 17 May 2017 at 09:02, Viresh Kumar wrote: > Apologize for the delay! I was kind of waiting for Kevin to jump in as > he has already been in the loop. Thanks for getting these reviewed eventually :) > > +bool pm_genpd_has_performance_state(struct devi

Re: [PATCH] Fix loop device flush before configure

2017-06-08 Thread James Wang
On 06/08/2017 02:56 PM, Christoph Hellwig wrote: > On Thu, Jun 08, 2017 at 08:45:31AM +0800, James Wang wrote: >> Ok I got it blktests is a suite. I'd like to contribute something. If you >> need, we adapt you,;-)! >> But I have to learn some how to do that, need time. > I haven't added test mys

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 (mmc_pdata(host)->ocr

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: > > > > > >> -/* > >> - * This is the interrupt service routine. It handles all interrupts > >> - *

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 controller uses syndrome page layout. >> [2] Many NAND chip spe

[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 rk805_device_shutdown func PATCH V

[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(-) diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c

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 as-is > > whereas the controller uses syndrome page layout. >

[PATCH v6 02/12] mfd: rk808: add rk805 regs addr and ID

2017-06-08 Thread Jianhong Chen
From: Elaine Zhang Signed-off-by: Elaine Zhang --- include/linux/mfd/rk808.h | 120 ++ 1 file changed, 120 insertions(+) diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h index 54feb14..d315659 100644 --- a/include/linux/mfd/rk808.h

[PATCH v6 04/12] mfd: rk808: Add RK805 support

2017-06-08 Thread Jianhong Chen
From: Elaine Zhang The RK805 chip is a Power Management IC (PMIC) for multimedia and handheld devices. It contains the following components: - Regulators - RTC - Clocking Both RK808 and RK805 chips are using a similar register map, so we can reuse the RTC and Clocking functionality.

[PATCH] mm: Drop useless local parameters of register_one_node()

2017-06-08 Thread Dou Liyang
... initializes local parameters "p_node" & "parent" for register_node(). But, register_node() does not use them. Remove the related code of "parent" node, cleanup register_one_node() and register_node(). [Test in Qemu by 4 hotpluggable nodes in x86-64 system] Signed-off-by: Dou Liyang --- dr

Re: [PATCH 0/3] omap_hsmmc: use mmc_regulator_get_supply() to get regulators

2017-06-08 Thread Ulf Hansson
On 7 June 2017 at 10:36, Kishon Vijay Abraham I wrote: > This series deprecates "vmmc_aux" supply property and uses the generic > "vqmmc" property. > > Not sure how exactly to handle omap3-overo-base.dtsi which already has > both vqmmc-supply and vmmc_aux-supply without breaking old dt > compatibi

[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 --- drivers/regulator/Kconfig | 4 +-

Re: [PATCH RFC 1/2] thermal/cpu idle cooling: Introduce cpu idle cooling driver

2017-06-08 Thread Vincent Guittot
Hi Kevin, On 5 June 2017 at 11:07, Tao Wang wrote: > cpu idle cooling driver performs synchronized idle injection across > all cpu in same cluster, offers a new method to cooling down cpu, > that is similar to intel_power_clamp driver, but is basically > designed for ARM platform. > Each cluster

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

2017-06-08 Thread Boris Brezillon
Le Thu, 8 Jun 2017 16:12:49 +0900, Masahiro Yamada a écrit : > 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-i

Re: [PATCH v2 0/8] omap*: Fixes/Cleanups for MMC devicetree node

2017-06-08 Thread Ulf Hansson
On 7 June 2017 at 11:37, Kishon Vijay Abraham I wrote: > There are the set of fixes that were sent initially as part > of [1]. > > These are mostly fixes w.r.t populating regulators in > mmc dt node. It was working before because the regulators > connecting to the IO lines are always on regulators

Re: [PATCH] configfs: Fix race between create_link and configfs_rmdir

2017-06-08 Thread Christoph Hellwig
Thanks Nic, applied to the configfs-for-next tree. I'm not entirely sure if we should bother adding this to 4.12 or if it hits rarely enough?

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

2017-06-08 Thread Greg Kroah-Hartman
On Thu, Jun 08, 2017 at 10:08:58AM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the net tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: In function > 'rtw_cfg80211_add_monitor_if': > drivers/staging/rtl

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

2017-06-08 Thread Philipp Zabel
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 squashed together. There is no point having a > single patch for just 2 defines not used anywhere else. > - I

Re: [PATCH 0/6] ACPI / PM: Suspend-to-idle rework to deal with spurious ACPI wakeups

2017-06-08 Thread Hans de Goede
Hi, On 08-06-17 02:00, Rafael J. Wysocki wrote: Hi All, This series is a replacement for commit eed4d47efe95 (ACPI / sleep: Ignore spurious SCI wakeups from suspend-to-idle) which is still there in 4.12-rc4 but will be reverted shortly, because it triggered issues on quite a few systems. The l

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 >> > they still contain obsolete Kcon

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 n_entries | wc -l

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 squashed together. There is no point ha

[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 file changed, 2 insertions(+), 2 deletions(-) diff

[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 file changed, 2 insertions(+), 2 deletions(-) diff

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 provides full > > > transitivity between sch

[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(-) diff --git a/Documentation/devicetree/bindings/mfd/

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 end,

[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 cod

[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 b/tools/perf/util/dso.c index b346b

[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 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-rk805.c |

[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 c63525d845c5..4e7ab6113

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 = &uart0; }; chosen { stdout-path = "serial0:57600n8"; }; This,

[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 ".

[PATCH v4 4/9] perf annotate: Use dso__decompress_kmodule_path()

2017-06-08 Thread Namhyung Kim
Convert open-coded decompress routine to use the function. Signed-off-by: Namhyung Kim --- tools/perf/util/annotate.c | 27 +++ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index df4486c3a2fa..ddbd5

Re: [PATCH v2 1/2] dt-bindings: Add bindings for nvidia,tegra186-ccplex-cluster

2017-06-08 Thread Mikko Perttunen
On 08.06.2017 01:11, Rob Herring wrote: On Thu, Jun 01, 2017 at 11:04:04AM +0300, Mikko Perttunen wrote: The Tegra186 CCPLEX_CLUSTER area contains memory-mapped registers that initiate CPU frequency/voltage transitions. What the block is should also go in the binding doc. With that, I don't

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

2017-06-08 Thread Mike Galbraith
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...

[PATCH V2] Drivers: vt6655 - style fix

2017-06-08 Thread Derek Robson
Fix checkpatch.pl warnings of the form "function definition argument 'foo' should also have an identifier name" in header files. Signed-off-by: Derek Robson --- Changes in v2: - Make the commit message more clear. drivers/staging/vt6655/card.h| 30 ++--- drivers/staging/

[PATCH v4 2/9] perf tools: Fix a memory leak in __open_dso()

2017-06-08 Thread Namhyung Kim
The name should be freed on error path. Signed-off-by: Namhyung Kim --- tools/perf/util/dso.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/dso.c b/tools/perf/util/dso.c index b27d127cdf68..1f29e4fe7af0 100644 --- a/tools/perf/util/dso.c +++ b/tools/perf/

[PATCH v4 8/9] perf symbols: Keep DSO->symtab_type after decompress

2017-06-08 Thread Namhyung Kim
The symsrc__init() overwrites dso->symtab_type as symsrc->type in dso__load_sym(). But for compressed kernel modules in the build-id cache, it should have original symtab type to be decompressed as needed. This fixes perf annotate to show disassembly of the function properly. Signed-off-by: Namh

Re: [PATCH v5 06/23] mtd: nand: denali: set NAND_ECC_CUSTOM_PAGE_ACCESS

2017-06-08 Thread Masahiro Yamada
Hi Boris 2017-06-07 22:26 GMT+09:00 Boris Brezillon : > On Wed, 7 Jun 2017 20:52:15 +0900 > Masahiro Yamada wrote: > >> The denali_cmdfunc() actually does nothing valuable for >> NAND_CMD_{PAGEPROG,READ0,SEQIN}. >> >> For NAND_CMD_{READ0,SEQIN}, it copies "page" to "denali->page", then >> denali

[PATCH v6 10/12] mfd: rk808: Add RK805 gpio support

2017-06-08 Thread Jianhong Chen
From: chenjh Signed-off-by: chenjh --- drivers/mfd/rk808.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c index 7276555..f7cdcf5 100644 --- a/drivers/mfd/rk808.c +++ b/drivers/mfd/rk808.c @@ -97,6 +97,7 @@ static bool rk808_is_volatile_reg(struct d

Re: [PATCH v3 14/23] scsi: hisi_sas: add v3 cq interrupt handler

2017-06-08 Thread Christoph Hellwig
Hi John, sorry for dropping the ball, but your repost reminded me. On Thu, Jun 01, 2017 at 11:36:55AM +0100, John Garry wrote: > In the command completion code we need to check for abnormal completion due > to underflow, but ignore it when it occurs in some commands, like inquiry. > This is why w

[PATCH v6 11/12] mfd: rk808: Add RK805 power key support

2017-06-08 Thread Jianhong Chen
From: chenjh Signed-off-by: chenjh --- drivers/mfd/rk808.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c index f7cdcf5..d1e8d35 100644 --- a/drivers/mfd/rk808.c +++ b/drivers/mfd/rk808.c @@ -94,6 +94,19 @@ static bool rk808_is_v

[PATCH v4 3/9] perf tools: Introduce dso__decompress_kmodule_{fd,path}

2017-06-08 Thread Namhyung Kim
Move decompress_kmodule() to util/dso.c and split it to two functions returning fd and (decompressed) file path. Existing user only wants the fd version but the path version will be used soon. Signed-off-by: Namhyung Kim --- tools/perf/util/dso.c| 58

[PATCH v6 12/12] gpio: dt-bindings: add bindings for Rockchip RK805 PMIC

2017-06-08 Thread Jianhong Chen
From: chenjh Add device tree bindings documentation for Rockchip's RK805 PMIC Signed-off-by: chenjh --- .../devicetree/bindings/gpio/gpio-rk805.txt| 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-rk805.txt di

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

2017-06-08 Thread Namhyung Kim
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 --- tools/perf/tests/code-reading.c | 20 +++- 1 file changed, 19 insertions(+

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

2017-06-08 Thread kbuild test robot
/20170608-140734 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev config: i386-randconfig-x070-06040719 (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=i386 All

[PATCH v4 1/9] perf annotate: Fix symbolic link of build-id cache

2017-06-08 Thread Namhyung Kim
The commit 6ebd2547dd24 ("perf annotate: Fix a bug following symbolic link of a build-id file") changed to use dirname to follow the symlink. But it only considers new-style build-id cache names so old names fail on readlink() and force to use system path which might not available. Cc: Taeung Song

[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 | 111 ++ 3 fil

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 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 > --- > tools/perf

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 03/10] nvme: introduce NVMe Namespace Identification Descriptor structures

2017-06-08 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

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

2017-06-08 Thread Christoph Hellwig
On Wed, Jun 07, 2017 at 11:45:32AM +0200, Johannes Thumshirn wrote: > A NVMe Identify NS command with a CNS value of '3' is expecting a list > of Namespace Identification Descriptor structures to be returned to > the host for the namespace requested in the namespace identify > command. > > This Na

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 a écrit : > > > On 07/

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 > Reviewed-by: Sagi Gri

[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 the regular page all

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. > > Signed-o

[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 than the original

[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 fallback (e.g. when offli

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

2017-06-08 Thread Johannes Thumshirn
On 06/08/2017 09:41 AM, Christoph Hellwig wrote: >> 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 buf

[PATCH 2/4] hugetlb, memory_hotplug: prefer to use reserved pages for migration

2017-06-08 Thread Michal Hocko
From: Michal Hocko new_node_page will try to use the origin's next NUMA node as the migration destination for hugetlb pages. If such a node doesn't have any preallocated pool it falls back to __alloc_buddy_huge_page_no_mpol to allocate a surplus page instead. This is quite subotpimal for any conf

[PATCH 0/4] more sensible hugetlb migration for hotplug/CMA

2017-06-08 Thread Michal Hocko
Hi, I have received a bug report for memory hotplug triggered hugetlb migration on a distribution kernel but the very same issue is still present in the current upstream code. The bug is described in patch 2 but in short the issue is that new_node_page doesn't really try to consume preallocated hug

Re: [PATCH v6 09/10] nvmet: allow overriding the NVMe VS via configfs

2017-06-08 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

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

2017-06-08 Thread Ulf Hansson
[...] >> As you probably figured out from my above comments, the solution here >> isn't really working. >> >> Adding these new APIs, more or less requires us to manage reference >> counting on the genpd for the device. > > Hmm, I am not able to understand why would we need that with this series :(

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: [linuxwifi] [PATCH] net: wireless: intel: iwlwifi: dvm: fix tid mask

2017-06-08 Thread Seraphime Kirkovski
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 a/drivers/net/wireless/intel/iwlwifi/dvm/tx.c > b/drive

linux-next: Tree for Jun 8

2017-06-08 Thread Stephen Rothwell
Hi all, Changes since 20170607: The net tree gained a build failure for which I applied a merge fix patch. The wireless-drivers-next tree gained a build failure for which I applied a merge fix patch. The drm tree gained a conflict against the drm-intel-fixes tree. The drm-intel tree gained con

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

2017-06-08 Thread Christoph Hellwig
On Thu, Jun 08, 2017 at 09:49:35AM +0200, Johannes Thumshirn wrote: > 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

Re: [PATCH RFC 1/2] thermal/cpu idle cooling: Introduce cpu idle cooling driver

2017-06-08 Thread Daniel Lezcano
On Wed, Jun 07, 2017 at 11:59:12PM +0200, Rafael J. Wysocki wrote: > On Wed, Jun 7, 2017 at 11:50 PM, Daniel Lezcano > wrote: > > On Tue, Jun 06, 2017 at 09:11:35AM +0530, viresh kumar wrote: > >> + Daniel > > > > Hi Viresh, > > > > thanks for the head up. > > > > Before going deeply in the review

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 d

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 > > wh

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`;

[PATCH 2/6] drivers base/arch_topology: frequency-invariant load-tracking support

2017-06-08 Thread Dietmar Eggemann
Implements an arch-specific frequency-scaling function topology_get_freq_scale() which provides the following frequency scaling factor: current_freq(cpu) << SCHED_CAPACITY_SHIFT / max_supported_freq(cpu) The debug output in init_cpu_capacity_callback() has been changed to be able to distinguish

[PATCH 4/6] arm: wire cpu-invariant accounting support up to the task scheduler

2017-06-08 Thread Dietmar Eggemann
Commit 8cd5601c5060 ("sched/fair: Convert arch_scale_cpu_capacity() from weak function to #define") changed the wiring which now has to be done by associating arch_scale_cpu_capacity with the actual implementation provided by the architecture. Define arch_scale_cpu_capacity to use the arch_topolog

[PATCH 5/6] arm64: wire frequency-invariant accounting support up to the task scheduler

2017-06-08 Thread Dietmar Eggemann
Commit dfbca41f3479 ("sched: Optimize freq invariant accounting") changed the wiring which now has to be done by associating arch_scale_freq_capacity with the actual implementation provided by the architecture. Define arch_scale_freq_capacity to use the arch_topology "driver" function topology_get

[PATCH 0/6] arm, arm64: frequency- and cpu-invariant accounting support for task scheduler

2017-06-08 Thread Dietmar Eggemann
For a more accurate (i.e. frequency- and cpu-invariant) load-tracking the task scheduler needs a frequency-scaling and on a heterogeneous system a cpu-scaling correction factor. This patch-set implements a Frequency Invariance Engine (FIE) (topology_get_freq_scale()) in drivers/base/arch_topology.

[PATCH 6/6] arm64: wire cpu-invariant accounting support up to the task scheduler

2017-06-08 Thread Dietmar Eggemann
Commit 8cd5601c5060 ("sched/fair: Convert arch_scale_cpu_capacity() from weak function to #define") changed the wiring which now has to be done by associating arch_scale_cpu_capacity with the actual implementation provided by the architecture. Define arch_scale_cpu_capacity to use the arch_topolog

[PATCH 1/6] drivers base/arch_topology: prepare cpufreq policy notifier for frequency-invariant load-tracking support

2017-06-08 Thread Dietmar Eggemann
This patch prepares the actual implementation of the frequency-invariant load-tracking support provided in the next patch ("drivers base/arch_topology: frequency-invariant load-tracking support"). The maximum supported frequency of a cpu (policy->cpuinfo.max_freq) has to be retrieved for frequency

[PATCH] ila_xlat: add missing hash secret initialization

2017-06-08 Thread Arnd Bergmann
While discussing the possible merits of clang warning about unused initialized functions, I found one function that was clearly meant to be called but never actually is. __ila_hash_secret_init() initializes the hash value for the ila locator, apparently this is intended to prevent hash collision a

[PATCH 3/6] arm: wire frequency-invariant accounting support up to the task scheduler

2017-06-08 Thread Dietmar Eggemann
Commit dfbca41f3479 ("sched: Optimize freq invariant accounting") changed the wiring which now has to be done by associating arch_scale_freq_capacity with the actual implementation provided by the architecture. Define arch_scale_freq_capacity to use the arch_topology "driver" function topology_get

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

2017-06-08 Thread Johannes Thumshirn
On 06/08/2017 09:52 AM, Christoph Hellwig wrote: > On Thu, Jun 08, 2017 at 09:49:35AM +0200, Johannes Thumshirn wrote: >> 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_IDE

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 wrote: > > > > > > > Now that the s

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 form.

Re: [PATCH v6 25/34] swiotlb: Add warnings for use of bounce buffers with SME

2017-06-08 Thread Christoph Hellwig
On Wed, Jun 07, 2017 at 02:17:32PM -0500, Tom Lendacky wrote: > Add warnings to let the user know when bounce buffers are being used for > DMA when SME is active. Since the bounce buffers are not in encrypted > memory, these notifications are to allow the user to determine some > appropriate actio

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

2017-06-08 Thread Alexandre Belloni
On 08/06/2017 at 09:44:46 +0200, Daniel Lezcano wrote: > > +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. > Ok, so is the solution putting the driver back in mach-at91 were we can

Re: [PATCH v2 0/8] scheduler tinification

2017-06-08 Thread Ingo Molnar
Also, let me make it clear at the outset that we do care about RAM footprint all the time, and I've applied countless data structure and .text reducing patches to the kernel. But there's a cost/benefit analysis to be made, and this series fails that test in my view, because it increases the

Re: [PATCH] vfio/pci: Add Intel XXV710 to hidden INTx devices

2017-06-08 Thread Christoph Hellwig
On Wed, Jun 07, 2017 at 01:01:46PM -0600, Alex Williamson wrote: > XXV710 has the same broken INTx behavior as the rest of the X/XL710 > series, the interrupt status register is not wired to report pending > INTx interrupts, thus we never associate the interrupt to the device. > Extend the device I

Re: [PATCH] KVM: async_pf: Fix rcu_irq_enter/exit() usage

2017-06-08 Thread Wanpeng Li
2017-06-07 22:24 GMT+08:00 Paolo Bonzini : > > > On 07/06/2017 16:10, Wanpeng Li wrote: >> 2017-06-07 21:05 GMT+08:00 Paolo Bonzini : >>> >>> >>> On 07/06/2017 14:04, Wanpeng Li wrote: From: Wanpeng Li Commit 9b132fbe5419 (Add rcu user eqs exception hooks for async page fault)

[PATCH] MAINTAINERS: update email address for Jessica Yu

2017-06-08 Thread Jessica Yu
I will be traveling in the upcoming months and it'll be much easier for me to access my kernel.org email rather than my work one. Change my email address in the MAINTAINERS file from j...@redhat.com to j...@kernel.org. Signed-off-by: Jessica Yu --- MAINTAINERS | 4 ++-- 1 file changed, 2 inserti

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: Geert Uytterhoeven writes: > > On Tue, May 23, 2017 at 1

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", > +

  1   2   3   4   5   6   7   8   9   10   >