Re: [PATCH 04/40] proc: introduce proc_create_seq{,_data}

2018-05-15 Thread Christoph Hellwig
On Mon, Apr 30, 2018 at 02:19:25PM +0100, David Howells wrote: > Christoph Hellwig wrote: > > > + > > +struct proc_dir_entry *proc_create_seq_data(const char *name, umode_t mode, > > + struct proc_dir_entry *parent, const struct seq_operations *ops, > > + void

[PATCH v2 1/5] media: cec-notifier: Get notifier by device and connector name

2018-05-15 Thread Neil Armstrong
In non device-tree world, we can need to get the notifier by the driver name directly and eventually defer probe if not yet created. This patch adds a variant of the get function by using the device name instead and will not create a notifier if not yet created. But the i915 driver exposes at

[PATCH v2 0/5] Add ChromeOS EC CEC Support

2018-05-15 Thread Neil Armstrong
Hi All, The new Google "Fizz" Intel-based ChromeOS device is gaining CEC support through it's Embedded Controller, to enable the Linux CEC Core to communicate with it and get the CEC Physical Address from the correct HDMI Connector, the following must be added/changed: - Add the CEC sub-device

[PATCH v2 1/4] bindings: PCI: designware: Example update

2018-05-15 Thread Gustavo Pimentel
Replace "ctrlreg" reg-name by "dbi" to be coherent with similar drivers, however it still be compatible with any previous DT that uses the old reg-name. Replace the PCIe base address example by a real PCIe base address in use. Signed-off-by: Gustavo Pimentel

[PATCH v2 3/4] bindings: PCI: designware: Add support for EP in DesignWare driver

2018-05-15 Thread Gustavo Pimentel
Add device tree binding documentation for the EP in PCIe DesignWare driver. Signed-off-by: Gustavo Pimentel Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/pci/designware-pcie.txt | 12 1 file changed, 12 insertions(+)

Re: [PATCH v5 11/13] mm: Iterate only over charged shrinkers during memcg shrink_slab()

2018-05-15 Thread Kirill Tkhai
On 15.05.2018 08:44, Vladimir Davydov wrote: > On Thu, May 10, 2018 at 12:53:55PM +0300, Kirill Tkhai wrote: >> Using the preparations made in previous patches, in case of memcg >> shrink, we may avoid shrinkers, which are not set in memcg's shrinkers >> bitmap. To do that, we separate iterations

Re: [PATCH 3/3] arm64: dts: renesas: r8a7795: add ccree binding

2018-05-15 Thread Geert Uytterhoeven
Hi Gilad, On Tue, May 15, 2018 at 2:29 PM, Gilad Ben-Yossef wrote: > Add bindings for CryptoCell instance in the SoC. > > Signed-off-by: Gilad Ben-Yossef Thanks for your patch! > --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi > +++

[PATCH] iio: adc: stm32-dfsdm: include stm32-dfsdm-adc.h

2018-05-15 Thread Fabrice Gasnier
Fix the following sparse warnings: CHECK drivers/iio/adc/stm32-dfsdm-adc.c symbol 'stm32_dfsdm_get_buff_cb' was not declared. Should it be static? symbol 'stm32_dfsdm_release_buff_cb' was not declared. Should it be static? BTW, move interrupt.h to sort headers alphabetically. Signed-off-by:

Re: [PATCH] iio: adc: stm32-dfsdm: Add support for stm32mp1

2018-05-15 Thread Fabrice Gasnier
On 05/12/2018 11:33 AM, Jonathan Cameron wrote: > On Mon, 7 May 2018 15:51:51 -0500 > Rob Herring wrote: > >> On Wed, May 02, 2018 at 03:05:23PM +0200, Fabrice Gasnier wrote: >>> Add support for DFSDM (Digital Filter For Sigma Delta Modulators) >>> to STM32MP1. This variant is

Re: [PATCH v2 2/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-15 Thread Hans Verkuil
On 05/15/2018 04:42 PM, Neil Armstrong wrote: > This patchs adds the cec_notifier feature to the intel_hdmi part > of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate > between each HDMI ports. > The changes will allow the i915 HDMI code to notify EDID and HPD changes > to

Re: [PATCH v3 6/6] tty/serial: atmel: changed the driver to work under at91-usart mfd

2018-05-15 Thread Richard Genoud
On 15/05/2018 14:47, Radu Pirea wrote: > On Mon, 2018-05-14 at 12:57 +0200, Richard Genoud wrote: >> After your patch, the DMA is not selected anymore: >> atmel_usart_serial atmel_usart_serial.0.auto: TX channel not >> available, switch to pio >> instead of: >> atmel_usart f200.serial: using

Re: [PATCH 1/4] amba: Export amba_bustype

2018-05-15 Thread Kim Phillips
On Tue, 15 May 2018 08:59:02 +0200 Ulf Hansson wrote: > On 8 May 2018 at 21:06, Kim Phillips wrote: > > This patch is provided in the context of allowing the Coresight driver > > subsystem to be loaded as modules. Coresight uses amba_bus in its

Re: [PATCH 0/2] support kdump for AMD secure memory encryption(sme)

2018-05-15 Thread Tom Lendacky
On 5/14/2018 8:51 PM, Lianbo Jiang wrote: > It is convenient to remap the old memory encrypted to the second kernel by > calling ioremap_encrypted(). > > When sme enabled on AMD server, we also need to support kdump. Because > the memory is encrypted in the first kernel, we will remap the old

Re: [RFC PATCH 00/11] prctl: Modernise wiring for optional prctl() calls

2018-05-15 Thread Dave Martin
On Mon, May 14, 2018 at 07:28:11PM +0100, Kees Cook wrote: > On Mon, May 14, 2018 at 10:14 AM, Dave Martin wrote: > > [Reviewer note: this is a cross-arch series. To reduce spam, I have > > tried not to Cc people on patches they aren't likely to care about. > > The complete

Re: [PATCH v4 2/3] random: Return nbytes filled from hw RNG

2018-05-15 Thread Steven Rostedt
On Tue, 15 May 2018 13:06:25 +1000 "Tobin C. Harding" wrote: > Currently the function get_random_bytes_arch() has return value 'void'. > If the hw RNG fails we currently fall back to using get_random_bytes(). > This defeats the purpose of requesting random material from the hw RNG

Re: [PATCH 1/4] amba: Export amba_bustype

2018-05-15 Thread Russell King - ARM Linux
On Tue, May 15, 2018 at 08:59:02AM +0200, Ulf Hansson wrote: > On 8 May 2018 at 21:06, Kim Phillips wrote: > > This patch is provided in the context of allowing the Coresight driver > > subsystem to be loaded as modules. Coresight uses amba_bus in its call > > to

[PATCH v3 1/3] driver-core: return EINVAL error instead of BUG_ON()

2018-05-15 Thread Florian Schmaus
I triggerd the BUG_ON() in driver_register() when booting a domU Xen domain. Since there was no contextual information logged, I needed to attach kgdb to determine the culprit (the wmi-bmof driver in my case). The BUG_ON() was added in commit f48f3febb2cb ("driver-core: do not register a driver

[PATCH v3 0/3] return EINVAL error instead of BUG_ON()

2018-05-15 Thread Florian Schmaus
This patch series makes driver_register() emit an error message and return a failure code instead of triggering a BUG_ON() I tried to make the error message more descriptive compared to v2 by including the error of the failed bus registration in [3/3]. I'd be happy to include some more context if

[PATCH v3 2/3] driver-core: record error on bus registration

2018-05-15 Thread Florian Schmaus
If bus_register() fails on a driver then record the error code so that it can be inspected later on. Signed-off-by: Florian Schmaus --- drivers/base/bus.c | 2 ++ include/linux/device.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/base/bus.c

Re: [PATCH 06/40] proc: introduce proc_create_single{,_data}

2018-05-15 Thread Christoph Hellwig
On Thu, Apr 26, 2018 at 11:45:50AM +1000, Finn Thain wrote: > > > > -/* > > - * /proc/nubus stuff > > - */ > > - > > I don't think that the introduction of proc_create_single{,_data} alters > the value of that comment. That comment and similar comments in the same > file do have a purpose,

Re: [RFC PATCH v2 2/2] locking/percpu-rwsem: Mark rwsem as non-spinnable in percpu_rwsem_release()

2018-05-15 Thread Matthew Wilcox
On Tue, May 15, 2018 at 09:57:44AM -0400, Waiman Long wrote: > > Afaict the whole .owner=NULL thing in release already stops the spinners > > dead, and the above 'fixes' the debug splat. And this avoids exposing > > that horrible interface and keeps the mucking private to > > rwsem/percpu_rwsem. >

[PATCH] vsprintf: Fix memory barriers of ptr_key to have_filed_random_ptr_key

2018-05-15 Thread Steven Rostedt
From: Steven Rostedt (VMware) Reviewing Tobin's patches for getting pointers out early before entropy has been established, I noticed that there's a lone smp_mb() in the code. As with most lone memory barriers, this one appears to be incorrectly used. We currently

Re: [PATCH 2/3] x86/mm: add TLB purge to free pmd/pte page interfaces

2018-05-15 Thread Joerg Roedel
On Mon, Apr 30, 2018 at 11:59:24AM -0600, Toshi Kani wrote: > int pud_free_pmd_page(pud_t *pud, unsigned long addr) > { > - pmd_t *pmd; > + pmd_t *pmd, *pmd_sv; > + pte_t *pte; > int i; > > if (pud_none(*pud)) > return 1; > > pmd = (pmd_t

Re: [PATCH v2 0/9] iommu/vt-d: Improve PASID id and table management

2018-05-15 Thread Joerg Roedel
On Fri, May 04, 2018 at 09:41:15AM +0800, Lu Baolu wrote: > PATCH 4~9 implement per domain PASID table. Current per IOMMU > PASID table implementation is insecure in the cases where > multiple devices under one single IOMMU unit support PASID > feature. With per domain PASID table, we can achieve

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-15 Thread Boaz Harrosh
On 15/05/18 16:50, Matthew Wilcox wrote: > On Tue, May 15, 2018 at 04:29:22PM +0300, Boaz Harrosh wrote: >> On 15/05/18 15:03, Matthew Wilcox wrote: >>> You're getting dangerously close to admitting that the entire point >>> of this exercise is so that you can link non-GPL NetApp code into the >>>

Re: [PATCH v5 05/13] s390: vfio-ap: register matrix device with VFIO mdev framework

2018-05-15 Thread Pierre Morel
On 14/05/2018 21:42, Tony Krowiak wrote: On 05/11/2018 01:18 PM, Halil Pasic wrote: On 05/07/2018 05:11 PM, Tony Krowiak wrote: Registers the matrix device created by the VFIO AP device driver with the VFIO mediated device framework. Registering the matrix device will create the sysfs

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-15 Thread Peter Zijlstra
On Tue, May 15, 2018 at 02:54:29PM +0300, Boaz Harrosh wrote: > At the beginning I was wishful thinking that the mm_cpumask(vma->vm_mm) > should have a single bit set just as the affinity of the thread on > creation of that thread. But then I saw that at %80 of the times some > other random bits

Re: [PATCH 01/11] media: tm6000: fix potential Spectre variant 1

2018-05-15 Thread Dan Carpenter
On Tue, May 15, 2018 at 08:59:53AM -0300, Mauro Carvalho Chehab wrote: > Em Mon, 14 May 2018 22:31:37 -0500 > "Gustavo A. R. Silva" escreveu: > > > Hi Mauro, > > > > On 04/26/2018 06:42 PM, Mauro Carvalho Chehab wrote: > > > > >> > > >> I noticed you changed the status

[patch v21 2/4] drivers: jtag: Add Aspeed SoC 24xx and 25xx families JTAG master driver

2018-05-15 Thread Oleksandr Shamray
Driver adds support of Aspeed 2500/2400 series SOC JTAG master controller. Driver implements the following jtag ops: - freq_get; - freq_set; - status_get; - idle; - xfer; It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by:

Re: [PATCH 0/4] Add DesignWare EP support

2018-05-15 Thread Joao Pinto
Hi Gustavo, Às 8:13 AM de 5/15/2018, Gustavo Pimentel escreveu: > The PCIe controller dual mode is capable of operating in RC mode as well > as EP mode by configuration option. Till now only RC mode was supported, > with this patch is add EP support to the DesignWare driver. > > Gustavo Pimentel

Re: [PATCH v3 0/2] iommu/vt-d: Fix mapping PSI missing for iommu_map()

2018-05-15 Thread Joerg Roedel
On Fri, May 04, 2018 at 10:34:51AM +0800, Peter Xu wrote: > Peter Xu (2): > iommu/vt-d: Introduce __mapping_notify_one() > iommu/vt-d: Fix iotlb psi missing for mappings > > drivers/iommu/intel-iommu.c | 65 ++--- > 1 file changed, 46 insertions(+), 19

Re: [PATCH 6/6] infiniband: qplib_fp: Use dev_fmt

2018-05-15 Thread Doug Ledford
On Wed, 2018-05-09 at 08:15 -0700, Joe Perches wrote: > Convert the embedded dev_ uses to use the new dev_fmt > prefix and remove the prefix from the formats. > > Miscellanea: > > o Add missing terminating newlines to avoid possible interleaving > o Realign arguments > > Signed-off-by: Joe

Re: [PATCH v8 0/5] clk: meson-axg: Add AO Cloclk and Reset driver

2018-05-15 Thread Jerome Brunet
On Thu, 2018-05-03 at 21:26 +0800, Yixun Lan wrote: > This patch try to add AO clock and Reset driver for Amlogic's > Meson-AXG SoC. > > patch 1: factor the common code into a dedicated file > patch 2-4: add the aoclk driver for AXG SoC > patch 5: drop unnecessary clock flags > > changes

[PATCH v4 0/3] ARM: dts: tegra: Add 256 MB Colibri-T20 and cleanups

2018-05-15 Thread Krzysztof Kozlowski
Hi, Changes since v3: 1. Patch 3/3: Just reduce the memory of existing DTSI (suggested by Marcel). Best regards, Krzysztof Krzysztof Kozlowski (3): ARM: dts: tegra: Remove skeleton.dtsi and fix DTC warnings for /memory ARM: dts: tegra: Fix unit_address_vs_reg and

[PATCH v4 2/3] ARM: dts: tegra: Fix unit_address_vs_reg and avoid_unnecessary_addr_size DTC warnings

2018-05-15 Thread Krzysztof Kozlowski
Remove unneeded address/size cells properties and unit addresses to fix DTC warnings like: arch/arm/boot/dts/tegra30-apalis-eval.dtb: Warning (unit_address_vs_reg): /i2c@7000d000/stmpe811@41/stmpe_touchscreen@0: node has a unit name, but no reg property

Re: WARNING in arch_uprobe_analyze_insn

2018-05-15 Thread Masami Hiramatsu
On Tue, 15 May 2018 15:36:30 +0200 Oleg Nesterov wrote: > On 05/14, syzbot wrote: > > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:66e1c94db3cd Merge branch 'x86-pti-for-linus' of git://git.. > > git tree: upstream > > console output:

Re: [PATCH 3/3] sched/fair: schedutil: explicit update only when required

2018-05-15 Thread Patrick Bellasi
On 15-May 12:19, Vincent Guittot wrote: > On 14 May 2018 at 18:32, Patrick Bellasi wrote: > > On 12-May 23:25, Joel Fernandes wrote: > >> On Sat, May 12, 2018 at 11:04:43PM -0700, Joel Fernandes wrote: > >> > On Thu, May 10, 2018 at 04:05:53PM +0100, Patrick Bellasi

Re: [PATCH 4/4] staging: lustre: obdclass: change object lookup to no wait mode

2018-05-15 Thread James Simmons
> > /* > > * Allocate new object. This may result in rather complicated > > * operations, including fld queries, inode loading, etc. > > */ > > o = lu_object_alloc(env, dev, f, conf); > > - if (IS_ERR(o)) > > + if (unlikely(IS_ERR(o))) > > return o; > > >

Re: [PATCH v2] apparmor: secid: fix error return value in error handling path

2018-05-15 Thread Gustavo A. R. Silva
Hi Colin, Sorry for the late response. I've been on the road for the last 12 days and I'm just back. On 05/04/2018 09:36 AM, Colin Ian King wrote: Hi Gustavo, if you are using the coverity scan bug tracking, please can you mark a bug as being worked on by yourself so I don't work on it at

Re: MMC performance degradation due to too many requests

2018-05-15 Thread Faiz Abbas
Hi Linus, On Tuesday 15 May 2018 06:09 PM, Linus Walleij wrote: > On Mon, May 14, 2018 at 1:30 PM, Faiz Abbas wrote: > >> Also, I see many times the number of interrupts for mmc1 in 4.14. > (...) >> I also printed out the size of the DMA transfers in the omap_hsmmc >> driver

Re: [PATCH v3 1/3] driver-core: return EINVAL error instead of BUG_ON()

2018-05-15 Thread Greg Kroah-Hartman
On Tue, May 15, 2018 at 05:10:35PM +0200, Greg Kroah-Hartman wrote: > On Tue, May 15, 2018 at 03:51:12PM +0200, Florian Schmaus wrote: > > I triggerd the BUG_ON() in driver_register() when booting a domU Xen > > domain. Since there was no contextual information logged, I needed to > > attach kgdb

Re: [PATCH 2/3] proc: Add a way to make network proc files writable

2018-05-15 Thread Christoph Hellwig
On Tue, May 01, 2018 at 12:20:33AM +0100, David Howells wrote: > Provide two extra functions, proc_create_net_data_write() and > proc_create_net_single_write() that act like their non-write versions but > also set a write method in the proc_dir_entry struct. > > An internal simple write function

Re: [PATCH v10 03/27] clk: davinci: psc: allow for dev == NULL

2018-05-15 Thread Sekhar Nori
On Wednesday 09 May 2018 10:55 PM, David Lechner wrote: > @@ -261,10 +263,14 @@ davinci_lpsc_clk_register(struct device *dev, const > char *name, > lpsc->pd = pd; > lpsc->flags = flags; > > - ret = devm_clk_hw_register(dev, >hw); > + ret = clk_hw_register(dev, >hw); >

Re: [PATCH v4 6/8] PCI: Rework of_pci_get_host_bridge_resources() to devm_of_pci_get_host_bridge_resources()

2018-05-15 Thread Joao Pinto
Hi Jan, Às 10:07 AM de 5/15/2018, Jan Kiszka escreveu: > From: Jan Kiszka > > of_pci_get_host_bridge_resources() allocates the resource structures it > fills dynamically, but none of its callers care to release them so far. > Rather than requiring everyone to do this

'Adding' a writable proc file under /proc/net/afs/ [was [PATCH 3/3] afs: Implement namespacing]

2018-05-15 Thread David Howells
Christoph Hellwig wrote: > So the real question here is why afs needs a write callback as the first > user of /proc/net ever in a day and time were we've deprecated adding > new proc files. This is a discussion that should be had with linux-fsdevel > and netdev in Cc.

usbutils 010 release

2018-05-15 Thread Greg KH
Hey, a new version of usbutils? It's not October, what's happening? Yes, I'm breaking with the "normal" slow release schedule of a new usbutils release every year or so with a new release today. The 010 release is now out at kernel.org and github. There's been a number of new descriptors that

Re: [PATCH 1/2] add a function(ioremap_encrypted) for kdump when AMD sme enabled.

2018-05-15 Thread Tom Lendacky
On 5/14/2018 8:51 PM, Lianbo Jiang wrote: > It is convenient to remap the old memory encrypted to the second kernel > by calling ioremap_encrypted(). > > Signed-off-by: Lianbo Jiang > --- > arch/x86/include/asm/io.h | 2 ++ > arch/x86/mm/ioremap.c | 25

Re: [PATCH 0/4] iommu/vt-d: Several cleanup patches

2018-05-15 Thread Joerg Roedel
On Fri, May 04, 2018 at 01:08:15PM +0800, Lu Baolu wrote: > Lu Baolu (4): > iommu: Clean up the comments for iommu_group_alloc > iommu/vt-d: Clean up unused variable in find_or_alloc_domain > iommu/vt-d: Clean up pasid quirk for pre-production devices > iommu/vt-d: Remove unnecessary

Re: printk feature for syzbot?

2018-05-15 Thread Steven Rostedt
On Tue, 15 May 2018 14:20:42 +0900 Sergey Senozhatsky wrote: > > And no, NMI handlers do not nest. Yes, we deal with nested NMIs, but in > > those cases, we just set a bit as a latch, and return, and when the > > first NMI is complete, it checks that bit and if

[PATCH v2 2/4] PCI: dwc: Add support for EP mode

2018-05-15 Thread Gustavo Pimentel
The PCIe controller dual mode is capable of operating in RC mode as well as EP mode by configuration option. Till now only RC mode was supported, with this patch is add EP support to the DesignWare driver. Add new property on pci_epc structure which allow to configure pci_epf_test driver

[PATCH v4] MIPS: perf: Fix BMIPS5000 system mode counting

2018-05-15 Thread Matt Redfearn
When perf is used in system mode, i.e. specifying a set of CPUs to count (perf -a -C cpu), event->cpu is set to the CPU number on which events should be counted. The current BMIPS500 variation of mipsxx_pmu_enable_event only over sets the counter to count the current CPU, so system mode does not

Re: [PATCH 11/40] ipv6/flowlabel: simplify pid namespace lookup

2018-05-15 Thread Christoph Hellwig
On Sat, May 05, 2018 at 07:37:33AM -0500, Eric W. Biederman wrote: > Christoph Hellwig writes: > > > The shole seq_file sequence already operates under a single RCU lock pair, > > so move the pid namespace lookup into it, and stop grabbing a reference > > and remove all kinds of

Re: [PATCH v2 11/11] docs: fix broken references with multiple hints

2018-05-15 Thread Steven Rostedt
On Wed, 9 May 2018 10:18:54 -0300 Mauro Carvalho Chehab wrote: > diff --git a/Documentation/trace/events.rst b/Documentation/trace/events.rst > index 7b6b1236ec2e..c292117b83a9 100644 > --- a/Documentation/trace/events.rst > +++ b/Documentation/trace/events.rst > @@

Re: [PATCH v5 06/13] KVM: s390: interfaces to manage guest's AP matrix

2018-05-15 Thread Pierre Morel
On 07/05/2018 17:11, Tony Krowiak wrote: Provides interfaces to manage the AP adapters, usage domains and control domains assigned to a KVM guest. The guest's SIE state description has a satellite structure called the Crypto Control Block (CRYCB) containing three bitmask fields identifying the

Re: [PATCH v2 1/5] staging: lustre: llite: add support set_acl method in inode operations

2018-05-15 Thread James Simmons
> On Mon, May 14 2018, James Simmons wrote: > > > From: Dmitry Eremin > > > > Linux kernel v3.14 adds set_acl method to inode operations. > > This patch adds support to Lustre for proper acl management. > > > > Signed-off-by: Dmitry Eremin > >

Re: [PATCH 6/6] infiniband: qplib_fp: Use dev_fmt

2018-05-15 Thread Selvin Xavier
On Tue, May 15, 2018 at 8:10 PM, Doug Ledford wrote: > On Wed, 2018-05-09 at 08:15 -0700, Joe Perches wrote: >> Convert the embedded dev_ uses to use the new dev_fmt >> prefix and remove the prefix from the formats. >> >> Miscellanea: >> >> o Add missing terminating newlines

Re: [PATCH 0/3] Add support to disable sensor groups in P9

2018-05-15 Thread Guenter Roeck
On Thu, Mar 22, 2018 at 04:24:32PM +0530, Shilpasri G Bhat wrote: > This patch series adds support to enable/disable OCC based > inband-sensor groups at runtime. The environmental sensor groups are > managed in HWMON and the remaining platform specific sensor groups are > managed in

Re: [PATCH 1/4] amba: Export amba_bustype

2018-05-15 Thread Mathieu Poirier
On 15 May 2018 at 08:37, Kim Phillips wrote: > On Tue, 15 May 2018 14:48:31 +0100 > Russell King - ARM Linux wrote: > >> On Tue, May 15, 2018 at 08:15:19AM -0500, Kim Phillips wrote: >> > On Tue, 15 May 2018 08:59:02 +0200 >> > Ulf Hansson

Re: [PATCH v2 0/4] Add DesignWare EP support

2018-05-15 Thread Lorenzo Pieralisi
On Tue, May 15, 2018 at 03:41:40PM +0100, Gustavo Pimentel wrote: > Patch set was made against the Lorenzo's pci/dwc branch. > > The PCIe controller dual mode is capable of operating in RC mode as well > as EP mode by configuration option. Till now only RC mode was supported, > with this patch is

Re: [PATCH v3 1/3] driver-core: return EINVAL error instead of BUG_ON()

2018-05-15 Thread Greg Kroah-Hartman
On Tue, May 15, 2018 at 03:51:12PM +0200, Florian Schmaus wrote: > I triggerd the BUG_ON() in driver_register() when booting a domU Xen > domain. Since there was no contextual information logged, I needed to > attach kgdb to determine the culprit (the wmi-bmof driver in my > case). The BUG_ON()

Re: [PATCHv2] arm64: dts: stratix10: Add QSPI support for Stratix10

2018-05-15 Thread Dinh Nguyen
On 05/11/2018 11:10 AM, thor.tha...@linux.intel.com wrote: > From: Thor Thayer > > Add qspi_clock >The qspi_clk frequency is updated by U-Boot before starting Linux. > Add QSPI interface node. > Add QSPI flash memory child node. >Setup the QSPI memory in 2

Re: [PATCH 0/15] x86/split_lock: Enable #AC exception for split locked accesses

2018-05-15 Thread Dave Hansen
On 05/14/2018 11:52 AM, Fenghua Yu wrote: > When executing an atomic instruction, sometimes the data access crosses > the cache line boundary. This causes performance degradation. Intel > introduces mechanism to detect such split lock issue via alignment check > fault. This is still a pretty

Re: [PATCH v5 05/13] s390: vfio-ap: register matrix device with VFIO mdev framework

2018-05-15 Thread Tony Krowiak
On 05/15/2018 10:17 AM, Pierre Morel wrote: On 14/05/2018 21:42, Tony Krowiak wrote: On 05/11/2018 01:18 PM, Halil Pasic wrote: On 05/07/2018 05:11 PM, Tony Krowiak wrote: Registers the matrix device created by the VFIO AP device driver with the VFIO mediated device framework. Registering

[GIT PULL] SCSI fixes for 4.17-rc5

2018-05-15 Thread James Bottomley
Two small driver fixes: aacraid to fix an unknown IU type on task management functions which causes a firmware fault and vmw_pvscsi to change a return code to retry the operation instead of causing an immediate error The patch is available here:

Re: [PATCH v2 1/5] media: cec-notifier: Get notifier by device and connector name

2018-05-15 Thread Hans Verkuil
On 05/15/2018 04:42 PM, Neil Armstrong wrote: > In non device-tree world, we can need to get the notifier by the driver > name directly and eventually defer probe if not yet created. > > This patch adds a variant of the get function by using the device name > instead and will not create a

[PATCH][next] scripts/dtc: fix spelling mistake: "endpont" -> "endpoint"

2018-05-15 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in FAIL message. Signed-off-by: Colin Ian King --- scripts/dtc/checks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dtc/checks.c b/scripts/dtc/checks.c

[PATCH v7 12/14] cpufreq: Add Kryo CPU scaling driver

2018-05-15 Thread Ilia Lin
In Certain QCOM SoCs like apq8096 and msm8996 that have KRYO processors, the CPU ferequencies subset and voltage value of each OPP varies based on the silicon variant in use. Qualcomm Process Voltage Scaling Tables defines the voltage and frequency value based on the msm-id in SMEM and speedbin

[PATCH v7 14/14] dt: qcom: Add qcom-cpufreq-kryo driver configuration

2018-05-15 Thread Ilia Lin
Signed-off-by: Ilia Lin --- arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 2 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 311 +++- 2 files changed, 310 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts

[PATCH v7 13/14] dt-bindings: cpufreq: Document operating-points-v2-kryo-cpu

2018-05-15 Thread Ilia Lin
In Certain Qualcomm Technologies, Inc. SoCs like apq8096 and msm8996 that have KRYO processors, the CPU ferequencies subset and voltage value of each OPP varies based on the silicon variant in use. Qualcomm Technologies, Inc. Process Voltage Scaling Tables defines the voltage and frequency value

[PATCH v7 10/14] dt-bindings: qcom_spmi: Add support for SAW documentation

2018-05-15 Thread Ilia Lin
Add support for SAW controlled regulators. The regulators defined as SAW controlled in the device tree will be controlled through special CPU registers instead of direct SPMI accesses. This is required especially for CPU supply regulators to synchronize with clock scaling and for Automatic Voltage

Re: [PATCH v10 00/27] ARM: davinci: convert to common clock framework​

2018-05-15 Thread Bartosz Golaszewski
2018-05-14 2:40 GMT+02:00 Adam Ford : > On Wed, May 9, 2018 at 12:25 PM, David Lechner wrote: >> This series converts mach-davinci to use the common clock framework. >> >> The series works like this, the first 3 patches fix some issues with the >> clock

Re: [PATCH v3] KVM: X86: Lower the default timer frequency limit to 200us

2018-05-15 Thread Paolo Bonzini
On 05/05/2018 13:02, Wanpeng Li wrote: > From: Wanpeng Li > > Anthoine reported: > The period used by Windows change over time but it can be 1 > milliseconds or less. I saw the limit_periodic_timer_frequency > print so 500 microseconds is sometimes reached. > > As

[PATCH 0/2] mmc: meson-gx: add device reset

2018-05-15 Thread Jerome Brunet
This patchset adds the optional reset of the meson-gx mmc controller and the related documentation. Changes since v1: [0] * Correct typo in the documentation * Separate code and documentation patches * Error on reset failure. [0]:

Re: [PATCH v4 6/8] PCI: Rework of_pci_get_host_bridge_resources() to devm_of_pci_get_host_bridge_resources()

2018-05-15 Thread Vladimir Zapolskiy
On 05/15/2018 12:07 PM, Jan Kiszka wrote: > From: Jan Kiszka > > of_pci_get_host_bridge_resources() allocates the resource structures it > fills dynamically, but none of its callers care to release them so far. > Rather than requiring everyone to do this explicitly,

Re: [PATCH 08/18] arm64: convert raw syscall invocation to C

2018-05-15 Thread Mark Rutland
On Tue, May 15, 2018 at 12:01:58PM +0200, Dominik Brodowski wrote: > On Tue, May 15, 2018 at 09:22:23AM +0100, Mark Rutland wrote: > > On Mon, May 14, 2018 at 10:24:45PM +0200, Dominik Brodowski wrote: > > > On Mon, May 14, 2018 at 12:41:10PM +0100, Mark Rutland wrote: > > > > I agree it would be

Re: [PATCH 14/18] fbdev: modedb.c: fix a kernel-doc markup

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Monday, May 07, 2018 06:35:50 AM Mauro Carvalho Chehab wrote: > Use code blocks to avoid those warnings and make it look nicer. > > ./drivers/video/fbdev/core/modedb.c:647: WARNING: Inline strong > start-string without end-string. > ./drivers/video/fbdev/core/modedb.c:647:

Re: [PATCH v2 26/26] drm/bridge: establish a link between the bridge supplier and consumer

2018-05-15 Thread Daniel Vetter
On Mon, May 14, 2018 at 10:40 PM, Peter Rosin wrote: > On 2018-05-14 18:28, Daniel Vetter wrote: >> On Fri, May 11, 2018 at 09:37:47AM +0200, Peter Rosin wrote: >>> On 2018-05-10 10:10, Andrzej Hajda wrote: On 04.05.2018 15:52, Peter Rosin wrote: > If the bridge supplier

Re: [PATCH] video: fbdev: nvidia: fix spelling mistake: "scaleing" -> "scaling"

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 08, 2018 11:36:19 PM Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in module parameter description text > > Signed-off-by: Colin Ian King Patch queued for 4.18, thanks. Best regards, --

Re: [PATCH v1 4/4] samples/bpf: an example of a raw IR decoder

2018-05-15 Thread Sean Young
On Mon, May 14, 2018 at 10:34:57PM -0700, Y Song wrote: > On Mon, May 14, 2018 at 2:11 PM, Sean Young wrote: > > This implements the grundig-16 IR protocol. > > > > Signed-off-by: Sean Young > > --- > > samples/bpf/Makefile | 4 + > >

Re: [PATCH RFC 07/19] perf tools: Workaround missing maps for x86_64 KPTI entry trampolines

2018-05-15 Thread Adrian Hunter
On 15/05/18 13:30, Jiri Olsa wrote: > On Wed, May 09, 2018 at 02:43:36PM +0300, Adrian Hunter wrote: > > SNIP > >> + >> +for (i = 0; i < ARRAY_SIZE(syms); i++) { >> +if (syms[i].addr) >> +return syms[i].addr; >> +} >> + >> +return 0; >> +} >> + >> +/*

Re: [PATCH 06/18] arm64: move sve_user_{enable, disable} to

2018-05-15 Thread Mark Rutland
On Mon, May 14, 2018 at 12:06:50PM +0100, Dave Martin wrote: > On Mon, May 14, 2018 at 10:46:28AM +0100, Mark Rutland wrote: > > In subsequent patches, we'll want to make use of sve_user_enable() and > > sve_user_disable() outside of kernel/fpsimd.c. Let's move these to > > where we can make use

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-15 Thread Boaz Harrosh
On 15/05/18 03:44, Matthew Wilcox wrote: > On Mon, May 14, 2018 at 02:49:01PM -0700, Andrew Morton wrote: >> On Mon, 14 May 2018 20:28:01 +0300 Boaz Harrosh wrote: >>> In this project we utilize a per-core server thread so everything >>> is kept local. If we use the regular

Re: [PATCH 03/19 v3] regulator: arizona-ldo1: Look up a descriptor and pass to the core

2018-05-15 Thread Charles Keepax
On Mon, May 14, 2018 at 10:06:24AM +0200, Linus Walleij wrote: > Instead of passing a global GPIO number, pass a descriptor looked > up with the standard devm_gpiod_get_optional() call. > > We have augmented the GPIO core to look up the regulator special > GPIO "wlf,ldoena" in commit 6a537d48461d

Re: [External] Re: [PATCH 2/3] include/linux/gfp.h: use unsigned int in gfp_zone

2018-05-15 Thread Matthew Wilcox
On Wed, May 09, 2018 at 11:36:59AM +0200, David Sterba wrote: > On Mon, May 07, 2018 at 05:25:47PM -0700, Matthew Wilcox wrote: > > On Mon, May 07, 2018 at 11:25:01PM +0200, David Sterba wrote: > > > On Mon, May 07, 2018 at 11:44:10AM -0700, Matthew Wilcox wrote: > > > > But something like btrfs

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-15 Thread Mark Rutland
On Tue, May 15, 2018 at 01:43:23PM +0300, Boaz Harrosh wrote: > On 15/05/18 03:41, Matthew Wilcox wrote: > > On Mon, May 14, 2018 at 10:37:38PM +0300, Boaz Harrosh wrote: > >> On 14/05/18 22:15, Matthew Wilcox wrote: > >>> On Mon, May 14, 2018 at 08:28:01PM +0300, Boaz Harrosh wrote: > On a

Re: [PATCH 06/18] arm64: move sve_user_{enable, disable} to

2018-05-15 Thread Dave Martin
On Tue, May 15, 2018 at 11:39:36AM +0100, Mark Rutland wrote: > On Mon, May 14, 2018 at 12:06:50PM +0100, Dave Martin wrote: > > On Mon, May 14, 2018 at 10:46:28AM +0100, Mark Rutland wrote: > > > In subsequent patches, we'll want to make use of sve_user_enable() and > > > sve_user_disable()

Re: [PATCH v2 2/2] arm64: dts: exynos: add OF graph between USB-PHY and MUIC

2018-05-15 Thread Krzysztof Kozlowski
On Tue, May 15, 2018 at 2:12 PM, Andrzej Hajda wrote: > OF graph describes USB data lanes between USB-PHY and respective MUIC. > Since graph is present and DWC driver can use it to get extcon, obsolete > extcon property can be removed. > > Signed-off-by: Andrzej Hajda

Re: [PATCH v1 1/4] media: rc: introduce BPF_PROG_IR_DECODER

2018-05-15 Thread Sean Young
On Mon, May 14, 2018 at 04:27:19PM -0700, Randy Dunlap wrote: > On 05/14/2018 02:10 PM, Sean Young wrote: > > Add support for BPF_PROG_IR_DECODER. This type of BPF program can call > > Kconfig file below uses IR_BPF_DECODER instead of the symbol name above. > > and then patch 3 says a third

Re: Revert "dmaengine: pl330: add DMA_PAUSE feature"

2018-05-15 Thread Marek Szyprowski
Hi Vinod, On 2018-05-15 08:21, Vinod wrote: > On 11-05-18, 14:57, Marek Szyprowski wrote: >> On 2018-05-10 18:04, Frank Mori Hess wrote: >>> On Thu, May 10, 2018 at 4:31 AM, Marek Szyprowski >>> wrote: On 2018-05-09 19:48, Frank Mori Hess wrote: > On Wed, May

[PATCH v12 1/4] arm64: KVM: export the capability to set guest SError syndrome

2018-05-15 Thread Dongjiu Geng
For the arm64 RAS Extension, user space can inject a virtual-SError with specified ESR. So user space needs to know whether KVM support to inject such SError, this interface adds this query for this capability. KVM will check whether system support RAS Extension, if supported, KVM returns true to

[PATCH v12 3/4] ACPI / APEI: Add SEI notification type support for ARMv8

2018-05-15 Thread Dongjiu Geng
ACPI 6.x adds support for NOTIFY_SEI as a GHES notification mechanism, so add new GHES notification handling functions. Expose API ghes_notify_sei() to arch code, arch code will call this API when it gets this NOTIFY_SEI. Signed-off-by: Dongjiu Geng Note: Firmware will

Re: [PATCH 1/5] media: cec-notifier: Get notifier by device and connector name

2018-05-15 Thread Hans Verkuil
Hi Neil, Two small comments below: On 05/15/18 14:46, Neil Armstrong wrote: > In non device-tree world, we can need to get the notifier by the driver > name directly and eventually defer probe if not yet created. > > This patch adds a variant of the get function by using the device name >

[PATCH v12 4/4] arm64: handle NOTIFY_SEI notification by the APEI driver

2018-05-15 Thread Dongjiu Geng
Add a helper to handle the NOTIFY_SEI notification, when kernel gets the NOTIFY_SEI notification, call this helper and let APEI driver to handle this notification. Signed-off-by: Dongjiu Geng --- arch/arm64/include/asm/system_misc.h | 1 + arch/arm64/kernel/traps.c

Re: [PATCH v10 18/25] mm: provide speculative fault infrastructure

2018-05-15 Thread vinayak menon
On Tue, Apr 17, 2018 at 8:03 PM, Laurent Dufour wrote: > > +#ifdef CONFIG_SPECULATIVE_PAGE_FAULT > + > +#ifndef __HAVE_ARCH_PTE_SPECIAL > +/* This is required by vm_normal_page() */ > +#error "Speculative page fault handler requires __HAVE_ARCH_PTE_SPECIAL" > +#endif >

[PATCH v4 4/8] PCI: Replace dev_node parameter of of_pci_get_host_bridge_resources with device

2018-05-15 Thread Jan Kiszka
From: Jan Kiszka Another step towards a managed version of of_pci_get_host_bridge_resources(): Feed in the underlying device, rather than just the OF node. This will allow to use managed resource allocation internally later on. CC: Jingoo Han CC:

[PATCH 0/3]nds32: Correct the cache operation for catch aliasing case

2018-05-15 Thread Vincent Chen
The following 3 issues are fixed in this patchset 1. In function flush_dacache_page and copy_user_highpage, the local irq is enabled when the cache of the page at address page_address(page) is written back to memory. It possibly causes data corruption. To fix this problem, the local irq is

Re: [PATCH v2] mm: allow deferred page init for vmemmap only

2018-05-15 Thread Michal Hocko
On Fri 11-05-18 10:17:55, Pavel Tatashin wrote: > > Thanks that helped me to see the problem. On the other hand isn't this a > > bit of an overkill? AFAICS this affects only NEED_PER_CPU_KM which is !SMP > > and DEFERRED_STRUCT_PAGE_INIT makes only very limited sense on UP, > > right? > > > Or do

Re: [PATCH v9 0/2] hid-steam driver with user mode client dection

2018-05-15 Thread Jiri Kosina
On Fri, 4 May 2018, Rodrigo Rivas Costa wrote: > > If noone has any objections (last chance to raise them), I'll be > > queuing this for 4.18. > > That would be great, thanks! > > Now that my distro upgraded to 4.16, without the hid-quirks array, I've been > testing it a bit more. > > It

Re: [PATCH v5 1/2] clk: x86: Add ST oscout platform clock

2018-05-15 Thread Rafael J. Wysocki
On Wednesday, May 9, 2018 11:59:00 AM CEST Akshu Agrawal wrote: > Stoney SoC provides oscout clock. This clock can support 25Mhz and > 48Mhz of frequency. > The clock is available for general system use. > > Signed-off-by: Akshu Agrawal I'm not sure if the Stephen Boyd's

[PATCH v2] media: dvb-frontends: add Socionext SC1501A ISDB-S/T demodulator driver

2018-05-15 Thread Katsuhiro Suzuki
This patch adds a frontend driver for the Socionext SC1501A series and Socionext MN88443x ISDB-S/T demodulators. Signed-off-by: Katsuhiro Suzuki --- Changes since v1: - Fix sparse warning about type of constant - Use div_s64() instead of divide operator ---

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