[PATCH 26/41] ARM: dts: am57xx-beagle-x15: Add pinmux configuration for MMC

2017-05-19 Thread Kishon Vijay Abraham I
Include dra74x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra74 SoC and use it in the pinctrl properties of MMC devicetree nodes present in am57xx-beagle-x15/am57xx-beagle-x15-revb1. Signed-off-by: Kishon Vijay Abraham I ---

[PATCH 22/41] ARM: dts: Add dra7 iodelay configuration

2017-05-19 Thread Kishon Vijay Abraham I
From: Tony Lindgren Add dra7 iodelay configuration. Signed-off-by: Tony Lindgren Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/dra7.dtsi | 8 include/dt-bindings/pinctrl/dra.h | 3 +++ 2 files changed, 11 insertions(+)

[PATCH 19/41] ARM: dts: am57xx-beagle-x15-revb1: Fix supply name used for MMC1 IO lines

2017-05-19 Thread Kishon Vijay Abraham I
The dt binding documentation of omap-hsmmc recommends using "vmmc_aux" for IO supply lines. However commit 0af28cc92690d8c ("ARM: dts: am57xx-beagle-x15: Add support for rev B1") added it as "vmmc-aux". Fix it here. Fixes: commit 0af28cc92690d8c ("ARM: dts: am57xx-beagle-x15: Add support for rev

[PATCH 18/41] ARM: dts: dra72-evm-revc: Add vmmc_aux supply to mmc1

2017-05-19 Thread Kishon Vijay Abraham I
Add vmmc_aux-supply property to mmc1 dt node and populate it with ldo1_reg to reflect ldo1_out is connected to mmc1 IO lines. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra72-evm-revc.dts | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH 22/24] thunderbolt: Add support for host and device NVM firmware upgrade

2017-05-19 Thread Mika Westerberg
On Thu, May 18, 2017 at 10:35:19PM +0300, Andy Shevchenko wrote: > On Thu, May 18, 2017 at 5:39 PM, Mika Westerberg > wrote: > > Starting from Intel Falcon Ridge the NVM firmware can be upgraded by > > using DMA configuration based mailbox commands. If we detect

[PATCH 37/41] ARM: dts: am57xx-beagle-x15-common: Set MMC2 IO voltage to 3.3V

2017-05-19 Thread Kishon Vijay Abraham I
MMC2 interface on AM57xx Beagle-x15, connected to onboard eMMC, has IO voltage fixed to 3.3V. Add no-1-8-v device-tree property to mmc2 node in the board's device-tree file to reflect this. Note that the AM57xx SoC itself supports dual-voltage on MMC2. The limitation above is due to the board.

[PATCH 13/41] mmc: host: omap_hsmmc: Add support to set IODELAY values

2017-05-19 Thread Kishon Vijay Abraham I
The data manual of J6/J6 Eco recommends to set different IODELAY values depending on the mode in which the MMC/SD is enumerated in order to ensure IO timings are met. Add support to set the IODELAY values depending on the various MMC modes using the pinctrl APIs. Signed-off-by: Kishon Vijay

[PATCH 17/41] ARM: dts: dra72-evm: Add vmmc_aux supply to mmc1

2017-05-19 Thread Kishon Vijay Abraham I
Add vmmc_aux-supply property to mmc1 dt node and populate it with ldo1_reg to reflect ldo1_out is connected to mmc1 IO lines. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra72-evm.dts | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v2 04/10] clk: renesas: Add r8a7792 CPG Core Clock Definitions

2017-05-19 Thread Geert Uytterhoeven
Add all R-Car V2H Clock Pulse Generator Core Clock Outputs, as listed in Table 7.2c ("List of Clocks [R-Car V2H]") of the R-Car Gen2 Hardware User's Manual rev. 2.00. Signed-off-by: Geert Uytterhoeven Reviewed-by: Niklas Söderlund

[PATCH v2 00/10] clk: renesas: rcar-gen2: Add new CPG/MSSR drivers

2017-05-19 Thread Geert Uytterhoeven
Hi all, Currently Renesas R-Car Gen2 SoCs use the common clk-rcar-gen2, clk-mstp, and clk-div6 drivers, which depend on most clocks being described in DT. Especially the module (MSTP) clocks are cumbersome and error prone, due to 3 arrays (clocks, clock-indices, and clock-output-names)

[PATCH v2 06/10] clk: renesas: Add r8a7794 CPG Core Clock Definitions

2017-05-19 Thread Geert Uytterhoeven
Add all R-Car E2 Clock Pulse Generator Core Clock Outputs, as listed in Table 7.2d ("List of Clocks [R-Car E2]") of the R-Car Gen2 Hardware User's Manual rev. 2.00. Signed-off-by: Geert Uytterhoeven Reviewed-by: Niklas Söderlund

[PATCH 36/37] perf auxtrace: Add CPU filter support

2017-05-19 Thread Adrian Hunter
Decoding auxtrace data can take a long time. To avoid decoding unnecessarily, filter auxtrace data that is collected per-cpu before it is decoded. Signed-off-by: Adrian Hunter --- tools/perf/builtin-report.c | 1 + tools/perf/builtin-script.c | 1 +

[PATCH 37/37] perf intel-pt: Improve sample timestamp

2017-05-19 Thread Adrian Hunter
The decoder uses its current timestamp in samples. Usually that is a timestamp that has already passed, but in some cases it is a timestamp for a branch that the decoder is walking towards, and consequently hasn't reached. Improve that situation by using the pkt_state to determine when to use the

Re: [PATCH v2 00/10] clk: renesas: rcar-gen2: Add new CPG/MSSR drivers

2017-05-19 Thread Geert Uytterhoeven
On Fri, May 19, 2017 at 10:45 AM, Geert Uytterhoeven wrote: > Currently Renesas R-Car Gen2 SoCs use the common clk-rcar-gen2, > clk-mstp, and clk-div6 drivers, which depend on most clocks being > described in DT. Especially the module (MSTP) clocks are cumbersome and >

[PATCH 30/37] perf intel-pt: Factor out intel_pt_set_event_name()

2017-05-19 Thread Adrian Hunter
Factor out intel_pt_set_event_name() so it can be reused. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c

[PATCH 10/37] perf intel-pt: Clear FUP flag on error

2017-05-19 Thread Adrian Hunter
Sometimes a FUP packet is associated with a TSX transaction and a flag is set to indicate that. Ensure that flag is cleared on any error condition because at that point the decoder can no longer assume it is correct. Signed-off-by: Adrian Hunter ---

[PATCH 17/37] perf tools: Fix message because cpu list option is -C not -c

2017-05-19 Thread Adrian Hunter
Fix message because cpu list option is -C not -c Signed-off-by: Adrian Hunter --- tools/perf/util/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 7dc1096264c5..d19c40a81040 100644

[PATCH 23/37] perf auxtrace: Add itrace option to output power events

2017-05-19 Thread Adrian Hunter
Add itrace option to output power events. Signed-off-by: Adrian Hunter --- tools/perf/Documentation/itrace.txt | 5 +++-- tools/perf/util/auxtrace.c | 4 tools/perf/util/auxtrace.h | 2 ++ 3 files changed, 9 insertions(+), 2 deletions(-) diff

[PATCH] ACPI: processor: fix LPI when built as module

2017-05-19 Thread Mian Yousaf Kaukab
Low Power Idle(LPI) support added acpi_processor_ffh_lpi_probe() and acpi_processor_ffh_lpi_enter() as __weak functions and arch code is supposed to provide the actual callbacks. This breaks if ACPI_PROCESSOR is configured as a module. Add CONFIG_ARCH_HAS_ACPI_LPI configuration option to fix

Re: [PATCH] perf/x86/intel: Drop kernel samples even though :u is specified

2017-05-19 Thread Peter Zijlstra
On Fri, May 19, 2017 at 06:19:12PM +0800, Jin Yao wrote: > When doing sampling without PEBS > > perf record -e cycles:u ... > > On workloads that do a lot of kernel entry/exits we see kernel > samples, even though :u is specified. This is due to skid existing. > > This is a security issue

Re: [PATCH] lockdep: do not count lock class operations without CONFIG_DEBUG_LOCKDEP

2017-05-19 Thread Konstantin Khlebnikov
On 19.05.2017 12:09, Peter Zijlstra wrote: On Fri, May 19, 2017 at 10:06:01AM +0300, Konstantin Khlebnikov wrote: Currently this counter shown in /proc/lockdep if CONFIG_DEBUG_LOCKDEP=y This patch disables it completely if this option is disabled. This counter might be useful for debugging

Re: [REGRESSION] Failed network caused by: xhci: switch to pci_alloc_irq_vectors

2017-05-19 Thread Steven Rostedt
On Fri, 19 May 2017 07:42:23 +0200 Greg Kroah-Hartman wrote: > On Thu, May 18, 2017 at 11:42:34PM -0400, Steven Rostedt wrote: > > > > One of my the configs I use to test ftrace with (configs that have > > caused failures in the past), has lots of irq issues and

RE: [PATCH v6 05/15] lockdep: Implement crossrelease feature

2017-05-19 Thread Byungchul Park
> -Original Message- > From: Peter Zijlstra [mailto:pet...@infradead.org] > Sent: Friday, May 19, 2017 7:30 PM > To: Byungchul Park > Cc: mi...@kernel.org; t...@linutronix.de; wal...@google.com; > boqun.f...@gmail.com; kir...@shutemov.name; linux-kernel@vger.kernel.org; >

[PATCH] microblaze: remove asm-generic wrapper headers

2017-05-19 Thread Tobias Klauser
Some of microblaze's asm and uapi header are merely including their asm-generic counterpart. Thus, the arch specific headers can be removed and the asm-generic header can be used directly via generic-y. The headers removed from uapi don't need to be added to generic-y in the uapi Kbuild in order

Re: [PATCH v2 3/6] mm, page_alloc: pass preferred nid instead of zonelist to allocator

2017-05-19 Thread Michal Hocko
On Wed 17-05-17 10:11:37, Vlastimil Babka wrote: > The main allocator function __alloc_pages_nodemask() takes a zonelist pointer > as one of its parameters. All of its callers directly or indirectly obtain the > zonelist via node_zonelist() using a preferred node id and gfp_mask. We can > make the

Re: [PATCH 2/2] mmc: core: Use device_property_read instead of of_property_read

2017-05-19 Thread Ulf Hansson
On 18 May 2017 at 00:17, David Woods wrote: > Using the device_property interfaces allows mmc drivers to work > on platforms which run on either device tree or ACPI. > > Signed-off-by: David Woods > Reviewed-by: Chris Metcalf >

Re: [PATCH 0/5] mmc: cavium: bug fixes for 4.12

2017-05-19 Thread Ulf Hansson
On 16 May 2017 at 11:36, Jan Glauber wrote: > Hi Ulf, > > here are some bug fixes for the new mmc driver. The only > non-trivial fix should be the platform thing in patch #4 and #5. > > Tested on OcteonTx and on various MIPS boxes. > > thanks, > Jan > > David Daney (2): >

Re: [PATCH] mmc: sdhci-xenon: kill xenon_clean_phy()

2017-05-19 Thread Ulf Hansson
On 16 May 2017 at 08:17, Jisheng Zhang wrote: > Currently, the xenon_clean_phy() is only used for freeing phy_params. > The phy_params is allocated by devm_kzalloc(), there's no need to free > is explicitly. > > Signed-off-by: Jisheng Zhang Thanks,

[PATCH 12/41] mmc: host: omap_hsmmc: Fix error path sequence

2017-05-19 Thread Kishon Vijay Abraham I
Fix the error path sequence so that clk_disable, runtime_disable etc are done in the reverse order of how they were enabled. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori --- drivers/mmc/host/omap_hsmmc.c | 6 +++--- 1 file changed, 3

[PATCH 00/37] perf intel-pt: Power events and PTWRITE

2017-05-19 Thread Adrian Hunter
Hi Here are some patches to support Intel PT Power events and PTWRITE. Power events report changes to C-state but I have also added support for the existing CBR (core-to-bus ratio) packet and included that when outputting power events. The PTWRITE packet is associated with the new ptwrite

[PATCH 5/7] blk-mq: include all present CPUs in the default queue mapping

2017-05-19 Thread Christoph Hellwig
This way we get a nice distribution independent of the current cpu online / offline state. Signed-off-by: Christoph Hellwig --- block/blk-mq-cpumap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/block/blk-mq-cpumap.c b/block/blk-mq-cpumap.c index

[PATCH 09/37] perf intel-pt: Add missing __fallthrough

2017-05-19 Thread Adrian Hunter
perf tools uses __fallthrough. Add missing __fallthrough to a switch statement. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt-decoder/intel-pt-decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 08/37] perf intel-pt: Use FUP always when scanning for an IP

2017-05-19 Thread Adrian Hunter
The decoder will try to use branch packets to find an IP to start decoding or to recover from errors. Currently the FUP packet is used only in the case of an overflow, however there is no reason for that to be a special case. So just use FUP always when scanning for an IP. Signed-off-by: Adrian

[PATCH 07/37] perf intel-pt: Ensure never to set 'last_ip' when packet 'count' is zero

2017-05-19 Thread Adrian Hunter
Intel PT uses IP compression based on the last IP. For decoding purposes, 'last IP' is not updated when a branch target has been suppressed, which is indicated by IPBytes == 0. IPBytes is stored in the packet 'count', so ensure never to set 'last_ip' when packet 'count' is zero. Signed-off-by:

[PATCH 03/37] perf intel-pt: Add documentation for new config terms

2017-05-19 Thread Adrian Hunter
Add documentation for new config terms. Signed-off-by: Adrian Hunter --- tools/perf/Documentation/intel-pt.txt | 36 +++ 1 file changed, 36 insertions(+) diff --git a/tools/perf/Documentation/intel-pt.txt

[PATCH 11/37] perf intel-pt: Add decoder support for ptwrite and power event packets

2017-05-19 Thread Adrian Hunter
Add decoder support for PTWRITE, MWAIT, PWRE, PWRX and EXSTOP packets. This patch only affects the decoder, so the tools still do not select or consume the new information. That is added in subsequent patches. Signed-off-by: Adrian Hunter ---

[PATCH 05/37] perf intel-pt: Ensure IP is zero when state is INTEL_PT_STATE_NO_IP

2017-05-19 Thread Adrian Hunter
A value of zero is used to indicate that there is no IP. Ensure the value is zero when the state is INTEL_PT_STATE_NO_IP. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt-decoder/intel-pt-decoder.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 15/37] perf intel-pt: Remove redundant initial_skip checks

2017-05-19 Thread Adrian Hunter
'initial_skip' is checked inside the sample synthesis functions which means it is actually being done twice for 'instructions' and 'transactions' samples. Remove the redundant checks. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 8 ++-- 1 file

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-19 Thread Chen, Xiaoguang
Hi Gerd, >-Original Message- >From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On >Behalf Of Gerd Hoffmann >Sent: Friday, May 19, 2017 4:57 PM >To: Chen, Xiaoguang >Cc: Tian, Kevin ; linux-kernel@vger.kernel.org;

RE: [PATCH] nvme/pci: remap BAR0 to cover admin CQ doorbell for large stride

2017-05-19 Thread Xu, Yu A
Thanks for your suggestion, we will try to make it better and resend the patch soon. -Original Message- From: Christoph Hellwig [mailto:h...@lst.de] Sent: Thursday, May 18, 2017 9:44 PM To: Xu, Yu A Cc: linux-n...@lists.infradead.org; linux-kernel@vger.kernel.org;

[git pull] IOMMU Fixes for Linux v4.12-rc1

2017-05-19 Thread Joerg Roedel
Hi Linus, The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v4.12-rc1 for you to fetch changes up to

Re: [PATCH 2/4] dt-bindings: Document the Raspberry Pi Touchscreen nodes.

2017-05-19 Thread Laurent Pinchart
Hi Archit, On Friday 19 May 2017 14:24:36 Archit Taneja wrote: > On 05/18/2017 08:25 PM, Laurent Pinchart wrote: > > On Thursday 18 May 2017 13:56:19 Archit Taneja wrote: > >> On 05/17/2017 12:16 AM, Eric Anholt wrote: > > > > [snip] > > > >>> In terms of physical connections: > >>>[15-pin

[PATCH 0/7] RAS pile

2017-05-19 Thread Borislav Petkov
From: Borislav Petkov Hi guys, here's a bunch of assorted RAS fixes. Please queue the first two for urgent as otherwise nfit won't be able to report memory errors properly. Thanks. Borislav Petkov (1): x86/MCE: Export memory_error() Elena Reshetova (1): x86/mce: Convert

RE: [PATCH v2] Added "Preserve Boot Time Support"

2017-05-19 Thread Mirea, Bogdan-Stefan
On Wednesday, May 17, 2017 8:52 PM Sascha Hauer wrote: > On Wed, May 17, 2017 at 02:42:24PM +, Mirea, Bogdan-Stefan wrote: > > Hello Sascha, > > > > On Wednesday, May 17, 2017 2:30 PM Sascha Hauer wrote: > > > As John already said, there's the read_boot_clock64() interface which > > > should

[PATCH v3] Added "Preserve Boot Time Support"

2017-05-19 Thread Bogdan Mirea
This option enables Boot Time Preservation between Bootloader and Linux Kernel. It is based on the idea that the Bootloader (or any other early firmware) will start the HW Timer and Linux Kernel will count the time starting with the cycles elapsed since timer start. The sched_clock part is

Re: [PATCH v6 05/15] lockdep: Implement crossrelease feature

2017-05-19 Thread Peter Zijlstra
On Fri, May 19, 2017 at 05:07:08PM +0900, Byungchul Park wrote: > On Tue, Mar 14, 2017 at 05:18:52PM +0900, Byungchul Park wrote: > > Lockdep is a runtime locking correctness validator that detects and > > reports a deadlock or its possibility by checking dependencies between > > locks. It's

Re: [PATCH 4/4] arch/powerpc/44x/fsp2: wdt tcr update instead of whole rewrite

2017-05-19 Thread Benjamin Herrenschmidt
On Mon, 2017-05-15 at 16:07 +0300, Ivan Mikhaylov wrote: > +#ifdef CONFIG_FSP2 > +   /* > +    * Prevent a kernel panic caused by unintentionally clearing TCR > +    * watchdog bits.  At this point in the kernel boot, the watchdog has > +    * already been enabled by u-boot.  The

[PATCH 1/1] Sealable memory support

2017-05-19 Thread Igor Stoppa
Dynamically allocated variables can be made read only, after they have been initialized, provided that they reside in memory pages devoid of any RW data. The implementation supplies means to create independent pools of memory, which can be individually created, sealed/unsealed and destroyed. A

[PATCH 0/2] fix premature OOM killer

2017-05-19 Thread Michal Hocko
Hi, this is a follow up for [1]. The first patch is what Tetsuo suggested [2], I've just added a changelog for it. This one should be merged as soon as possible. The second patch is still an RFC. I _believe_ that it is the right thing to do but I haven't checked all the PF paths which return

[PATCH 1/2] mm, oom: make sure that the oom victim uses memory reserves

2017-05-19 Thread Michal Hocko
From: Michal Hocko Roman Gushchin has noticed that we kill two tasks when the memory hog killed from page fault path: [ 25.721494] allocate invoked oom-killer: gfp_mask=0x14280ca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), nodemask=(null), order=0, oom_score_adj=0 [ 25.725658]

[RFC PATCH 2/2] mm, oom: do not trigger out_of_memory from the #PF

2017-05-19 Thread Michal Hocko
From: Michal Hocko Any allocation failure during the #PF path will return with VM_FAULT_OOM which in turn results in pagefault_out_of_memory. This can happen for 2 different reasons. a) Memcg is out of memory and we rely on mem_cgroup_oom_synchronize to perform the memcg OOM

[PATCH v3] kbuild: simplify silent build (-s) detection

2017-05-19 Thread Masahiro Yamada
This allows to detect -s (--silent) option without checking GNU Make version. As commit e36aaea28972 ("kbuild: Fix silent builds with make-4") pointed out, GNU Make 4.x changed the way/order it presents the command line options into MAKEFLAGS. In Make 3.8x, 's' is always be the first in a group

[PATCH] microblaze: wire up statx syscall

2017-05-19 Thread Tobias Klauser
Add the new statx syscall. Signed-off-by: Tobias Klauser --- arch/microblaze/include/asm/unistd.h | 2 +- arch/microblaze/include/uapi/asm/unistd.h | 1 + arch/microblaze/kernel/syscall_table.S| 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 40/41] ARM: multi_v7_defconfig: Enable PINCTRL_TI_IODELAY

2017-05-19 Thread Kishon Vijay Abraham I
Enable PINCTRL_TI_IODELAY since it is required for MMC module in DRA7 family of processors to configure "IODelay" values depending on the enumerated MMC modes. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+)

[PATCH 06/41] mmc: host: omap_hsmmc: Add tuning support

2017-05-19 Thread Kishon Vijay Abraham I
MMC tuning procedure is required to support SD card UHS1-SDR104 mode and EMMC HS200 mode. The tuning function omap_execute_tuning() will only be called by the MMC/SD core if the corresponding speed modes are supported by the OMAP silicon which is set in the mmc host "caps" field. Add a separate

[PATCH 33/41] ARM: dts: dra7: Add "max-frequency" property to MMC dt nodes

2017-05-19 Thread Kishon Vijay Abraham I
Add "max-frequency" property to MMC dt nodes and set the maximum frequency to 192MHz for MMC1/MMC2, 64MHz for MMC3 and 192MHz for MMC4. pdata quirks must be utilized to detect presence of rev 1.1/1.0 of silicon and adjust maximum frequencies as per restrictions documented in i843. Signed-off-by:

[PATCH 38/41] ARM: OMAP2+: Add pdata-quirks for MMC/SD on DRA74x EVM

2017-05-19 Thread Kishon Vijay Abraham I
From: Sekhar Nori DRA74x EVM Rev H EVM comes with revision 2.0 silicon. However, earlier versions of EVM can come with either revision 1.1 or revision 1.0 of silicon. The device-tree file is written to support rev 2.0 of silicon. pdata quirks are used to then override the

Re: [REGRESSION] Failed network caused by: xhci: switch to pci_alloc_irq_vectors

2017-05-19 Thread Christoph Hellwig
On Thu, May 18, 2017 at 11:42:34PM -0400, Steven Rostedt wrote: > > One of my the configs I use to test ftrace with (configs that have > caused failures in the past), has lots of irq issues and fails to > initialize the network of my box. I bisected the problem down to a > single commit, and when

[PATCH] uwb: i1480: add missing goto

2017-05-19 Thread Gustavo A. R. Silva
Add missing goto. Addresses-Coverity-ID: 1226913 Signed-off-by: Gustavo A. R. Silva --- drivers/uwb/i1480/dfu/phy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/uwb/i1480/dfu/phy.c b/drivers/uwb/i1480/dfu/phy.c index 3b1a87d..1ac8526 100644 ---

Re: [PATCH v4 0/6] clk: sunxi-ng: Add support for A83T CCU

2017-05-19 Thread Maxime Ripard
Hi, On Fri, May 19, 2017 at 03:06:06PM +0800, Chen-Yu Tsai wrote: > Hi everyone, > > This is v4 of my A83T CCU series. This is for 4.13. Applied the patches 1-5. Can you resubmit patch 6 after 4.13-rc1 ? Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering

Re: [PATCH 11/14] mm, memory_hotplug: do not associate hotadded memory to zones until online

2017-05-19 Thread Vlastimil Babka
On 05/15/2017 10:58 AM, Michal Hocko wrote: > From: Michal Hocko > > The current memory hotplug implementation relies on having all the > struct pages associate with a zone/node during the physical hotplug phase > (arch_add_memory->__add_pages->__add_section->__add_zone). In the

Re: [linux-sunxi] [PATCH v6 8/9] arm64: allwinner: a64: enable AXP803 regulators for Pine64

2017-05-19 Thread Andre Przywara
Hi, On 19/05/17 09:29, Icenowy Zheng wrote: > > > 于 2017年5月19日 GMT+08:00 下午4:27:21, Andre Przywara 写到: >> Hi, >> >> On 18/05/17 08:16, Icenowy Zheng wrote: >>> Add support of AXP803 regulators in the Pine64 device tree, in order >> to >>> enable many future

Re: [PATCH 08/30] isa.txt: standardize document format

2017-05-19 Thread Mauro Carvalho Chehab
Hi William, Em Thu, 18 May 2017 22:13:55 -0400 William Breathitt Gray escreveu: > On Thu, May 18, 2017 at 10:24:00PM -0300, Mauro Carvalho Chehab wrote: > >Each text file under Documentation follows a different > >format. Some doesn't even have titles! > > > >Change its

Re: mm, something wring in page_lock_anon_vma_read()?

2017-05-19 Thread Xishi Qiu
On 2017/5/18 17:46, Xishi Qiu wrote: > Hi, my system triggers this bug, and the vmcore shows the anon_vma seems be > freed. > The kernel is RHEL 7.2, and the bug is hard to reproduce, so I don't know if > it > exists in mainline, any reply is welcome! > When we alloc anon_vma, we will init

Re: [PATCH 2/4] dt-bindings: Document the Raspberry Pi Touchscreen nodes.

2017-05-19 Thread Archit Taneja
On 05/18/2017 08:25 PM, Laurent Pinchart wrote: Hi Archit, On Thursday 18 May 2017 13:56:19 Archit Taneja wrote: On 05/17/2017 12:16 AM, Eric Anholt wrote: [snip] In terms of physical connections: [15-pin "DSI" connector on 2835] | I2C | DSI / \SPI

[PATCH 12/37] perf intel-pt: Add reserved byte to CBR packet payload

2017-05-19 Thread Adrian Hunter
Future proof CBR packet decoding by passing through also the undefined 'reserved' byte in the packet payload. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt-decoder/intel-pt-decoder.c | 2 +- tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c | 2 +-

[PATCH 13/37] perf intel-pt: Move decoder error setting into one condition

2017-05-19 Thread Adrian Hunter
Move decoder error setting into one condition. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt-decoder/intel-pt-decoder.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/intel-pt-decoder/intel-pt-decoder.c

Re: [PATCH] mm/vmstat: add oom_kill counter

2017-05-19 Thread Vlastimil Babka
On 05/19/2017 08:59 AM, Konstantin Khlebnikov wrote: > Show count of global oom killer invocations in /proc/vmstat Maybe some more rationale why is that useful? Vlastimil > Signed-off-by: Konstantin Khlebnikov > --- > include/linux/vm_event_item.h |1 + >

[PATCH 20/37] perf script: Add 'synth' field for synthesized event payloads

2017-05-19 Thread Adrian Hunter
Add a field to display the content the raw_data of a synthesized event. Signed-off-by: Adrian Hunter --- tools/perf/Documentation/perf-script.txt | 6 +- tools/perf/builtin-script.c | 20 ++-- 2 files changed, 23 insertions(+), 3

[PATCH 14/37] perf intel-pt: Add decoder support for CBR events

2017-05-19 Thread Adrian Hunter
Add decoder support for informing the tools of changes to the core-to-bus ratio (CBR). Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt-decoder/intel-pt-decoder.c | 19 +++ tools/perf/util/intel-pt-decoder/intel-pt-decoder.h | 2 ++ 2 files

[PATCH 18/37] perf script: Fix message because field list option is -F not -f

2017-05-19 Thread Adrian Hunter
Fix message because field list option is -F not -f. Signed-off-by: Adrian Hunter --- tools/perf/builtin-script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index

[PATCH 6/7] x86/mce/AMD: Redo error logging from APIC LVT interrupt handlers

2017-05-19 Thread Borislav Petkov
From: Yazen Ghannam We have support for the new SMCA MCA_DE{STAT,ADDR} registers in Linux. So we've used these registers in place of MCA_{STATUS,ADDR} on SMCA systems. However, the guidance for current SMCA implementations of is to continue using MCA_{STATUS,ADDR} and to

Re: mmc: core: Delete an error message for a failed memory allocation in three functions

2017-05-19 Thread SF Markus Elfring
> It's a nice cleanup. However I found one more occasion in mmc_test.c, > please fix that and re-spin. To which source code place does this feedback refer? Does it mean that another message removal would make sense in the function “__mmc_test_register_dbgfs_file”?

[PATCH 1/7] x86/MCE: Export memory_error()

2017-05-19 Thread Borislav Petkov
From: Borislav Petkov Export the function which checks whether an MCE is a memory error to other users so that we can reuse the logic. Drop the boot_cpu_data use, while at it, as mce.cpuvendor already has the CPU vendor in there. Integrate a piece from a patch from Vishal Verma

[PATCH 7/7] x86/mce/AMD: Carve out SMCA bank configuration

2017-05-19 Thread Borislav Petkov
From: Yazen Ghannam Scalable MCA systems have a new MCA_CONFIG register that we use to configure each bank. We currently use this when we set up thresholding. However, this is logically separate. Group all SMCA-related initialization into a single function.

[PATCH 2/7] acpi, nfit: Fix the memory error check in nfit_handle_mce()

2017-05-19 Thread Borislav Petkov
From: Vishal Verma The check for an MCE being a memory error in the NFIT mce handler was bogus. Use the new mce_is_memory_error() helper to detect the error properly. Reported-by: Tony Luck Cc: Signed-off-by: Vishal Verma

[PATCH 3/7] ACPI/APEI: Handle GSIV and GPIO notification types

2017-05-19 Thread Borislav Petkov
From: Shiju Jose System Controller Interrupts are received by ACPI's error device, which in turn notifies the GHES code. The same is true of APEI's GSIV and GPIO notification types. Add support for GSIV and GPIO sharing the SCI register/unregister/notifier code. Rename the

Re: [PATCH 4/4] arch/powerpc/44x/fsp2: wdt tcr update instead of whole rewrite

2017-05-19 Thread Michael Ellerman
Hi Ivan, Ivan Mikhaylov writes: > Prevent a kernel panic caused by unintentionally clearing TCR > watchdog bits. At this point in the kernel boot, the watchdog has > already been enabled by u-boot. The original code's attempt to > write to the TCR register results in an

[PATCH v2] clocksource : timer-atmel-pit:- Handle return error in at91sam926x_pit_dt_init

2017-05-19 Thread Arvind Yadav
at91sam926x_pit_dt_init can fail here. We must have released memory and clock. Signed-off-by: Arvind Yadav --- drivers/clocksource/timer-atmel-pit.c | 31 --- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git

[RFC v3]mm: ro protection for data allocated dynamically

2017-05-19 Thread Igor Stoppa
Not all the data allocated dynamically needs to be altered frequently. In some cases, it might be written just once, at initialization. This RFC has the goal of improving memory integrity, by explicitly making said data write-protected. A reference implementation is provided. During the

Re: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-19 Thread Gerd Hoffmann
Hi, > Or more simply just pass the plane id, because even the plane description did > not match the current one we will eventually create a dmabuf based on current > plane. That is the current behavior. Works as long as we return the plane description too, so userspace knows what it

[PATCH v1] PM / devfreq: exynos-nocp : Handle return value of clk_prepare_enable

2017-05-19 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/devfreq/event/exynos-nocp.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/devfreq/event/exynos-nocp.c

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

2017-05-19 Thread Baoquan He
On 05/18/17 at 01:26pm, Mike Travis wrote: > Hi Baoquan He, > > The concept of the patch is correct (since it is I as sent :), > but I would prefer that the entire is_early_uv_system() be put > into the uv.h file. Primarily because we may need to change > that in the future so having UV specific

Re: [PATCH] iommu/dma: fix function declaration

2017-05-19 Thread Joerg Roedel
On Thu, May 18, 2017 at 03:13:57PM +0200, Arnd Bergmann wrote: > Newly added code in the ipmmu-vmsa driver showed a small mistake > in a header file that can't be included by itself without CONFIG_IOMMU_DMA > enabled: > > In file included from drivers/iommu/ipmmu-vmsa.c:13:0: >

Re: [PATCH V2 6/6] tty: serial: lpuart: add a more accurate baud rate calculation method

2017-05-19 Thread Dong Aisheng
On Wed, May 17, 2017 at 10:35:43AM -0700, Stefan Agner wrote: > On 2017-05-16 20:47, Dong Aisheng wrote: > > On Mon, May 15, 2017 at 10:06:41AM -0700, Stefan Agner wrote: > >> On 2017-05-15 00:48, Dong Aisheng wrote: > >> > On new LPUART versions, the oversampling ratio for the receiver can be >

Re: [PATCH v2 1/6] mm, page_alloc: fix more premature OOM due to race with cpuset update

2017-05-19 Thread Michal Hocko
On Wed 17-05-17 10:11:35, Vlastimil Babka wrote: > Commit e47483bca2cc ("mm, page_alloc: fix premature OOM when racing with > cpuset > mems update") has fixed known recent regressions found by LTP's cpuset01 > testcase. I have however found that by modifying the testcase to use per-vma >

[PATCH 32/41] ARM: dts: dra71-evm: Add pinmux configuration for MMC

2017-05-19 Thread Kishon Vijay Abraham I
Include dra72x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra72 SoC and use it in the pinctrl properties of MMC devicetree nodes present in dra71-evm.dts. Signed-off-by: Kishon Vijay Abraham I ---

[PATCH 28/41] ARM: dts: am571x-idk: Add pinmux configuration for MMC

2017-05-19 Thread Kishon Vijay Abraham I
Include dra72x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra72 SoC and use it in the pinctrl properties of MMC devicetree nodes present in am571x-idk.dts. Signed-off-by: Kishon Vijay Abraham I ---

[PATCH 36/41] ARM: dts: am57xx-idk: Set MMC2 IO voltage to 3.3V

2017-05-19 Thread Kishon Vijay Abraham I
From: Sekhar Nori MMC2 interface on AM57xx IDK, connected to onboard eMMC, has IO voltage fixed to 3.3V. Add no-1-8-v device-tree property to mmc2 node in the board's device-tree file to reflect this. Note that the AM57xx SoC itself supports dual-voltage on MMC2. The limitation

[PATCH 27/41] ARM: dts: am57xx-idk: Move common MMC/SD properties to common file

2017-05-19 Thread Kishon Vijay Abraham I
From: Sekhar Nori AM572x IDK and AM571x IDK boards have equivalent design of how SD card and eMMC are connected. The two EVMs mainly differ in IOdelay configuration needed (because of difference in SoC used). Move the common properties to am57xx-idk-common.dtsi file which is

[PATCH 20/41] ARM: dts: dra7-evm: Correct the vmmc-supply for mmc2

2017-05-19 Thread Kishon Vijay Abraham I
From: Ravikumar Kattekola On DRA75x EVM, MMC2 vdd/ios are connected to a common supply fixed at 1.8V not 3.3V Fixes: 6cf02dbb4b71 ("ARM: dts: dra7-evm: Add mmc2 node for eMMC support") Signed-off-by: Ravikumar Kattekola Signed-off-by: Sekhar Nori

[PATCH] usb: chipidea: core: check before accessing ci_role in ci_role_show

2017-05-19 Thread Michael Thalmeier
ci_role BUGs when the role is >= CI_ROLE_END. This is the case while the role is changing. Signed-off-by: Michael Thalmeier --- drivers/usb/chipidea/core.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/core.c

[PATCH BUGFIX] block, bfq: access and cache blkg data only when safe

2017-05-19 Thread Paolo Valente
Operations on blkg objects in blk-cgroup are protected with the request_queue lock, which is no more the lock that protects I/O-scheduler operations in blk-mq. The latter are now protected with finer-grained per-scheduler-instance locks. As a consequence, if blkg and blkg-related objects are

[PATCH 26/37] perf intel-pt: Remove unused instructions_sample_period

2017-05-19 Thread Adrian Hunter
Remove unused struct intel_pt member instructions_sample_period. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c index dbff5dca09f0..f8237a0e2946

[PATCH 25/37] perf intel-pt: Factor out common code synthesizing event samples

2017-05-19 Thread Adrian Hunter
Factor out common code in functions synthesizing event samples i.e. intel_pt_synth_branch_sample(), intel_pt_synth_instruction_sample() and intel_pt_synth_transaction_sample(). Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 222

[PATCH 28/37] perf intel-pt: Tidy Intel PT evsel lookup into separate function

2017-05-19 Thread Adrian Hunter
Tidy the lookup of the Intel PT selected event (perf_evsel) into a separate function. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/tools/perf/util/intel-pt.c

Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

2017-05-19 Thread Peter Zijlstra
On Thu, May 18, 2017 at 10:31:13PM -0400, David Miller wrote: > From: Babu Moger > Date: Thu, 18 May 2017 18:36:08 -0600 > > > @@ -82,6 +82,7 @@ config SPARC64 > > select HAVE_ARCH_AUDITSYSCALL > > select ARCH_SUPPORTS_ATOMIC_RMW > > select HAVE_NMI > > +

[PATCH 27/37] perf intel-pt: Join needlessly wrapped lines

2017-05-19 Thread Adrian Hunter
Join needlessly wrapped lines. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c index f8237a0e2946..b670502b0264 100644 ---

work queue of scsi fc transports should be serialized

2017-05-19 Thread Dashi DS1 Cao
I ran into a series of crashes within scsi_remove_target in SUSE 12 SP1 (3.12.49-11-default). This will happen very easily if there is a lot of disks with many storage and host FC ports. It occurs when all the ports are timeout at the same time. 50 disks for each rports (the same 50 LUNs), 4

[PATCH 4/7] RAS: Make local function parse_ras_param() static

2017-05-19 Thread Borislav Petkov
From: Wei Yongjun Make parse_ras_param() static as it is used locally only. Signed-off-by: Wei Yongjun Link: http://lkml.kernel.org/r/20170516161034.2973-1-weiyj...@gmail.com Signed-off-by: Borislav Petkov --- drivers/ras/ras.c |

  1   2   3   4   5   6   7   8   9   >