[PATCH v2 06/12] ARC: Support more than one PGDIR for KVADDR

2017-06-13 Thread Noam Camus
From: Noam Camus This way FIXMAP can have 2 PTEs per CPU even for NR_CPUS=4096 For the extreme case like in eznps platform We use all gutter between kernel and user. Signed-off-by: Noam Camus --- arch/arc/Kconfig | 11 +++ arch/arc/include/asm/highmem.h |8

Re: [PATCH 07/10] cgroup: implement cgroup v2 thread support

2017-06-13 Thread Tejun Heo
Hello, Waiman. On Mon, Jun 12, 2017 at 11:41:09AM -0400, Waiman Long wrote: > > Internally, in a threaded subtree, each css_set has its ->proc_cset > > pointing to a matching css_set which belongs to the thread root. This > > ensures that thread root level cgroup_subsys_state for all threaded > >

Re: [PATCH 0/2] arm64: fix crash when reading /proc/kcore

2017-06-13 Thread Jiri Olsa
On Tue, Jun 13, 2017 at 09:17:49AM +0200, Ard Biesheuvel wrote: > On 13 June 2017 at 04:00, Tan Xiaojun wrote: > > On 2017/6/9 3:41, Ard Biesheuvel wrote: > >> This is a follow-up to patches from zhonjiang [0] and myself [1] that aim > >> to solve a problem in the kcore code, which gets confused b

Re: [PATCH v2 2/3] mm/page_ref: Ensure page_ref_unfreeze is ordered against prior accesses

2017-06-13 Thread Kirill A. Shutemov
On Tue, Jun 13, 2017 at 11:28:41AM +0100, Will Deacon wrote: > page_ref_freeze and page_ref_unfreeze are designed to be used as a pair, > wrapping a critical section where struct pages can be modified without > having to worry about consistency for a concurrent fast-GUP. > > Whilst page_ref_freeze

[PATCH v2 10/12] ARC: [plat-eznps] Save/Restore extra auxiliary registers

2017-06-13 Thread Noam Camus
From: Noam Camus thread_struct got new field for data plane of eznps platform. This field got place for data plane auxiliary registers and for any extra registers that might be changed in kernel code. We save EFLAGS, and GPA1 auxiliary registers since they may be changed by the new task while us

[PATCH v2 09/12] ARC: [plat-eznps] Update the init sequence of aux regs per cpu.

2017-06-13 Thread Noam Camus
From: Liav Rehana The following commit adds a config that will enable us to distinguish between building the kernel for platforms that have a different set of auxiliary registers for each cpu and platforms that have a shared set of auxiliary registers across every thread in each core. On platform

Re: [RFC PATCH v3 09/11] [media] vimc: Subdevices as modules

2017-06-13 Thread Hans Verkuil
On 06/13/17 15:23, Helen Koike wrote: > Hi Hans, > > On 2017-06-13 03:49 AM, Hans Verkuil wrote: >> On 06/12/2017 10:35 PM, Helen Koike wrote: >>> Hi Hans, >>> >>> Thank you for your review. Please check my comments below >>> >>> On 2017-06-12 07:37 AM, Hans Verkuil wrote: On 06/03/2017 04:58

Re: [PATCH 20/22] scsi: hisi_sas: Add v3 code to support ECC and AXI bus fatal error

2017-06-13 Thread John Garry
On 17/05/2017 13:38, John Garry wrote: On 17/05/2017 13:27, Arnd Bergmann wrote: On Wed, May 17, 2017 at 12:49 PM, John Garry wrote: > From: Xiang Chen > > For ECC 1bit error, logic can recover it, so we only print a warning. > For ECC multi-bit and AXI bus fatal error, we panic. > > Signed-o

Re: [PATCH v3 1/2] dt-bindings: Add bindings for nvidia,tegra186-ccplex-cluster

2017-06-13 Thread Thierry Reding
On Tue, Jun 13, 2017 at 03:47:39PM +0300, Mikko Perttunen wrote: > > > On 13.06.2017 15:46, Mikko Perttunen wrote: > > On 13.06.2017 15:42, Thierry Reding wrote: > > > On Mon, Jun 12, 2017 at 01:23:04PM +0300, Mikko Perttunen wrote: > > > > The Tegra186 CCPLEX_CLUSTER area contains memory-mapped

Re: [PATCH] drm: bridge: synopsys/dw-hdmi: Provide default configuration function for HDMI 2.0 PHY

2017-06-13 Thread Jose Abreu
Hi Laurent, Sorry for the late reply! On 10-06-2017 09:50, Laurent Pinchart wrote: > Hi Jose, > > On Friday 09 Jun 2017 13:53:12 Jose Abreu wrote: >> On 09-06-2017 12:04, Jose Abreu wrote: >>> Currently HDMI 2.0 PHYs do not have a default configuration function. >>> >>> As these PHYs have the s

Re: [RFC v2 1/3] interconnect: Add generic interconnect controller API

2017-06-13 Thread Georgi Djakov
On 06/13/2017 04:42 PM, Greg KH wrote: > On Mon, Jun 12, 2017 at 05:13:57PM +0300, Georgi Djakov wrote: >> This patch introduce a new API to get the requirement and configure the >> interconnect buses across the entire chipset to fit with the current demand. >> >> The API is using a consumer/provid

Re: [PATCH V3] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next online VCPU

2017-06-13 Thread Juergen Gross
On 07/06/17 13:46, Anoob Soman wrote: > A HVM domian booting generates around 200K (evtchn:qemu-dm xen-dyn) > interrupts,in a short period of time. All these evtchn:qemu-dm are bound > to VCPU 0, until irqbalance sees these IRQ and moves it to a different VCPU. > In one configuration, irqbalance ru

Re: [PATCH 0/5] xen/pvh*: Support > 32 VCPUs at restore

2017-06-13 Thread Juergen Gross
On 03/06/17 02:05, Ankur Arora wrote: > This patch series fixes a bunch of issues in the xen_vcpu setup > logic. > > Simplify xen_vcpu related code: code refactoring in advance of the > rest of the patch series. > > Support > 32 VCPUs at restore: unify all vcpu restore logic in > xen_vcpu_restore

Re: [PATCH v2 1/2] iopoll: Avoid namespace collision within macros & tidyup

2017-06-13 Thread Geert Uytterhoeven
Hi Ramesh, On Tue, Jun 13, 2017 at 3:33 PM, Ramesh Shanmugasundaram wrote: > Renamed variable "timeout" to "__timeout" to avoid namespace collision. > Tidy up macro arguments with paranthesis. > > Signed-off-by: Ramesh Shanmugasundaram > Thanks for your patches! > --- a/include/linux/iopoll.h

[PATCH-internal 0/2] Make cppc acpi driver aware of pcc subspace ids

2017-06-13 Thread George Cherian
The current cppc acpi driver works with only one pcc subspace id. It maintains and registers only one pcc channel even if the acpi table has different pcc subspace ids. As per ACPI 6.2 spec all PCC registers, for all processors in the same performance domain (as defined by _PSD), must be defin

[PATCH-internal 1/2] mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file

2017-06-13 Thread George Cherian
Move the MAX_PCC_SUBSPACES definition to acpi/pcc.h file. In preparation to add subspace id support for cppc_acpi driver. Signed-off-by: George Cherian --- drivers/mailbox/pcc.c | 1 - include/acpi/pcc.h| 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mailbox/pcc.c

Re: [PATCH][netdev-next] net: hns: make guid hns_dsaf_acpi_dsm_guid static

2017-06-13 Thread Andy Shevchenko
On Tue, 2017-06-13 at 14:03 +0100, Colin King wrote: > From: Colin Ian King > > The guid hns_dsaf_acpi_dsm_guid does not need to be in global > scope, so make it static. > > Cleans up sparse warning: > "symbol 'hns_dsaf_acpi_dsm_guid' was not declared. Should it be > static?" Reviewed-by: Andy

Re: [PATCH-internal 0/2] Make cppc acpi driver aware of pcc subspace ids

2017-06-13 Thread George Cherian
Sorry Ignore this series!!! On 06/13/2017 07:45 PM, George Cherian wrote: The current cppc acpi driver works with only one pcc subspace id. It maintains and registers only one pcc channel even if the acpi table has different pcc subspace ids. As per ACPI 6.2 spec all PCC registers, for all pro

[PATCH 1/2] mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file

2017-06-13 Thread George Cherian
Move the MAX_PCC_SUBSPACES definition to acpi/pcc.h file. In preparation to add subspace id support for cppc_acpi driver. Signed-off-by: George Cherian --- drivers/mailbox/pcc.c | 1 - include/acpi/pcc.h| 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mailbox/pcc.c

[PATCH 0/2] Make cppc acpi driver aware of pcc subspace ids

2017-06-13 Thread George Cherian
The current cppc acpi driver works with only one pcc subspace id. It maintains and registers only one pcc channel even if the acpi table has different pcc subspace ids. As per ACPI 6.2 spec all PCC registers, for all processors in the same performance domain (as defined by _PSD), must be defin

Re: [PATCH-internal 1/2] mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file

2017-06-13 Thread George Cherian
Please ignore this patch the subject had -internal tag Sorry!! Resent the proper one. On 06/13/2017 07:45 PM, George Cherian wrote: Move the MAX_PCC_SUBSPACES definition to acpi/pcc.h file. In preparation to add subspace id support for cppc_acpi driver. Signed-off-by: George Cherian --- dr

Re: [PATCH v6 3/3] PCI: Add tango MSI controller support

2017-06-13 Thread Marc Zyngier
On 13/06/17 15:01, Marc Gonzalez wrote: > The MSI controller in Tango supports 256 message-signaled interrupts, > and a single doorbell address. > > Signed-off-by: Marc Gonzalez > --- > Changes from v5 to v6 > o Rename 'used' bitmap to 'used_msi' > o Rename 'lock' spinlock to 'used_msi_lock' > o

Re: [PATCH v5 1/3] PCI: Add DT binding for tango PCIe controller

2017-06-13 Thread Rob Herring
On Wed, Jun 7, 2017 at 5:34 PM, Mason wrote: > Hello Rob, > > On 07/06/2017 23:29, Rob Herring wrote: >> On Wed, May 31, 2017 at 03:30:26PM +0200, Marc Gonzalez wrote: >>> Binding for the Sigma Designs SMP8759 SoC. >>> >>> Signed-off-by: Marc Gonzalez >>> --- >>> Documentation/devicetree/binding

Re: [PATCHv2 0/5] OMAP4: crypto support

2017-06-13 Thread Sebastian Reichel
Hi, On Tue, Jun 13, 2017 at 04:49:18PM +0300, Tero Kristo wrote: > On 13/06/17 12:28, Sebastian Reichel wrote: > > This adds crypto support for OMAP4, which was missing for some reason. > > This fixes error about missing hwmod on Droid 4. IP-Cores for AES and > > DES are working according to selft

Re: [PATCH linux-next v4 2/4] spi: imx: add selection for iMX53 and iMX6 controller

2017-06-13 Thread Rob Herring
On Tue, Jun 13, 2017 at 12:28 AM, Jiada Wang wrote: > Hello Rob > > > On 06/13/2017 12:53 AM, Rob Herring wrote: >> >> On Thu, Jun 08, 2017 at 02:16:01PM +0900, Jiada Wang wrote: >>> >>> ECSPI contorller for iMX53 and iMX6 has few hardware issues >>> comparing to iMX51. >>> The change add possibil

[PATCH 2/2] ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids

2017-06-13 Thread George Cherian
Based on ACPI 6.2 Section 8.4.7.1.9 If the PCC register space is used, all PCC registers, for all processors in the same performance domain (as defined by _PSD), must be defined to be in the same subspace. Based on Section 14.1 of ACPI specification, it is possible to have a maximum of 256 PCC subs

Re: [PATCH V5 0/2] load_balance() fixes for affinity

2017-06-13 Thread Jeffrey Hugo
On 6/7/2017 1:18 PM, Jeffrey Hugo wrote: Co-authored-by: Austin Christ Signed-off-by: Jeffrey Hugo [V5] -updated comment to explain the "why" behind the redo check -fixed panic triggered from active_load_balance_cpu_stop() [V4] -restricted active cpus mask to the domain span -fixed dst_cpu ma

RE: [char-misc-next 3/3] mei: me: use an index instead of a pointer for private data

2017-06-13 Thread Winkler, Tomas
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, June 13, 2017 16:46 > To: Winkler, Tomas > Cc: Usyskin, Alexander ; linux- > ker...@vger.kernel.org > Subject: Re: [char-misc-next 3/3] mei: me: use an index instead of a pointer > for pr

Re: [PATCH 1/2] regulator: tps65910: check TPS65910_NUM_REGS at build time

2017-06-13 Thread Michał Mirosław
On Tue, Jun 13, 2017 at 07:31:21PM +0530, Keerthy wrote: > On Tuesday 13 June 2017 07:28 PM, Michał Mirosław wrote: > > Missing commit log? [...] Oh, indeed. I'll fix this in a moment. Best Regards, Michał Mirosław

Re: [PATCH] Staging: vc04_services: bcm2835-audio: bcm2835-ctl.c: Fixed alignment to match open parenthesis.

2017-06-13 Thread srishti sharma
On Tue, Jun 13, 2017 at 6:30 PM, Greg KH wrote: > On Sat, Jun 10, 2017 at 02:37:22AM +0530, srishti sharma wrote: >> Fixed alignment so that it matched open parenthesis. >> >> Signed-off-by: srishti sharma >> --- >> drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 2 +- >> 1 file chan

Re: [PATCH v2 0/15] [dt-bindings] [media] Add document file and driver for Sony CXD2880 DVB-T2/T tuner + demodulator

2017-06-13 Thread Mauro Carvalho Chehab
Hi Takiguchi-san, Em Thu, 25 May 2017 15:15:39 +0900 "Takiguchi, Yasunari" escreveu: > Hi, all > > I sent the patch series of Sony CXD2880 DVB-T2/T tuner + demodulator driver > on Apr/14. > Are there any comments, advices and review results for them? Usually, reviewing drivers takes more time

Re: gadgetfs: how to wait for USB device initialization?

2017-06-13 Thread Alan Stern
On Tue, 13 Jun 2017, Andrey Konovalov wrote: > Hi! > > I'm trying to use gadgetfs to fuzz USB device drivers by simply > connecting random devices for now. > > What I want to achieve right now is the following: > > 1. mount gadgetfs > 2. emulate connection of a new USB device > 3. wait for the

Re: [PATCH 1/7] staging: rtl8723bs: wifi_regd.c: put spaces around binary operators

2017-06-13 Thread Dan Carpenter
Kernel style is to have spaces around the operators. This is staging code so we do all the style fixes. We don't always update older drivers but sometimes we do. No one is planning to change those drivers though so I guess the answer is no we're not going to update those unless you are? regards

[PATCH v2 2/2] regulator: tps65910: Allow supply references to the same chip

2017-06-13 Thread Michał Mirosław
This allows for (acyclic) references from tps6591x supplies to its outputs. Signed-off-by: Michał Mirosław --- v2: - no changes drivers/regulator/tps65910-regulator.c | 39 -- 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/drivers/regulator/tps6

[PATCH v2 1/2] regulator: tps65910: check TPS65910_NUM_REGS at build time

2017-06-13 Thread Michał Mirosław
Check TPS65910_NUM_REGS at build time instead of silently registering not all regulators at runtime. Signed-off-by: Michał Mirosław --- v2: - added commit message drivers/regulator/tps65910-regulator.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/

Re: [4.4.70 REGRESSION] Nouveau hangs up at boot

2017-06-13 Thread Luigi Baldoni
Sent: Tuesday, June 13, 2017 at 3:32 PM From: "Takashi Iwai" > Subject: Re: [4.4.70 REGRESSION] Nouveau hangs up at boot > > On Tue, 13 Jun 2017 08:08:17 +0200, > Takashi Iwai wrote: > > > > On Tue, 13 Jun 2017 00:40:26 +0200, > > Ben Skeggs wrote: > > > > > > On 06/10/2017 06:25 AM, Takashi Iwa

Re: [PATCH 1/4] dt-bindings: tps65217: Update binding documentation.

2017-06-13 Thread Rob Herring
On Fri, Jun 9, 2017 at 5:30 PM, Enric Balletbo Serra wrote: > Hello Rob, > > 2017-06-09 16:03 GMT+02:00 Rob Herring : >> On Wed, Jun 07, 2017 at 12:32:39PM +0200, Enric Balletbo i Serra wrote: >>> This patch adds a new binding documentation for the TPS65217 MFD and >>> updates the documentation fo

Re: [PATCHv2 0/5] OMAP4: crypto support

2017-06-13 Thread Tero Kristo
On 13/06/17 17:24, Sebastian Reichel wrote: Hi, On Tue, Jun 13, 2017 at 04:49:18PM +0300, Tero Kristo wrote: On 13/06/17 12:28, Sebastian Reichel wrote: This adds crypto support for OMAP4, which was missing for some reason. This fixes error about missing hwmod on Droid 4. IP-Cores for AES and

Re: [PATCH v6 3/3] PCI: Add tango MSI controller support

2017-06-13 Thread Marc Gonzalez
On 13/06/2017 16:22, Marc Zyngier wrote: > On 13/06/17 15:01, Marc Gonzalez wrote: >> The MSI controller in Tango supports 256 message-signaled interrupts, >> and a single doorbell address. >> >> Signed-off-by: Marc Gonzalez >> --- >> Changes from v5 to v6 >> o Rename 'used' bitmap to 'used_msi' >

Re: [RFC PATCH v2 1/2] kernel/events: Add option to notify through signals on wakeup

2017-06-13 Thread Jiri Olsa
On Tue, Jun 13, 2017 at 05:03:42PM +0530, Naveen N. Rao wrote: SNIP > diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h > index b1c0b187acfe..e5810b1d74a4 100644 > --- a/include/uapi/linux/perf_event.h > +++ b/include/uapi/linux/perf_event.h > @@ -345,7 +345,8 @@ stru

Re: [PATCH v9 1/5] firmware: add extensible driver data params

2017-06-13 Thread Rafał Miłecki
On 06/13/2017 03:17 PM, Greg KH wrote: On Tue, Jun 13, 2017 at 12:31:04PM +0200, Rafał Miłecki wrote: On 2017-06-13 11:05, Greg KH wrote: On Mon, Jun 05, 2017 at 02:39:33PM -0700, Luis R. Rodriguez wrote: As the firmware API evolves we keep extending functions with more arguments. Stop this no

Re: [PATCH] Staging: vc04_services: bcm2835-audio: bcm2835-ctl.c: Fixed alignment to match open parenthesis.

2017-06-13 Thread Dan Carpenter
On Tue, Jun 13, 2017 at 08:07:14PM +0530, srishti sharma wrote: > On Tue, Jun 13, 2017 at 6:30 PM, Greg KH wrote: > > On Sat, Jun 10, 2017 at 02:37:22AM +0530, srishti sharma wrote: > >> Fixed alignment so that it matched open parenthesis. > >> > >> Signed-off-by: srishti sharma > >> --- > >> dr

[GIT PULL for v4.12-rc6] media fixes

2017-06-13 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.12-3 For: - some build dependency issues at CEC core with randconfigs; - fix an off by one error at vb2; - a race fix at cec core; - driver fixes at tc358743, sir_ir and rainsha

[PATCH 2/2] regulator: use consumer->supply_name in debugfs/regulator_summary

2017-06-13 Thread Michał Mirosław
Make it easier to identify regulator consumers when consumer device uses more than one supply. Before: regulator ena use open bypass voltage current min max --- regulator-dummy

RE: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices before scanning

2017-06-13 Thread Gabriele Paoloni
Hi Mika > -Original Message- > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > Sent: 13 June 2017 09:49 > To: Lorenzo Pieralisi > Cc: Gabriele Paoloni; raf...@kernel.org; Rafael J. Wysocki; > catalin.mari...@arm.com; will.dea...@arm.com; robh...@kernel.org; > frowand.l...@

Re: [PATCH 2/2] tty/serial: atmel: make the driver DT only

2017-06-13 Thread Andy Shevchenko
On Tue, Jun 13, 2017 at 4:40 PM, Alexandre Belloni wrote: > Now that AVR32 is gone, platform_data are not used to initialize the driver > anymore, remove that path from the driver. Also remove the now unused > struct atmel_uart_data. Nitpicks, not insisting on them at all, just a side comment. >

[PATCH v2 1/2] regulator: include 'enabled' status in debugfs/regulator_summary

2017-06-13 Thread Michał Mirosław
Extend regulator's info line with enabled/disabled status. Signed-off-by: Michał Mirosław --- v2: - include commit message drivers/regulator/core.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index c0d9a

[PATCH] ipmi: use rcu lock around call to intf->handlers->sender()

2017-06-13 Thread Tony Camuso
A vendor with a system having more than 128 CPUs occasionally encounters a crash during shutdown. This is not an easily reproduceable event, but the vendor was able to provide the following analysis of the crash, which exhibits the same footprint each time. crash> bt PID: 0 TASK: 88017c70

Re: [PATCH] soc/tegra: flowctrl: Fix error handling

2017-06-13 Thread Thierry Reding
On Tue, Apr 11, 2017 at 05:40:41AM +0200, Christophe JAILLET wrote: > It is likely that returning returned by 'devm_ioremap_resource()' is > expected here instead of something related to 'base' which should be a > valid pointer at this point. > > Fixes: 841fd94c43a4 ("soc/tegra: flowctrl: Add basi

[PATCH net-next] of_mdio: move of_mdio_parse_addr to header file

2017-06-13 Thread Jon Mason
The of_mdio_parse_addr() helper function is useful to other code, but the module dependency chain causes issues. To work around this, we can move of_mdio_parse_addr() to be an inline function in the header file. This gets rid of the dependencies and still allows for the reuse of code. Reported-by

[PATCH v2 2/4] dt-bindings: Add Broadcom STB USB PHY binding document

2017-06-13 Thread Al Cooper
From: Al Cooper Add DT bindings document for Broadcom STB USB PHYs Signed-off-by: Al Cooper --- .../bindings/phy/brcm,brcmstb-usb-phy.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.txt

[PATCH v2 4/4] phy: usb: phy-brcm-usb: Add ability to force DRD mode to host or device

2017-06-13 Thread Al Cooper
When the usb phy device mode is set to "drd", the USB port will switch between device and host modes depending on what's plugged into the port. Customers have asked for the ability to force host or device mode from software. This commit adds sysfs entries to the phy device that allow this. The sysf

[PATCH v2 3/4] phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver

2017-06-13 Thread Al Cooper
From: Al Cooper Add a new USB Phy driver for Broadcom STB SoCs. This driver supports Broadcom STB ARM and MIPS SoCs. This driver in combination with the Broadcom STB ohci, ehci and xhci drivers will enable USB1.1, USB2.0 and USB3.0 support. This Phy driver also supports the Broadcom UDC gadget dr

[PATCH v2 0/4] Add Broadcom STB USB phy driver

2017-06-13 Thread Al Cooper
Add a new USB Phy driver for Broadcom STB SoCs. This driver supports Broadcom STB ARM and MIPS SoCs. This driver in combination with the Broadcom STB ohci, ehci and xhci drivers will enable USB1.1, USB2.0 and USB3.0 support. This Phy driver also supports the Broadcom UDC gadget driver. Changes sin

[PATCH v2 1/4] soc: brcmstb: Add Product ID and Family ID helper functions

2017-06-13 Thread Al Cooper
From: Al Cooper Signed-off-by: Al Cooper --- drivers/soc/bcm/brcmstb/common.c| 12 include/linux/soc/brcmstb/brcmstb.h | 10 ++ 2 files changed, 22 insertions(+) diff --git a/drivers/soc/bcm/brcmstb/common.c b/drivers/soc/bcm/brcmstb/common.c index b6195fd..184dbf5 100

[char-misc-next 3/3 V2] mei: me: use an index instead of a pointer for private data

2017-06-13 Thread Tomas Winkler
Device 'new_id' interface is useful for testing of not yet published hardware on older kernels and for internally used device ids on simulation platforms. However currently with the device configuration held in device_id driver data as a pointer to mei_cfg structure it is hard, as one need to locat

Re: [PATCH] aio: Add command to wait completion of all requests

2017-06-13 Thread Benjamin LaHaise
On Fri, Jun 09, 2017 at 12:49:34PM +0300, Kirill Tkhai wrote: > During implementation aio support for Checkpoint-Restore > in Userspace project (CRIU), we found, that current > kernel functionality does not allow to wait for > completion of all submitted requests. Checkpoint software > can't determ

[PATCH v2] regulator: core: Prioritise consumer mappings over regulator name

2017-06-13 Thread Charles Keepax
Currently, when looking up a regulator supply, the regulator name takes priority over the consumer mappings. As there are a lot of regulator names that are in fairly common use (VDD, MICVDD, etc.) this can easily lead to obtaining the wrong supply, when a system contains two regulators that share a

Re: [PATCH] aio: Add command to wait completion of all requests

2017-06-13 Thread Kirill Tkhai
On 13.06.2017 17:42, Benjamin LaHaise wrote: > On Fri, Jun 09, 2017 at 12:49:34PM +0300, Kirill Tkhai wrote: >> During implementation aio support for Checkpoint-Restore >> in Userspace project (CRIU), we found, that current >> kernel functionality does not allow to wait for >> completion of all sub

Re: [RFC PATCH v2 1/2] kernel/events: Add option to notify through signals on wakeup

2017-06-13 Thread Naveen N. Rao
Hi Jiri, On 2017/06/13 04:45PM, Jiri Olsa wrote: > On Tue, Jun 13, 2017 at 05:03:42PM +0530, Naveen N. Rao wrote: > > SNIP > > > diff --git a/include/uapi/linux/perf_event.h > > b/include/uapi/linux/perf_event.h > > index b1c0b187acfe..e5810b1d74a4 100644 > > --- a/include/uapi/linux/perf_event

Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices before scanning

2017-06-13 Thread Mika Westerberg
On Tue, Jun 13, 2017 at 02:38:26PM +, Gabriele Paoloni wrote: > > Is there an example ASL showing how these LPC devices are > > currently presented in ACPI? > > Please find below the asl sketch for our LPC and IPMI > > // > // LPC > // > > Scope(_SB) { > Device (LPC0) { > Name (_HID, "

Re: [PATCH v2] xen/mce: don't issue error message for failed /dev/mcelog registration

2017-06-13 Thread Ingo Molnar
* Juergen Gross wrote: > When running under Xen as dom0 /dev/mcelog is being registered by Xen > instead of the normal mcelog driver. Avoid an error message being > issued by the mcelog driver in this case. Instead issue an informative > message that Xen has registered the device. > > Signed-of

Re: [PATCH net-next 00/13] net: dsa: mv88e6xxx: port macros cosmetics

2017-06-13 Thread David Miller
From: Vivien Didelot Date: Mon, 12 Jun 2017 12:37:32 -0400 > This patch series brings no functional changes. > > It prefixes all common port registers macros with MV88E6XXX_PORT. > If registers or some bits differs between switch models, a reference > model is chosen (e.g. MV88E6390_PORT_MAC_CTL

Re: [PATCH] aio: Add command to wait completion of all requests

2017-06-13 Thread Benjamin LaHaise
On Tue, Jun 13, 2017 at 06:11:03PM +0300, Kirill Tkhai wrote: ... > The functionality, I did, grew from real need and experience. We try to > avoid kernel modification, where it's possible, but the in-flight aio > requests is not a case suitable for that. What you've done only works for *your* use

Re: next/master build: 208 builds: 2 failed, 206 passed, 2 errors, 147 warnings (next-20170613)

2017-06-13 Thread David Miller
From: Arnd Bergmann Date: Tue, 13 Jun 2017 13:59:40 +0200 > On Tue, Jun 13, 2017 at 11:56 AM, kernelci.org bot wrote: >> Warnings summary: >> 127 net/core/dev.c:8330:2: warning: 'remsd' is used uninitialized in this >> function [-Wuninitialized] > > Caused by 773fc8f6e8d6 ("net: rps: send out

Re: [PATCH v9 1/5] firmware: add extensible driver data params

2017-06-13 Thread Luis R. Rodriguez
On Tue, Jun 13, 2017 at 03:17:43PM +0200, Greg KH wrote: > On Tue, Jun 13, 2017 at 12:31:04PM +0200, Rafał Miłecki wrote: > > On 2017-06-13 11:05, Greg KH wrote: > > > On Mon, Jun 05, 2017 at 02:39:33PM -0700, Luis R. Rodriguez wrote: > > > > As the firmware API evolves we keep extending functions

Re: [PATCH] Add printk for bonding module packets_per_slave parameter

2017-06-13 Thread David Miller
From: Michael Dilmore Date: Tue, 13 Jun 2017 14:42:46 +0100 > The packets per slave parameter used by round robin mode does not have a > printk debug > message in its set function in bond_options.c. Adding such a function would > aid debugging > of round-robin mode and allow the user to more ea

Re: [PATCH] ip6_tunnel: Correct tos value in collect_md mode

2017-06-13 Thread Daniel Borkmann
On 06/13/2017 03:31 PM, 严海双 wrote: On 13 Jun 2017, at 5:57 PM, Daniel Borkmann wrote: On 06/13/2017 09:55 AM, Haishuang Yan wrote: Same as ip_gre, geneve and vxlan, use key->tos as tos value. Please also add Fixes tag and Cc original authors. Fixes: 0e9a709560db ("ip6_tunnel, ip6_gre: fix se

Re: [Possible Phish Fraud][PATCH] storvsc: use default I/O timeout handler for FC devices

2017-06-13 Thread Bart Van Assche
On Mon, 2017-06-12 at 17:23 -0700, Long Li wrote: > From: Long Li > > FC disks are usually setup in a multipath system, and they don't want to > unconditionaly reset I/O on timeout. I/O timeout is detected by multipath > as a good time to failover and recover. > > Signed-off-by: Long Li > ---

Re: WMI and Kernel:User interface

2017-06-13 Thread Darren Hart
On Tue, Jun 13, 2017 at 12:05:35AM -0700, Christoph Hellwig wrote: > Hi Darren, > > first - can you please properly trim your replies and don't write > more than 7 characters per line? Sure... (although I think you've done all the necessary pruning for this response). 70 I presume you mean? I usu

Re: [PATCH v2] HID: Replace semaphore driver_lock with mutex

2017-06-13 Thread David Herrmann
Hi On Tue, Jun 13, 2017 at 11:56 AM, Benjamin Tissoires wrote: >> > - struct semaphore driver_lock; /* >> > protects the current driver, except during input */ >> > + struct mutex driver_lock; /* >> > protects t

Re: WMI and Kernel:User interface

2017-06-13 Thread Darren Hart
On Tue, Jun 13, 2017 at 02:07:41PM +0200, Pali Rohár wrote: > On Tuesday 13 June 2017 00:05:35 Christoph Hellwig wrote: > > On Mon, Jun 12, 2017 at 06:24:35PM -0700, Darren Hart wrote: > > > This is a big topic for sure. Speed and scale of platform enabling is > > > something > > > I would like to

Re: [PATCH net] net: phy: Fix MDIO_THUNDER dependencies

2017-06-13 Thread Randy Dunlap
On 06/12/17 17:18, Florian Fainelli wrote: > After commit 90eff9096c01 ("net: phy: Allow splitting MDIO > bus/device support from PHYs") we could create a configuration where > MDIO_DEVICE=y and PHYLIB=m which leads to the following undefined > references: > > drivers/built-in.o: In function `thu

Re: [PATCH v4] Introduce v3 namespaced file capabilities

2017-06-13 Thread Stefan Berger
On 05/08/2017 02:11 PM, Serge E. Hallyn wrote: Root in a non-initial user ns cannot be trusted to write a traditional security.capability xattr. If it were allowed to do so, then any unprivileged user on the host could map his own uid to root in a private namespace, write the xattr, and execute

[PATCH RESEND] i2c: add sc18is600 driver

2017-06-13 Thread Sebastian Reichel
This adds an I²C master driver for SPI -> I²C bus bridge chips. It currently supports NXP's SC18IS600 and SC18IS601, as well as Silicon Labs' CP2120. The driver was only tested on SC18IS600. Acked-by: Rob Herring Signed-off-By: Sebastian Reichel --- Hi, This is identical to the patch [0], that

Re: [PATCH 2/2] drm/vc4: Add get/set tiling ioctls.

2017-06-13 Thread Eric Anholt
Daniel Stone writes: > Hi Eric, > > On 8 June 2017 at 01:13, Eric Anholt wrote: >> This allows mesa to set the tiling format for a BO and have that >> tiling format be respected by mesa on the other side of an >> import/export (and by vc4 scanout in the kernel), without defining a >> protocol to

Re: WMI and Kernel:User interface

2017-06-13 Thread Greg Kroah-Hartman
On Tue, Jun 13, 2017 at 08:38:57AM -0700, Darren Hart wrote: > On Tue, Jun 13, 2017 at 12:05:35AM -0700, Christoph Hellwig wrote: > > Hi Darren, > > > > first - can you please properly trim your replies and don't write > > more than 7 characters per line? > > Sure... (although I think you've done

Re: [PATCH v9 1/5] firmware: add extensible driver data params

2017-06-13 Thread Greg KH
On Tue, Jun 13, 2017 at 05:32:49PM +0200, Luis R. Rodriguez wrote: > On Tue, Jun 13, 2017 at 03:17:43PM +0200, Greg KH wrote: > > On Tue, Jun 13, 2017 at 12:31:04PM +0200, Rafał Miłecki wrote: > > > On 2017-06-13 11:05, Greg KH wrote: > > > > On Mon, Jun 05, 2017 at 02:39:33PM -0700, Luis R. Rodrig

Re: [PATCH v2] X86: don't report PAT on CPUs that don't support it

2017-06-13 Thread Andy Lutomirski
On Tue, Jun 6, 2017 at 4:21 PM, Mikulas Patocka wrote: > > > On Tue, 6 Jun 2017, Andy Lutomirski wrote: > >> On Tue, Jun 6, 2017 at 3:49 PM, Mikulas Patocka wrote: >> > >> > >> > On Sun, 28 May 2017, Andy Lutomirski wrote: >> > >> >> On Sun, May 28, 2017 at 11:18 AM, Bernhard Held wrote: >> >> >

Re: [PATCH v2] perf: libdw support for powerpc [ping]

2017-06-13 Thread Ravi Bangoria
Hi Mark, On Tuesday 13 June 2017 05:14 PM, Mark Wielaard wrote: > I see the same on very short runs. But when doing a slightly longer run, > even just using ls -lahR, which does some more work, then I do see user > backtraces. They are still missing for some of the early samples though. > It is as

Re: WMI and Kernel:User interface

2017-06-13 Thread Andy Lutomirski
On Tue, Jun 13, 2017 at 8:50 AM, Greg Kroah-Hartman wrote: > On Tue, Jun 13, 2017 at 08:38:57AM -0700, Darren Hart wrote: >> On Tue, Jun 13, 2017 at 12:05:35AM -0700, Christoph Hellwig wrote: >> > Hi Darren, >> > >> > first - can you please properly trim your replies and don't write >> > more than

[PATCH] w1: Fix slave count on 1-Wire bus (resend)

2017-06-13 Thread Alex A. Mihaylov
1-Wire bus have very fast algorith for exchange with single slave device. Fix incorrect count of slave devices on connect second slave device. This case on slave device probe() step we need use generic (multislave) functions for read/write device. Signed-off-by: Alex A. Mihaylov --- drivers/w1/w

[PATCH v3 0/2] amd: uncore: Fix for AMD Uncore driver

2017-06-13 Thread Janakarajan Natarajan
The following series provides fixes for the AMD Uncore driver. * Renamed cache counters cpufeatures macro to better reflect different last level cache for different families. * Get correct information about number of cores sharing last level of cache. v2->v3 * Updated patch description and cl

[PATCH v3 2/2] amd: uncore: Get correct number of cores sharing last level cache

2017-06-13 Thread Janakarajan Natarajan
In Family 17h, the number of cores sharing a cache level is obtained from the Cache Properties CPUID leaf (0x801d) by passing in the cache level in ECX. In prior families, a cache level of 2 was used to determine this information. To get the right information, irrespective of Family, iterate o

[PATCH v3 1/2] amd: uncore: Rename cpufeatures macro for cache counters

2017-06-13 Thread Janakarajan Natarajan
In Family 17h, L3 is the last level cache as opposed to L2 in previous families. Avoid this name confusion and rename X86_FEATURE_PERFCTR_L2 to X86_FEATURE_PERFCTR_LLC to indicate the performance counter on the last level of cache. Signed-off-by: Janakarajan Natarajan --- arch/x86/events/amd/unc

Re: [PATCH] x86/mm: Split read_cr3() into read_cr3_pa() and __read_cr3()

2017-06-13 Thread Andy Lutomirski
On Tue, Jun 13, 2017 at 2:26 AM, Borislav Petkov wrote: > On Mon, Jun 12, 2017 at 10:26:14AM -0700, Andy Lutomirski wrote: >> The kernel has several code paths that read CR3. Most of them assume that >> CR3 contains the PGD's physical address, whereas some of them awkwardly >> use PHYSICAL_PAGE_M

Re: gadgetfs: how to wait for USB device initialization?

2017-06-13 Thread Tal Shorer
On Tue, Jun 13, 2017 at 3:21 PM, Andrey Konovalov wrote: > Hi! > > I'm trying to use gadgetfs to fuzz USB device drivers by simply > connecting random devices for now. > > What I want to achieve right now is the following: > > 1. mount gadgetfs > 2. emulate connection of a new USB device > 3. wait

Re: WMI and Kernel:User interface

2017-06-13 Thread Greg Kroah-Hartman
On Tue, Jun 13, 2017 at 08:44:19AM -0700, Darren Hart wrote: > > In some cases filter function can be simple in some cases hard. I can > > image that usage of while listing, plus in some cases also filtering > > (when it would be relatively easy to implement). > > See my response to Christoph - to

Re: single-threaded wq lockdep is broken

2017-06-13 Thread Tejun Heo
Hello, Johannes reported that lockdep warning on single threaded workqueues doesn't work anymore. Nothing really changed there and all the relevant lockdep annotaitons are being invoked correctly. The following is the extracted lockdep-only reproducer. The culprit seems to be lock_map_acquire_r

Re: WMI and Kernel:User interface

2017-06-13 Thread Darren Hart
On Tue, Jun 13, 2017 at 02:51:07PM +0200, Pali Rohár wrote: > If function of that WMI method is in Windows world handled by userspace, > it does not mean that in Linux we need to create way how to handle such > thing in userspace -- argument "WMI was designed to access firmware > functions from use

Re: [PATCH 3/4] watchdog: Split up config options

2017-06-13 Thread Nicholas Piggin
On Mon, 12 Jun 2017 16:41:56 -0400 Don Zickus wrote: > On Mon, Jun 12, 2017 at 06:07:39PM +1000, Nicholas Piggin wrote: > > > > This would probably be the right direction to go in, but it will take > > > > slightly more I think. We first need to remove HAVE_NMI_WATCHDOG from > > > > meaning that

RE: WMI and Kernel:User interface

2017-06-13 Thread Mario.Limonciello
> -Original Message- > From: Andy Lutomirski [mailto:l...@kernel.org] > Sent: Tuesday, June 13, 2017 10:57 AM > To: Greg Kroah-Hartman > Cc: Darren Hart ; Christoph Hellwig > ; > Pali Rohár ; Linus Torvalds foundation.org>; Limonciello, Mario ; Andy > Shevchenko ; Rafael Wysocki > ; LKML

Re: [PATCH 4/4] ARM: multi_v7_defconfig: Switch AXP20x driver from module to built-in

2017-06-13 Thread Kevin Hilman
Maxime Ripard writes: > On Tue, Jun 06, 2017 at 12:45:17PM -0700, Kevin Hilman wrote: >> On Mon, May 22, 2017 at 12:44 AM, Maxime Ripard >> wrote: >> > Hi Kevin, >> > >> > On Thu, May 18, 2017 at 11:59:50AM -0700, Kevin Hilman wrote: >> >> On Fri, Mar 17, 2017 at 10:39 AM, Kevin Hilman >> >> w

Re: [PATCH v2] xen/mce: don't issue error message for failed /dev/mcelog registration

2017-06-13 Thread Juergen Gross
On 13/06/17 17:20, Ingo Molnar wrote: > > * Juergen Gross wrote: > >> When running under Xen as dom0 /dev/mcelog is being registered by Xen >> instead of the normal mcelog driver. Avoid an error message being >> issued by the mcelog driver in this case. Instead issue an informative >> message th

Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8

2017-06-13 Thread Logan Gunthorpe
On 13/06/17 05:48 AM, Alan Cox wrote: > If you dump the list of majors and drivers do they all look valid or is > there any corruption or repetition that looks odd (wondering if we've > got too many devices or a leak) ? They look valid to me. Logan Character devices: 1 mem 4 /dev/vc/0 4

Re: [PATCH] aio: Add command to wait completion of all requests

2017-06-13 Thread Kirill Tkhai
On 13.06.2017 18:26, Benjamin LaHaise wrote: > On Tue, Jun 13, 2017 at 06:11:03PM +0300, Kirill Tkhai wrote: > ... >> The functionality, I did, grew from real need and experience. We try to >> avoid kernel modification, where it's possible, but the in-flight aio >> requests is not a case suitable f

Re: [PATCH] x86/mm: Split read_cr3() into read_cr3_pa() and __read_cr3()

2017-06-13 Thread Borislav Petkov
On Tue, Jun 13, 2017 at 09:00:01AM -0700, Andy Lutomirski wrote: > 1. Make sure that every read_cr3() instance got converted. I didn't > want a mid-air collision with someone else's patch in which it would > appear to apply and compile but the result would randomly fail on PCID > systems. Right.

Re: [PATCH] Add printk for bonding module packets_per_slave parameter

2017-06-13 Thread Joe Perches
On Tue, 2017-06-13 at 11:34 -0400, David Miller wrote: > From: Michael Dilmore > Date: Tue, 13 Jun 2017 14:42:46 +0100 > > > The packets per slave parameter used by round robin mode does not have a > > printk debug > > message in its set function in bond_options.c. Adding such a function would

Re: WMI and Kernel:User interface

2017-06-13 Thread Darren Hart
On Tue, Jun 13, 2017 at 05:50:00PM +0200, Greg Kroah-Hartman wrote: > > The patch is trivial, but the process is time consuming. Two to Three > > months to see an ID added and released is big blocker for contemporary > > life cycles. > > Wait, what? Please explain. > > Yes, it could take worse c

Re: gadgetfs: how to wait for USB device initialization?

2017-06-13 Thread Tal Shorer
On Tue, Jun 13, 2017 at 7:02 PM, Tal Shorer wrote: > On Tue, Jun 13, 2017 at 3:21 PM, Andrey Konovalov > wrote: >> Hi! >> >> I'm trying to use gadgetfs to fuzz USB device drivers by simply >> connecting random devices for now. >> >> What I want to achieve right now is the following: >> >> 1. mou

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