[PATCH V2 2/4] cpu_cooling: Remove unused cpufreq_power_cooling_register()

2017-12-04 Thread Viresh Kumar
It isn't used by anyone, drop it. Acked-by: Eduardo Valentin Signed-off-by: Viresh Kumar --- Documentation/thermal/cpu-cooling-api.txt | 24 +++- drivers/thermal/cpu_cooling.c | 30 -- include/linux/cpu_cooling.h | 10 ---

Re: [PATCH 4/7 v2] net: ethernet: i825xx: Fix platform_get_irq's error checking

2017-12-04 Thread Arvind Yadav
Hi David, On Monday 04 December 2017 11:55 PM, David Miller wrote: From: Arvind Yadav Date: Mon, 4 Dec 2017 23:18:20 +0530 @@ -120,9 +120,10 @@ static int sni_82596_probe(struct platform_device *dev) netdevice->dev_addr[5] = readb(eth_addr + 0x06); iounmap(eth_addr); - if

[PATCH] powerpc/perf: Fix nest-imc cpuhotplug callback failure

2017-12-04 Thread Anju T Sudhakar
Call trace observed during boot: Faulting instruction address: 0xc0248340 cpu 0x0: Vector: 380 (Data Access Out of Range) at [c000

[PATCH] usbip: vhci-hcd: return correct port ENABLE status

2017-12-04 Thread Pei Zhang
USB system will clear port's ENABLE feature for some USB devices when vdev is already assigned port address. This cause getPortStatus reports to system that this device is not enabled, client OS will failed to use this usb device. The failure devices include a SAMSUNG SSD storage, and a Logitech w

Re: [PATCH v2 0/4] lockdep/crossrelease: Apply crossrelease to page locks

2017-12-04 Thread Matthew Wilcox
On Mon, Dec 04, 2017 at 02:16:19PM +0900, Byungchul Park wrote: > For now, wait_for_completion() / complete() works with lockdep, add > lock_page() / unlock_page() and its family to lockdep support. > > Changes from v1 > - Move lockdep_map_cross outside of page_ext to make it flexible > - Preven

[PATCH v3 7/9] drm/i915: Add function to output Aksv over GMBUS

2017-12-04 Thread Sean Paul
Once the Aksv is available in the PCH, we need to get it on the wire to the receiver via DDC. The hardware doesn't allow us to read the value directly, so we need to tell GMBUS to source the Aksv internally and send it to the right offset on the receiver. The way we do this is to initiate an index

Re: [PATCH] SCSI: delay run queue if device is blocked in scsi_dev_queue_ready()

2017-12-04 Thread Ming Lei
On Mon, Dec 04, 2017 at 11:48:07PM +, Holger Hoffstätte wrote: > On Tue, 05 Dec 2017 06:45:08 +0800, Ming Lei wrote: > > > On Mon, Dec 04, 2017 at 03:09:20PM +, Bart Van Assche wrote: > >> On Sun, 2017-12-03 at 00:31 +0800, Ming Lei wrote: > >> > Fixes: 0df21c86bdbf ("scsi: implement .get_

Re: [PATCH v3 5/6] dt-bindings: add the rockchip, dual-channel for dw-mipi-dsi

2017-12-04 Thread Archit Taneja
On 12/05/2017 06:49 AM, Brian Norris wrote: Hi Archit, I'm a relative n00b here, but I'm trying to follow along and I have some questions: On Fri, Dec 01, 2017 at 06:29:04PM +0530, Archit Taneja wrote: On 11/30/2017 11:02 PM, Nickey Yang wrote: I try to follow as you suggested,use mipi_dsi

[PATCH v3 4/9] drm: Add some HDCP related #defines

2017-12-04 Thread Sean Paul
In preparation for implementing HDCP in i915, add some HDCP related register offsets and defines. The dpcd register offsets will go in drm_dp_helper.h whereas the ddc offsets along with generic HDCP stuff will get stuffed in drm_hdcp.h, which is new. Changes in v2: - drm_hdcp.h gets MIT license (D

[PATCH v3 5/9] drm/i915: Add HDCP framework + base implementation

2017-12-04 Thread Sean Paul
This patch adds the framework required to add HDCP support to intel connectors. It implements Aksv loading from fuse, and parts 1/2/3 of the HDCP authentication scheme. Note that without shim implementations, this does not actually implement HDCP. That will come in subsequent patches. Changes in

[PATCH v3 9/9] drm/i915: Implement HDCP for DisplayPort

2017-12-04 Thread Sean Paul
This patch adds HDCP support for DisplayPort connectors by implementing the intel_hdcp_shim. Most of this is straightforward read/write from/to DPCD registers. One thing worth pointing out is the Aksv output bit. It wasn't easily separable like it's HDMI counterpart, so it's crammed in with the re

[PATCH v3 6/9] drm/i915: Make use of indexed write GMBUS feature

2017-12-04 Thread Sean Paul
This patch enables the indexed write feature of the GMBUS to concatenate 2 consecutive messages into one. The criteria for an indexed write is that both messages are writes, the first is length == 1, and the second is length > 0. The first message is sent out by the GMBUS as the slave command, and

[PATCH v3 3/9] drm: Add Content Protection property

2017-12-04 Thread Sean Paul
This patch adds a new optional connector property to allow userspace to enable protection over the content it is displaying. This will typically be implemented by the driver using HDCP. The property is a tri-state with the following values: - OFF: Self explanatory, no content protection - DESIRED:

[PATCH v3 8/9] drm/i915: Implement HDCP for HDMI

2017-12-04 Thread Sean Paul
This patch adds HDCP support for HDMI connectors by implementing the intel_hdcp_shim. Nothing too special, just a bunch of DDC reads/writes. Changes in v2: - Rebased on drm-intel-next Changes in v3: - Initialize new worker Signed-off-by: Sean Paul --- drivers/gpu/drm/i915/i915_reg.h | 1 +

[PATCH v3 2/9] drm/i915: Add more control to wait_for routines

2017-12-04 Thread Sean Paul
This patch adds a little more control to a couple wait_for routines such that we can avoid open-coding read/wait/timeout patterns which: - need the value of the register after the wait_for - run arbitrary operation for the read portion This patch also chooses the correct sleep function (based on

[PATCH v3 0/9] drm/i915: Implement HDCP

2017-12-04 Thread Sean Paul
Oh, hello there. Here's v3 of the HDCP patchset. Highlights of v3 are: - Add atomic_check/commit helpers to intel_hdcp to handle state transitions and call enable/disable at the right time. - intel_hdcp_check_link() gets moved again to avoid being called with locks held - Split out setting the p

[PATCH v3 1/9] drm: Fix link-status kerneldoc line lengths

2017-12-04 Thread Sean Paul
I'm adding some stuff below it and it's killing my editor's vibe. Changes in v2: - Added to the series Changes in v3: - None Cc: Manasi Navare Acked-by: Daniel Vetter Signed-off-by: Sean Paul --- drivers/gpu/drm/drm_connector.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) d

Re: [GIT PULL] hash addresses printed with %p

2017-12-04 Thread Dave Young
On 12/04/17 at 03:00pm, Greg Kroah-Hartman wrote: > On Mon, Dec 04, 2017 at 12:51:13PM +, David Laight wrote: > > From: Ard Biesheuvel > > > Sent: 04 December 2017 10:03 > > ... > > > and uses __ATTR_RO() to emit initializers for it. __ATTR() initializes > > > the .store member as well, which d

Re: [PATCH v3 2/3] mailbox: Add support for Hi3660 mailbox

2017-12-04 Thread Leo Yan
On Tue, Dec 05, 2017 at 08:58:05AM +0530, Jassi Brar wrote: > On Fri, Nov 17, 2017 at 2:54 PM, Xu YiPing wrote: > > From: Kaihua Zhong > > > > Hi3660 mailbox controller is used to send message within multiple > > processors, MCU, HIFI, etc. It supports 32 mailbox channels and every > > channel c

[PATCH] kernel/stop_machine: fix (de)reference function pointer

2017-12-04 Thread Liu, Changcheng
It's better to avoid ambiguity when (de)referencing function pointer. Signed-off-by: Liu Changcheng diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c index b759126..121d6aa 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c @@ -577,7 +577,7 @@ int stop_machine_cpuslocked(cpu

Re: [PATCH 2/2] perf: add arm64 smmuv3 pmu driver

2017-12-04 Thread Linu Cherian
Hi Robin, On Mon Aug 07, 2017 at 03:31:24PM +0100, Robin Murphy wrote: > On 04/08/17 20:59, Neil Leeder wrote: > > Adds a new driver to support the SMMU v3 PMU and add it into the > > perf events framework. > > > > Each SMMU node may have multiple PMUs associated with it, each of > > which may su

Re: possible deadlock in generic_file_write_iter (2)

2017-12-04 Thread Byungchul Park
On 12/4/2017 5:33 PM, Jan Kara wrote: Hello, adding Peter and Byungchul to CC since the lockdep report just looks strange and cross-release seems to be involved. Guys, how did #5 get into the lock chain and what does put_ucounts() have to do with sb_writers there? Thanks! Hello Jan, In order

Re: [PATCH 5/8] ASoC: uniphier: add support for UniPhier AIO driver

2017-12-04 Thread Katsuhiro Suzuki
Hello, Thanks a lot for your review. > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Tuesday, December 5, 2017 3:40 AM > To: Suzuki, Katsuhiro/鈴木 勝博 > Cc: alsa-de...@alsa-project.org; Rob Herring ; > devicet...@vger.kernel.org; Yamada, Masahiro/山 > 田 真弘 ; Mas

Re: [PATCH V1 3/4] qcom: spmi-wled: Add support for OVP interrupt handling

2017-12-04 Thread Bjorn Andersson
On Thu 16 Nov 04:18 PST 2017, Kiran Gunda wrote: > WLED peripheral has over voltage protection(OVP) circuitry and the OVP > fault is notified through an interrupt. Though this fault condition rising > is due to an incorrect hardware configuration is mitigated in the hardware, > it still needs to b

Re: [PATCH] skb_array: fix NULL-pointer exception

2017-12-04 Thread Michael S. Tsirkin
On Tue, Dec 05, 2017 at 11:11:14AM +0800, Jason Wang wrote: > > > On 2017年12月04日 22:24, George Cherian wrote: > > While running a multiple VM testscase with each VM running iperf > > traffic between others the following kernel NULL pointer exception > > was seen. > > > > Race appears when the tu

Re: [PATCH 04/10] ASoC: fsl_ssi: Refine all comments

2017-12-04 Thread Nicolin Chen
On Mon, Dec 04, 2017 at 10:04:57PM -0600, Timur Tabi wrote: > On 12/4/17 2:46 PM, Nicolin Chen wrote: > >This patch refines the comments by: > >1) Removing all out-of-date comments > >2) Removing all not-so-useful comments > >3) Unifying the styles of all comments > >4) Simplifying over-descriptive

Re: [PATCH V1 2/4] qcom: spmi-wled: Add support for short circuit handling

2017-12-04 Thread Bjorn Andersson
On Thu 16 Nov 04:18 PST 2017, Kiran Gunda wrote: > Handle the short circuit(SC) interrupt and check if the SC interrupt > is valid. Re-enable the module to check if it goes away. Disable the > module altogether if the SC event persists. > > Signed-off-by: Kiran Gunda > --- > .../bindings/leds/b

[PATCH 05/45] drivers: hwtracing: remove duplicate includes

2017-12-04 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/hwtracing/coresight/coresight-etb10.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hwtracing/coresi

Re: [PATCH RFC 1/2] dt-bindings: Add vendor prefix for Brava Home

2017-12-04 Thread Jagan Teki
On Tue, Dec 5, 2017 at 3:06 AM, Rob Herring wrote: > On Fri, Dec 01, 2017 at 12:12:13AM +0530, Jagan Teki wrote: >> Added 'brava' as a vendor prefix for Brava Home, Inc. >> which is consumer electronics and IoT company. >> >> Signed-off-by: Jagan Teki >> --- >> Documentation/devicetree/bindings/

Re: [PATCH v3 03/21] fpga: mgr: add status for fpga-manager

2017-12-04 Thread Wu Hao
On Mon, Dec 04, 2017 at 02:55:42PM -0600, Alan Tull wrote: > On Mon, Nov 27, 2017 at 12:42 AM, Wu Hao wrote: > > Hi Hao, > > mgr->status isn't used anywhere except in status_show. So we don't > need to add status to the fpga_manager struct. Also don't need the > inline function to update it.

Re: [PATCH v2 02/22] mmc: renesas_sdhi: remove wrong depends on to enable compile test

2017-12-04 Thread Masahiro Yamada
2017-12-05 0:25 GMT+09:00 Wolfram Sang : > On Sat, Nov 25, 2017 at 01:24:37AM +0900, Masahiro Yamada wrote: >> ARCH_RENESAS is a stronger condition than (ARM || ARM64). >> If ARCH_RENESAS is enabled, (ARM || ARM64) is met as well. >> >> What is worse, the first depends on line prevents COMPILE_TEST

Re: [PATCH v3 01/21] docs: fpga: add a document for Intel FPGA driver overview

2017-12-04 Thread Wu Hao
On Mon, Dec 04, 2017 at 01:55:37PM -0600, Alan Tull wrote: > On Mon, Nov 27, 2017 at 12:42 AM, Wu Hao wrote: > > Add a document for Intel FPGA driver overview. > > > > Signed-off-by: Enno Luebbers > > Signed-off-by: Xiao Guangrong > > Signed-off-by: Wu Hao > > > > v2: added FME fpga-mgr/br

Re: [PATCH 04/10] ASoC: fsl_ssi: Refine all comments

2017-12-04 Thread Timur Tabi
On 12/4/17 2:46 PM, Nicolin Chen wrote: This patch refines the comments by: 1) Removing all out-of-date comments 2) Removing all not-so-useful comments 3) Unifying the styles of all comments 4) Simplifying over-descriptive comments 5) Adding comments to improve code readablity 6) Moving all regis

Re: running leaking_addresses.pl

2017-12-04 Thread Tobin C. Harding
On Tue, Dec 05, 2017 at 11:39:12AM +0800, Fengguang Wu wrote: > Hi Tobin, > > On Tue, Dec 05, 2017 at 10:36:13AM +1100, Tobin C. Harding wrote: > >Hi, > > > >Recently scripts/leaking_addresses.pl was merged into the mainline with > >the hope of catching leaking kernel addresses. > > > >Would it be

[PATCH 08/45] drivers: input: remove duplicate includes

2017-12-04 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/input/rmi4/rmi_f34.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/rmi4/rmi_f34.c b/drivers/in

Re: [PATCH v4] Use more flexible pattern matching for CPU identification for mapfile.csv

2017-12-04 Thread Ravi Bangoria
On 12/04/2017 08:27 PM, William Cohen wrote: > The powerpc cpuid information includes chip revision information. > Changes between chip revisions are usually minor bug fixes and usually > do not affect the operation of the performance monitoring hardware. > The original mapfile.csv matching requir

[PATCH 21/45] usb: typec: remove duplicate includes

2017-12-04 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/usb/typec/fusb302/fusb302.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/typec/fusb302/fusb302.

Re: [PATCH v3 02/21] fpga: mgr: add region_id to fpga_image_info

2017-12-04 Thread Wu Hao
On Mon, Dec 04, 2017 at 02:26:14PM -0600, Alan Tull wrote: > On Wed, Nov 29, 2017 at 12:11 AM, Moritz Fischer wrote: > > Hi Hao, > > > > On Mon, Nov 27, 2017 at 02:42:09PM +0800, Wu Hao wrote: > >> This patch adds region_id to fpga_image_info data structure, it > >> allows driver to pass region id

Re: [PATCH v3 08/21] fpga: add Intel FPGA DFL PCIe device

2017-12-04 Thread Wu Hao
On Mon, Dec 04, 2017 at 01:46:59PM -0600, Alan Tull wrote: > On Mon, Nov 27, 2017 at 9:15 PM, Wu Hao wrote: > > On Mon, Nov 27, 2017 at 10:28:04AM +, David Laight wrote: > >> From: Wu Hao > >> > Sent: 27 November 2017 06:42 > >> > From: Zhang Yi > >> > > >> > The Intel FPGA device appears as

Re: running leaking_addresses.pl

2017-12-04 Thread Fengguang Wu
Hi Tobin, On Tue, Dec 05, 2017 at 10:36:13AM +1100, Tobin C. Harding wrote: Hi, Recently scripts/leaking_addresses.pl was merged into the mainline with the hope of catching leaking kernel addresses. Would it be in scope for this script to be run by the kbuild test robot? Excuse my very little

[PATCH 06/45] drivers: iio: gyro: remove duplicate includes

2017-12-04 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/iio/gyro/bmg160_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iio/gyro/bmg160_core.c b/driver

Re: [linux-sunxi] [PATCH 1/8] iio: adc: axp20x_adc: put ADC rate setting in a per-variant function

2017-12-04 Thread Chen-Yu Tsai
On Mon, Dec 4, 2017 at 10:12 PM, Quentin Schulz wrote: > To prepare for a new comer that set a different register with different > values, move rate setting in a function that is specific to each AXP > variant. > > Signed-off-by: Quentin Schulz > --- > drivers/iio/adc/axp20x_adc.c | 17 +

Re: [PATCH] scsi: ipr: fix incorrect indentation of assignment statement

2017-12-04 Thread Martin K. Petersen
Colin, > Remove one extraneous level of indentation on an assignment statement. Applied to 4.16/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: bnx2fc: fix spelling mistake: "Couldnt" -> "Couldn't"

2017-12-04 Thread Martin K. Petersen
Colin, > Trivial fix to spelling mistake in error message text. Applied to 4.16/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [tip:WIP.x86/kpti 50/65] include/linux/compiler.h:319:38: error: call to '__compiletime_assert_321' declared with attribute error: BUILD_BUG_ON failed: MODULES_LEN + KERNEL_IMAGE_SIZE > 2*PUD_SIZE

2017-12-04 Thread Fengguang Wu
On Mon, Dec 04, 2017 at 06:19:34PM +0100, Thomas Gleixner wrote: On Mon, 4 Dec 2017, kbuild test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/kpti head: c7ddf30cab554658b154ee16ae5e5d577ff530bf commit: 9ebd9d9cdbc90021a5e320fb054cf48c027e6d34 [50/65

Re: [PATCH v3 2/3] mailbox: Add support for Hi3660 mailbox

2017-12-04 Thread Jassi Brar
On Fri, Nov 17, 2017 at 2:54 PM, Xu YiPing wrote: > From: Kaihua Zhong > > Hi3660 mailbox controller is used to send message within multiple > processors, MCU, HIFI, etc. It supports 32 mailbox channels and every > channel can only be used for single transferring direction. Once the > channel i

RE: [PATCH] PM / runtime: Drop children check from __pm_runtime_set_status()

2017-12-04 Thread Yoshihiro Shimoda
Hi, > From: Ulf Hansson, Sent: Monday, December 4, 2017 7:41 PM > > On 1 December 2017 at 12:03, Yoshihiro Shimoda > wrote: > > Sure! I tested your patch, and then the following message disappeared! > > > >Enabling runtime PM for inactive device (ee080200.usb-phy) with active > > children

Re: PROBLEM: Asus C201 video mode problems on HDMI hotplug (regression)

2017-12-04 Thread Nick Bowler
On 2017-12-04 21:34 +0200, Laurent Pinchart wrote: > On Monday, 4 December 2017 21:30:01 EET Nick Bowler wrote: > > On 2017-12-04 21:06 +0200, Laurent Pinchart wrote: > > > As you reported that the PLL lock failure message is not printed, the > > > failure can only come from either the extra delay

Re: [PATCH v15 4/5] scsi: mpt3sas: Replace PCI pool old API

2017-12-04 Thread Martin K. Petersen
Romain, > The PCI pool API is deprecated. This commit replaces the PCI pool old > API by the appropriate function with the DMA pool API. Applied to 4.16/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: linux-next: remove the tile tree?

2017-12-04 Thread Stephen Rothwell
Hi Chris, On Mon, 4 Dec 2017 20:33:59 -0500 Chris Metcalf wrote: > > On 12/4/2017 3:25 PM, Stephen Rothwell wrote: > > Hi Chris, > > > > Given commit > > > >8ee5ad1d4c0b ("arch/tile: mark as orphaned") > > > > in Linus' tree, should I remove the tile tree from linux-next? > > Yes, that wou

[PATCH v3] mmap.2: MAP_FIXED updated documentation

2017-12-04 Thread john . hubbard
From: John Hubbard Previously, MAP_FIXED was "discouraged", due to portability issues with the fixed address. In fact, there are other, more serious issues. Also, in some limited cases, this option can be used safely. Expand the documentation to discuss both the hazards, and how to use it safely

Re: [PATCH] skb_array: fix NULL-pointer exception

2017-12-04 Thread Jason Wang
On 2017年12月04日 22:24, George Cherian wrote: While running a multiple VM testscase with each VM running iperf traffic between others the following kernel NULL pointer exception was seen. Race appears when the tun driver instance of one VM calls skb_array_produce (from tun_net_xmit) and the the

Re: [linux-sunxi] [PATCH 0/2] clk: sunxi-ng: sun50i: a64: Add 2x fixed post-divider to MMC module clocks

2017-12-04 Thread Chen-Yu Tsai
On Tue, Dec 5, 2017 at 7:25 AM, André Przywara wrote: > On 04/12/17 05:19, Chen-Yu Tsai wrote: >> Hi, >> >> This is a small fix to get MMC performance up to proper speeds on the > > Maybe a small fix for a skilled developer, but a giant leap for all > users ;-) > MMC performance goes from: (4.15-r

Re: [PATCH] powerpc/xive: store server for masked interrupt in kvmppc_xive_set_xive()

2017-12-04 Thread Paul Mackerras
On Fri, Nov 24, 2017 at 07:38:13AM +1100, Benjamin Herrenschmidt wrote: > On Thu, 2017-11-23 at 10:06 +0100, Laurent Vivier wrote: > > This is needed to map kvmppc_xive_set_xive() behavior > > to kvmppc_xics_set_xive(). > > > > As we store the server, kvmppc_xive_get_xive() can return > > the good

Re: [linux-sunxi] [PATCH 1/2] clk: sunxi-ng: Support fixed post-dividers on MP style clocks

2017-12-04 Thread Chen-Yu Tsai
On Tue, Dec 5, 2017 at 7:18 AM, André Przywara wrote: > Hi Chen-Yu, > > On 04/12/17 05:19, Chen-Yu Tsai wrote: >> On the A64, the MMC module clocks are fixed in the new timing mode, >> i.e. they do not have a bit to select the mode. These clocks have >> a 2x divider somewhere between the clock and

Re: [PATCH net] virtio_net: fix return value check in receive_mergeable()

2017-12-04 Thread Jason Wang
On 2017年12月04日 19:25, wangyunjian wrote: -Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Monday, December 04, 2017 3:10 PM To: wangyunjian ; linux- ker...@vger.kernel.org Cc: m...@redhat.com; caihe Subject: Re: [PATCH net] virtio_net: fix return value check in

Re: [PATCH v2] mmap.2: MAP_FIXED updated documentation

2017-12-04 Thread John Hubbard
On 12/04/2017 03:31 AM, Mike Rapoport wrote: > On Sun, Dec 03, 2017 at 06:14:11PM -0800, john.hubb...@gmail.com wrote: >> From: John Hubbard >> [...] >> +.IP >> +Given the above limitations, one of the very few ways to use this option >> +safely is: mmap() a region, without specifying MAP_FIXED. T

Re: [PATCH] thermal: tegra: allow sensor registeration to fail

2017-12-04 Thread Eduardo Valentin
Hello, On Fri, Oct 27, 2017 at 04:54:13PM -0700, Nicolin Chen wrote: > Not all sensors may be used on a platform. So there could be > some missing thermal zones in the Device Tree. However, the > the driver now errors out whenever a sensor fails to register > the thermal zone. > > Since the drive

linux-next: Signed-off-by missing for commits in the drm tree

2017-12-04 Thread Stephen Rothwell
Hi all, Commits 36a46da90212 ("drm: rcar-du: Add R8A7743 support") cdd907001572 ("drm: rcar-du: Add R8A7745 support") 7912dee7775e ("drm: rcar-du: Implement system suspend/resume support") cf05f74ef40e ("drm: rcar-du: Remove unused CRTC suspend/resume functions") are missing a Signed-off

Re: [PATCH v3 2/3] clk: hisilicon: Add support for Hi3660 stub clocks

2017-12-04 Thread Leo Yan
On Fri, Nov 17, 2017 at 05:27:31PM +0800, Xu YiPing wrote: > From: Kaihua Zhong > > Hi3660 has four stub clocks, which are big and LITTLE cluster clocks, > GPU clock and DDR clock. These clocks ask MCU for frequency scaling > by sending message through mailbox. > > This commit adds support for

Re: [PATCH v3 2/3] mailbox: Add support for Hi3660 mailbox

2017-12-04 Thread Leo Yan
On Fri, Nov 17, 2017 at 05:24:31PM +0800, Xu YiPing wrote: > From: Kaihua Zhong > > Hi3660 mailbox controller is used to send message within multiple > processors, MCU, HIFI, etc. It supports 32 mailbox channels and every > channel can only be used for single transferring direction. Once the >

Re: [PATCH v2 2/2] of: overlay: Fix cleanup order in of_overlay_apply()

2017-12-04 Thread Rob Herring
On Mon, Dec 4, 2017 at 1:45 PM, Geert Uytterhoeven wrote: > Hi Rob, > > On Mon, Dec 4, 2017 at 8:35 PM, Rob Herring wrote: >> On Mon, Dec 4, 2017 at 9:47 AM, Geert Uytterhoeven >> wrote: >>> The special overlay mutex is taken first, hence it should be released >>> last in the error path. >>> >>>

linux-next: Tree for Dec 5

2017-12-04 Thread Stephen Rothwell
Hi all, Changes since 20171204: The vfs tree lost its build failure. The net-next tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 2484 3080 files changed, 70583 insertions(+), 36842

[PATCH] gpio-pca953x: fall back to byte-at-a-time for 24-bit io

2017-12-04 Thread Andrew Cooks
Using TCA6424A with i2c-piix4 bus driver requires byte-at-a-time IO, because the i2c-piix4 driver (and probably some SMBus controllers) don't support I2C_SMBUS_I2C_BLOCK_DATA. Signed-off-by: Andrew Cooks --- drivers/gpio/gpio-pca953x.c | 16 ++-- 1 file changed, 14 insertions(+), 2 d

Re: [PATCH 1/1] gianfar: fix a flooded alignment reports because of padding issue.

2017-12-04 Thread Zumeng Chen
On 12/05/2017 12:06 AM, Claudiu Manoil wrote: -Original Message- From: Zumeng Chen [mailto:zumeng.c...@gmail.com] Sent: Monday, December 04, 2017 5:22 AM To: net...@vger.kernel.org; linux-kernel@vger.kernel.org Cc: Claudiu Manoil ; da...@davemloft.net Subject: [PATCH 1/1] gianfar: fix a f

Re: [PATCH v2] mmap.2: MAP_FIXED updated documentation

2017-12-04 Thread John Hubbard
On 12/04/2017 02:55 AM, Cyril Hrubis wrote: > Hi! > I know that we are not touching the rest of the existing description for > MAP_FIXED however the second sentence in the manual page says that "addr > must be a multiple of the page size." Which however is misleading as > this is not enough on some

Re: [PATCH v9 3/5] perf utils: use pmu->is_uncore to detect PMU UNCORE devices

2017-12-04 Thread Jin, Yao
Hi Kulkarni, Arnaldo, This patch has been merged in perf/core branch today. But I see a regression issue when I run the 'perf stat'. With bisect checking, I locate to this patch. commit ad8737a08973f5dca632bdd63cf2abc99670e540 Author: Ganapatrao Kulkarni Date: Tue Oct 17 00:02:20 2017 +0530

Re: [PATCH] security: keys: remove redundant assignment to key_ref

2017-12-04 Thread James Morris
On Mon, 4 Dec 2017, Colin King wrote: > From: Colin Ian King > > Variable key_ref is being assigned a value that is never read; > key_ref is being re-assigned a few statements later. Hence this > assignment is redundant and can be removed. > > Signed-off-by: Colin Ian King I think a general

Re: [PATCH v2 1/2] of: overlay: Fix memory leak in of_overlay_apply() error path

2017-12-04 Thread Frank Rowand
Hi Geert, Thanks for finding the issues and for the fixes. Comments in line. On 12/04/17 10:47, Geert Uytterhoeven wrote: > If of_resolve_phandles() fails, free_overlay_changeset() is called in > the error path. However, that function returns early if the list hasn't > been initialized yet, be

Re: [PATCH] thermal/drivers/hisi: disable multi alarm support for hi3660 SoC

2017-12-04 Thread Eduardo Valentin
Hello, On Thu, Oct 19, 2017 at 09:31:24AM +0800, Wangtao (Kevin, Kirin) wrote: > > > 在 2017/10/18 23:54, Daniel Lezcano 写道: > >On 18/10/2017 11:15, Tao Wang wrote: > >>From: Kevin Wangtao > >> > >>multi alarm interrupt forced a re-trigger of power_allocator_throttle > >>which changes the PID's

Re: [PATCH V1 1/4] qcom: spmi-wled: Add support for qcom wled driver

2017-12-04 Thread Bjorn Andersson
On Thu 16 Nov 04:18 PST 2017, Kiran Gunda wrote: > WLED driver provides the interface to the display driver to > adjust the brightness of the display backlight. > > Signed-off-by: Kiran Gunda > --- > .../bindings/leds/backlight/qcom-spmi-wled.txt | 90 > drivers/video/backlight/Kconfi

Re: [PATCH V2] thermal/drivers/hisi: Switch to interrupt mode

2017-12-04 Thread Eduardo Valentin
Hello, On Thu, Sep 28, 2017 at 09:32:20AM +0200, Daniel Lezcano wrote: > On Thu, Sep 28, 2017 at 02:57:52PM +0800, Leo Yan wrote: > > Hi Daniel, > > > > On Thu, Sep 28, 2017 at 07:13:44AM +0200, Daniel Lezcano wrote: > > > At this moment, we have both the interrupt setup and the polling enabled.

[PATCH 03/45] drivers: gpio: remove duplicate includes

2017-12-04 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/gpio/gpio-brcmstb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/gpio-brcmstb.c b/drivers/gpio

[PATCH 02/45] drivers: crypto: remove duplicate includes

2017-12-04 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/crypto/bcm/cipher.c | 1 - drivers/crypto/cavium/nitrox/nitrox_reqmgr.c | 1 - drivers/crypto/cc

[PATCH 01/45] drivers: bus: remove duplicate includes

2017-12-04 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/bus/qcom-ebi2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bus/qcom-ebi2.c b/drivers/bus/qcom-ebi

Re: [PATCH] thermal/drivers/hisi: Remove confusing error message

2017-12-04 Thread Eduardo Valentin
Hello, Catching up on old patches. On Fri, Jul 07, 2017 at 05:03:52PM +0200, Daniel Lezcano wrote: > The sensor id is unknown at init time and we use all id in the authorized > MAX_SENSORS interval to register the sensor. On this SoC there is one > thermal-zone with one sensor on it. No need to sp

Re: [PATCH] thermal: tegra: delete unneeded of_node_put

2017-12-04 Thread Eduardo Valentin
On Mon, Jul 17, 2017 at 04:42:38PM +0200, Julia Lawall wrote: > > > On Mon, 17 Jul 2017, Jon Hunter wrote: > > > > > On 15/07/17 09:42, Julia Lawall wrote: > > > Device node iterators perform an of_node_put on each iteration, so putting > > > an of_node_put before a continue results in a double

Re: [PATCH net-next v4 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-04 Thread Kunihiko Hayashi
Hi Andrew, On Fri, 1 Dec 2017 14:49:00 +0100 Andrew Lunn wrote: > On Fri, Dec 01, 2017 at 10:03:50AM +0900, Kunihiko Hayashi wrote: > > The UniPhier platform from Socionext provides the AVE ethernet > > controller that includes MAC and MDIO bus supporting RGMII/RMII > > modes. The controller is

Re: linux-next: remove the tile tree?

2017-12-04 Thread Chris Metcalf
On 12/4/2017 3:25 PM, Stephen Rothwell wrote: Hi Chris, Given commit 8ee5ad1d4c0b ("arch/tile: mark as orphaned") in Linus' tree, should I remove the tile tree from linux-next? Yes, that would make sense.  Good catch! -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

[PATCH v4] bcc: Try use new API to create [k,u]probe with perf_event_open

2017-12-04 Thread Song Liu
New kernel API allows creating [k,u]probe with perf_event_open. This patch tries to use the new API. If the new API doesn't work, we fall back to old API. bpf_detach_probe() looks up the event being removed. If the event is not found, we skip the clean up procedure. Signed-off-by: Song Liu ---

[PATCH v4 2/6] perf: copy new perf_event.h to tools/include/uapi

2017-12-04 Thread Song Liu
perf_event.h is updated in previous patch, this patch applies same changes to the tools/ version. This is part is put in a separate patch in case the two files are back ported separately. Signed-off-by: Song Liu Reviewed-by: Yonghong Song Reviewed-by: Josef Bacik Acked-by: Alexei Starovoitov -

[PATCH v4 5/6] bpf: add option for bpf_load.c to use perf_kprobe

2017-12-04 Thread Song Liu
Function load_and_attach() is updated to be able to create kprobes with either old text based API, or the new perf_event_open API. A global flag use_perf_kprobe is added to select between the two APIs. Signed-off-by: Song Liu Reviewed-by: Josef Bacik --- samples/bpf/bpf_load.c | 59 +++

[PATCH v4 6/6] bpf: add new test test_many_kprobe

2017-12-04 Thread Song Liu
The test compares old text based kprobe API with perf_kprobe. Here is a sample output of this test: Creating 1000 kprobes with text-based API takes 6.979683 seconds Cleaning 1000 kprobes with text-based API takes 84.897687 seconds Creating 1000 kprobes with perf_kprobe (function name) takes 5.077

[PATCH v4 4/6] perf: implement pmu perf_uprobe

2017-12-04 Thread Song Liu
This patch adds perf_uprobe support with similar pattern as previous patch (for kprobe). Two functions, create_local_trace_uprobe() and destroy_local_trace_uprobe(), are created so a uprobe can be created and attached to the file descriptor created by perf_event_open(). Signed-off-by: Song Liu R

[PATCH v4] perf_event_open.2: add type kprobe and uprobe

2017-12-04 Thread Song Liu
Two new types kprobe and uprobe are being added to perf_event_open, which allow creating kprobe or uprobe with perf_event_open. This patch adds information about these types. Signed-off-by: Song Liu --- man2/perf_event_open.2 | 49 + 1 file changed

[PATCH v4 1/6] perf: prepare perf_event.h for new types perf_kprobe and perf_uprobe

2017-12-04 Thread Song Liu
Two new perf types, perf_kprobe and perf_uprobe, will be added to allow creating [k,u]probe with perf_event_open. These [k,u]probe are associated with the file decriptor created by perf_event_open, thus are easy to clean when the file descriptor is destroyed. kprobe_func and uprobe_path are added

[PATCH v4 3/6] perf: implement pmu perf_kprobe

2017-12-04 Thread Song Liu
A new pmu, perf_kprobe is added. Based attr from perf_event_open(), perf_kprobe creates a kprobe (or kretprobe) for the perf_event. This kprobe is private to this perf_event, and thus not added to global lists, and not available in tracefs. Two functions, create_local_trace_kprobe() and destroy_lo

[PATCH v4 0/6] enable creating [k,u]probe with perf_event_open

2017-12-04 Thread Song Liu
Changes PATCH v3 to PATCH v4: Remove uapi define MAX_PROBE_FUNC_NAME_LEN, use KSYM_NAME_LEN instead. Add flag PERF_PROBE_CONFIG_IS_RETPROBE for config field of [k,u]probe. Optimize ifdef's of CONFIG_KPROBE_EVENTS and CONFIG_UPROBE_EVENTS. Optimize checks in perf_event_is_tracing(). Optimi

[PATCH] x86/entry: remove SYSENTER_stack naming

2017-12-04 Thread Dave Hansen
This is on top of c7ddf30cab55 which is WIP.x86/mm as of now. --- From: Dave Hansen If the kernel oopses while on the trampoline stack, it will say "" even if SYSENTER is not involved. That is rather confusing. The "SYSENTER" stack is used for a lot more than SYSENTER now. Give it a better s

Re: [PATCH] doc: update 'unique identifiers'

2017-12-04 Thread Kees Cook
On Mon, Dec 4, 2017 at 3:39 PM, Tobin C. Harding wrote: > On Mon, Dec 04, 2017 at 01:51:42PM -0800, Kees Cook wrote: >> On Mon, Dec 4, 2017 at 1:44 PM, Tobin C. Harding wrote: >> > On Mon, Dec 04, 2017 at 01:28:45PM -0800, Kees Cook wrote: >> >> On Mon, Dec 4, 2017 at 1:22 PM, Tobin C. Harding w

[PATCH] locking/refcounts: Do not force refcount_t usage as GPL-only export

2017-12-04 Thread Kees Cook
The refcount_t protection on x86 was not intended to use the stricter GPL export. This adjusts the linkage again to avoid a regression in the availability of the refcount API. Reported-by: Dave Airlie Fixes: 7a46ec0e2f48 ("locking/refcounts, x86/asm: Implement fast refcount overflow protection")

Re: [PATCH v3 5/6] dt-bindings: add the rockchip, dual-channel for dw-mipi-dsi

2017-12-04 Thread Brian Norris
Hi Archit, I'm a relative n00b here, but I'm trying to follow along and I have some questions: On Fri, Dec 01, 2017 at 06:29:04PM +0530, Archit Taneja wrote: > On 11/30/2017 11:02 PM, Nickey Yang wrote: > >I try to follow as you suggested,use > > > >mipi_dsi: mipi@ff96 { > >     ... > >     .

[Part2 PATCH v9 00/38] x86: Secure Encrypted Virtualization (AMD)

2017-12-04 Thread Brijesh Singh
This part of Secure Encrypted Virtualization (SEV) patch series focuses on KVM changes required to create and manage SEV guests. SEV is an extension to the AMD-V architecture which supports running encrypted virtual machine (VMs) under the control of a hypervisor. Encrypted VMs have their pages (

Re: [PATCH v2 2/2] of: overlay: Fix cleanup order in of_overlay_apply()

2017-12-04 Thread Frank Rowand
On 12/04/17 14:45, Geert Uytterhoeven wrote: > Hi Rob, > > On Mon, Dec 4, 2017 at 8:35 PM, Rob Herring wrote: >> On Mon, Dec 4, 2017 at 9:47 AM, Geert Uytterhoeven >> wrote: >>> The special overlay mutex is taken first, hence it should be released >>> last in the error path. >>> >>> Move "mutex_

[Part2 PATCH v9 04/38] kvm: svm: Add SEV feature definitions to KVM

2017-12-04 Thread Brijesh Singh
From: Tom Lendacky Define the SEV enable bit for the VMCB control structure. The hypervisor will use this bit to enable SEV in the guest. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: "Radim Krčmář" Cc: Joerg Roedel Cc: Borislav Petkov Cc: x...@kernel.org

[Part2 PATCH v9 06/38] KVM: X86: Extend CPUID range to include new leaf

2017-12-04 Thread Brijesh Singh
This CPUID leaf provides the memory encryption support information on AMD Platform. Its complete description is available in APM volume 2, Section 15.34 Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: "Radim Krčmář" Cc: Joerg Roedel Cc: Borislav Petkov Cc: Tom

[Part2 PATCH v9 05/38] KVM: SVM: Prepare to reserve asid for SEV guest

2017-12-04 Thread Brijesh Singh
Currently, ASID allocation start at 1. Add a svm_vcpu_data.min_asid which allows supplying a dynamic start ASID. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: "Radim Krčmář" Cc: Joerg Roedel Cc: Borislav Petkov Cc: Tom Lendacky Cc: x...@kernel.org Cc: k...@

Re: [PATCH 0/2] of: dynamic: restrict overlay by targets

2017-12-04 Thread Frank Rowand
Hi Alan, In the RFC thread "of: Add whitelist", I did not understand the use case and asked you some questions (30 Nov 2017 07:46:36 -0500), that you seem to have overlooked (or my mail server failed to deliver your answer to me). Can you please answer that question so I can better understand thi

[Part2 PATCH v9 15/38] crypto: ccp: Implement SEV_PLATFORM_STATUS ioctl command

2017-12-04 Thread Brijesh Singh
The SEV_PLATFORM_STATUS command can be used by the platform owner to get the current status of the platform. The command is defined in SEV spec section 5.5. Cc: Paolo Bonzini Cc: "Radim Krčmář" Cc: Borislav Petkov Cc: Herbert Xu Cc: Gary Hook Cc: Tom Lendacky Cc: linux-cry...@vger.kernel.org

[Part2 PATCH v9 13/38] crypto: ccp: Add Secure Encrypted Virtualization (SEV) command support

2017-12-04 Thread Brijesh Singh
AMD's new Secure Encrypted Virtualization (SEV) feature allows the memory contents of virtual machines to be transparently encrypted with a key unique to the VM. The programming and management of the encryption keys are handled by the AMD Secure Processor (AMD-SP) which exposes the commands for the

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