[PATCH 06/16] platform/x86: wmi: Fix error handling when creating devices

2017-05-26 Thread Darren Hart
From: Andy Lutomirski We have two memory leaks. If guid_already_parsed returned true, we leak the wmi_block. If wmi_create_device failed, we leak the device. Simplify the logic and fix both of them. Signed-off-by: Andy Lutomirski Cc: Andy Lutomirski

[PATCH 11/16] platform/x86: wmi: Add a new interface to read block data

2017-05-26 Thread Darren Hart
From: Andy Lutomirski wmi_query_block is unnecessarily indirect. Add a straightforward method for wmi bus drivers to use to read block data. Signed-off-by: Andy Lutomirski Cc: Andy Lutomirski Cc: Mario Limonciello

Re: [PATCHv4] usb: typec: Add a sysfs node to manage port type

2017-05-26 Thread Greg Kroah-Hartman
On Fri, May 26, 2017 at 01:42:57PM -0700, Badhri Jagan Sridharan wrote: > User space applications in some cases have the need to enforce a > specific port type(DFP/UFP/DRP). This change allows userspace to > attempt setting the desired port type. Low level drivers can > however reject the request

Re: [PATCH v1 1/1] intel_telemetry_debugfs: fix oops found while load/unload module test

2017-05-26 Thread Darren Hart
On Sat, May 27, 2017 at 08:17:39AM -0700, priyalee.kushw...@intel.com wrote: > From: Priyalee Kushwaha > > This fix oops found while testing load/unload test of > intel_telemetry_debugfs module. Module_init uses register_pm_notifier > for PM callbacks, but

[PATCH v2 2/3] clk: hi3660: add clocks for video encoder, decoder and ISP

2017-05-26 Thread Guodong Xu
From: Chen Jun This patch adds more clocks for hi3660, including: - video encoder and decoder - ISP (Image Signal Processing) Signed-off-by: Chen Jun Signed-off-by: Zhong Kaihua Signed-off-by: Guodong Xu

[PATCH v2 0/3] clk: hi3660: add more clocks and fix bugs

2017-05-26 Thread Guodong Xu
This patchset adds more clocks for hi3660, video encoder/decoder, ISP. It includes also bug fixes. v2 update: - added ISP clocks into patch 2. Chen Jun (2): clk: hi3660: fix wrong parent name of clk_mux_sysbus clk: hi3660: add clocks for video encoder, decoder and ISP Zhong Kaihua (1):

[PATCH v2 1/3] clk: hi3660: fix wrong parent name of clk_mux_sysbus

2017-05-26 Thread Guodong Xu
From: Chen Jun Parent name of clk_mux_sysbus is not correct. This patch fixes it. Signed-off-by: Chen Jun Signed-off-by: John Stultz Signed-off-by: Guodong Xu --- drivers/clk/hisilicon/clk-hi3660.c |

[PATCH v2 3/3] clk: hi3660: Set PPLL2 to 2880M

2017-05-26 Thread Guodong Xu
From: Zhong Kaihua Set PPLL2 to 2880M. With this patch, we saw better compatibility on various 1080p HDMI monitors. Signed-off-by: Zhong Kaihua Signed-off-by: Zheng Shaobo --- drivers/clk/hisilicon/clk-hi3660.c | 4 ++--

Re: [PATCH 2/2] Revert "ACPI / button: Change default behavior to lid_init_state=open"

2017-05-26 Thread Peter Hutterer
On May 25 2017, Benjamin Tissoires wrote: > On May 15 2017 or thereabouts, Rafael J. Wysocki wrote: > > >> >> Benjamin, my understanding is that this is the case, is it correct? > > >> > > > >> > That is correct. This patch I reverted introduces regression for > > >> > professional > > >> >

Re: [PATCH] ARM: dts: keystone-k2l: fix broken Ethernet due to disabled OSR

2017-05-26 Thread Sekhar Nori
Hi Arnd, On Friday 31 March 2017 03:43 PM, Arnd Bergmann wrote: > On Wed, Mar 29, 2017 at 6:13 PM, santosh.shilim...@oracle.com > wrote: >>> Signed-off-by: Murali Karicheri >>> Acked-by: Tero Kristo >>> [nsek...@ti.com: commit

Re: [patch V3 25/32] kprobes: Cure hotplug lock ordering issues

2017-05-26 Thread Thomas Gleixner
On Thu, 25 May 2017, Masami Hiramatsu wrote: > On Wed, 24 May 2017 10:15:36 +0200 > Thomas Gleixner wrote: > > > Converting the cpu hotplug locking to a percpu rwsem unearthed hidden lock > > ordering problems. > > > > There is a wide range of locks involved in this:

[PATCH v3 1/2] net: phy: Add Cortina CS4340 driver

2017-05-26 Thread Bogdan Purcareata
Add basic support for Cortina PHY drivers. Support only CS4340 for now. The phys are not compatible with IEEE 802.3 clause 22/45 registers. Implement proper read_status support. The generic 10G phy driver causes bus register access errors. The driver should be described using the

Re: [PATCH 1/5] efi: Move the x86 secure boot switch to generic code

2017-05-26 Thread joeyli
Hi David, On Wed, May 24, 2017 at 03:45:25PM +0100, David Howells wrote: > Move the switch-statement in x86's setup_arch() that inteprets the > secure_boot boot parameter to generic code. > > Suggested-by: Ard Biesheuvel > Signed-off-by: David Howells

[PATCH v3 2/2] dt-bindings: net: Add Cortina device tree bindings

2017-05-26 Thread Bogdan Purcareata
Add device tree description info for Cortina 10G phy devices. Signed-off-by: Bogdan Purcareata --- Patch introduced in v3 of the patchset. Documentation/devicetree/bindings/net/cortina.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644

[PATCH v3 0/2] net: phy: Support managed Cortina phys

2017-05-26 Thread Bogdan Purcareata
So far, the Cortina family phys (CS4340 in this particular case) are only supported in fixed link mode (via fixed_phy_register). The generic 10G phy driver does not work well with the phylib state machine, when the phy is registered via of_phy_connect. This prohibits the user from describing the

[GIT PULL] sound fixes for 4.12-rc3

2017-05-26 Thread Takashi Iwai
Linus, please pull sound fixes for v4.12-rc3 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.12-rc3 The topmost commit is 1fc2e41f7af4572b07190f9dec28396b418e9a36 sound fixes for 4.12-rc3

Re: [PATCH 1/5] MIPS: Optimize uasm insn lookup.

2017-05-26 Thread Matt Redfearn
Hi David, On 26/05/17 01:38, David Daney wrote: Instead of doing a linear search through the insn_table for each instruction, use the opcode as direct index into the table. This will give constant time lookup performance as the number of supported opcodes increases. Make the tables const as

[PATCH] powerpc/perf: Fix Power9 test_adder field

2017-05-26 Thread Madhavan Srinivasan
Commit 8d911904f3ce4 ('powerpc/perf: Add restrictions to PMC5 in power9 DD1') was added to restrict the use of PMC5 in Power9 DD1. Intend is to diable the use of PMC5 using raw event code. Commit instead of updating "power9_isa207_pmu" structure, updated "power9_pmu" structure. Patch to fix the

[RFC PATCH v4 05/12] x86/ioapic: Refactor the delay logic in timer_irq_works()

2017-05-26 Thread Dou Liyang
Kernel use timer_irq_works() to detects the timer IRQs. It calls mdelay(10) to delay ten ticks and checks whether the timer IRQs work or not. The mdelay() depends on the loops_per_jiffy which is set up in calibrate_delay(). But in "notsc" case, calibrating delay also should make sure the timer

Re: [PATCH 3/5] Add the ability to lock down access to the running kernel image

2017-05-26 Thread joeyli
On Wed, May 24, 2017 at 03:45:45PM +0100, David Howells wrote: > Provide a single call to allow kernel code to determine whether the system > should be locked down, thereby disallowing various accesses that might > allow the running kernel image to be changed including the loading of > modules

[PATCH 5/8] i2c: break out ACPI support into seperate file

2017-05-26 Thread Wolfram Sang
Removes some ifdeffery. Also add the new file to the relevant MAINTAINERS section. Signed-off-by: Wolfram Sang --- MAINTAINERS | 1 + drivers/i2c/Makefile| 1 + drivers/i2c/i2c-core-acpi.c | 653

[PATCH 6/8] docs: i2c: dev-interface: adapt to new filenames of the i2c core

2017-05-26 Thread Wolfram Sang
The I2C core files were renamed, adapt the textfile to it. Signed-off-by: Wolfram Sang --- Documentation/i2c/dev-interface | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/i2c/dev-interface b/Documentation/i2c/dev-interface

[PATCH 0/8] i2c: refactor core and break out blocks

2017-05-26 Thread Wolfram Sang
Yes, I wanted to do this for years now... The I2C core became a huge monolithic blob getting harder and harder to maintain. This series breaks out some functional parts into seperate files. This makes the code easier to handle because of the smaller chunks. It reduces ifdeffery because we can now

[PATCH V2 17/37] perf intel-pt: Fix transactions_sample_type

2017-05-26 Thread Adrian Hunter
'transactions_sample_type' is needed to correctly inject transactions samples but it was not being set. Set it from the event sample type. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 1 + 1 file changed, 1 insertion(+) diff --git

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

2017-05-26 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 V2 35/37] perf intel-pt: Update documentation to include new ptwrite and power events

2017-05-26 Thread Adrian Hunter
Update documentation to include new ptwrite and power events. Signed-off-by: Adrian Hunter --- tools/perf/Documentation/intel-pt.txt | 42 +-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git

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

2017-05-26 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

[PATCH V2 33/37] perf intel-pt: Synthesize new power and ptwrite events

2017-05-26 Thread Adrian Hunter
Synthesize new power and ptwrite events. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 283 + 1 file changed, 283 insertions(+) diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c index

[PATCH V2 32/37] perf intel-pt: Move code in intel_pt_synth_events() to simplify attr setting

2017-05-26 Thread Adrian Hunter
intel_pt_synth_events() uses the same attr structure to create each event. Move the code around a bit to simplify that. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 45 ++--- 1 file changed, 22 insertions(+), 23

Re: linux-next: build warning after merge of the drivers-x86 tree

2017-05-26 Thread Arnd Bergmann
On Fri, May 26, 2017 at 1:34 AM, Stephen Rothwell wrote: > On Mon, 22 May 2017 21:03:06 +0300 Andy Shevchenko > wrote: >> On Sat, May 20, 2017 at 1:09 AM, Darren Hart wrote: >> > On Fri, May 19, 2017 at 01:23:17PM +1000,

[PATCH V2 36/37] perf intel-pt: Do not use TSC packets for calculating CPU cycles to TSC

2017-05-26 Thread Adrian Hunter
CBR (core-to-bus ratio) packets provide an indication of CPU frequency. A more accurate measure can be made by counting the cycles (given by CYC packets) in between other timing packets (either MTC or TSC). Using TSC packets has at least 2 issues: 1) timing might have stopped (e.g. mwait) or 2)

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

2017-05-26 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 V2 34/37] perf intel-pt: Add example script for power events and PTWRITE

2017-05-26 Thread Adrian Hunter
Add script intel-pt-events.py that provides an example of how to unpack the raw data for power events and PTWRITE. Signed-off-by: Adrian Hunter --- .../perf/scripts/python/bin/intel-pt-events-record | 13 +++ .../perf/scripts/python/bin/intel-pt-events-report | 3 +

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

2017-05-26 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 V2 23/37] perf auxtrace: Add itrace option to output ptwrite events

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

[PATCH V2 25/37] perf script: Add synthesized Intel PT power and ptwrite events

2017-05-26 Thread Adrian Hunter
Add definitions for synthesized Intel PT events for power and ptwrite. Signed-off-by: Adrian Hunter --- tools/perf/builtin-script.c | 114 +++- tools/perf/util/event.h | 90 ++ 2 files changed,

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

2017-05-26 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 ---

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

2017-05-26 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 V2 11/37] perf intel-pt: Add default config for pass-through branch enable

2017-05-26 Thread Adrian Hunter
Branch tracing is enabled by default, so a fake config bit called 'pt' (pass-through) was added to allow the 'branch enable' bit to have affect. Add default config 'pt,branch' which will allow users to disable branch tracing using 'branch=0' instead of having to specify 'pt,branch=0'.

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

2017-05-26 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

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

2017-05-26 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 V2 18/37] perf tools: Fix message because cpu list option is -C not -c

2017-05-26 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

Re: [PATCH 4/5] efi: Lock down the kernel if booted in secure boot mode

2017-05-26 Thread joeyli
On Wed, May 24, 2017 at 03:45:56PM +0100, David Howells wrote: > UEFI Secure Boot provides a mechanism for ensuring that the firmware will > only load signed bootloaders and kernels. Certain use cases may also > require that all kernel modules also be signed. Add a configuration option > that to

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

2017-05-26 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 +-

Re: [Intel-gfx] [PATCH v5 4/5] drm/i915/gvt: Dmabuf support for GVT-g

2017-05-26 Thread Chris Wilson
On Thu, May 25, 2017 at 02:28:25PM +0100, Chris Wilson wrote: > On Tue, May 23, 2017 at 06:32:00PM +0800, Xiaoguang Chen wrote: > > + gtt_entries = (gen8_pte_t __iomem *)dev_priv->ggtt.gsm + > > + (fb_gma >> PAGE_SHIFT); > > + for_each_sg(st->sgl, sg, fb_size, i) { > > +

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

2017-05-26 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 V2 20/37] perf script: Add 'synth' event type for synthesized events

2017-05-26 Thread Adrian Hunter
Instruction trace decoders such as Intel PT may have additional information recorded in the trace. For example, Intel PT has power information and a there is a new instruction 'ptwrite' that can write a value into a PTWRITE trace packet. Such information may be associated with an IP and so can be

[PATCH V2 22/37] tools include: Add byte-swapping macros to kernel.h

2017-05-26 Thread Adrian Hunter
Add byte-swapping macros to kernel.h Signed-off-by: Adrian Hunter --- tools/include/linux/kernel.h | 35 +-- 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/tools/include/linux/kernel.h b/tools/include/linux/kernel.h index

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

2017-05-26 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 V2 07/37] perf intel-pt: Use FUP always when scanning for an IP

2017-05-26 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 V2 08/37] perf intel-pt: Clear FUP flag on error

2017-05-26 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 Cc:

[PATCH V2 10/37] perf intel-pt: Allow decoding with branch tracing disabled

2017-05-26 Thread Adrian Hunter
The kernel now supports the disabling of branch tracing, however the decoder assumes branch tracing is always enabled. Pass through a parameter to indicate whether branch tracing is enabled and use it to avoid cases when the decoder is expecting branch packets. There are 2 such cases. First, FUP

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

2017-05-26 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 V2 13/37] perf intel-pt: Add decoder support for ptwrite and power event packets

2017-05-26 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 V2 02/37] perf intel-pt: Improve sample timestamp

2017-05-26 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

[PATCH V2 03/37] perf intel-pt: Fix missing stack clear

2017-05-26 Thread Adrian Hunter
The return compression stack must be cleared whenever there is a PSB. Fix one case where that was not happening. Signed-off-by: Adrian Hunter Cc: sta...@vger.kernel.org --- tools/perf/util/intel-pt-decoder/intel-pt-decoder.c | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH] ARM: dts: rockchip: correct regular setting for act8846

2017-05-26 Thread Eddie Cai
2017-05-24 20:27 GMT+08:00 Robin Murphy : > On 24/05/17 12:34, Heiko Stuebner wrote: >> Am Mittwoch, 24. Mai 2017, 11:26:10 CEST schrieb Robin Murphy: >>> On 24/05/17 09:17, Heiko Stuebner wrote: Hi Eddie, Am Mittwoch, 24. Mai 2017, 15:33:41 CEST schrieb Eddie

[tip:smp/hotplug] padata: Make padata_alloc() static

2017-05-26 Thread tip-bot for Thomas Gleixner
Commit-ID: 9596695ee1e7eedd743c43811fe68299eb005b5c Gitweb: http://git.kernel.org/tip/9596695ee1e7eedd743c43811fe68299eb005b5c Author: Thomas Gleixner AuthorDate: Wed, 24 May 2017 10:15:17 +0200 Committer: Thomas Gleixner CommitDate: Fri, 26 May

[tip:smp/hotplug] s390/kernel: Use stop_machine_cpuslocked()

2017-05-26 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 2337e879e8805a630b418f3e73a98084d4724b83 Gitweb: http://git.kernel.org/tip/2337e879e8805a630b418f3e73a98084d4724b83 Author: Sebastian Andrzej Siewior AuthorDate: Wed, 24 May 2017 10:15:26 +0200 Committer: Thomas Gleixner CommitDate:

Re: [RESEND: PATCH v4 1/4] firmware: scm: Add new SCM call for switching memory ownership

2017-05-26 Thread Bjorn Andersson
On Tue 16 May 11:01 PDT 2017, Avaneesh Kumar Dwivedi wrote: > diff --git a/drivers/firmware/qcom_scm-32.c b/drivers/firmware/qcom_scm-32.c > index 93e3b96..4eb7d59 100644 > --- a/drivers/firmware/qcom_scm-32.c > +++ b/drivers/firmware/qcom_scm-32.c > @@ -596,3 +596,9 @@ int

[PATCH 4/6] regulator: hi6421v530: add driver for hi6421v530 voltage regulator

2017-05-26 Thread Guodong Xu
From: Wang Xiaoyin add the driver for hi6421v530 voltage regulator Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu --- drivers/regulator/Kconfig| 10 + drivers/regulator/Makefile

[PATCH 5/6] arm64: dts: hikey960: add device node for pmic and regulators

2017-05-26 Thread Guodong Xu
From: Wang Xiaoyin add device node for hi6421 pmic core and hi6421v530 voltage regulator,include LDO(1,3,9,11,15,16) Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu ---

[PATCH 0/6] MFD: add driver for HiSilicon Hi6421v530 PMIC

2017-05-26 Thread Guodong Xu
This patchset adds driver for HiSilicon Hi6421v530 PMIC. Mainline kernel already has driver support to a similar chip, Hi6421. Hi6421 and Hi6421v530 are both from the same vendor, HiSilicon, but they are at different revisions. They both use the same Memory-mapped I/O method to communicate with

[PATCH 3/6] mfd: hi6421v530: add support for HiSilicon Hi6421v530

2017-05-26 Thread Guodong Xu
Add support for HiSilicon Hi6421v530 PMIC. Hi6421v530 communicates with main SoC via memory-mapped I/O. Hi6421v530 and Hi6421 are PMIC chips from the same vendor, HiSilicon, but at different revisions. They share the same memory-mapped I/O design. They differ in regulator details, eg. LDO voltage

[PATCH 6/6] arm64: defconfig: enable hi6421v530 MFD and regulator

2017-05-26 Thread Guodong Xu
Enable configs for hi6421v530 mfd and regulator driver Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index ce07285..287e943 100644 ---

[PATCH 1/6] dt-bindings: mfd: Add hi6421v530 bindings

2017-05-26 Thread Guodong Xu
DT bindings for hisilicon HI655x PMIC chip. Signed-off-by: Guodong Xu --- .../bindings/mfd/hisilicon,hi6421v530.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/hisilicon,hi6421v530.txt

[PATCH 2/6] mfd: hi6421-pmic: move hi6421_regmap_config definition to header file

2017-05-26 Thread Guodong Xu
Move hi6421_regmap_config definition from c code to common header: - include/linux/mfd/hi6421-pmic.h This is to improve code re-use for upcoming hi6421 series of MFD driver. Signed-off-by: Guodong Xu --- drivers/mfd/hi6421-pmic-core.c | 7 ---

RE: [PATCH] pinctrl/amd: Use regular interrupt instead of chained

2017-05-26 Thread Thomas Gleixner
Nehal, On Fri, 26 May 2017, Shah, Nehal-bakulchandra wrote: > Thanks for the patch. However, we have received this issue from multiple > people and different disro but it occurs only on Gigabyte hardware. With > reference AM4 ryzen board we are not facing this issue. We are in > discussion with

Re: [PATCH 00/21] liblockdep fixes for v4.12

2017-05-26 Thread Ingo Molnar
* Levin, Alexander (Sasha Levin) wrote: > MAINTAINERS| 2 +- > tools/Makefile | 8 +++-- > tools/include/linux/bitops.h | 10 ++ > tools/include/linux/err.h

Re: [PATCH 01/15] liblockdep: Fix undefined symbol prandom_u32

2017-05-26 Thread Ingo Molnar
* Levin, Alexander (Sasha Levin) wrote: > On Wed, May 24, 2017 at 09:53:37AM +0200, Ingo Molnar wrote: > > > > So I'm not sure how you sent these patches, but probably due to the lack of > > a > > boilerplate message, the order was all mixed up. I got the patch

Re: [PATCH 7/7] DWARF: add the config option

2017-05-26 Thread Jiri Slaby
On 05/19/2017, 11:35 PM, Josh Poimboeuf wrote: > > https://github.com/jpoimboe/linux/blob/undwarf/arch/x86/kernel/unwind_undwarf.c JFYI, it crashes in sha1_transform_avx due to crypto changes. You perhaps missed that this beast uses ebp (not rbp) register for computations. I had to do: ---

Re: [patch V3 00/32] cpu/hotplug: Convert get_online_cpus() to a percpu_rwsem

2017-05-26 Thread Ingo Molnar
* Thomas Gleixner wrote: > get_online_cpus() is used in hot pathes in mainline and even more so in > RT. That can show up badly under certain conditions because every locker > contends on a global mutex. RT has it's own homebrewn mitigation which is > a (badly done) open

[ANNOUNCE] autofs 5.1.3 release

2017-05-26 Thread Ian Kent
Hi all, It's time for a new release, autofs-5.1.3. Of particular interest is the addition browse support for amd format maps. The browsable_dirs configuration option can be set to either "yes" or "no" and the pseudo option "browsable" can be used as an option of mount type "auto" mounts. Note

Re: [PATCH] KVM: x86: dynamically allocate large struct in em_fxrstor

2017-05-26 Thread Paolo Bonzini
On 26/05/2017 06:13, Nick Desaulniers wrote: > On Thu, May 25, 2017 at 04:07:08PM +0200, Paolo Bonzini wrote: >> I think we should do the fixup backwards. >> >> That is: >> >> - first do get_fpu >> >> - if the fixup is necessary, i.e. ctxt->mode < X86EMUL_MODE_PROT64, do >> fxsave into >> >> -

[PATCH v2 1/4] pinctrl: rockchip: Add iomux-route switching support

2017-05-26 Thread David Wu
On the some rockchip SOCS, some things like rk3399 specific uart2 can use multiple pins. Somewhere between the pin io-cells and the uart it seems to have some sort of switch to decide to which pin to actually route the data. +---+++ /- GPIO4_B0 (pinmux 2) | uart2 | -- | switch |

[PATCH v2 2/4] pinctrl: rockchip: Add iomux-route switching support for rk3228

2017-05-26 Thread David Wu
There are 9 IP blocks pin routes need to be switched, that are pwm-0, pwm-1, pwm-2, pwm-3, sdio, spi, emmc, uart2, uart1. Signed-off-by: David Wu --- Change in v2: - calculate the per-bank value dynamically (Heiko) drivers/pinctrl/pinctrl-rockchip.c | 132

[PATCH v2 4/4] pinctrl: rockchip: Add iomux-route switching support for rk3399

2017-05-26 Thread David Wu
There are 2 IP blocks pin routes need to be switched, that are uart2dbg, pcie_clkreq. Signed-off-by: David Wu --- Change in v2: - calculate the per-bank value dynamically (Heiko) drivers/pinctrl/pinctrl-rockchip.c | 41 ++ 1 file

Re: [PATCH 2/6] mfd: hi6421-pmic: move hi6421_regmap_config definition to header file

2017-05-26 Thread Arnd Bergmann
On Fri, May 26, 2017 at 8:35 AM, Guodong Xu wrote: > Move hi6421_regmap_config definition from c code to common header: > - include/linux/mfd/hi6421-pmic.h > > This is to improve code re-use for upcoming hi6421 series of MFD driver. > > Signed-off-by: Guodong Xu

[tip:smp/hotplug] hwtracing/coresight-etm3x: Use cpuhp_setup_state_nocalls_cpuslocked()

2017-05-26 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: e560c89c8ac0baadf0da351f602c599016568fc7 Gitweb: http://git.kernel.org/tip/e560c89c8ac0baadf0da351f602c599016568fc7 Author: Sebastian Andrzej Siewior AuthorDate: Wed, 24 May 2017 10:15:22 +0200 Committer: Thomas Gleixner CommitDate:

[tip:smp/hotplug] perf/x86/intel/cqm: Use cpuhp_setup_state_cpuslocked()

2017-05-26 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 04b247c2ebdd6ba1c46c7c22546229a89760b43a Gitweb: http://git.kernel.org/tip/04b247c2ebdd6ba1c46c7c22546229a89760b43a Author: Sebastian Andrzej Siewior AuthorDate: Wed, 24 May 2017 10:15:24 +0200 Committer: Thomas Gleixner CommitDate:

[tip:smp/hotplug] cpufreq: Use cpuhp_setup_state_nocalls_cpuslocked()

2017-05-26 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: a92551e41d5a7b563ae440496bc5ca19d205231d Gitweb: http://git.kernel.org/tip/a92551e41d5a7b563ae440496bc5ca19d205231d Author: Sebastian Andrzej Siewior AuthorDate: Wed, 24 May 2017 10:15:20 +0200 Committer: Thomas Gleixner CommitDate:

[tip:smp/hotplug] KVM/PPC/Book3S HV: Use cpuhp_setup_state_nocalls_cpuslocked()

2017-05-26 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 419af25fa4d0974fd758a668c08c369c19392a47 Gitweb: http://git.kernel.org/tip/419af25fa4d0974fd758a668c08c369c19392a47 Author: Sebastian Andrzej Siewior AuthorDate: Wed, 24 May 2017 10:15:21 +0200 Committer: Thomas Gleixner CommitDate:

[tip:smp/hotplug] hwtracing/coresight-etm4x: Use cpuhp_setup_state_nocalls_cpuslocked()

2017-05-26 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: e9f5d63f84febb7e9dfe4e0dc696adf88053fbf2 Gitweb: http://git.kernel.org/tip/e9f5d63f84febb7e9dfe4e0dc696adf88053fbf2 Author: Sebastian Andrzej Siewior AuthorDate: Wed, 24 May 2017 10:15:23 +0200 Committer: Thomas Gleixner CommitDate:

[tip:smp/hotplug] perf/x86/intel: Drop get_online_cpus() in intel_snb_check_microcode()

2017-05-26 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 1ba143a5216fb148211160a0ecc1f8d3f92f06bb Gitweb: http://git.kernel.org/tip/1ba143a5216fb148211160a0ecc1f8d3f92f06bb Author: Sebastian Andrzej Siewior AuthorDate: Wed, 24 May 2017 10:15:30 +0200 Committer: Thomas Gleixner CommitDate:

[tip:smp/hotplug] ACPI/processor: Use cpu_hotplug_disable() instead of get_online_cpus()

2017-05-26 Thread tip-bot for Thomas Gleixner
Commit-ID: fdaf0a51bad496289356d11d796095a293794b5f Gitweb: http://git.kernel.org/tip/fdaf0a51bad496289356d11d796095a293794b5f Author: Thomas Gleixner AuthorDate: Wed, 24 May 2017 10:15:33 +0200 Committer: Thomas Gleixner CommitDate: Fri, 26 May

[tip:smp/hotplug] x86/perf: Drop EXPORT of perf_check_microcode

2017-05-26 Thread tip-bot for Thomas Gleixner
Commit-ID: 27d3b157fee0bad264eb745d5c547e2e0676f1a2 Gitweb: http://git.kernel.org/tip/27d3b157fee0bad264eb745d5c547e2e0676f1a2 Author: Thomas Gleixner AuthorDate: Wed, 24 May 2017 10:15:29 +0200 Committer: Thomas Gleixner CommitDate: Fri, 26 May

[PATCH v4 2/2] arm: dts: Add Mediatek MT2701 i2c device node

2017-05-26 Thread Jun Gao
From: Jun Gao Add MT2701 i2c device node. Signed-off-by: Jun Gao --- arch/arm/boot/dts/mt2701-evb.dts | 42 arch/arm/boot/dts/mt2701.dtsi| 42 2 files changed, 84

[PATCH v4 0/2] Add i2c dt-binding and device node for Mediatek MT2701 Soc

2017-05-26 Thread Jun Gao
This patch series based on v4.12-rc1, include MT2701 i2c dt-binding and device node. changes since v3: - Add fallback compatible to dt-binding changes since v2: - Modify commit message - Revise dt-binding documentation changes since v1: - Modify commit message Dependent on "Add clock and power

[PATCH v4 1/2] dt-bindings: i2c: Add Mediatek MT2701 i2c binding

2017-05-26 Thread Jun Gao
From: Jun Gao Add MT2701 i2c binding to i2c-mt6577.txt and there is no need to modify i2c driver. Signed-off-by: Jun Gao --- Documentation/devicetree/bindings/i2c/i2c-mt6577.txt | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff

Re: [PATCH 2/5] efi: Add EFI_SECURE_BOOT bit

2017-05-26 Thread joeyli
On Wed, May 24, 2017 at 03:45:32PM +0100, David Howells wrote: > From: Josh Boyer > > UEFI machines can be booted in Secure Boot mode. Add a EFI_SECURE_BOOT bit > that can be passed to efi_enabled() to find out whether secure boot is > enabled. > > This will be used

Re: [PATCH] ARM: dts: keystone-k2l: fix broken Ethernet due to disabled OSR

2017-05-26 Thread Arnd Bergmann
On Fri, May 26, 2017 at 9:44 AM, Sekhar Nori wrote: > Hi Arnd, > > On Friday 31 March 2017 03:43 PM, Arnd Bergmann wrote: >> On Wed, Mar 29, 2017 at 6:13 PM, santosh.shilim...@oracle.com >> wrote: Signed-off-by: Murali Karicheri

[PATCH] arm64: dts: uniphier: reserve more memory for LD11/LD20

2017-05-26 Thread Masahiro Yamada
Reserve enough space below the kernel base. The assumed address map is: 8000 - 80ff : for IPP 8100 - 81ff : for ARM secure 8200 - : for Linux Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi |

Re: [PATCH] ARM: dts: keystone-k2l: fix broken Ethernet due to disabled OSR

2017-05-26 Thread Sekhar Nori
On Friday 26 May 2017 01:42 PM, Arnd Bergmann wrote: > On Fri, May 26, 2017 at 9:44 AM, Sekhar Nori wrote: >> Hi Arnd, >> >> On Friday 31 March 2017 03:43 PM, Arnd Bergmann wrote: >>> On Wed, Mar 29, 2017 at 6:13 PM, santosh.shilim...@oracle.com >>>

[PATCH] arm64: dts: uniphier: reserve more memory for LD11/LD20

2017-05-26 Thread Masahiro Yamada
Reserve enough space below the kernel base. The assumed address map is: 8000 - 80ff : for IPP 8100 - 81ff : for ARM secure 8200 - : for Linux Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi |

[PATCH 4/8] i2c: break out OF support into seperate file

2017-05-26 Thread Wolfram Sang
Also removes some ifdeffery. Signed-off-by: Wolfram Sang --- drivers/i2c/Makefile| 1 + drivers/i2c/i2c-core-base.c | 265 +- drivers/i2c/i2c-core-of.c | 276

[PATCH 3/8] i2c: break out smbus support into seperate file

2017-05-26 Thread Wolfram Sang
Break out the exported SMBus functions and the emulation layer into a seperate file. This also involved splitting up the tracing header into an I2C and an SMBus part. Signed-off-by: Wolfram Sang --- Documentation/driver-api/i2c.rst | 3 + drivers/i2c/Makefile |

[PATCH 1/8] i2c: rename core source file to allow refactorization

2017-05-26 Thread Wolfram Sang
The I2C core became quite huge and its monolithic structure makes maintenance hard. So, prepare to break out some functionality into seperate files by renaming the source file. Note that we keep the resulting object name constant to avoid regressions. Signed-off-by: Wolfram Sang

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

2017-05-26 Thread Adrian Hunter
Move decoder error setting into one condition. Cc'ed to stable because later fixes depend on it. Signed-off-by: Adrian Hunter Cc: sta...@vger.kernel.org --- tools/perf/util/intel-pt-decoder/intel-pt-decoder.c | 11 +++ 1 file changed, 7 insertions(+), 4

[PATCH 2/8] i2c: break out slave support into seperate file

2017-05-26 Thread Wolfram Sang
Also removes some ifdeffery. Signed-off-by: Wolfram Sang --- drivers/i2c/Makefile | 1 + drivers/i2c/i2c-core-base.c | 102 +- drivers/i2c/i2c-core-slave.c | 115 +++

[PATCH 7/8] i2c: remove unneeded includes from core

2017-05-26 Thread Wolfram Sang
They seem like cruft to me. I couldn't find any evidence that something included from there is actually used. Signed-off-by: Wolfram Sang --- drivers/i2c/i2c-core-base.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/i2c/i2c-core-base.c

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