RE: [PATCH v2 2/4] remoteproc: Rename "load_rsc_table" to "parse_fw"

2018-01-03 Thread Loic PALLARDY
> -Original Message- > From: linux-remoteproc-ow...@vger.kernel.org [mailto:linux-remoteproc- > ow...@vger.kernel.org] On Behalf Of Bjorn Andersson > Sent: Tuesday, December 26, 2017 9:39 PM > To: Ohad Ben-Cohen ; Bjorn Andersson > > Cc: linux-remotep...@vger.kernel.org; linux-kernel@vge

Documentation: ksm: move sysfs interface to ABI

2018-01-03 Thread Aishwarya Pant
Hi In Documentation/vm/ksm.txt, there is a description of the kernel samepage merging sysfs interface and there also exists Documentation/ABI/testing/sysfs-kernel-mm-ksm which is out of date. Would it be useful to move out the interface from Documentation/vm/ksm.txt to the ABI? The ABI documenta

Re: stable/linux-4.14.y boot: 108 boots: 0 failed, 107 passed with 1 conflict (v4.14.11)

2018-01-03 Thread Thomas Gleixner
On Wed, 3 Jan 2018, Guillaume Tucker wrote: > On 03/01/18 09:48, Thomas Gleixner wrote: > > > Well, it turns out this is not exactly a conflict as there's a > > > subtle difference between the qemu devices in lab-mhart and in > > > lab-collabora. The ones in lab-collabora are configured to use > >

Re: [PATCH] net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg()

2018-01-03 Thread Stefano Brivio
Hi Nicolai, On Wed, 03 Jan 2018 10:28:20 +0100 Nicolai Stange wrote: > Hi Stefano, > > Stefano Brivio writes: > > > On Tue, 2 Jan 2018 17:30:20 +0100 > > Nicolai Stange wrote: > > > >> [...] > >> > >> diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c > >> index 5b9bd5c33d9d..e84290c28c0c 10064

Re: ACPI issues on cold power on [bisected]

2018-01-03 Thread Jonathan McDowell
On Wed, Jan 03, 2018 at 11:11:29AM +0900, Joonsoo Kim wrote: > On Tue, Jan 02, 2018 at 11:25:01AM +0100, Rafael J. Wysocki wrote: > > On Tue, Jan 2, 2018 at 3:54 AM, Joonsoo Kim wrote: > > > On Fri, Dec 29, 2017 at 04:36:59PM +, Jonathan McDowell wrote: > > >> On Fri, Dec 22, 2017 at 09:21:09A

Re: [PATCH] mm/fadvise: discard partial pages iff endbyte is also eof

2018-01-03 Thread Mel Gorman
On Wed, Jan 03, 2018 at 02:53:43PM +0800, ??(Caspar) wrote: > > > > ?? 2017??12??2312:16?? ?? > > > > From: "shidao.ytt" > > > > in commit 441c228f817f7 ("mm: fadvise: document the > > fadvise(FADV_DONTNEED) behaviour for partial pages") Mel Gorman > > explained why partial pa

Re: [PATCH v2 3/9] v4l: platform: Add Renesas CEU driver

2018-01-03 Thread jacopo mondi
Hi Laurent, On Tue, Jan 02, 2018 at 03:46:27PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > > +/* > > + * ceu_device - CEU device instance > > + */ > > +struct ceu_device { > > + struct device *dev; > > + struct video_device vdev; > > + struct v4

objtool segfault with ORC unwinder enabled

2018-01-03 Thread Markus
Hello! ORC unwinder is enabled in stable for wider testing but still at least one bug is open: https://bugzilla.kernel.org/show_bug.cgi?id=197035 objtool will segfault because a NULL pointer is dereferenced. Is a NULL pointer sym valid? If a NULL pointer is invalid, it has to be checked why it

Re: pci driver loads right after unload

2018-01-03 Thread Max Gurtovoy
Hi Greg/Bjorn, On 1/2/2018 9:27 PM, Greg Kroah-Hartman wrote: On Tue, Jan 02, 2018 at 01:00:03PM -0600, Bjorn Helgaas wrote: [+cc Greg, linux-kernel] Hi Max, Thanks for the report! On Tue, Jan 02, 2018 at 01:50:23AM +0200, Max Gurtovoy wrote: hi all, I encountered a strange phenomena using

Re: [net-next: PATCH 0/8] Armada 7k/8k PP2 ACPI support

2018-01-03 Thread Graeme Gregory
On Mon, Dec 18, 2017 at 10:40:31AM +0100, Ard Biesheuvel wrote: > On 18 December 2017 at 10:17, Marcin Wojtas wrote: > > Hi, > > > > This patchset introduces ACPI support in mvpp2 and mvmdio drivers. > > First three patches introduce fwnode helpers for obtaining PHY > > information from nodes and

Re: [PATCH] PM / runtime: Rework pm_runtime_force_suspend/resume()

2018-01-03 Thread Rafael J. Wysocki
On Wednesday, January 3, 2018 12:21:36 AM CET Rafael J. Wysocki wrote: > On Tue, Jan 2, 2018 at 8:07 PM, Rafael J. Wysocki wrote: > > On Tuesday, January 2, 2018 2:04:04 PM CET Lukas Wunner wrote: > >> On Tue, Jan 02, 2018 at 12:02:18PM +0100, Rafael J. Wysocki wrote: > >> > On Tue, Jan 2, 2018 at

[PATCH v2 4/4] clk: Fix debugfs_create_*() usage

2018-01-03 Thread Geert Uytterhoeven
When exposing data access through debugfs, the correct debugfs_create_*() functions must be used, matching the data types. Remove all casts from data pointers passed to debugfs_create_*() functions, as such casts prevent the compiler from flagging bugs. clk_core.rate and .accuracy are "unsigned l

[PATCH v2 3/4] clk: Show symbolic clock flags in debugfs

2018-01-03 Thread Geert Uytterhoeven
Currently the virtual "clk_flags" file in debugfs shows the numeric value of the top-level framework flags for the specified clock. Hence the user must manually interpret these values. Moreover, on big-endian 64-bit systems, the wrong half of the value is shown, due to the cast from "unsigned long

[PATCH v2 2/4] clk: Use octal instead of symbolic permissions

2018-01-03 Thread Geert Uytterhoeven
Octal permissions are preferred, as they are easier to read than symbolic permissions. Hence replace "S_IRUGO" by "0444". Signed-off-by: Geert Uytterhoeven --- v2: - New. --- drivers/clk/clk.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/dri

[PATCH v2 0/4] clk: Fix debugfs_create_*() usage

2018-01-03 Thread Geert Uytterhoeven
Hi Mike, Stephen, When exposing data access through debugfs, the correct debugfs_create_*() functions must be used, matching the data types. This patch series remove all casts from data pointers passed to debugfs_create_*() functions, as such casts prevent the compiler from flagging bugs,

[PATCH v2 1/4] clk: Improve flags doc for of_clk_detect_critical()

2018-01-03 Thread Geert Uytterhoeven
The "flags" parameter passed to of_clk_detect_critical() cannot be a pointer to a real clk_core.flags field, as clk_core is private to the clock framework internals. Change the comment to refer to top-level framework flags instead. Signed-off-by: Geert Uytterhoeven --- v2: - Split off from "cl

[PATCH v2] PM / runtime: Rework pm_runtime_force_suspend/resume()

2018-01-03 Thread Rafael J. Wysocki
From: Rafael J. Wysocki One of the limitations of pm_runtime_force_suspend/resume() is that if a parent driver wants to use these functions, all of its child drivers have to do that too because of the parent usage counter manipulations necessary to get the correct state of the parent during syste

Re: [PATCH] x86/cpu, x86/pti: Do not enable PTI on AMD processors

2018-01-03 Thread Ivan Ivanov
Why this wonderful tiny patch by Tom Lendacky is still not merged? If it is just Intel who made these insecure CPUs , for which this "slowdown workaround" is required, ---> why the AMD CPU owners should suffer from Intel's design faults ? " cpu_insecure " is Intel's problem ; according to Tom Lenda

Re: [net-next: PATCH 0/8] Armada 7k/8k PP2 ACPI support

2018-01-03 Thread Marcin Wojtas
Hi Graeme, 2018-01-03 12:00 GMT+01:00 Graeme Gregory : > On Mon, Dec 18, 2017 at 10:40:31AM +0100, Ard Biesheuvel wrote: >> On 18 December 2017 at 10:17, Marcin Wojtas wrote: >> > Hi, >> > >> > This patchset introduces ACPI support in mvpp2 and mvmdio drivers. >> > First three patches introduce f

Re: stable/linux-4.14.y boot: 108 boots: 0 failed, 107 passed with 1 conflict (v4.14.11)

2018-01-03 Thread Paolo Bonzini
On 03/01/2018 11:36, Thomas Gleixner wrote: > On Wed, 3 Jan 2018, Guillaume Tucker wrote: >> On 03/01/18 09:48, Thomas Gleixner wrote: Well, it turns out this is not exactly a conflict as there's a subtle difference between the qemu devices in lab-mhart and in lab-collabora. The one

Re: [net-next: PATCH v2 5/5] net: mvpp2: enable ACPI support in the driver

2018-01-03 Thread graeme . gregory
On Sun, Dec 31, 2017 at 08:23:54PM +0100, Andrew Lunn wrote: > > * Modify way of obtaining interrupts - with ACPI they are resources > > bound to struct platform_device and it's not possible to obtain > > them directly from the child node. Hence a formula is used, depending > > on the port_id

Re: [PATCH]cpuidle: preventive check in cpuidle_select against crash

2018-01-03 Thread Rafael J. Wysocki
On Friday, December 29, 2017 7:45:22 PM CET gaurav jindal wrote: > On Wed, Dec 27, 2017 at 03:30:02AM +0100, Rafael J. Wysocki wrote: > > On Wed, Dec 27, 2017 at 2:57 AM, gaurav jindal > > wrote: > > > On Wed, Dec 27, 2017 at 01:42:58AM +0100, Rafael J. Wysocki wrote: > > >> On Tue, Dec 26, 2017 a

Re: [PATCH V4 22/26] video: fbdev: intelfb: deprecate pci_get_bus_and_slot()

2018-01-03 Thread Bartlomiej Zolnierkiewicz
On Tuesday, January 02, 2018 08:38:24 AM Sinan Kaya wrote: > On 12/19/2017 12:37 AM, Sinan Kaya wrote: > > pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as > > where a PCI device is present. This restricts the device drivers to be > > reused for other domain numbers. > > > >

Re: pci driver loads right after unload

2018-01-03 Thread Greg Kroah-Hartman
On Wed, Jan 03, 2018 at 12:50:05PM +0200, Max Gurtovoy wrote: > Hi Greg/Bjorn, > > On 1/2/2018 9:27 PM, Greg Kroah-Hartman wrote: > > On Tue, Jan 02, 2018 at 01:00:03PM -0600, Bjorn Helgaas wrote: > > > [+cc Greg, linux-kernel] > > > > > > Hi Max, > > > > > > Thanks for the report! > > > > > >

Re: [PATCH V4 23/26] video: fbdev: nvidia: deprecate pci_get_bus_and_slot()

2018-01-03 Thread Bartlomiej Zolnierkiewicz
On Tuesday, January 02, 2018 08:38:03 AM Sinan Kaya wrote: > On 12/19/2017 12:37 AM, Sinan Kaya wrote: > > pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as > > where a PCI device is present. This restricts the device drivers to be > > reused for other domain numbers. > > > >

Re: [PATCH V4 24/26] video: fbdev: riva: deprecate pci_get_bus_and_slot()

2018-01-03 Thread Bartlomiej Zolnierkiewicz
On Tuesday, January 02, 2018 08:37:32 AM Sinan Kaya wrote: > On 12/19/2017 12:38 AM, Sinan Kaya wrote: > > pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as > > where a PCI device is present. This restricts the device drivers to be > > reused for other domain numbers. > > > >

Re: [PATCH v2 3/9] v4l: platform: Add Renesas CEU driver

2018-01-03 Thread Laurent Pinchart
Hi Jacopo, On Wednesday, 3 January 2018 12:47:48 EET jacopo mondi wrote: > On Tue, Jan 02, 2018 at 03:46:27PM +0200, Laurent Pinchart wrote: > >> +/* > >> + * ceu_device - CEU device instance > >> + */ > >> +struct ceu_device { > >> + struct device *dev; > >> + struct video_device

Re: [net-next: PATCH v2 5/5] net: mvpp2: enable ACPI support in the driver

2018-01-03 Thread Marcin Wojtas
Graeme, 2018-01-03 12:16 GMT+01:00 : > On Sun, Dec 31, 2017 at 08:23:54PM +0100, Andrew Lunn wrote: >> > * Modify way of obtaining interrupts - with ACPI they are resources >> > bound to struct platform_device and it's not possible to obtain >> > them directly from the child node. Hence a for

Re: objtool segfault with ORC unwinder enabled

2018-01-03 Thread Greg Kroah-Hartman
On Wed, Jan 03, 2018 at 11:49:08AM +0100, Markus wrote: > Hello! > > ORC unwinder is enabled in stable for wider testing but still at least one > bug > is open: > https://bugzilla.kernel.org/show_bug.cgi?id=197035 Random web links on mailing lists don't help much, please put the information her

Re: [PATCH] irqchip/gic-v3-its: Add workaround for ThunderX2 erratum #174

2018-01-03 Thread Ganapatrao Kulkarni
On Wed, Jan 3, 2018 at 3:43 PM, Marc Zyngier wrote: > On 03/01/18 09:35, Ganapatrao Kulkarni wrote: >> Hi Marc, >> >> On Wed, Jan 3, 2018 at 2:17 PM, Marc Zyngier wrote: >>> On 03/01/18 06:32, Ganapatrao Kulkarni wrote: When an interrupt is moved across node collections on ThunderX2 >>> >>>

Re: [PATCH v2 1/9] dt-bindings: media: Add Renesas CEU bindings

2018-01-03 Thread Laurent Pinchart
Hi Jacopo, On Wednesday, 3 January 2018 10:49:52 EET jacopo mondi wrote: > On Tue, Jan 02, 2018 at 01:45:30PM +0200, Laurent Pinchart wrote: > > On Thursday, 28 December 2017 16:01:13 EET Jacopo Mondi wrote: > >> Add bindings documentation for Renesas Capture Engine Unit (CEU). > >> > >> Signed-o

Re: [PATCH] userns: honour no_new_privs for cap_bset during user ns creation/switch

2018-01-03 Thread Christian Brauner
On Fri, Dec 22, 2017 at 08:08:04AM -0600, Eric W. Biederman wrote: > Maciej Żenczykowski writes: > > >> Good point about CAP_DAC_OVERRIDE on files you own. > >> > >> I think there is an argument that you are playing dangerous games with > >> the permission system there, as it isn't effectively a

Re: [PATCH] ethernet: mlx4: Delete an error message for a failed memory allocation in five functions

2018-01-03 Thread Tariq Toukan
On 03/01/2018 10:06 AM, Julia Lawall wrote: On Wed, 3 Jan 2018, Tariq Toukan wrote: On 01/01/2018 10:46 PM, SF Markus Elfring wrote: From: Markus Elfring Date: Mon, 1 Jan 2018 21:42:27 +0100 Omit an extra message for a memory allocation failure in these functions. This issue was detec

Re: [net-next: PATCH v2 1/5] device property: Introduce fwnode_get_mac_address()

2018-01-03 Thread Rafael J. Wysocki
On Sunday, December 31, 2017 12:58:36 PM CET Marcin Wojtas wrote: > Until now there were two almost identical functions for > obtaining MAC address - of_get_mac_address() and, more generic, > device_get_mac_address(). However it is not uncommon, > that the network interface is represented as a chil

[PATCH v4 02/16] phy: qcom-qmp: Adapt to clk_bulk_* APIs

2018-01-03 Thread Manu Gautam
From: Vivek Gautam Move from using array of clocks to clk_bulk_* APIs that are available now. Signed-off-by: Vivek Gautam Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qmp.c | 50 - 1 file changed, 16 insertions(+), 34 deletions(-) diff --gi

[PATCH v4 03/16] phy: qcom-qmp: Power-on PHY before initialization

2018-01-03 Thread Manu Gautam
PHY regulators which are enabled from power_on() must be ON before turning-on clocks and initializing it as part of init(). As most of the core drivers perform power_on() after init(), move PHY regulators enable to com_init() and use power_on() to only enable pipe_clk. This pipe_clk is output from

[PATCH v4 04/16] phy: qcom-qusb2: Power-on PHY before initialization

2018-01-03 Thread Manu Gautam
PHY must be powered on before turning ON clocks and attempting to initialize it. Driver is exposing separate init and power_on routines for this. Apparently USB dwc3 core driver performs power-on after init. Also, poweron and init for QUSB2 PHY need to be executed together always, hence remove powe

[PATCH v4 01/16] phy: qcom-qmp: Fix phy pipe clock gating

2018-01-03 Thread Manu Gautam
From: Vivek Gautam Pipe clock comes out of the phy and is available as long as the phy is turned on. Clock controller fails to gate this clock after the phy is turned off and generates a warning. / # [ 33.048561] gcc_usb3_phy_pipe_clk status stuck at 'on' [ 33.048585] [ cut here

Re: [net-next: PATCH v2 2/5] device property: Introduce fwnode_get_phy_mode()

2018-01-03 Thread Rafael J. Wysocki
On Sunday, December 31, 2017 12:58:37 PM CET Marcin Wojtas wrote: > Until now there were two almost identical functions for > obtaining network PHY mode - of_get_phy_mode() and, > more generic, device_get_phy_mode(). However it is not uncommon, > that the network interface is represented as a child

[PATCH] optee: fix the dead loop problem when there is signal pending

2018-01-03 Thread Zeng Tao
when the current process is doing a rpc call from optee, and if there is a signal pending on the process, it will enter dead loop if the tee-supplicant is working correctly, fix the problem by breaking out the loop when the rpc job is finished. Signed-off-by: Zeng Tao --- drivers/tee/optee/supp.

[PATCH v4 07/16] phy: qcom-qusb2: Add support for different register layouts

2018-01-03 Thread Manu Gautam
New version of QUSB2 PHY has some registers offset changed. Add support to have register layout for a target and update the same in phy_configuration. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qusb2.c | 149 +- 1 file changed, 109 insertions(+),

[PATCH v4 06/16] phy: qcom-qmp: Move SERDES/PCS START after PHY reset

2018-01-03 Thread Manu Gautam
Driver is currently performing PHY reset after starting SERDES/PCS. As per hardware datasheet reset must be done before starting PHY. Hence, update the sequence. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -

[PATCH v4 09/16] phy: qcom-qusb2: Add support for QUSB2 V2 version

2018-01-03 Thread Manu Gautam
Use register layout to add additional registers present on QUSB2 PHY V2 version for PHY initialization. Other than new registers on V2, following two register's offset and bit definitions are different: POWERDOWN control and PLL_STATUS. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qco

[PATCH v4 08/16] dt-bindings: phy-qcom-qusb2: Update binding for QUSB2 V2 version

2018-01-03 Thread Manu Gautam
Update generic compatible string for QUSB2 V2 PHY. This will allow all targets using QUSB2 V2 use same string. Acked-by: Rob Herring Signed-off-by: Manu Gautam --- Documentation/devicetree/bindings/phy/qcom-qusb2-phy.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Do

[PATCH v4 12/16] dt-bindings: phy-qcom-qmp: Update bindings for QMP V3 USB PHY

2018-01-03 Thread Manu Gautam
Update compatible string and clock names for QMP version V3 USB PHY. Acked-by: Rob Herring Signed-off-by: Manu Gautam --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/qcom-qm

[PATCH v4 10/16] phy: qcom-qmp: Move register offsets to header file

2018-01-03 Thread Manu Gautam
New revision (v3) of QMP PHY uses different offsets for almost all of the registers. Hence, move these definitions to header file so that updated offsets can be added for QMP v3. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qmp.c | 119 +-- drivers/phy

[PATCH v4 13/16] phy: qcom-qmp: Add support for QMP V3 USB3 PHY

2018-01-03 Thread Manu Gautam
QMP V3 USB3 PHY is a DisplayPort (DP) and USB combo PHY with dual RX/TX lanes to support type-c. There is a separate block DP_COM for configuration related to type-c or DP. Add support for dp_com region and secondary rx/tx lanes initialization. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm

[PATCH v4 11/16] phy: qcom-qmp: Add register offsets for QMP V3 PHY

2018-01-03 Thread Manu Gautam
Registers offsets for QMP V3 PHY are changed from previous versions (1/2), update same in header file. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qmp.h | 149 1 file changed, 149 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.

[PATCH v4 15/16] phy: qcom-qusb2: Add support for runtime PM

2018-01-03 Thread Manu Gautam
Disable clocks and enable DP/DM wakeup interrupts when suspending PHY. Core driver should notify speed to PHY driver to enable appropriate DP/DM wakeup interrupts polarity in suspend state. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qusb2.c | 184 +++

[PATCH v4 16/16] phy: qcom-qmp: Add support for runtime PM

2018-01-03 Thread Manu Gautam
Disable clocks and enable PHY autonomous mode to detect wakeup events when PHY is suspended. Core driver should notify speed to PHY driver to enable LFPS and/or RX_DET interrupts. Signed-off-by: Manu Gautam --- drivers/phy/qualcomm/phy-qcom-qmp.c | 186 +++- drive

Re: ACPI issues on cold power on [bisected]

2018-01-03 Thread Rafael J. Wysocki
On Wednesday, January 3, 2018 11:38:12 AM CET Jonathan McDowell wrote: > On Wed, Jan 03, 2018 at 11:11:29AM +0900, Joonsoo Kim wrote: > > On Tue, Jan 02, 2018 at 11:25:01AM +0100, Rafael J. Wysocki wrote: > > > On Tue, Jan 2, 2018 at 3:54 AM, Joonsoo Kim > > > wrote: > > > > On Fri, Dec 29, 2017

[PATCH v4 14/16] phy: Add USB speed related PHY modes

2018-01-03 Thread Manu Gautam
Add following USB speed related PHY modes: LS (Low Speed), FS (Full Speed), HS (High Speed), SS (Super Speed) Speed related information is required by some QCOM PHY drivers to program PHY monitor resume/remote-wakeup events in suspended state. Speed is needed in order to set correct polarity of wa

[PATCH v4 05/16] phy: qcom-qmp: Fix PHY block reset sequence

2018-01-03 Thread Manu Gautam
PHY block or asynchronous reset requires signal to be asserted before de-asserting. Driver is only de-asserting signal which is already low, hence reset operation is a no-op. Fix this by asserting signal first. Also, resetting requires PHY clocks to be turned ON only after reset is finished. Fix th

Re: [PATCH] irqchip/gic-v3-its: Add workaround for ThunderX2 erratum #174

2018-01-03 Thread Marc Zyngier
On 03/01/18 11:20, Ganapatrao Kulkarni wrote: > On Wed, Jan 3, 2018 at 3:43 PM, Marc Zyngier wrote: >> On 03/01/18 09:35, Ganapatrao Kulkarni wrote: >>> Hi Marc, >>> >>> On Wed, Jan 3, 2018 at 2:17 PM, Marc Zyngier wrote: On 03/01/18 06:32, Ganapatrao Kulkarni wrote: > When an interrupt

Re: [PATCH v1] eSPI: add Aspeed AST2500 eSPI driver to boot a host with PCH runs on eSPI

2018-01-03 Thread Mark Brown
On Sun, Dec 31, 2017 at 12:10:51AM +0100, Arnd Bergmann wrote: > On Fri, Dec 29, 2017 at 2:53 AM, Haiyue Wang > wrote: > > When PCH works under eSPI mode, the PMC (Power Management Controller) in > > PCH is waiting for SUS_ACK from BMC after it alerts SUS_WARN. It is in > > dead loop if no SUS_ACK

Re: [PATCH] PCI: exynos: remove the deprecated phy codes

2018-01-03 Thread Lorenzo Pieralisi
On Wed, Jan 03, 2018 at 02:26:29PM +0900, Jaehoon Chung wrote: > On 01/03/2018 01:34 AM, Lorenzo Pieralisi wrote: > > On Wed, Dec 27, 2017 at 06:43:27PM +0900, Jaehoon Chung wrote: > >> pci-exynos had updated to use the PHY framework. > >> (drivers/phy/samsung/phy-exynos-pcie.c) > >> Removed the de

[RESEND PATCH] fix memory leak in ramoops_init

2018-01-03 Thread Nixiaoming
1, memory leak in ramoops_register_dummy. dummy_data = kzalloc(sizeof(*dummy_data), GFP_KERNEL); but no free when platform_device_register_data return fail 2, if kzalloc(sizeof(*dummy_data), GFP_KERNEL) return NULL, but platform_driver_register(&ramoops_driver) return 0 kfree(NULL) i

Re: [PATCH 0/3] mtd: spi-nor: fix DMA-unsafe buffer issue between MTD and SPI

2018-01-03 Thread Mark Brown
On Wed, Dec 27, 2017 at 08:15:11PM +, Trent Piepho wrote: > A random collection of spi master drivers will accept DMA-unsafe > buffers in some way. In some cases a framework like spi-nor provides > the fixup to spi-nor master drivers (none so far) and in other cases > (atmel-quadspi), the spi

[PATCH] ACPI / WMI: Call acpi_wmi_init() later

2018-01-03 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Calling acpi_wmi_init() at the subsys_initcall() level causes ordering issues to appear on some systems and they are difficult to reproduce, because there is no guaranteed ordering between subsys_initcall() calls, so they may occur in different orders on different systems.

Re: [PATCH 2/3] dt-bindings: mtd: atmel-quadspi: add an optional property 'dmacap,memcpy'

2018-01-03 Thread Mark Brown
On Wed, Dec 27, 2017 at 10:40:00PM +0100, Cyrille Pitchen wrote: > Le 27/12/2017 à 00:23, Rob Herring a écrit : > > On Sun, Dec 24, 2017 at 05:36:05AM +0100, Cyrille Pitchen wrote: > >> +Optional properties: > >> +- dmacap,memcpy: Reserve a DMA channel to perform DMA memcpy() between > >> the >

Re: [PATCH] nokia N9: Add support for magnetometer and touchscreen

2018-01-03 Thread Sebastian Reichel
Hi, On Wed, Jan 03, 2018 at 11:25:53AM +0100, Pavel Machek wrote: > On Tue 2018-01-02 18:27:20, Sebastian Reichel wrote: > > Hi, > > > > On Tue, Jan 02, 2018 at 02:17:22PM +0100, Pavel Machek wrote: > > > This adds dts support for magnetometer and touchscreen on Nokia N9. > > > > I think it make

Re: [PATCH v4 0/4] ACPI / boot: Don't handle SCI on HW reduced platforms

2018-01-03 Thread Rafael J. Wysocki
On Friday, December 15, 2017 10:25:07 PM CET Andy Shevchenko wrote: > The series improves handling of invalid IRQs in ACPI glue layer along with > preventing setup SCI on HW reduced platforms as it prescribed by the spec. > > Patch 1 is just convenient to add to the series. > > Patches 2 and 3 ma

[PATCH] Coccinelle: Rename the script for a transformation of memory allocations

2018-01-03 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 3 Jan 2018 12:43:45 +0100 A script for the semantic patch language was extended in a significant way. An other file name is more appropriate then to indicate the provided functionality. Thus rename this file. Signed-off-by: Markus Elfring --- ...kzalloc-simple.c

Re: CONFIG_PAGE_TABLE_ISOLATION=y on x86_64 causes gcc to segfault when building x86_32 binaries

2018-01-03 Thread Thomas Gleixner
Lars, On Wed, 3 Jan 2018, Lars Wendler wrote: Thanks for the report. > I already had a conversation with Thomas Gleixner about this issue and > he asked me to post it here. > > After upgrading my system to vanilla 4.14.11 kernel with > CONFIG_PAGE_TABLE_ISOLATION=y I could no longer build any 3

Re: [PATCH v2 5/8] MIPS: jz4740: dts: Add bindings for the jz4740-wdt driver

2018-01-03 Thread Paul Cercueil
Le mer. 3 janv. 2018 à 5:46, Guenter Roeck a écrit : On 01/02/2018 08:48 AM, Paul Cercueil wrote: Hi PrasannaKumar, Le mar. 2 janv. 2018 à 17:37, PrasannaKumar Muralidharan a écrit : Hi Paul, On 30 December 2017 at 19:21, Paul Cercueil wrote: Also remove the watchdog platform_device

Re: [PATCH 1/1] base: power: runtime: Export pm_runtime_get/put_suppliers

2018-01-03 Thread Rafael J. Wysocki
On Friday, December 8, 2017 6:03:37 PM CET Vivek Gautam wrote: > On Fri, Dec 8, 2017 at 7:37 PM, Rafael J. Wysocki wrote: > > On Fri, Dec 8, 2017 at 2:39 PM, Vivek Gautam > > wrote: > >> Hi Greg, > >> > >> > >> On Fri, Dec 8, 2017 at 6:51 PM, Greg KH wrote: > >>> On Fri, Dec 08, 2017 at 06:00:47

Re: [PATCH] Coccinelle: Rename the script for a transformation of memory allocations

2018-01-03 Thread Julia Lawall
On Wed, 3 Jan 2018, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 3 Jan 2018 12:43:45 +0100 > > A script for the semantic patch language was extended > in a significant way. > An other file name is more appropriate then to indicate > the provided functionality. Thus rename this f

Re: CONFIG_PAGE_TABLE_ISOLATION=y on x86_64 causes gcc to segfault when building x86_32 binaries

2018-01-03 Thread Thomas Gleixner
On Wed, 3 Jan 2018, Thomas Gleixner wrote: > On Wed, 3 Jan 2018, Lars Wendler wrote: > Thanks for the report. > > > I already had a conversation with Thomas Gleixner about this issue and > > he asked me to post it here. > > > > After upgrading my system to vanilla 4.14.11 kernel with > > CONFIG_P

Re: [PATCH] misc: rtsx: release IRQ during shutdown

2018-01-03 Thread Rafael J. Wysocki
On Tue, Jan 2, 2018 at 9:45 PM, Sinan Kaya wrote: > 'Commit cc27b735ad3a ("PCI/portdrv: Turn off PCIe services during > shutdown")' revealed a resource leak in rtsx_pci driver during shutdown. > > Issue shows up as a warning during the shutdown step as follows: > > remove_proc_entry: removing non-

Re: [v3 PATCH 2/3] powernv-cpufreq: Fix pstate_to_idx() to handle non-continguous pstates

2018-01-03 Thread Rafael J. Wysocki
On Monday, December 18, 2017 9:38:20 AM CET Gautham R Shenoy wrote: > Hi Balbir, > > On Sun, Dec 17, 2017 at 02:15:25PM +1100, Balbir Singh wrote: > > On Wed, Dec 13, 2017 at 5:57 PM, Gautham R. Shenoy > > wrote: > > > From: "Gautham R. Shenoy" > > > > > > The code in powernv-cpufreq, makes the

Applied "ASoC: mediatek: fix error handling in mt2701_afe_pcm_dev_probe()" to the asoc tree

2018-01-03 Thread Mark Brown
The patch ASoC: mediatek: fix error handling in mt2701_afe_pcm_dev_probe() has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH] exec: Weaken dumpability for secureexec

2018-01-03 Thread Tom Horsley
On Wed, 3 Jan 2018 01:04:44 -0600 Serge E. Hallyn wrote: > > This weakens dumpability back to checking only for uid/gid changes in > > current (which is useless), but userspace depends on dumpability not > > being tied to secureexec. > > > > https://bugzilla.redhat.com/show_bug.cgi?id=1528633 > >

Applied "regulator: sc2731: Fix defines for SC2731_WR_UNLOCK and SC2731_PWR_WR_PROT_VALUE" to the regulator tree

2018-01-03 Thread Mark Brown
The patch regulator: sc2731: Fix defines for SC2731_WR_UNLOCK and SC2731_PWR_WR_PROT_VALUE has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usual

Re: Coccinelle: Rename the script for a transformation of memory allocations

2018-01-03 Thread SF Markus Elfring
>> rename from scripts/coccinelle/api/alloc/kzalloc-simple.cocci >> rename to scripts/coccinelle/api/alloc/use zalloc functions with extra >> changes.cocci > > NACK. It seems that we need a few more tries to achieve the desired consensus. > The name is too long How would you like to express t

Re: [PATCH v5 2/2] PCI: mediatek: Set up class type and vendor ID for MT7622

2018-01-03 Thread Lorenzo Pieralisi
On Wed, Jan 03, 2018 at 02:39:04PM +0800, Honghui Zhang wrote: > On Tue, 2018-01-02 at 10:56 +, Lorenzo Pieralisi wrote: > > On Thu, Dec 28, 2017 at 09:39:12AM +0800, Honghui Zhang wrote: > > > On Wed, 2017-12-27 at 12:45 -0600, Bjorn Helgaas wrote: > > > > On Wed, Dec 27, 2017 at 08:59:54AM +0

Applied "spi: sirf: account for const type of of_device_id.data" to the spi tree

2018-01-03 Thread Mark Brown
The patch spi: sirf: account for const type of of_device_id.data has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and s

Re: Coccinelle: Rename the script for a transformation of memory allocations

2018-01-03 Thread Julia Lawall
On Wed, 3 Jan 2018, SF Markus Elfring wrote: > >> rename from scripts/coccinelle/api/alloc/kzalloc-simple.cocci > >> rename to scripts/coccinelle/api/alloc/use zalloc functions with extra > >> changes.cocci > > > > NACK. > > It seems that we need a few more tries to achieve the desired consensu

Re: [PATCH v6 1/6] can: dev: Add support for limiting configured bitrate

2018-01-03 Thread Faiz Abbas
Hi Marc, On Tuesday 02 January 2018 06:30 PM, Marc Kleine-Budde wrote: > On 12/22/2017 02:31 PM, Faiz Abbas wrote: >> From: Franklin S Cooper Jr >> >> Various CAN or CAN-FD IP may be able to run at a faster rate than >> what the transceiver the CAN node is connected to. This can lead to >> unexpe

Re: [PATCH 04/12] PCI: qcom: account for const type of of_device_id.data

2018-01-03 Thread Lorenzo Pieralisi
On Tue, Jan 02, 2018 at 02:28:00PM +0100, Julia Lawall wrote: > This driver creates various const structures that it stores in the > data field of an of_device_id array. > > Adding const to the declaration of the location that receives the > const value from the data field ensures that the compile

Re: objtool segfault with ORC unwinder enabled

2018-01-03 Thread Markus
On Wed, Jan 03, 2018 at 12:19:41 CET Greg Kroah-Hartman wrote: > On Wed, Jan 03, 2018 at 11:49:08AM +0100, Markus wrote: > > Hello! > > > > ORC unwinder is enabled in stable for wider testing but still at least one > > bug is open: > > https://bugzilla.kernel.org/show_bug.cgi?id=197035 > > Random

Applied "spi: spi-fsl-dspi: account for const type of of_device_id.data" to the spi tree

2018-01-03 Thread Mark Brown
The patch spi: spi-fsl-dspi: account for const type of of_device_id.data has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Applied "spi: sirf: account for const type of of_device_id.data" to the spi tree

2018-01-03 Thread Mark Brown
The patch spi: sirf: account for const type of of_device_id.data has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and s

Re: [RFC PATCH 2/5] perf jevents: add support for arch recommended events

2018-01-03 Thread John Garry
On 02/01/2018 17:48, Andi Kleen wrote: Can you describe how you autogenerate the JSONs? Do you have some internal proprietary HW file format describing events, with files supplied from HW designer, which you can just translate into a JSON? Would the files support deferencing events to improve sca

Re: [PATCH v6 1/6] can: dev: Add support for limiting configured bitrate

2018-01-03 Thread Faiz Abbas
Hi, On Tuesday 02 January 2018 09:45 PM, Marc Kleine-Budde wrote: > On 12/22/2017 02:31 PM, Faiz Abbas wrote: >> From: Franklin S Cooper Jr >> >> Various CAN or CAN-FD IP may be able to run at a faster rate than >> what the transceiver the CAN node is connected to. This can lead to >> unexpected

Re: [PATCH 05/12] mfd: mtk-audsys: add MediaTek audio subsystem driver

2018-01-03 Thread Ryder Lee
On Tue, 2018-01-02 at 16:31 +, Lee Jones wrote: > On Tue, 02 Jan 2018, Ryder Lee wrote: > > > Add a common driver for the top block of the MediaTek audio subsystem. > > This is a wrapper which manages resources for audio components. > > > > Signed-off-by: Ryder Lee > > diff --git a/drivers/

Re: [PATCH v5] x86/microcode/intel: Blacklist the specific BDW-EP for late loading

2018-01-03 Thread Jia Zhang
80102] >> [cannot apply to tip/x86/core] >> [if your patch is applied to the wrong git tree, please drop us a note to >> help improve the system] >> >> url: >> https://github.com/0day-ci/linux/commits/Jia-Zhang/x86-microcode-intel-Blacklist-the-specific-BDW

[PATCHv1 0/6] GEHC Bx50 Switch Support

2018-01-03 Thread Sebastian Reichel
Hi, This adds support for the internal switch found in GE Healthcare B450v3, B650v3 and B850v3. All devices use a GPIO bitbanged MDIO bus to communicate with the switch and a PCIe based network card for exchanging network data. The cpu network data link requires, that the switch's internal phy int

[PATCHv1 6/6] ARM: dts: imx6q-b450v3: Add switch port configuration

2018-01-03 Thread Sebastian Reichel
This adds support for the Marvell switch and names the network ports according to the labels, that can be found next to the connectors. The switch is connected to the host system using a PCI based network card. The PCI bus configuration has been written using the following information: root@b450v

[PATCHv1 5/6] ARM: dts: imx6q-b650v3: Add switch port configuration

2018-01-03 Thread Sebastian Reichel
This adds support for the Marvell switch and names the network ports according to the labels, that can be found next to the connectors. The switch is connected to the host system using a PCI based network card. The PCI bus configuration has been written using the following information: root@b650v

[PATCHv1 3/6] ARM: dts: imx6q-bx50v3: Add internal switch

2018-01-03 Thread Sebastian Reichel
B850v3, B650v3 and B450v3 all have a GPIO bit banged MDIO bus to communicate with a Marvell switch. On all devices the switch is connected to a PCI based network card, which needs to be referenced by DT, so this also adds the common PCI root node. Signed-off-by: Sebastian Reichel --- arch/arm/bo

[PATCHv1 4/6] ARM: dts: imx6q-b850v3: Add switch port configuration

2018-01-03 Thread Sebastian Reichel
This adds support for the Marvell switch and names the network ports according to the labels, that can be found next to the connectors ("ID", "IX", "ePort 1", "ePort 2"). The switch is connected to the host system using a PCI based network card. The PCI bus configuration has been written using the

Re: [PATCH] rt2x00: Delete an error message for a failed memory allocation in rt2x00queue_allocate()

2018-01-03 Thread Stanislaw Gruszka
On Fri, Dec 29, 2017 at 10:18:14PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 29 Dec 2017 22:11:42 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus E

[PATCHv1 2/6] net: dsa: mv88e6xxx: add 88E6240 DT compatible

2018-01-03 Thread Sebastian Reichel
Add compatible for Marvell 88E6240 switch. Signed-off-by: Sebastian Reichel --- Documentation/devicetree/bindings/net/dsa/marvell.txt | 6 -- drivers/net/dsa/mv88e6xxx/chip.c | 4 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetre

[PATCHv1 1/6] net: dsa: Support internal phy on 'cpu' port

2018-01-03 Thread Sebastian Reichel
This adds support for enabling the internal phy for a 'cpu' port. It has been tested on GE B850v3 and B650v3, which have a built-in MV88E6240 switch connected to a PCIe based network card. Without this patch the link does not come up and no traffic can be routed through the switch. Signed-off-by:

Re: [char-misc-next] mei: me: allow runtime pm for platform with D0i3

2018-01-03 Thread Rafael J. Wysocki
On 1/2/2018 11:01 AM, Tomas Winkler wrote: From the pci power documentation: "The driver itself should not call pm_runtime_allow(), though. Instead, it should let user space or some platform-specific code do that (user space can do it via sysfs as stated above)..." However, the S0ix residency c

Re: [PATCH] misc: rtsx: release IRQ during shutdown

2018-01-03 Thread Sinan Kaya
On 1/3/2018 7:06 AM, Rafael J. Wysocki wrote: >> pci_disable_device(pcidev); >> + free_irq(pcr->irq, (void *)pcr); > Do you need to disable MSI here too? > Makes sense. I'll post V2 in a minute. -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologi

Re: Coccinelle: Rename the script for a transformation of memory allocations

2018-01-03 Thread SF Markus Elfring
>> How would you like to express the provided functionality in a >> “permanent” file name? > > I have not idea what a permanent file name is. Are you used to the selection of permalinks? > The current name could be better without the leading k, > but otherwise I think it is fine. I suggest to

[PATCH V2] mfd: rtsx: release IRQ during shutdown

2018-01-03 Thread Sinan Kaya
'Commit cc27b735ad3a ("PCI/portdrv: Turn off PCIe services during shutdown")' revealed a resource leak in rtsx_pci driver during shutdown. Issue shows up as a warning during shutdown as follows: remove_proc_entry: removing non-empty directory 'irq/17', leaking at least 'rtsx_pci' WARNING: CPU: 0

Re: [PATCH 04/12] PCI: qcom: account for const type of of_device_id.data

2018-01-03 Thread Julia Lawall
On Wed, 3 Jan 2018, Lorenzo Pieralisi wrote: > On Tue, Jan 02, 2018 at 02:28:00PM +0100, Julia Lawall wrote: > > This driver creates various const structures that it stores in the > > data field of an of_device_id array. > > > > Adding const to the declaration of the location that receives the >

Re: [PATCH 04/12] PCI: qcom: account for const type of of_device_id.data

2018-01-03 Thread Stanimir Varbanov
Hi Lorenzo, On 01/03/2018 02:22 PM, Lorenzo Pieralisi wrote: > On Tue, Jan 02, 2018 at 02:28:00PM +0100, Julia Lawall wrote: >> This driver creates various const structures that it stores in the >> data field of an of_device_id array. >> >> Adding const to the declaration of the location that rece

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