[PATCH v4 1/5] misc: eeprom_93xx46: Fix 16-bit read and write accesses.

2015-12-09 Thread Cory Tusar
Compatible at93xx46 devices from both Microchip and Atmel expect a word-based address, regardless of whether the device is strapped for 8- or 16-bit operation. However, the offset parameter passed in when reading or writing at a specific location is always specified in terms of bytes. This

[PATCH v4 0/5] Devicetree support for misc/eeprom/eeprom_93xx46.

2015-12-09 Thread Cory Tusar
This series of patches adds an initial set of devicetree bindings to the eeprom_93xx46 driver which mirror the configuration options previously available as a platform device. These bindings are then extended to include support for specific Atmel devices in this family and also to support

[PATCH v4 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-12-09 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar Tested-by: Chris Healy --- drivers/misc/eeprom/eeprom_93xx46.c | 35 +++

[BISECTED] WARNING: CPU: 2 PID: 142 at block/genhd.c:626 add_disk+0x480/0x4e0()

2015-12-09 Thread Laura Abbott
_microsoft rtsx_pci_sdmmc mmc_core crct10dif_pclmul crc32_pclmul crc32c_intel serio_raw drm e1000e ptp rtsx_pci pps_core fjes video [ 125.109197] CPU: 2 PID: 142 Comm: kworker/u16:6 Tainted: G W 4.4.0-rc4-usbbadness-next-20151209+ #3 [ 125.109198] Hardware name: LENOVO 20BFS0EC00/20BFS0EC00, BIOS GMET

Re: [V6 PATCH 5/6] x86/nmi: Fix to save registers for crash dump on external NMI broadcast

2015-12-09 Thread kbuild test robot
Hi Hidehiro, [auto build test ERROR on v4.4-rc4] [also build test ERROR on next-20151209] [cannot apply to tip/x86/core] url: https://github.com/0day-ci/linux/commits/Hidehiro-Kawai/Fix-race-issues-among-panic-NMI-and-crash_kexec/20151210-095254 config: x86_64-randconfig-s4-12101030

[PATCH 1/2] hwmon: (fam15h_power) Add support for AMD new 15h processors

2015-12-09 Thread Huang Rui
AMD Family 15h Models 70h-7fh processors also support TDP power reporting interface. Signed-off-by: Huang Rui --- drivers/hwmon/fam15h_power.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/fam15h_power.c b/drivers/hwmon/fam15h_power.c index

[PATCH 2/2] MAINTAINERS: change the maintainer of fam15h_power driver

2015-12-09 Thread Huang Rui
Andreas Herrmann won't take the maintainer of fam15h_power driver. I will take it and appreciate him for the great contributions on this driver. Signed-off-by: Huang Rui Acked-by: Andreas Herrmann Cc: Borislav Petkov Cc: Aravind Gopalakrishnan --- CREDITS | 8 MAINTAINERS | 4

[PATCH 0/2] hwmon: (fam15h_power) Add new AMD family 15h processors

2015-12-09 Thread Huang Rui
Hi Guenter, This serial adds support for new AMD family 15h processor (Models 70-7f) and maintainer info updates. For accumulated power feature: http://marc.info/?l=linux-kernel=144633156632674=2 http://marc.info/?l=linux-kernel=144619918504720=2 For the patch "x86, amd: add accessor for number

Re: use-after-free in __perf_install_in_context

2015-12-09 Thread Alexei Starovoitov
On Wed, Dec 09, 2015 at 10:17:17AM +0100, Dmitry Vyukov wrote: > > We would happily share this code with other subsystems, or even better > reuse an existing solutions. But to the best of my knowledge there is > no such existing solution, and I still know basically nothing about > what you were

Re: [PATCH] vgaarb: fix signal handling in vga_get()

2015-12-09 Thread Kirill A. Shutemov
On Mon, Nov 30, 2015 at 04:17:31AM +0200, Kirill A. Shutemov wrote: > There are few defects in vga_get() related to signal hadning: > > - we shouldn't check for pending signals for TASK_UNINTERRUPTIBLE > case; > > - if we found pending signal we must remove ourself from wait queue >

Re: [PATCH v2 1/3] mm, printk: introduce new format string for flags

2015-12-09 Thread Steven Rostedt
I should have been Cc'd on this as I'm the maintainer of a few of the files here that is being modified. On Fri, Dec 04, 2015 at 04:16:33PM +0100, Vlastimil Babka wrote: > In mm we use several kinds of flags bitfields that are sometimes printed for > debugging purposes, or exported to userspace

Re: [PATCH 11/28] dmaengine: pch_dma: allow build on MIPS platforms

2015-12-09 Thread Vinod Koul
On Mon, Nov 30, 2015 at 04:21:36PM +, Paul Burton wrote: > Allow the pch_dma driver to be built on MIPS platforms, in preparation > for use on the MIPS Boston board. Acked-by: Vinod Koul -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH 0/3] ste_dma40: Deletion of a few unnecessary checks

2015-12-09 Thread Vinod Koul
On Mon, Nov 16, 2015 at 10:20:25PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 16 Nov 2015 22:12:23 +0100 > > Further update suggestions were taken into account after a patch > was applied from static source code analysis. Applied, thanks -- ~Vinod -- To unsubscribe

Re: [PATCH 2/2] mm/page_ref: add tracepoint to track down page reference manipulation

2015-12-09 Thread Steven Rostedt
On Thu, 10 Dec 2015 11:50:15 +0900 Joonsoo Kim wrote: > Output of cpu 3, 7 are mixed and it's not easy to analyze it. > > I think that it'd be better not to sort stack trace. How do > you think about it? Could you fix it, please? It may not be that easy to fix because of the sorting algorithm.

Re: [PATCH perf/core 00/22] perf refcnt debugger API and fixes

2015-12-09 Thread Alexei Starovoitov
On Wed, Dec 09, 2015 at 10:41:38AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Dec 09, 2015 at 11:10:48AM +0900, Masami Hiramatsu escreveu: > > Hi Arnaldo, > > > > Here is a series of patches for perf refcnt debugger and > > some fixes. > > > > In this series I've replaced all atomic

Re: [PATCH v5] fs: clear file privilege bits when mmap writing

2015-12-09 Thread Kees Cook
On Wed, Dec 9, 2015 at 5:21 PM, Christoph Hellwig wrote: >> Changing the bits requires holding inode->i_mutex, so it cannot be done >> during the page fault (due to mmap_sem being held during the fault). We >> could do this during vm_mmap_pgoff, but that would need coverage in >> mprotect as

Re: [PATCH v2 13/19] ARM: dts: Add bus nodes using VDD_MIF for Exynos4x12

2015-12-09 Thread Krzysztof Kozlowski
On 09.12.2015 13:08, Chanwoo Choi wrote: > This patch adds the bus noes using VDD_MIF for Exynos4x12 SoC. s/noes/nodes/ > Exynos4x12 has the following AXI buses to translate data > between DRAM and DMC/ACP/C2C. > > Signed-off-by: Chanwoo Choi > --- > arch/arm/boot/dts/exynos4x12.dtsi | 72 >

Re: [GIT PULL for 4.4] DT/dmaengine: edma: Update for the new bindings

2015-12-09 Thread Vinod Koul
On Wed, Dec 09, 2015 at 01:10:18PM +0200, Peter Ujfalusi wrote: > Hi Arnd, Vinod, > > As Arnd suggested, the two patch from the following series: > https://www.mail-archive.com/linux-omap@vger.kernel.org/msg122201.html > > plus Acked-by from Arnd is available for pull if you prefer that way.

Re: [PATCH 0/6] drivers/dma: drop modular code from non modular drivers

2015-12-09 Thread Vinod Koul
On Wed, Dec 09, 2015 at 07:17:42PM -0500, Paul Gortmaker wrote: > [Re: [PATCH 0/6] drivers/dma: drop modular code from non modular drivers] On > 10/12/2015 (Thu 00:29) Arnd Bergmann wrote: > > > On Wednesday 09 December 2015 18:21:56 Paul Gortmaker wrote: > > > This series of commits is a slice

Re: [PATCH v6 0/4] gicv2m: acpi: Add ACPI support for GICv2m MSI

2015-12-09 Thread Suravee Suthikulanit
On 12/9/2015 8:20 PM, Duc Dang wrote: This has been tested on AMD Seattle (Overdrive) RevB system. > >NOTE: I have not tested ACPI GICv2m multiframe support since >I don't have access to such system. Any helps are appreciated. Hi Suravee, I tested your v2m-multiframe-v6 branch with APM X-Gene

Re: piping core dump to a program escapes container

2015-12-09 Thread Dongsheng Yang
On 12/09/2015 11:29 AM, Eric W. Biederman wrote: Dongsheng Yang writes: On 12/09/2015 10:26 AM, Dongsheng Yang wrote: On 10/25/2015 05:54 AM, Shayan Pooya wrote: I noticed the following core_pattern behavior in my linux box while running docker containers. I am not sure if it is bug, but it

Re: [git pull] drm for 4.4-rc1

2015-12-09 Thread Stefan Lippers-Hollmann
Hi On 2015-11-09, Dave Airlie wrote: [...] The following changes since commit 06d1ee32a4d25356a710b49d5e95dbdd68bdf505: Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (2015-10-13 09:45:21 -0700) are available in the git repository at:

[PATCH 6/7] perf tools: Free strlist on error path

2015-12-09 Thread Namhyung Kim
Signed-off-by: Namhyung Kim --- tools/perf/util/thread_map.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/util/thread_map.c b/tools/perf/util/thread_map.c index 6ec3c5ca438f..371fb28fe5b1 100644 --- a/tools/perf/util/thread_map.c +++ b/tools/perf/util/thread_map.c @@ -304,6

[PATCH 4/7] perf report: Check argument before calling setup_browser()

2015-12-09 Thread Namhyung Kim
This is necessary to get rid of the browser dependency from usage_with_options() and its friends. Because there's no code changing the argc and argv, it'd be ok to check it early. Cc: Josh Poimboeuf Signed-off-by: Namhyung Kim --- tools/perf/builtin-report.c | 21 ++--- 1 file

[PATCHSET 0/7] perf tools: Remove browser dependency from usage_with_options()

2015-12-09 Thread Namhyung Kim
Hello, This patchset removes the UI browser dependency (specifically exit_browser function) from option parser code. It'll help to separate out the common code into a library. Now existing users of usage_with_options() were converted to call it before setup_browser(). I think future users can

[PATCH 2/7] perf annotate: Delay UI browser setup after initialization is done

2015-12-09 Thread Namhyung Kim
Move setup_browser after all necessary initialization is done. This is to remove the browser dependency from usage_with_options and friends. Cc: Josh Poimboeuf Signed-off-by: Namhyung Kim --- tools/perf/builtin-annotate.c | 18 +- 1 file changed, 9 insertions(+), 9

[PATCH 7/7] perf tools: Get rid of exit_browser() from usage_with_options()

2015-12-09 Thread Namhyung Kim
Since all of its users call before setup_browser(), there's no need to call exit_browser() inside of the function. Cc: Josh Poimboeuf Signed-off-by: Namhyung Kim --- tools/perf/util/parse-options.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/perf/util/parse-options.c

[PATCH 5/7] perf top: Delay UI browser setup after initialization is done

2015-12-09 Thread Namhyung Kim
Move setup_browser after all necessary initialization is done. This is to remove the browser dependency from usage_with_options() and friends. Cc: Josh Poimboeuf Signed-off-by: Namhyung Kim --- tools/perf/builtin-top.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff

[PATCH 3/7] perf kvm: Remove invocation of setup/exit_browser()

2015-12-09 Thread Namhyung Kim
Calling setup_browser(false) with use_browser = 0 is meaningless. Just get rid of it. This is necessary to remove the browser dependency from usage_with_options() and friends. Cc: Josh Poimboeuf Signed-off-by: Namhyung Kim --- tools/perf/builtin-kvm.c | 3 --- 1 file changed, 3 deletions(-)

Re: [PATCH v2 14/14] perf tools: Move subcommand framework and related utils to libapi

2015-12-09 Thread Namhyung Kim
On Mon, Dec 07, 2015 at 10:21:52PM -0600, Josh Poimboeuf wrote: > The perf subcommand framework is needed for other tools. Move > parse-options.c and its dependencies over to libapi. > > Any function names with 'perf' have been renamed to something more > generic. > > Also created a util_cfg

[PATCH 1/7] perf annotate: Check argument before calling setup_browser()

2015-12-09 Thread Namhyung Kim
This is necessary to get rid of the browser dependency from usage_with_options() and its friends. Because there's no code changing the argc and argv, it'd be ok to check it early. Cc: Josh Poimboeuf Signed-off-by: Namhyung Kim --- tools/perf/builtin-annotate.c | 21 ++--- 1

Re: [PATCH for 4.4 0/2] DT/dmaengine: edma: Convert 16bit arrays to 32bit

2015-12-09 Thread Vinod Koul
On Wed, Dec 09, 2015 at 12:12:27PM -0800, Tony Lindgren wrote: > * Peter Ujfalusi [151209 00:19]: > > Hi, > > > > Based on the discussion regarding to (convert am33xx to use the new eDMA > > bindings): > > https://www.mail-archive.com/linux-omap@vger.kernel.org/msg122117.html > > > > This two

Re: [PATCH v2 1/3] mm, printk: introduce new format string for flags

2015-12-09 Thread Joonsoo Kim
Ccing, Steven to ask trace-cmd problem. On Fri, Dec 04, 2015 at 04:16:33PM +0100, Vlastimil Babka wrote: > In mm we use several kinds of flags bitfields that are sometimes printed for > debugging purposes, or exported to userspace via sysfs. To make them easier to > interpret independently on

Re: [PATCH 2/2] mm/page_ref: add tracepoint to track down page reference manipulation

2015-12-09 Thread Joonsoo Kim
On Wed, Dec 09, 2015 at 03:01:54PM -0500, Steven Rostedt wrote: > On Thu, 3 Dec 2015 13:16:58 +0900 > Joonsoo Kim wrote: > > > On Tue, Nov 24, 2015 at 10:45:28AM +0900, Joonsoo Kim wrote: > > > On Mon, Nov 23, 2015 at 09:26:04AM -0500, Steven Rostedt wrote: > > > > On Mon, 23 Nov 2015 17:28:05

Re: [PATCH perf/core 21/22] perf: Fix machine.vmlinux_maps to make sure to clear the old one

2015-12-09 Thread Wangnan (F)
On 2015/12/9 23:22, Arnaldo Carvalho de Melo wrote: Em Wed, Dec 09, 2015 at 11:11:33AM +0900, Masami Hiramatsu escreveu: Fix machine.vmlinux_maps to make sure to clear the old one if it is renewal. This can leak the previous maps on the vmlinux_maps because those are just overwritten.

Re: [PATCH v2 14/14] perf tools: Move subcommand framework and related utils to libapi

2015-12-09 Thread Namhyung Kim
Hi Josh, On Wed, Dec 09, 2015 at 12:59:15PM -0600, Josh Poimboeuf wrote: > On Wed, Dec 09, 2015 at 12:58:08PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Dec 09, 2015 at 06:33:15AM -0600, Josh Poimboeuf escreveu: > > > On Wed, Dec 09, 2015 at 09:03:43AM +0100, Ingo Molnar wrote: > > > > >

[PATCH] regmap: cache: Add warning info for the cache check

2015-12-09 Thread Xiubo Li
If there is no cache used for the drivers, the register drfaults are not need any more. This patch will check this and print a warning. Signed-off-by: Xiubo Li --- drivers/base/regmap/regcache.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git

Re: [PATCHSET v2] ->follow_link() without dropping from RCU mode

2015-12-09 Thread Al Viro
On Thu, Dec 10, 2015 at 12:10:12AM +, Al Viro wrote: > PS: I toyed with the idea of replacing cookie a struct callback_head, to make ... except that it would have to be something like work_struct, since callback_head gets embedded into the argument and here we don't want to do that. _And_

Re: [Questions] perf c2c: What's the current status of perf c2c?

2015-12-09 Thread Yunlong Song
On 2015/12/10 4:41, Joe Mario wrote: > Appended below is the output for running "perf c2c" on a 4-node system > running a multi-thread version of linpack. I've annotated it show describe > what some of the fields mean. > > Note, your screen output has to be set pretty wide to read it. For

Re: [PATCH V4 5/6] cpufreq: governor: replace per-cpu delayed work with timers

2015-12-09 Thread Viresh Kumar
On 09-12-15, 23:06, Rafael J. Wysocki wrote: > BTW, can you please add an extra From: line to the bodies of your patch > messages? > > For some unknown reason Patchwork or your mailer or the combination of the > two mangles your name for me and I have to fix it up manually in every patch > from

Re: [PATCH 4/5] pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for mt2701

2015-12-09 Thread biao huang
On Wed, 2015-12-09 at 23:52 +0100, Linus Walleij wrote: > On Thu, Nov 26, 2015 at 9:44 AM, Biao Huang wrote: > > > Add mt2701 support using mediatek common pinctrl driver. > > MT2701 have some special pins need an extra setting register > > than other ICs, so adding this support to common code.

Re: [PATCH v2 12/19] ARM: dts: Add bus nodes using VDD_INT for Exynos3250

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 11:09, Krzysztof Kozlowski wrote: > On 09.12.2015 13:08, Chanwoo Choi wrote: >> This patch adds the bus nodes using VDD_INT for Exynos3250 SoC. >> Exynos3250 has following AXI buses to translate data between >> DRAM and sub-blocks. >> >> Following list specifies the detailed

Re: [PATCH linux-next (v2) 1/3] mtd: brcmnand: Add brcm,bcm6368-nand device tree binding

2015-12-09 Thread Brian Norris
On Wed, Dec 09, 2015 at 01:01:42PM -0800, Florian Fainelli wrote: > Le 09/12/2015 12:40, Simon Arlott a écrit : > > Add device tree binding for NAND on the BCM6368. > > > > The BCM6368 has a NAND interrupt register with combined status and enable > > registers. It also requires a clock, so add an

Re: [PATCH v2 03/19] ARM: dts: Add DMC bus node for Exynos3250

2015-12-09 Thread Krzysztof Kozlowski
On 10.12.2015 11:17, Chanwoo Choi wrote: > On 2015년 12월 10일 11:04, Krzysztof Kozlowski wrote: >> On 10.12.2015 11:00, Chanwoo Choi wrote: >>> On 2015년 12월 10일 10:20, Krzysztof Kozlowski wrote: On 10.12.2015 10:09, Chanwoo Choi wrote: > On 2015년 12월 10일 09:44, Krzysztof Kozlowski wrote:

Re: [PATCH] mtd: sh_flctl: pass FIFO as physical address

2015-12-09 Thread Brian Norris
On Tue, Dec 08, 2015 at 05:30:02PM +0100, Geert Uytterhoeven wrote: > On Tue, Dec 8, 2015 at 4:38 PM, Arnd Bergmann wrote: > > By convention, the FIFO address we pass using dmaengine_slave_config > > is a physical address in the form that is understood by the DMA > > engine, as a dma_addr_t,

Re: [PATCH v6 0/4] gicv2m: acpi: Add ACPI support for GICv2m MSI

2015-12-09 Thread Duc Dang
On Wed, Dec 9, 2015 at 11:24 AM, Suravee Suthikulpanit wrote: > > This patch series has been forked from the following patch series since > it no longer depends on the rest of the patches. > > [PATCH v4 00/10] ACPI GIC Self-probing, GICv2m and GICv3 support >

Re: [PATCH v2 00/19] PM / devferq: Add generic exynos bus frequency driver and new passive governor

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 10:22, Krzysztof Kozlowski wrote: > On 10.12.2015 09:57, Krzysztof Kozlowski wrote: >> On 09.12.2015 13:07, Chanwoo Choi wrote: >> >> (...) >> >>> .../devicetree/bindings/devfreq/exynos-bus.txt | 383 +++ >> >> How about adding this file to the MAINTAINERS to devfreq

Re: [PATCH v2 03/19] ARM: dts: Add DMC bus node for Exynos3250

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 11:04, Krzysztof Kozlowski wrote: > On 10.12.2015 11:00, Chanwoo Choi wrote: >> On 2015년 12월 10일 10:20, Krzysztof Kozlowski wrote: >>> On 10.12.2015 10:09, Chanwoo Choi wrote: On 2015년 12월 10일 09:44, Krzysztof Kozlowski wrote: > On 09.12.2015 13:07, Chanwoo Choi wrote:

Re: Generic DT binding for IPIs

2015-12-09 Thread David Gibson
On Wed, Dec 09, 2015 at 10:50:35AM -0600, Rob Herring wrote: > On Wed, Dec 9, 2015 at 9:27 AM, Qais Yousef wrote: > > Hi, > > > > On 10/22/2015 12:55 PM, Jason Cooper wrote: > >> > >> On Thu, Oct 22, 2015 at 11:44:16AM +0100, Qais Yousef wrote: > >>> > >>> Is there anything more I can do to get

[PATCH] ideapad-laptop: Add Lenovo ideapad Y700-17ISK to no_hw_rfkill dmi list

2015-12-09 Thread Josh Boyer
One of the newest ideapad models also lacks a physical hw rfkill switch, and trying to read the hw rfkill switch through the ideapad module causes it to always reported blocking breaking wifi. Fix it by adding this model to the DMI list. BugLink:

Re: [PATCH v6 00/10] cpufreq: Introduce ST's CPUFreq driver

2015-12-09 Thread Viresh Kumar
On 09-12-15, 15:58, Lee Jones wrote: > This is a re-write of the original submission, hence why the > change-log is omitted. Basically almost everything has changed. > We are now using the new OPP framework and generic bindings > written by Viresh. > > There are 'ARM' patches in the set which

Re: [PATCH v2 12/19] ARM: dts: Add bus nodes using VDD_INT for Exynos3250

2015-12-09 Thread Krzysztof Kozlowski
On 09.12.2015 13:08, Chanwoo Choi wrote: > This patch adds the bus nodes using VDD_INT for Exynos3250 SoC. > Exynos3250 has following AXI buses to translate data between > DRAM and sub-blocks. > > Following list specifies the detailed relation between DRAM and sub-blocks: > - ACLK400 clock for

Re: [PATCH v6 08/10] cpufreq: st: Provide runtime initialised driver for ST's platforms

2015-12-09 Thread Viresh Kumar
On 09-12-15, 15:58, Lee Jones wrote: > +/* > + * Only match on "suitable for ALL versions" entries > + * > + * This will be used with the BIT() macro. It sets the > + * top bit of a 32bit value and is equal to 0x8000. > + */ > +#define DEFAULT_VERSION 31 Okay, I misread it in

Re: [PATCH v2 03/19] ARM: dts: Add DMC bus node for Exynos3250

2015-12-09 Thread Krzysztof Kozlowski
On 10.12.2015 11:00, Chanwoo Choi wrote: > On 2015년 12월 10일 10:20, Krzysztof Kozlowski wrote: >> On 10.12.2015 10:09, Chanwoo Choi wrote: >>> On 2015년 12월 10일 09:44, Krzysztof Kozlowski wrote: On 09.12.2015 13:07, Chanwoo Choi wrote: > This patch adds the DMC (Dynamic Memory Controller)

[lkp] [mm/memblock.c] cabc3d3f73: kernel BUG at arch/x86/mm/pageattr.c:1348!

2015-12-09 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit cabc3d3f732505b3ad56009e4a8aba0c7d39a7d7 ("mm/memblock.c: use memblock_insert_region() for the empty array")

Re: [PATCH v4] acpi, apei, arm64: APEI initial support for aarch64.

2015-12-09 Thread Fu Wei
Hi Lorenzo, On 9 December 2015 at 11:25, Fu Wei wrote: > Hi Lorenzo, > > On 8 December 2015 at 22:07, Lorenzo Pieralisi > wrote: >> On Tue, Dec 08, 2015 at 09:08:24PM +0800, Fu Wei wrote: >>> Hi Lorenzo, >>> >>> >>> >>> On 8 December 2015 at 20:52, Hanjun Guo wrote: >>> > Hi Lorenzo, >>> > >>>

Re: [PATCH v2 03/19] ARM: dts: Add DMC bus node for Exynos3250

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 10:20, Krzysztof Kozlowski wrote: > On 10.12.2015 10:09, Chanwoo Choi wrote: >> On 2015년 12월 10일 09:44, Krzysztof Kozlowski wrote: >>> On 09.12.2015 13:07, Chanwoo Choi wrote: This patch adds the DMC (Dynamic Memory Controller) bus node for Exynos3250 SoC. The DMC

RE: [PATCH] KVM: x86: Add lowest-priority support for vt-d posted-interrupts

2015-12-09 Thread Wu, Feng
> -Original Message- > From: Radim Krčmář [mailto:rkrc...@redhat.com] > Sent: Wednesday, December 9, 2015 10:54 PM > To: Wu, Feng > Cc: pbonz...@redhat.com; k...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] KVM: x86: Add lowest-priority support for vt-d posted- >

[PATCH] usb: remove redundant conditions

2015-12-09 Thread Geyslan G. Bem
This patch removes redundant conditions. - (!A || (A && B)) is the same as (!A || B). - (length && length > 5) can be reduced to a single evaluation. Caught by: cppcheck Signed-off-by: Geyslan G. Bem --- drivers/usb/gadget/udc/s3c-hsudc.c | 2 +- drivers/usb/host/fhci-sched.c | 2 +-

[V6 PATCH 1/6] panic/x86: Fix re-entrance problem due to panic on NMI

2015-12-09 Thread Hidehiro Kawai
If panic on NMI happens just after panic() on the same CPU, panic() is recursively called. As the result, it stalls after failing to acquire panic_lock. To avoid this problem, don't call panic() in NMI context if we've already entered panic(). V6: - Add a comment about panic_cpu - Replace the

[V6 PATCH 2/6] panic/x86: Allow CPUs to save registers even if they are looping in NMI context

2015-12-09 Thread Hidehiro Kawai
Currently, kdump_nmi_shootdown_cpus(), a subroutine of crash_kexec(), sends NMI IPI to non-panic CPUs to stop them and save their register information and doing some cleanups for crash dumping. However, if a non-panic CPU is infinitely looping in NMI context, we fail to save its register

Re: [PATCH v3 0/5] Make cpuid <-> nodeid mapping persistent.

2015-12-09 Thread Tang Chen
Hi Ishimatsu, On 12/10/2015 05:10 AM, Yasuaki Ishimatsu wrote: Hi Tang, I applied your patches into linux-4.4.0-rc4 and tried to boot up the system with mem= boot option, but system does not boot up. Unfortunately boot messages were not shown. So I cannot find out the reason. Thank you for

[V6 PATCH 6/6] Documentation: Add documentation for kernel.panic_on_io_nmi sysctl

2015-12-09 Thread Hidehiro Kawai
kernel.panic_on_io_nmi sysctl was introduced by commit 5211a242d0cb ("x86: Add sysctl to allow panic on IOCK NMI error"), but its documentation is missing. So, add it. V6: - Newly added Signed-off-by: Hidehiro Kawai Cc: Jonathan Corbet Cc: Andrew Morton --- Documentation/sysctl/kernel.txt |

[V6 PATCH 4/6] x86/apic: Introduce apic_extnmi boot option

2015-12-09 Thread Hidehiro Kawai
This patch introduces new boot option, apic_extnmi: apic_extnmi={ bsp | all | none} The default value is "bsp" and this is the current behavior; only BSP receives external NMI. "all" allows external NMIs to be broadcast to all CPUs. This would raise the success rate of panic on NMI when BSP

[V6 PATCH 5/6] x86/nmi: Fix to save registers for crash dump on external NMI broadcast

2015-12-09 Thread Hidehiro Kawai
Now, multiple CPUs can receive external NMI simultaneously by specifying "apic_extnmi=all" as an boot option. When we take a crash dump by using external NMI with this option, we fail to save register values into the crash dump. This happens as follows: CPU 0 CPU

[V6 PATCH 3/6] kexec: Fix race between panic() and crash_kexec() called directly

2015-12-09 Thread Hidehiro Kawai
Currently, panic() and crash_kexec() can be called at the same time. For example (x86 case): CPU 0: oops_end() crash_kexec() mutex_trylock() // acquired nmi_shootdown_cpus() // stop other CPUs CPU 1: panic() crash_kexec() mutex_trylock() // failed to acquire

[V6 PATCH 0/6] Fix race issues among panic, NMI and crash_kexec

2015-12-09 Thread Hidehiro Kawai
When an HA clustering software or administrator detects unresponsiveness of a host, they issue an NMI to the host to completely stop current works and take a crash dump. If the kernel has already panicked or is capturing a crash dump at that time, further NMI can cause a crash dump failure.

Re: [PATCH v4 5/5] crypto: AES CBC multi-buffer glue code

2015-12-09 Thread Herbert Xu
On Wed, Dec 09, 2015 at 09:23:14AM -0800, Tim Chen wrote: > > This is an internal algorithm. We are indeed casting the request > to the outer ablkcipher request when we do the async cipher walk. The question remain: why does it have to be a blkcipher rather than an ablkcipher? Cheers, --

RE: [PATCHv3] printf: Add format for 8-byte EUI-64 type

2015-12-09 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Keith Busch > Sent: Wednesday, December 9, 2015 5:07 PM ... > Subject: [PATCHv3] printf: Add format for 8-byte EUI-64 type > ... > @@ -1496,6 +1496,8 @@ char

Re: [Patch-V2 1/6] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2015-12-09 Thread Dmitry Torokhov
On Wed, Dec 9, 2015 at 5:23 PM, Dmitry Torokhov wrote: > On Thu, Nov 19, 2015 at 10:31 AM, Dmitry Torokhov > wrote: >> On Thu, Nov 19, 2015 at 02:50:51PM +0100, Jiri Kosina wrote: >>> On Thu, 12 Nov 2015, Simon Wood wrote: >>> >>> > When plugged in the Logitech G920 wheel starts with USBID

Re: [PATCH] regmap: speed up the regcache_init()

2015-12-09 Thread Xiubo Li
On 09/12/2015 23:05, Mark Brown wrote: On Wed, Dec 09, 2015 at 11:17:22AM +0800, Xiubo Li wrote: Yes, usually when the register cache is not used, the number of the defaults should be zero, but for some drivers like drv2267.c/led_lp8860.c will add the defaults register values though the

Re: [PATCH v2 09/19] PM / devfreq: exynos: Update documentation for bus devices using passive governor

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 10:31, Krzysztof Kozlowski wrote: > On 09.12.2015 13:08, Chanwoo Choi wrote: >> This patch updates the documentation for passive bus devices and adds the >> detailed example of Exynos3250. >> >> Signed-off-by: Chanwoo Choi >> --- >> .../devicetree/bindings/devfreq/exynos-bus.txt

Re: [PATCH v2 02/19] PM / devfreq: exynos: Add documentation for generic exynos bus frequency driver

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 10:25, Krzysztof Kozlowski wrote: > On 10.12.2015 09:49, Chanwoo Choi wrote: >> Hi, >> > (...) > >>> + + bus_dmc: bus_dmc { + compatible = "samsung,exynos-bus"; + clocks = <_dmc CLK_DIV_DMC>; + clock-names = "bus"; +

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-09 Thread John Stultz
On Tue, Dec 8, 2015 at 2:07 PM, Bjorn Andersson wrote: > On Tue 08 Dec 13:29 PST 2015, John Stultz wrote: >> diff --git a/arch/arm/boot/dts/qcom-apq8064-nexus7-flo.dts >> b/arch/arm/boot/dts/qcom-apq8064-nexus7-flo.dts >> index 5183d18..ee5dcb7 100644 >> ---

Re: [PATCH v2 09/19] PM / devfreq: exynos: Update documentation for bus devices using passive governor

2015-12-09 Thread Krzysztof Kozlowski
On 09.12.2015 13:08, Chanwoo Choi wrote: > This patch updates the documentation for passive bus devices and adds the > detailed example of Exynos3250. > > Signed-off-by: Chanwoo Choi > --- > .../devicetree/bindings/devfreq/exynos-bus.txt | 244 > - > 1 file changed, 241

Re: [PATCH] ACPI: Add phylib support code for mdio

2015-12-09 Thread Yankejian (Hackim Yim)
On 2015/12/9 18:31, Yankejian (Hackim Yim) wrote: > > On 2015/12/9 3:55, Al Stone wrote: >> On 12/03/2015 03:47 AM, Graeme Gregory wrote: >>> On Thu, Dec 03, 2015 at 09:54:43AM +0800, yankejian wrote: Add support for getting the PHY devices on an MDIO bus by ACPI. Currently many of the

[PATCH v3 2/2] um: Use race-free temporary file creation

2015-12-09 Thread Mickaël Salaün
Open the memory mapped file with the O_TMPFILE flag when available. Signed-off-by: Mickaël Salaün Cc: Jeff Dike Cc: Richard Weinberger Acked-by: Tristan Schmelcher --- arch/um/os-Linux/mem.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/um/os-Linux/mem.c

Re: [PATCH 1/8] kernfs: Add API to generate relative kernfs path

2015-12-09 Thread Serge E. Hallyn
On Wed, Dec 09, 2015 at 05:36:51PM -0500, Tejun Heo wrote: > Hey, > > On Wed, Dec 09, 2015 at 10:13:27PM +, Serge Hallyn wrote: > > we can rename kn_root to from here if you think that's clearer (and > > change the order here as well). > > I think it'd be better for them to be consistent and

Re: [PATCH v2 02/19] PM / devfreq: exynos: Add documentation for generic exynos bus frequency driver

2015-12-09 Thread Krzysztof Kozlowski
On 10.12.2015 09:49, Chanwoo Choi wrote: > Hi, > (...) >> >>> + >>> + bus_dmc: bus_dmc { >>> + compatible = "samsung,exynos-bus"; >>> + clocks = <_dmc CLK_DIV_DMC>; >>> + clock-names = "bus"; >>> + operating-points-v2 = <_dmc_opp_table>; >>> +

[PATCH] [RFC] x86, pkeys: execute-only support

2015-12-09 Thread Dave Hansen
This patch is on top of the base protection keys support which can be found here: http://git.kernel.org/cgit/linux/kernel/git/daveh/x86-pkeys.git/log/?h=pkeys-v014 Protection keys provide new page-based protection in hardware. But, they have an interesting attribute: they only affect

Re: [Patch-V2 1/6] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2015-12-09 Thread Dmitry Torokhov
On Thu, Nov 19, 2015 at 10:31 AM, Dmitry Torokhov wrote: > On Thu, Nov 19, 2015 at 02:50:51PM +0100, Jiri Kosina wrote: >> On Thu, 12 Nov 2015, Simon Wood wrote: >> >> > When plugged in the Logitech G920 wheel starts with USBID 046d:c261 >> > and behaviors as a vendor specific class. If a 'magic'

Re: [PATCH v2 00/19] PM / devferq: Add generic exynos bus frequency driver and new passive governor

2015-12-09 Thread Krzysztof Kozlowski
On 10.12.2015 09:57, Krzysztof Kozlowski wrote: > On 09.12.2015 13:07, Chanwoo Choi wrote: > > (...) > >> .../devicetree/bindings/devfreq/exynos-bus.txt | 383 +++ > > How about adding this file to the MAINTAINERS to devfreq exynos entry? > Unfortunately, in current linux-next, I can

Re: [PATCH v5] fs: clear file privilege bits when mmap writing

2015-12-09 Thread Christoph Hellwig
> Changing the bits requires holding inode->i_mutex, so it cannot be done > during the page fault (due to mmap_sem being held during the fault). We > could do this during vm_mmap_pgoff, but that would need coverage in > mprotect as well, but to check for MAP_SHARED, we'd need to hold mmap_sem >

Re: [PATCH v2 03/19] ARM: dts: Add DMC bus node for Exynos3250

2015-12-09 Thread Krzysztof Kozlowski
On 10.12.2015 10:09, Chanwoo Choi wrote: > On 2015년 12월 10일 09:44, Krzysztof Kozlowski wrote: >> On 09.12.2015 13:07, Chanwoo Choi wrote: >>> This patch adds the DMC (Dynamic Memory Controller) bus node for Exynos3250 >>> SoC. >>> The DMC is an AMBA AXI-compliant slave to interface external JEDEC

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-09 Thread John Stultz
On Wed, Dec 9, 2015 at 2:07 AM, Arnd Bergmann wrote: > On Tuesday 08 December 2015 16:22:40 John Stultz wrote: >> >> diff --git a/arch/arm/boot/dts/qcom-apq8064-nexus7-flo.dts >> >> b/arch/arm/boot/dts/qcom-apq8064-nexus7-flo.dts >> >> index 5183d18..ee5dcb7 100644 >> >> ---

[PATCH] xen-blkback: fix two memleaks

2015-12-09 Thread Bob Liu
This patch fixs two memleaks in konrad/xen.git/for-jens-4.5. backtrace: [] kmemleak_alloc+0x28/0x50 [] kmem_cache_alloc+0xbb/0x1d0 [] xen_blkbk_probe+0x58/0x230 [] xenbus_dev_probe+0x76/0x130 [] driver_probe_device+0x166/0x2c0 [] __device_attach_driver+0xac/0xb0 []

Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option

2015-12-09 Thread Xishi Qiu
On 2015/12/10 5:59, Luck, Tony wrote: >> How about add some comment, if mirrored memroy is too small, then the >> normal zone is small, so it may be oom. >> The mirrored memory is at least 1/64 of whole memory, because struct >> pages usually take 64 bytes per page. > > 1/64th is the absolute

Re: [PATCH v4 3/3] UBSAN: run-time undefined behavior sanity checker

2015-12-09 Thread Daniel Axtens
Hi Andrey, >+ select ARCH_HAS_UBSAN_SANTIZE_ALL I think you've missed an I in SAN*I*TIZE here. Apart from that, I've tested that this works on PowerPC, so: Tested-by: Daniel Axtens # on PowerPC only Regards, Daniel -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v2 03/19] ARM: dts: Add DMC bus node for Exynos3250

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 09:44, Krzysztof Kozlowski wrote: > On 09.12.2015 13:07, Chanwoo Choi wrote: >> This patch adds the DMC (Dynamic Memory Controller) bus node for Exynos3250 >> SoC. >> The DMC is an AMBA AXI-compliant slave to interface external JEDEC standard >> SDRAM devices. The bus includes

Re: [PATCH v2 00/19] PM / devferq: Add generic exynos bus frequency driver and new passive governor

2015-12-09 Thread Krzysztof Kozlowski
On 09.12.2015 13:07, Chanwoo Choi wrote: (...) > .../devicetree/bindings/devfreq/exynos-bus.txt | 383 +++ How about adding this file to the MAINTAINERS to devfreq exynos entry? Unfortunately, in current linux-next, I can find the entry for devfreq exynos. However I saw patches adding

Re: [PATCH v2 04/19] ARM: dts: Add DMC bus frequency for exynos3250-rinato/monk

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 09:53, Krzysztof Kozlowski wrote: > On 09.12.2015 13:07, Chanwoo Choi wrote: >> This patch adds the DMC (Dynamic Memory Controller) bus frequency node >> which includes the devfreq-events and regulator properties. The bus >> frequency support the DVFS (Dynamic Voltage Frequency

Re: [PATCH 02/10] clk: ti: Add few dm814x clock aliases

2015-12-09 Thread Tony Lindgren
* Tero Kristo [151208 23:50]: > On 12/08/2015 10:11 PM, Tony Lindgren wrote: > >* Tero Kristo [151208 11:25]: > >>On 12/08/2015 06:57 PM, Tony Lindgren wrote: > >>> > >>>Anybody from the clock department care to ack this one? > >> > >>Sorry been rather busy lately... > >> > >>>I'd like to >

Re: [PATCH v2 04/19] ARM: dts: Add DMC bus frequency for exynos3250-rinato/monk

2015-12-09 Thread Krzysztof Kozlowski
On 09.12.2015 13:07, Chanwoo Choi wrote: > This patch adds the DMC (Dynamic Memory Controller) bus frequency node > which includes the devfreq-events and regulator properties. The bus > frequency support the DVFS (Dynamic Voltage Frequency Scaling) feature > with ondemand governor. > > The

[ANNOUNCE] MDB Linux Kernel debugger linux-stable 4.3.1 and 4.2.7

2015-12-09 Thread Jeffrey Merkey
MDB Linux Kernel Debugger Patches Released for 4.3.1 and 4.2.7 on the linux-stable tree. Linux 4.X Patches * Linux v4.3.1 : https://github.com/jeffmerkey/linux-stable/compare/v4.3.1...jeffmerkey:mdb-v4.3.1.diff * Linux v4.2.7 :

Re: [PATCH v2 02/19] PM / devfreq: exynos: Add documentation for generic exynos bus frequency driver

2015-12-09 Thread Chanwoo Choi
Hi, On 2015년 12월 10일 09:39, Krzysztof Kozlowski wrote: > On 09.12.2015 13:07, Chanwoo Choi wrote: >> This patch adds the documentation for generic exynos bus frequency >> driver. >> >> Signed-off-by: Chanwoo Choi >> --- >> .../devicetree/bindings/devfreq/exynos-bus.txt | 94 >>

Re: [PATCH 3.19.y-ckt 084/164] thermal: exynos: Fix unbalanced regulator disable on probe failure

2015-12-09 Thread Krzysztof Kozlowski
On 09.12.2015 22:24, Krzysztof Kozlowski wrote: > W dniu 03.12.2015 o 01:58, Kamal Mostafa pisze: >> 3.19.8-ckt11 -stable review patch. If anyone has any objections, please let >> me know. >> >> -- >> >> From: Krzysztof Kozlowski >> >> commit

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

2015-12-09 Thread Al Viro
On Thu, Dec 10, 2015 at 11:23:22AM +1100, Stephen Rothwell wrote: > [Just adding the origefs maintainer to the cc list] > > -static const char *pvfs2_follow_link(struct dentry *dentry, void **cookie) > > +static const char *pvfs2_get_link(struct dentry *dentry, struct inode > > *inode, > > +

Re: [PATCH v3 3/3] nvdimm: Add IOCTL pass thru functions

2015-12-09 Thread Dan Williams
On Wed, Dec 9, 2015 at 4:24 PM, Jerry Hoemann wrote: > > On Tue, Dec 08, 2015 at 06:10:20PM -0800, Dan Williams wrote: >> On Wed, Dec 2, 2015 at 1:05 PM, Jerry Hoemann wrote: >> > Add ioctl command ND_CMD_CALL_DSM to acpi_nfit_ctl and __nd_ioctl which >> > allow kernel to call a nvdimm's _DSM as

Re: [PATCH 3.16.y-ckt 059/126] thermal: exynos: Fix unbalanced regulator disable on probe failure

2015-12-09 Thread Krzysztof Kozlowski
On 09.12.2015 22:59, Luis Henriques wrote: > On Wed, Dec 09, 2015 at 10:22:37PM +0900, Krzysztof Kozlowski wrote: >> W dniu 09.12.2015 o 18:37, Luis Henriques pisze: >>> 3.16.7-ckt21 -stable review patch. If anyone has any objections, please >>> let me know. >>> >>> -- >>> >>>

Re: [PATCH v2 03/19] ARM: dts: Add DMC bus node for Exynos3250

2015-12-09 Thread Krzysztof Kozlowski
On 09.12.2015 13:07, Chanwoo Choi wrote: > This patch adds the DMC (Dynamic Memory Controller) bus node for Exynos3250 > SoC. > The DMC is an AMBA AXI-compliant slave to interface external JEDEC standard > SDRAM devices. The bus includes the OPP tables and the source clock for DMC > block. > >

<    1   2   3   4   5   6   7   8   9   10   >