Re: [linux-sunxi] Re: [PATCH 10/11] arm64: allwinner: a64: enable AXP803 regulators for Pine64

2017-04-05 Thread Icenowy Zheng
在 2017年04月05日 16:08, Maxime Ripard 写道: On Wed, Apr 05, 2017 at 02:15:43PM +0800, Icenowy Zheng wrote: 2017年4月5日 14:13于 Maxime Ripard 写道: On Wed, Apr 05, 2017 at 02:01:44AM +0800, Icenowy Zheng wrote: Add support of AXP803 regulators in the Pine64 device

Re: [PATCH v1] checkpatch: test missing initial blank line in block comment

2017-04-05 Thread Hugues FRUCHET
Hi Joe, thanks for reviewing, I have run the command you advice on the entire kernel code, modifying the script to only match the newly introduced check case. There was 14389 hits, quite huge, so I cannot 100% certify that there are no false positives, but I have checked the output carefully

Re: [RFC] [media] imx: assume MEDIA_ENT_F_ATV_DECODER entities output video on pad 1

2017-04-05 Thread Russell King - ARM Linux
On Tue, Apr 04, 2017 at 05:44:05PM -0700, Steve Longerbeam wrote: > > > On 04/04/2017 05:40 PM, Steve Longerbeam wrote: > > > > > >On 04/04/2017 04:10 PM, Russell King - ARM Linux wrote: > >>On Thu, Mar 30, 2017 at 07:25:49PM +0200, Philipp Zabel wrote: > >>>The TVP5150 DT bindings specify a

[PATCH v3 9/9] drm/rockchip: cdn-dp: Don't unregister audio dev when unbinding

2017-04-05 Thread Jeffy Chen
After snd_soc_unregister_codec, the dai link would remain bound to the invalid codec. That would cause crashes after unbind dp driver. Let's unregister audio codec when removing dp driver to prevent that. Signed-off-by: Jeffy Chen --- Changes in v3: Update commit

[PATCH v3 4/9] drm/rockchip: cdn-dp: Don't try to release firmware when not loaded

2017-04-05 Thread Jeffy Chen
Signed-off-by: Jeffy Chen --- Changes in v3: None Changes in v2: None drivers/gpu/drm/rockchip/cdn-dp-core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/cdn-dp-core.c b/drivers/gpu/drm/rockchip/cdn-dp-core.c index

[PATCH v3 2/9] drm: bridge: analogix: Unregister dp aux when unbinding

2017-04-05 Thread Jeffy Chen
The dp aux is registered when binding analogix dp. Signed-off-by: Jeffy Chen --- Changes in v3: None Changes in v2: None drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 3/9] drm: bridge: analogix: Destroy connector when unbinding

2017-04-05 Thread Jeffy Chen
Normally we do this in drm_mode_config_cleanup. But analogix dp's connector is allocated in bind, and freed after unbind. So we need to destroy it in unbind to avoid further access. Signed-off-by: Jeffy Chen --- Changes in v3: None Changes in v2: None

RE: [PATCH 1/2] Alps HID I2C T4 device support

2017-04-05 Thread Masaki Ota
Hi, Nikolaus, If you have a time, please try below debug method. Download below file, copy it to your system and unpack. https://www.filesanywhere.com/fs/v.aspx?v=8b716a8e5b6773baa799 Procedure ex: #cd Desktop/LinuxModDebug #sudo chmod 755 linux_kr_rebuild_tool_hid.sh #sudo

Re: [PATCH v6] vfio error recovery: kernel support

2017-04-05 Thread Cao jin
Sorry for late. Distracted by other problem for a while. On 03/31/2017 02:16 AM, Alex Williamson wrote: > On Thu, 30 Mar 2017 21:00:35 +0300 >> >>> >>> I also asked in my previous comments to provide examples of errors that >>> might trigger correctable errors to the user,

[tip:efi/core] x86/efi/bgrt: Move efi-bgrt handling out of arch/x86

2017-04-05 Thread tip-bot for Bhupesh Sharma
Commit-ID: 2ab6c5b95a34685477ec10650ab26aa6c144a1a1 Gitweb: http://git.kernel.org/tip/2ab6c5b95a34685477ec10650ab26aa6c144a1a1 Author: Bhupesh Sharma AuthorDate: Tue, 4 Apr 2017 17:02:40 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr 2017

[tip:efi/core] efi/arm-stub: Correct FDT and initrd allocation rules for arm64

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: 5e0e04e655826dce058c75a82adaa979231e6149 Gitweb: http://git.kernel.org/tip/5e0e04e655826dce058c75a82adaa979231e6149 Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:02:37 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

[PATCH v6 20/23] tools: PCI: Add sample test script to invoke pcitest

2017-04-05 Thread Kishon Vijay Abraham I
Add a simple test script that invokes the pcitest userspace tool to perform all the PCI endpoint tests (BAR tests, interrupt tests, read tests, write tests and copy tests). Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Bjorn Helgaas ---

[tip:efi/core] efi/arm-stub: Round up FDT allocation to mapping size

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: 05181c7c42c830e5f3fe7a0e93dfec0bd0fd8456 Gitweb: http://git.kernel.org/tip/05181c7c42c830e5f3fe7a0e93dfec0bd0fd8456 Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:02:39 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

Re: [PATCH v5 3/7] mfd: axp20x: add MFD cells for AXP20X and AXP22X battery driver

2017-04-05 Thread Lee Jones
On Wed, 05 Apr 2017, Quentin Schulz wrote: > The X-Powers AXP20X and AXP22X PMICs can have a battery as power supply. > > This patch adds the AXP20X/AXP22X battery driver to the MFD cells of the > AXP209, AXP221 and AXP223 MFD. > > Signed-off-by: Quentin Schulz

[PATCH v4 7/8] ARM: sun8i: a33: Add devfreq-based GPU cooling

2017-04-05 Thread Quentin Schulz
From: Maxime Ripard This adds GPU thermal throttling for the Allwinner A33. Signed-off-by: Maxime Ripard Signed-off-by: Quentin Schulz --- v3: - got rid of cooling-min-level and

Re: [PATCH v3 00/11] add thermal throttling to Allwinner A33 SoC

2017-04-05 Thread Quentin Schulz
Hi Lee, On 04/04/2017 10:31, Lee Jones wrote: > On Tue, 21 Mar 2017, Quentin Schulz wrote: > >> The Allwinner SoCs all have an ADC that can also act as a touchscreen >> controller and a thermal sensor. The first four channels can be used >> either for the ADC or the touchscreen and the fifth

[PATCH net-next] net/mlx5e: fix build error without CONFIG_SYSFS

2017-04-05 Thread Tobias Regnery
Commit 9008ae074885 ("net/mlx5e: Minimize mlx5e_{open/close}_locked") copied the calls to netif_set_real_num_{tx,rx}_queues from mlx5e_open_locked to mlx5e_activate_priv_channels and wraps them in an if condition to test for netdev->real_num_{tx,rx}_queues. But netdev->real_num_rx_queues is

Re: [PATCH 2/3] perf tools arm64: implement function get_cpuid_str

2017-04-05 Thread Ganapatrao Kulkarni
On Tue, Apr 4, 2017 at 5:55 PM, Mark Rutland wrote: > On Tue, Apr 04, 2017 at 01:06:42PM +0530, Ganapatrao Kulkarni wrote: >> function get_cpuid_str returns midr_el1 value from first >> online cpu available. > > This isn't globally the same (e.g. in big.LITTLE systems). > >

[PATCH v2 1/2] arm64: dts: rk3399: add support for firefly-rk3399 board

2017-04-05 Thread Kever Yang
Firefly-rk3399 is a bord from T-Firefly, you can find detail about it here: http://en.t-firefly.com/en/firenow/Firefly_RK3399/ This patch add basic node for the board and make it able to bring up. Peripheral works: - usb hub which connect to ehci controller; - UART2 debug - eMMC - PCIe Not

Re: [RFC] [media] imx: assume MEDIA_ENT_F_ATV_DECODER entities output video on pad 1

2017-04-05 Thread Philipp Zabel
On Tue, 2017-04-04 at 15:11 -0700, Steve Longerbeam wrote: > > On 03/30/2017 10:25 AM, Philipp Zabel wrote: > > The TVP5150 DT bindings specify a single output port (port 0) that > > corresponds to the video output pad (pad 1, DEMOD_PAD_VID_OUT). > > > > Signed-off-by: Philipp Zabel

Re: [PATCH v1] checkpatch: test missing initial blank line in block comment

2017-04-05 Thread Hugues FRUCHET
On 04/05/2017 10:35 AM, Joe Perches wrote: > On Wed, 2017-04-05 at 08:23 +, Hugues FRUCHET wrote: >> Hi Joe, thanks for reviewing, > > Hello Hugues > >> I have run the command you advice on the entire kernel code, modifying >> the script to only match the newly introduced check case. >>

[PATCH v4 0/8] add thermal throttling to Allwinner A33 SoC

2017-04-05 Thread Quentin Schulz
The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. The first four channels can be used either for the ADC or the touchscreen and the fifth channel is used for the thermal sensor. We currently have a driver for the two latter functions in

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-05 Thread Ganapatrao Kulkarni
[Adding maintainers] On Wed, Apr 5, 2017 at 2:01 PM, Will Deacon wrote: > On Wed, Apr 05, 2017 at 09:29:32AM +0530, Ganapatrao Kulkarni wrote: >> On Tue, Apr 4, 2017 at 5:56 PM, Will Deacon wrote: >> > On Tue, Apr 04, 2017 at 05:37:10PM +0530,

Re: [PATCH v1] checkpatch: test missing initial blank line in block comment

2017-04-05 Thread Joe Perches
On Wed, 2017-04-05 at 09:43 +, Hugues FRUCHET wrote: > > On 04/05/2017 10:35 AM, Joe Perches wrote: > > On Wed, 2017-04-05 at 08:23 +, Hugues FRUCHET wrote: > > > Hi Joe, thanks for reviewing, > > > > Hello Hugues > > > > > I have run the command you advice on the entire kernel code,

Re: [lustre-devel] [PATCH] drivers/staging/lustre: Coding-guideline: Missing a blank line after declarations

2017-04-05 Thread Dilger, Andreas
On Apr 4, 2017, at 03:38, Dan Carpenter wrote: > > On Tue, Apr 04, 2017 at 02:45:26PM +0530, Pushkar Jambhlekar wrote: >> diff --git a/drivers/staging/lustre/lustre/obdclass/cl_page.c >> b/drivers/staging/lustre/lustre/obdclass/cl_page.c >> index cd9a40c..71fcc4c

[tip:efi/core] efi/pstore: Return error code (if any) from efi_pstore_write()

2017-04-05 Thread tip-bot for Evgeny Kalugin
Commit-ID: 92d3757f1043f3213b2fef78437577d19b7de209 Gitweb: http://git.kernel.org/tip/92d3757f1043f3213b2fef78437577d19b7de209 Author: Evgeny Kalugin AuthorDate: Tue, 4 Apr 2017 17:02:42 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

[tip:efi/core] efi/bgrt: Enable ACPI BGRT handling on arm64

2017-04-05 Thread tip-bot for Bhupesh Sharma
Commit-ID: b9d7cfccbbeebcd5a4efb34f4587f92bb2402f87 Gitweb: http://git.kernel.org/tip/b9d7cfccbbeebcd5a4efb34f4587f92bb2402f87 Author: Bhupesh Sharma AuthorDate: Tue, 4 Apr 2017 17:02:41 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr 2017

[tip:efi/core] x86/efi: Clean up a minor mistake in comment

2017-04-05 Thread tip-bot for Baoquan He
Commit-ID: b22c3d7d98ec76870ac4cdeb7cc1593f2d371f5a Gitweb: http://git.kernel.org/tip/b22c3d7d98ec76870ac4cdeb7cc1593f2d371f5a Author: Baoquan He AuthorDate: Tue, 4 Apr 2017 17:02:43 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr 2017 09:27:52

[tip:efi/core] efi/libstub/arm/arm64: Disable debug prints on 'quiet' cmdline arg

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: b27aef2499e8c5af11aee9c239029ca4dbe162ed Gitweb: http://git.kernel.org/tip/b27aef2499e8c5af11aee9c239029ca4dbe162ed Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:09:09 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

[tip:efi/core] ef/libstub/arm/arm64: Randomize the base of the UEFI rt services region

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: 170bd898f1ae1ad717d56053846f8bbd2e526045 Gitweb: http://git.kernel.org/tip/170bd898f1ae1ad717d56053846f8bbd2e526045 Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:09:10 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

Re: [PATCH 1/2] ASoC: codec: wm9860: Refactor PLL out freq search

2017-04-05 Thread Charles Keepax
On Tue, Apr 04, 2017 at 07:45:13PM +0300, Daniel Baluta wrote: > Add a separate function for deriving (sysclk, lrclk, bclk) > when the clock is auto or pll. > > Signed-off-by: Daniel Baluta > --- Acked-by: Charles Keepax Thanks,

Re: [PATCH v3] tpm: Apply a sane minimum adapterlimit value for retransmission.

2017-04-05 Thread Jarkko Sakkinen
On Tue, Mar 28, 2017 at 05:29:38PM +0200, Enric Balletbo i Serra wrote: > From: Bryan Freed > > When the I2C Infineon part is attached to an I2C adapter that imposes > a size limitation, large requests will fail with -EOPNOTSUPP. Retry > them with a sane minimum size without

Re: [PATCH v3 1/3] NFC: trf7970a: add device tree option for 27MHz clock

2017-04-05 Thread Samuel Ortiz
Hi Geoff, On Wed, Dec 21, 2016 at 11:18:32PM -0500, Geoff Lansberry wrote: > The TRF7970A has configuration options to support hardware designs > which use a 27.12MHz clock. This commit adds a device tree option > 'clock-frequency' to support configuring the this chip for default > 13.56MHz clock

Re: [PATCH] arm64: dts: rk3399: add support for firefly-rk3399 board

2017-04-05 Thread Kever Yang
Hi Heiko, Andreas, On 04/01/2017 03:41 AM, Heiko Stuebner wrote: Hi, Am Freitag, 31. März 2017, 18:59:49 CEST schrieb Andreas Färber: Am 31.03.2017 um 14:56 schrieb Heiko Stuebner: Hi Kever, Am Freitag, 31. März 2017, 17:59:07 CEST schrieb Kever Yang: Firefly-rk3399 is a bord from

Re: [PATCH v6 1/4] dt-bindings: phy: Add support for QUSB2 phy

2017-04-05 Thread Vivek Gautam
On 04/04/2017 11:58 PM, Stephen Boyd wrote: On 03/20, Vivek Gautam wrote: diff --git a/Documentation/devicetree/bindings/phy/qcom-qusb2-phy.txt b/Documentation/devicetree/bindings/phy/qcom-qusb2-phy.txt new file mode 100644 index ..a6d19acde9e0 --- /dev/null +++

Re: [PATCH 3/3] perf tool, arm64, thunderx2: Add implementation defined events for ThunderX2

2017-04-05 Thread Ganapatrao Kulkarni
On Tue, Apr 4, 2017 at 5:58 PM, Mark Rutland wrote: > On Tue, Apr 04, 2017 at 01:06:43PM +0530, Ganapatrao Kulkarni wrote: >> This is not a full event list, but a short list of useful events. >> >> Signed-off-by: Ganapatrao Kulkarni >> --- >>

Re: [PATCH 2/2] [media] cec: Handle RC capability more elegantly

2017-04-05 Thread Lee Jones
On Tue, 04 Apr 2017, Russell King - ARM Linux wrote: > On Tue, Apr 04, 2017 at 05:10:05PM +0100, Lee Jones wrote: > > @@ -237,7 +241,6 @@ struct cec_adapter *cec_allocate_adapter(const struct > > cec_adap_ops *ops, > > if (!(caps & CEC_CAP_RC)) > > return adap; > > > > -#if

Re: [PATCH] [media] cec: Handle RC capability more elegantly

2017-04-05 Thread Lee Jones
On Tue, 04 Apr 2017, Hans Verkuil wrote: > On 04/04/2017 05:36 PM, Russell King - ARM Linux wrote: > > On Tue, Apr 04, 2017 at 04:19:39PM +0100, Lee Jones wrote: > >> On Tue, 04 Apr 2017, Hans Verkuil wrote: > >> > >>> On 04/04/2017 04:43 PM, Lee Jones wrote: > If a user specifies the use of

Re: [PATCH] [media] cec: Handle RC capability more elegantly

2017-04-05 Thread Lee Jones
On Tue, 04 Apr 2017, Russell King - ARM Linux wrote: > On Tue, Apr 04, 2017 at 04:19:39PM +0100, Lee Jones wrote: > > On Tue, 04 Apr 2017, Hans Verkuil wrote: > > > > > On 04/04/2017 04:43 PM, Lee Jones wrote: > > > > If a user specifies the use of RC as a capability, they should > > > > really

Re: [PATCH] HID: asus: support backlight on USB keyboards

2017-04-05 Thread Benjamin Tissoires
Hi Carlo, On Apr 04 2017 or thereabouts, Carlo Caione wrote: > From: Carlo Caione > > The latest USB keyboards shipped on several ASUS laptop models > (including ROG laptop models such as GL702VMK) have the keyboards > backlight controlled by the keyboard firmware. > > The

Re: [PATCH v1 1/6] mm: get rid of zone_is_initialized

2017-04-05 Thread Igor Mammedov
On Wed, 5 Apr 2017 10:14:00 +0200 Michal Hocko wrote: > On Fri 31-03-17 09:39:54, Michal Hocko wrote: > > Fixed screw ups during the initial patch split up as per Hillf > > --- > > From 8be6c5e47de66210e47710c80e72e8abd899017b Mon Sep 17 00:00:00 2001 > > From: Michal Hocko

[PATCH v4 1/8] dt-bindings: mfd: add A33 GPADC binding

2017-04-05 Thread Quentin Schulz
This patch adds documentation for the A33 GPADC binding. Signed-off-by: Quentin Schulz Acked-by: Rob Herring --- v4: - correct patch title, v3: - fixed missing allwinner in front of compatible, - updated compatible to

Re: [alsa-devel] [PATCH 1/2] ASoC: codec: wm9860: Refactor PLL out freq search

2017-04-05 Thread Daniel Baluta
On Tue, Apr 4, 2017 at 7:45 PM, Daniel Baluta wrote: > Add a separate function for deriving (sysclk, lrclk, bclk) > when the clock is auto or pll. > > Signed-off-by: Daniel Baluta Just noticed this warnings: sound/soc/codecs/wm8960.c:743:3:

Re: [PATCH 1/3] phy: sun4i-usb: enable PHY0 dual route switching for A64 USB PHY

2017-04-05 Thread Kishon Vijay Abraham I
On Wednesday 05 April 2017 12:33 PM, Maxime Ripard wrote: > On Wed, Apr 05, 2017 at 02:45:16AM +0800, Icenowy Zheng wrote: >> Allwinner A64 SoC features a switchable PHY0 like the one in H3, which >> can switch between a MUSB controller and a pair of OHCI/EHCI controller. >> >> Enable PHY0 route

Re: [PATCH v3] tpm: Apply a sane minimum adapterlimit value for retransmission.

2017-04-05 Thread Peter Huewe
Am 5. April 2017 11:03:27 MESZ schrieb Jarkko Sakkinen : >On Tue, Mar 28, 2017 at 05:29:38PM +0200, Enric Balletbo i Serra wrote: >> From: Bryan Freed >> >> When the I2C Infineon part is attached to an I2C adapter that imposes >> a size

Re: [PATCH V10 00/12] IOMMU probe deferral support

2017-04-05 Thread Lorenzo Pieralisi
On Tue, Apr 04, 2017 at 01:49:29PM +0100, Robin Murphy wrote: > On 04/04/17 11:18, Sricharan R wrote: > > This series calls the dma ops configuration for the devices > > at a generic place so that it works for all busses. > > The dma_configure_ops for a device is now called during > > the

Re: imx-drm: vblank wait timed out

2017-04-05 Thread Philipp Zabel
On Tue, 2017-04-04 at 14:50 +0200, Christian Gmeiner wrote: [...] > > Is this on a non-plus i.MX6? Maybe are missing the LDB DI clock glitch > > fixes (commits 5d283b083800, 03d576f202e8, and f13abeff2cde)? > > Yes it is a non-plus i.MX6D and all those three patches are included in > 4.9.20

Re: [PATCH 3/3] perf tool, arm64, thunderx2: Add implementation defined events for ThunderX2

2017-04-05 Thread Mark Rutland
On Wed, Apr 05, 2017 at 02:42:39PM +0530, Ganapatrao Kulkarni wrote: > On Tue, Apr 4, 2017 at 5:58 PM, Mark Rutland wrote: > > On Tue, Apr 04, 2017 at 01:06:43PM +0530, Ganapatrao Kulkarni wrote: > >> This is not a full event list, but a short list of useful events. > >> >

[PATCH v6 17/23] misc: Add host side PCI driver for PCI test function device

2017-04-05 Thread Kishon Vijay Abraham I
Add PCI endpoint test driver that can verify base address register, legacy interrupt/MSI interrupt and read/write/copy buffers between host and device. The corresponding pci-epf-test function driver should be used on the EP side. Signed-off-by: Kishon Vijay Abraham I

[tip:efi/core] x86/efi: Clean up the EFI CR3 save/restore logic

2017-04-05 Thread tip-bot for Andy Lutomirski
Commit-ID: 05dd61fa7ff73678c33d252aa9f989634349c791 Gitweb: http://git.kernel.org/tip/05dd61fa7ff73678c33d252aa9f989634349c791 Author: Andy Lutomirski AuthorDate: Tue, 4 Apr 2017 17:02:36 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr 2017

[PATCH] iTCO_wdt: all versions count down twice

2017-04-05 Thread Paolo Bonzini
The ICH9 is listed as having TCO v2, and indeed the behavior in the datasheet corresponds to v2 (for example the NO_REBOOT flag is accessible via the 16KiB-aligned Root Complex Base Address). However, the TCO counts twice just like in v1; the documentation of the SECOND_TO_STS bit says: "ICH9

Re: [PATCH 2/2] ASoC: codec: wm8960: Relax bit clock computation when using PLL

2017-04-05 Thread Charles Keepax
On Tue, Apr 04, 2017 at 07:45:14PM +0300, Daniel Baluta wrote: > Bitclk is derived from sysclk using bclk_divs. > Sysclk can be derived in two ways: > (1) directly from MLCK > (2) MCLK via PLL > > Commit 3c01b9ee2ab9d0d ("ASoC: codec: wm8960: Relax bit clock computation") > relaxed

[tip:x86/urgent] x86/signals: Fix lower/upper bound reporting in compat siginfo

2017-04-05 Thread tip-bot for Joerg Roedel
Commit-ID: cfac6dfa42bddfa9711b20d486e521d1a41ab09f Gitweb: http://git.kernel.org/tip/cfac6dfa42bddfa9711b20d486e521d1a41ab09f Author: Joerg Roedel AuthorDate: Tue, 4 Apr 2017 18:15:01 +0200 Committer: Ingo Molnar CommitDate: Wed, 5 Apr 2017 10:16:43

[tip:efi/core] efi/libstub: Unify command line param parsing

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: 794e5ecb8c444bcc7e42b82e3ae7a457987949d3 Gitweb: http://git.kernel.org/tip/794e5ecb8c444bcc7e42b82e3ae7a457987949d3 Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:09:08 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

[tip:efi/core] efi/arm32-stub: Allow boot-time allocations in the vmlinux region

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: 0dee5fe386a3b51b63f5ac5aa3a23bc6ed385cae Gitweb: http://git.kernel.org/tip/0dee5fe386a3b51b63f5ac5aa3a23bc6ed385cae Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:02:44 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

[tip:efi/core] efi/libstub: Fix harmless command line parsing bug

2017-04-05 Thread tip-bot for Ard Biesheuvel
Commit-ID: 935061e3a7de5eae398327de9f7b92588bfcf7fc Gitweb: http://git.kernel.org/tip/935061e3a7de5eae398327de9f7b92588bfcf7fc Author: Ard Biesheuvel AuthorDate: Tue, 4 Apr 2017 17:02:45 +0100 Committer: Ingo Molnar CommitDate: Wed, 5 Apr

[PATCH 1/4] net: dsa: add support for the SMSC-LAN9303 tagging format

2017-04-05 Thread Juergen Borleis
To define the outgoing port and to discover the incoming port a regular VLAN tag is used by the LAN9303. But its VID meaning is 'special'. This tag handler/filter depends on some hardware features which must be enabled in the device to provide and make use of this special VLAN tag to control the

net: dsa: add SMSC/Microchip LAN9303 three port ethernet switch driver

2017-04-05 Thread Juergen Borleis
The LAN9303 is a three port 10/100 ethernet switch with integrated phys for the two external ethernet ports. The third port is an RMII/MII interface to a host master network interface (e.g. fixed link). While the LAN9303 device itself supports offload packet processing, this driver does not make

[PATCH 2/4] net: dsa: add new DSA switch driver for the SMSC-LAN9303

2017-04-05 Thread Juergen Borleis
The SMSC/Microchip LAN9303 is an ethernet switch device with one CPU port and two external ethernet ports with built-in phys. This driver uses the DSA framework, but is currently only capable of separating the two external ports. There is no offload support yet. Signed-off-by: Juergen Borleis

Re: [PATCH v1 1/6] mm: get rid of zone_is_initialized

2017-04-05 Thread Michal Hocko
On Wed 05-04-17 11:06:54, Igor Mammedov wrote: > On Wed, 5 Apr 2017 10:14:00 +0200 > Michal Hocko wrote: > > > On Fri 31-03-17 09:39:54, Michal Hocko wrote: > > > Fixed screw ups during the initial patch split up as per Hillf > > > --- > > > From

[PATCH 3/4] net: dsa: LAN9303: add I2C managed mode support

2017-04-05 Thread Juergen Borleis
In this mode the switch device and the internal phys will be managed via I2C interface. The MDIO interface is still supported, but for the (emulated) CPU port only. Signed-off-by: Juergen Borleis --- .../devicetree/bindings/net/dsa/lan9303.txt| 74 ++

[PATCH 4/4] net: dsa: LAN9303: add MDIO managed mode support

2017-04-05 Thread Juergen Borleis
When the LAN9303 device is in MDIO manged mode, all register accesse must be done via MDIO. Please note: this code is *untested* yet due to the absence of such configured hardware. It is based on a patch of Stefan Roese from 2014. Signed-off-by: Juergen Borleis ---

Re: [PATCH 0/6] mm: make movable onlining suck less

2017-04-05 Thread Michal Hocko
On Wed 05-04-17 08:42:39, Michal Hocko wrote: > On Tue 04-04-17 16:43:39, Reza Arbab wrote: > > On Tue, Apr 04, 2017 at 09:41:22PM +0200, Michal Hocko wrote: > > >On Tue 04-04-17 13:30:13, Reza Arbab wrote: > > >>I think I found another edge case. You > > >>get an oops when removing all of a

[PATCH v2 2/2] dt-bindings: document: add firefly-rk3399 board support

2017-04-05 Thread Kever Yang
Use "firefly,firefly-rk3399" compatible string for firefly-rk3399 board. Signed-off-by: Kever Yang --- Changes in v2: None Documentation/devicetree/bindings/arm/rockchip.txt | 4 1 file changed, 4 insertions(+) diff --git

Re: [RFC] [media] imx: assume MEDIA_ENT_F_ATV_DECODER entities output video on pad 1

2017-04-05 Thread Philipp Zabel
On Wed, 2017-04-05 at 09:21 +0100, Russell King - ARM Linux wrote: [...] > > Actually what was I thinking, the TVP5150 is already an example of > > such a device. > > > > All of this could be solved if there was some direction information > > in port nodes. > > I disagree. > > Philipp identified

Re: [PATCH v2 1/2] extcon: intel-cht-wc: Disable external 5v boost converter on probe

2017-04-05 Thread Hans de Goede
Hi, On 05-04-17 03:08, Chanwoo Choi wrote: Hi, Applied the patch1/patch2. Great, thank you. Regards, Hans On 2017년 04월 05일 07:04, Hans de Goede wrote: Disable the 5v boost converter on probe in case it was left on by the BIOS, this fixes 2 problems: 1) This gets seen by the external

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-05 Thread Ganapatrao Kulkarni
Hi Perf Maintainers, your suggestion on below discussion is much appreciated! On Wed, Apr 5, 2017 at 2:01 PM, Will Deacon wrote: > On Wed, Apr 05, 2017 at 09:29:32AM +0530, Ganapatrao Kulkarni wrote: >> On Tue, Apr 4, 2017 at 5:56 PM, Will Deacon

Re: [PATCH v3 00/11] add thermal throttling to Allwinner A33 SoC

2017-04-05 Thread Lee Jones
On Wed, 05 Apr 2017, Quentin Schulz wrote: > On 04/04/2017 10:31, Lee Jones wrote: > > On Tue, 21 Mar 2017, Quentin Schulz wrote: > >> v3: > >> - fixed compatible name in DT and in documentation, > >> - fixed DT node name and label, > >> - added explanations in commit logs, > >> - moved

Re: [PATCH 1/7] Documentation: dt: net: Update the ath9k binding for SoC devices

2017-04-05 Thread Kalle Valo
Alban writes: > The current binding only cover PCI devices so extend it for SoC devices. > > Most SoC platforms use an MTD partition for the calibration data > instead of an EEPROM. The qca,no-eeprom property was added to allow > loading the EEPROM content using firmware loading.

Re: [PATCH v2 2/2] of/pci: Fix memory leak in of_pci_get_host_bridge_resources

2017-04-05 Thread Rob Herring
On Tue, Apr 4, 2017 at 9:22 PM, jeffy wrote: > Hi Bjorn, > > > On 04/05/2017 03:18 AM, Bjorn Helgaas wrote: >> >> On Thu, Mar 23, 2017 at 5:58 PM, Dmitry Torokhov >> wrote: >>> >>> On Thu, Mar 23, 2017 at 3:07 PM, Rob Herring wrote:

[PATCH 3/3] usb: dwc2: Power off the phy on shutdown

2017-04-05 Thread Sjoerd Simons
On a board with a usb->sata bridge behind a usb hub, the bridge only appears on cold boot and becomes non-functional after a reboot. Testing thusfar shows that it gets confused during reboot if the usb hub is left on (Interestingly a similar setup without the usb hub in between doesn't have the

[RFC PATCH 0/2] extend PWM framework to support PWM modes

2017-04-05 Thread Claudiu Beznea
Hi all, Please give feedback on these patches which extends the PWM framework in order to support multiple PWM signal types. The current patch series recognize the following PWM signal types: - PWM complementary signals - PWM push-pull signal These output signals could be configured by setting

[PATCH 1/2] dt: bindings: add pmu0 regs for USB PHYs on Allwinner H3/V3s/A64

2017-04-05 Thread Icenowy Zheng
From: Icenowy Zheng Allwinner H3/V3s/A64 SoCs have a special USB PHY0 that can route to two controllers: one is MUSB and the other is a EHCI/OHCI pair. When it's routed to EHCI/OHCI pair, it will needs a "pmu0" regs to tweak, like other EHCI/OHCI pairs in Allwinner SoCs. Add

Re: [PATCH] xen, fbfront: fix connecting to backend

2017-04-05 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, April 05, 2017 10:18:21 AM Juergen Gross wrote: > On 23/03/17 13:52, Juergen Gross wrote: > > Connecting to the backend isn't working reliably in xen-fbfront: in > > case XenbusStateInitWait of the backend has been missed the backend > > transition to XenbusStateConnected will

Re: [PATCH] xen, fbfront: add support for specifying size via xenstore

2017-04-05 Thread Bartlomiej Zolnierkiewicz
On Wednesday, April 05, 2017 10:18:43 AM Juergen Gross wrote: > On 23/03/17 13:53, Juergen Gross wrote: > > Today xen-fbfront supports specifying the display size via module > > parameters only. Add support for specifying the size via Xenstore in > > order to enable doing this easily via the

Re: [PATCH v4 2/8] dt-bindings: input: touschcreen: remove sun4i documentation

2017-04-05 Thread Lee Jones
On Wed, 05 Apr 2017, Quentin Schulz wrote: > This patch removes the sun4i touchscreen controller binding > documentation since it has been merged with the sun4i GPADC binding > documentation. > > Signed-off-by: Quentin Schulz > Acked-by: Rob Herring

Re: [PATCH 1/5] IB/qib: Use kcalloc() in qib_init_iba7322_funcs()

2017-04-05 Thread Johannes Thumshirn
On Wed, Apr 05, 2017 at 04:54:40PM +0200, SF Markus Elfring wrote: > >> @@ -7324,8 +7324,9 @@ struct qib_devdata *qib_init_iba7322_funcs(struct > >> pci_dev *pdev, > >>actual_cnt -= dd->num_pports; > >> > >>tabsize = actual_cnt; > >> - dd->cspec->msix_entries = kzalloc(tabsize

Re: [PATCH 5/5] IB/qib: Adjust two size determinations in qib_init_pportdata()

2017-04-05 Thread Yuval Shaia
On Wed, Apr 05, 2017 at 05:04:35PM +0200, SF Markus Elfring wrote: > >> @@ -270,13 +268,14 @@ int qib_init_pportdata(struct qib_pportdata *ppd, > >> struct qib_devdata *dd, > >>if (!ppd->congestion_entries) > >>goto bail_1; > >> > >> - size = sizeof(struct cc_table_shadow); >

[PATCH v4 2/7] arm64: marvell: enable the Armada 37xx pinctrl driver

2017-04-05 Thread Gregory CLEMENT
This commit makes sure the driver for the Armada 37xx pin controller is enabled. Signed-off-by: Gregory CLEMENT --- arch/arm64/Kconfig.platforms | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/Kconfig.platforms

Re: [PATCH 1/5] IB/qib: Use kcalloc() in qib_init_iba7322_funcs()

2017-04-05 Thread Yuval Shaia
On Wed, Apr 05, 2017 at 05:06:58PM +0200, Johannes Thumshirn wrote: > On Wed, Apr 05, 2017 at 04:54:40PM +0200, SF Markus Elfring wrote: > > >> @@ -7324,8 +7324,9 @@ struct qib_devdata *qib_init_iba7322_funcs(struct > > >> pci_dev *pdev, > > >> actual_cnt -= dd->num_pports; > >

[PATCH v4 7/7] ARM64: dts: marvell: armada37xx: add pinctrl definition

2017-04-05 Thread Gregory CLEMENT
Start to populate the device tree of the Armada 37xx with the pincontrol configuration used on the board providing a dts. Signed-off-by: Gregory CLEMENT --- arch/arm64/boot/dts/marvell/armada-3720-db.dts | 8 +-

[PATCH v4 3/7] pinctrl: armada-37xx: Add pin controller support for Armada 37xx

2017-04-05 Thread Gregory CLEMENT
The Armada 37xx SoC come with 2 pin controllers: one on the south bridge (managing 28 pins) and one on the north bridge (managing 36 pins). At the hardware level the controller configure the pins by group and not pin by pin. This constraint is reflected in the design of the driver: only the group

[PATCH v4 6/7] ARM64: dts: marvell: Add pinctrl nodes for Armada 3700

2017-04-05 Thread Gregory CLEMENT
Add the nodes for the two pin controller present in the Armada 37xx SoCs. Initially the node was named gpio1 using the same name that for the register range in the datasheet. However renaming it pinctr_nb (nb for North Bridge) makes more sens. Signed-off-by: Gregory CLEMENT

Re: [PATCH 1/3] x86/intel_rdt: Fix issue when mkdir uses a freed CLOSid

2017-04-05 Thread Thomas Gleixner
On Mon, 3 Apr 2017, Vikas Shivappa wrote: > Subject: x86/intel_rdt: Fix issue when mkdir uses a freed CLOSid This subject line is useless again. It want's to be descriptive. "Fix issue" Which issue? > Each resctrl directory has one CLOSid allocated which is mapped to a > control

[PATCH v4 5/7] pinctrl: aramda-37xx: Add irqchip support

2017-04-05 Thread Gregory CLEMENT
The Armada 37xx SoCs can handle interrupt through GPIO. However it can only manage the edge ones. The way the interrupt are managed are classical so we can use the generic interrupt chip model. The only unusual "feature" is that many interrupts are connected to the parent interrupt controller.

[PATCH v2 2/2] ASoC: codec: wm8960: Relax bit clock computation when using PLL

2017-04-05 Thread Daniel Baluta
Bitclk is derived from sysclk using bclk_divs. Sysclk can be derived in two ways: (1) directly from MLCK (2) MCLK via PLL Commit 3c01b9ee2ab9d0d ("ASoC: codec: wm8960: Relax bit clock computation") relaxed bitclk computation when sysclk is directly derived from MCLK. Lets do the

[PATCH v2 1/2] ASoC: codec: wm9860: Refactor PLL out freq search

2017-04-05 Thread Daniel Baluta
Add a separate function for deriving (sysclk, lrclk, bclk) when the clock is auto or pll. Signed-off-by: Daniel Baluta Acked-by: Charles Keepax --- sound/soc/codecs/wm8960.c | 97 +-- 1 file

[PATCH v2 7/9] arm64: hugetlb: Override set_huge_swap_pte_at() to support contiguous hugepages

2017-04-05 Thread Punit Agrawal
The default implementation of set_huge_swap_pte_at() does not support hugepages consisting of contiguous ptes. Override it to add support for contiguous hugepages. Signed-off-by: Punit Agrawal Cc: David Woods --- arch/arm64/mm/hugetlbpage.c | 17

[PATCH v2 5/9] mm/hugetlb: Introduce set_huge_swap_pte_at() helper

2017-04-05 Thread Punit Agrawal
set_huge_pte_at(), an architecture callback to populate hugepage ptes, does not provide the range of virtual memory that is targetted. This leads to ambiguity when dealing with swap entries on architectures that support hugepages consisting of contiguous ptes. Fix the problem by introducing an

[PATCH v2 4/9] arm64: hugetlb: Override huge_pte_clear() to support contiguous hugepages

2017-04-05 Thread Punit Agrawal
The default huge_pte_clear() implementation does not clear contiguous page table entries when it encounters contiguous hugepages that are supported on arm64. Fix this by overriding the default implementation to clear all the entries associated with contiguous hugepages. Signed-off-by: Punit

[PATCH v2 3/9] mm/hugetlb: Allow architectures to override huge_pte_clear()

2017-04-05 Thread Punit Agrawal
When unmapping a hugepage range, huge_pte_clear() is used to clear the page table entries that are marked as not present. huge_pte_clear() internally just ends up calling pte_clear() which does not correctly deal with hugepages consisting of contiguous page table entries. Add a size argument and

[PATCH v2 2/9] arm64: hugetlbpages: Support handling swap entries in huge_pte_offset()

2017-04-05 Thread Punit Agrawal
huge_pte_offset() does not correctly handle poisoned or migration page table entries. It returns NULL instead of the offset when it encounters a swap entry. This leads to errors such as [ 344.165544] mm/pgtable-generic.c:33: bad pmd 00083af00074. in the kernel log when unmapping memory on

[PATCH v2 9/9] arm64: kconfig: allow support for memory failure handling

2017-04-05 Thread Punit Agrawal
From: "Jonathan (Zhixiong) Zhang" If ACPI_APEI and MEMORY_FAILURE is configured, select ACPI_APEI_MEMORY_FAILURE. This enables memory failure recovery when such memory failure is reported through ACPI APEI. APEI (ACPI Platform Error Interfaces) provides a means for the

[PATCH 1/3] phy: rockchip-usb: Add vbus regulator support.

2017-04-05 Thread Sjoerd Simons
On rockchip devices vbus is supplied by a separate power supply, often through a regulator. Add support for describing the the regulator in device-tree following the same convention as several other usb phy's. Signed-off-by: Sjoerd Simons ---

Re: [PATCH v4 2/3] Broadcom USB DRD Phy driver for Northstar2

2017-04-05 Thread Raviteja Garimella
Hi Kishon, On Wed, Apr 5, 2017 at 7:04 PM, Kishon Vijay Abraham I wrote: > Hi Ravi, > > On Wednesday 05 April 2017 06:30 PM, Raviteja Garimella wrote: >> Hi Kishon, >> >> On Wed, Apr 5, 2017 at 4:30 PM, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Tuesday 28

[PATCH 0/3] rockchip dwc2: Turn off vbus on shutdown

2017-04-05 Thread Sjoerd Simons
A board I'm working on seems to get its usb->sata bridge in a rather confused state during reboot, which unfortunately can't be recovered on the next boot (only hard reset helps). This seems to be avoidable by turning off vbus, which turns the internal usb hub off on shutdown. First patch add

Re: [PATCH v2 2/2] x86/mce/AMD: Carve out SMCA bank configuration

2017-04-05 Thread Borislav Petkov
On Tue, Apr 04, 2017 at 12:24:32PM -0500, Yazen Ghannam wrote: > 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. > >

Re: net/sctp: list double add warning in sctp_endpoint_add_asoc

2017-04-05 Thread Marcelo Ricardo Leitner
On Wed, Apr 05, 2017 at 04:02:44PM +0200, Andrey Konovalov wrote: > On Tue, Apr 4, 2017 at 11:14 PM, Marcelo Ricardo Leitner > wrote: > > On Wed, Apr 05, 2017 at 01:29:19AM +0800, Xin Long wrote: > >> On Tue, Apr 4, 2017 at 9:28 PM, Andrey Konovalov

Re: [PATCH v6 4/4] arm64/syscalls: Specific usage of verify_pre_usermode_state

2017-04-05 Thread Catalin Marinas
On Tue, Apr 04, 2017 at 10:47:27AM -0700, Thomas Garnier wrote: > diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S > index 43512d4d7df2..6d598e7051c3 100644 > --- a/arch/arm64/kernel/entry.S > +++ b/arch/arm64/kernel/entry.S > @@ -744,6 +744,10 @@ ENDPROC(cpu_switch_to) >

Re: [PATCH 1/2] doc: Add bindings document for Xilinx LogiCore PR Decoupler

2017-04-05 Thread Alan Tull
On Tue, Apr 4, 2017 at 6:36 PM, Moritz Fischer wrote: > On Thu, Mar 30, 2017 at 05:44:29PM -0500, Rob Herring wrote: >> On Fri, Mar 24, 2017 at 10:33:20AM -0500, Alan Tull wrote: >> > From: Moritz Fischer >> >> Please use "dt-bindings: fpga: ..." for

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