[PATCH v2 1/3] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2018-04-16 Thread Lee Jones
Signed-off-by: Lee Jones Acked-by: Laxman Dewangan Tested-by: Laxman Dewangan --- include/linux/mfd/core.h | 29 + 1 file changed, 29 insertions(+) diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h index 99c0395fe1f9..2bdae891fd24 100644 --- a/include

Re: [PATCHv6 2/2] mfd: motorola-cpcap: Add audio-codec support

2018-04-16 Thread Lee Jones
On Fri, 30 Mar 2018, Sebastian Reichel wrote: > From: Sebastian Reichel > > Add support for the audio-codec node by converting from > devm_of_platform_populate() to devm_mfd_add_devices(). > > Tested-by: Pavel Machek > Acked-by: Tony Lindgren > Signed-off-by: Sebastian Reichel > --- > drive

Re: [PATCHv6 1/2] dt-bindings: mfd: motorola-cpcap: document audio-codec

2018-04-16 Thread Lee Jones
On Fri, 30 Mar 2018, Sebastian Reichel wrote: > This adds the DT binding for the audio-codec sub-module found > inside the Motorola CPCAP PMIC. > > Acked-by: Mark Brown > Acked-by: Tony Lindgren > Reviewed-by: Rob Herring > Acked-for-MFD-by: Lee Jones > Signed-off-by: Sebastian Reichel > ---

Re: [PATCH 14/14] arm64: dts: exynos: remove no longer needed samsung thermal properties

2018-04-16 Thread Daniel Lezcano
On 16/04/2018 12:12, Bartlomiej Zolnierkiewicz wrote: > Remove no longer needed samsung thermal properties. > > There should be no functional changes caused by this patch. > > Signed-off-by: Bartlomiej Zolnierkiewicz > --- Can you add an additional patch to remove the Documentation ? --

Re: [PATCH 02/14] thermal: exynos: Propagate error value from tmu_read()

2018-04-16 Thread Bartlomiej Zolnierkiewicz
On Monday, April 16, 2018 02:54:01 PM Daniel Lezcano wrote: > On 16/04/2018 14:49, Bartlomiej Zolnierkiewicz wrote: > > On Monday, April 16, 2018 02:41:48 PM Daniel Lezcano wrote: > >> On 16/04/2018 14:35, Bartlomiej Zolnierkiewicz wrote: > >>> On Monday, April 16, 2018 02:16:56 PM Daniel Lezcano w

Re: [PATCH 07/14] thermal: exynos: remove parsing of samsung,tmu_noise_cancel_mode property

2018-04-16 Thread Daniel Lezcano
On 16/04/2018 12:11, Bartlomiej Zolnierkiewicz wrote: > All SoCs use the same value (4) for the noise cancel mode so just > make it explicit and remove parsing of samsung,tmu_noise_cancel_mode > property. > > There should be no functional changes caused by this patch. > > Signed-off-by: Bartlomiej

Re: [PATCH v3 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-04-16 Thread Sudeep Holla
On Mon, Apr 16, 2018 at 02:49:35PM +0200, Daniel Lezcano wrote: > On 16/04/2018 14:31, Sudeep Holla wrote: > > On Mon, Apr 16, 2018 at 02:10:30PM +0200, Daniel Lezcano wrote: > >> On 16/04/2018 12:10, Viresh Kumar wrote: > >>> On 16-04-18, 12:03, Daniel Lezcano wrote: > On 16/04/2018 11:50, Vi

Re: [PATCH v4 13/15] KVM: s390: configure the guest's AP devices

2018-04-16 Thread Pierre Morel
On 15/04/2018 23:22, Tony Krowiak wrote: Registers a group notifier during the open of the mediated matrix device to get information on KVM presence through the VFIO_GROUP_NOTIFY_SET_KVM event. When notified, the pointer to the kvm structure is saved inside the mediated matrix device. Once the VF

Re: [PATCH v2 15/19] dt-bindings: gpio: Add support for r8a77965

2018-04-16 Thread jacopo mondi
Hi Geert, On Mon, Apr 16, 2018 at 01:12:06PM +0200, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi > wrote: > > Add compatible string for R-Car M3-N (r8a77965) in gpio-rcar. > > > > Signed-off-by: Jacopo Mondi > > Reviewed-by: Geert Uytterhoeven > > Ca

Re: [PATCH 14/14] arm64: dts: exynos: remove no longer needed samsung thermal properties

2018-04-16 Thread Bartlomiej Zolnierkiewicz
On Monday, April 16, 2018 03:02:45 PM Daniel Lezcano wrote: > On 16/04/2018 12:12, Bartlomiej Zolnierkiewicz wrote: > > Remove no longer needed samsung thermal properties. > > > > There should be no functional changes caused by this patch. > > > > Signed-off-by: Bartlomiej Zolnierkiewicz > > ---

Build regressions/improvements in v4.17-rc1

2018-04-16 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.17-rc1[1] compared to v4.16[2]. Summarized: - build errors: +2/-10 - build warnings: +1407/-1867 Note that there may be false regressions, as some logs are incomplete. Still, they're build errors/warnings. Happy fixing!

Re: [PATCH 3/3] dcache: account external names as indirectly reclaimable memory

2018-04-16 Thread Matthew Wilcox
On Mon, Apr 16, 2018 at 02:06:21PM +0200, Vlastimil Babka wrote: > On 04/16/2018 01:41 PM, Michal Hocko wrote: > > On Fri 13-04-18 10:37:16, Johannes Weiner wrote: > >> On Fri, Apr 13, 2018 at 04:28:21PM +0200, Michal Hocko wrote: > >>> On Fri 13-04-18 16:20:00, Vlastimil Babka wrote: > We wou

Re: [PATCH 14/14] arm64: dts: exynos: remove no longer needed samsung thermal properties

2018-04-16 Thread Daniel Lezcano
On 16/04/2018 15:09, Bartlomiej Zolnierkiewicz wrote: > On Monday, April 16, 2018 03:02:45 PM Daniel Lezcano wrote: >> On 16/04/2018 12:12, Bartlomiej Zolnierkiewicz wrote: >>> Remove no longer needed samsung thermal properties. >>> >>> There should be no functional changes caused by this patch. >>

Re: [PATCH v2 3/5] ALSA: xen-front: Implement Xen event channel handling

2018-04-16 Thread Juergen Gross
On 16/04/18 08:24, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Handle Xen event channels: > - create for all configured streams and publish > corresponding ring references and event channels in Xen store, > so backend can connect > - implement event channels int

Re: [PATCH v4 15/15] s390: doc: detailed specifications for AP virtualization

2018-04-16 Thread Pierre Morel
On 15/04/2018 23:22, Tony Krowiak wrote: This patch provides documentation describing the AP architecture and design concepts behind the virtualization of AP devices. It also includes an example of how to configure AP devices for exclusive use of KVM guests. Signed-off-by: Tony Krowiak --- Do

Re: [RFC PATCH 0/3] Interface for higher order contiguous allocations

2018-04-16 Thread Michal Hocko
On Thu 12-04-18 13:58:47, Mike Kravetz wrote: > On 04/12/2018 01:40 PM, Reinette Chatre wrote: > > Hi Mike, > > > > On 2/15/2018 12:22 PM, Reinette Chatre wrote: > >> On 2/12/2018 2:20 PM, Mike Kravetz wrote: > >>> These patches came out of the "[RFC] mmap(MAP_CONTIG)" discussions at: > >>> http:/

Re: [PATCH 08/14] thermal: exynos: remove parsing of samsung,tmu[_min,_max]_efuse_value properties

2018-04-16 Thread Daniel Lezcano
On 16/04/2018 12:11, Bartlomiej Zolnierkiewicz wrote: > Since pdata efuse values are SoC (not platform) specific just move > them from platform data to struct exynos_tmu_data instance. Then > remove parsing of samsung,tmu[_,min_,max]_efuse_value properties. > > There should be no functional change

Re: Build regressions/improvements in v4.17-rc1

2018-04-16 Thread Geert Uytterhoeven
On Mon, Apr 16, 2018 at 3:09 PM, Geert Uytterhoeven wrote: > Below is the list of build error/warning regressions/improvements in > v4.17-rc1[1] compared to v4.16[2]. > > Summarized: > - build errors: +2/-10 > - build warnings: +1407/-1867 > > Note that there may be false regressions, as some

Re: [PATCH 09/14] thermal: exynos: remove parsing of samsung,tmu_reference_voltage property

2018-04-16 Thread Daniel Lezcano
On 16/04/2018 12:12, Bartlomiej Zolnierkiewicz wrote: > Since pdata reference_voltage values are SoC (not platform) specific > just move it from platform data to struct exynos_tmu_data instance. > Then remove parsing of samsung,tmu_reference_voltage property. > > There should be no functional chan

Re: [PATCH v6 28/30] drm/rockchip: Disable PSR from reboot notifier

2018-04-16 Thread Tomasz Figa
4.5: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/base/platform.c?h=next-20180416&id=2d30bb0b3889adf09b342722b2ce596c0763bc93 So we might not need this patch anymore. Best regards, Tomasz

Re: [PATCH 10/14] thermal: exynos: remove parsing of samsung,tmu_gain property

2018-04-16 Thread Daniel Lezcano
On 16/04/2018 12:12, Bartlomiej Zolnierkiewicz wrote: > Since pdata gain values are SoC (not platform) specific just move > it from platform data to struct exynos_tmu_data instance. Then > remove parsing of samsung,tmu_gain property. > > There should be no functional changes caused by this patch.

Re: [PATCH 11/14] thermal: exynos: remove parsing of samsung,tmu_cal_type property

2018-04-16 Thread Daniel Lezcano
On 16/04/2018 12:12, Bartlomiej Zolnierkiewicz wrote: > Since calibration type for temperature is SoC (not platform) specific > just move it from platform data to struct exynos_tmu_data instance. > Then remove parsing of samsung,tmu_cal_type property. Also remove no > longer needed platform data st

Re: [PATCH v4 5/8] mfd: cros_ec_dev: Register cros_ec_accel_legacy driver as a subdevice.

2018-04-16 Thread Lee Jones
On Wed, 04 Apr 2018, Enric Balletbo Serra wrote: > Hi again, > > 2018-04-04 10:03 GMT+02:00 Enric Balletbo Serra : > > Hi Lee, > > > > 2018-03-28 13:03 GMT+02:00 Lee Jones : > >> On Tue, 20 Mar 2018, Enric Balletbo i Serra wrote: > >> > >>> With this patch, the cros_ec_ctl driver will register th

Re: nds32 build failures

2018-04-16 Thread Guenter Roeck
On 04/16/2018 02:06 AM, Greentime Hu wrote: 2018-04-16 11:58 GMT+08:00 Guenter Roeck : I thought I should give the brand new architecture a try. Unfortunately, that was not very successful. Build reference: v4.17-rc1 gcc version: nds32le-elf-gcc (GCC) 7.3.0 Building nds32:defconfig ... failed

[PATCH v2] perf list: Add s390 support for detailed/verbose pmu event description

2018-04-16 Thread Thomas Richter
From: Thomas Richter Perf list with flags -d and -v print a description (-d) or a very verbose explanation (-v) of CPU specific counter events. These descriptions are provided with the json files in directory pmu-events/arch/s390/*.json. Display of these descriptions on s390 requires the corresp

Re: [PATCH] trace: add missing forward declaration

2018-04-16 Thread Steven Rostedt
On Mon, 16 Apr 2018 10:36:25 +0800 Ahbong Chang wrote: > Without this forward declaration compile may fail if this header is > included only for registering other probe event without struct > pool_workqueue. > Is this for new work or is there a config which this fails with today? -- Steve > S

Re: [PATCH 12/14] thermal: exynos: remove separate exynos_tmu.h header file

2018-04-16 Thread Daniel Lezcano
On 16/04/2018 12:12, Bartlomiej Zolnierkiewicz wrote: > exynos_tmu.h is used only by exynos_tmu.c so there is no need > for a separate include file. > > There should be no functional changes caused by this patch. > > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > drivers/thermal/samsung/exyno

Re: [PATCH] x86/xen: Remove use of VLAs

2018-04-16 Thread Boris Ostrovsky
On 04/13/2018 06:11 PM, Laura Abbott wrote: > There's an ongoing effort to remove VLAs[1] from the kernel to eventually > turn on -Wvla. The few VLAs in use have an upper bound based on a size > of 64K. This doesn't produce an excessively large stack so just switch > the upper bound. > > [1] https:

Re: [PATCH v13 0/6] Address error and recovery for AER and DPC

2018-04-16 Thread Bjorn Helgaas
On Mon, Apr 16, 2018 at 11:33:13AM +0530, p...@codeaurora.org wrote: > On 2018-04-16 09:23, Sinan Kaya wrote: > > On 4/15/2018 11:16 PM, Bjorn Helgaas wrote: > > > On Mon, Apr 09, 2018 at 10:41:48AM -0400, Oza Pawandeep wrote: > > > > This patch set brings in error handling support for DPC > > > >

Re: [PATCH v2 1/2] x86/mce: new Centaur CPUs support MCE broadcasting

2018-04-16 Thread Borislav Petkov
On Mon, Apr 02, 2018 at 11:33:51AM +0800, David Wang wrote: > This patch is used to tell the kernel that newer Centaur CPU support Avoid writing "This patch" in the commit message of a patch. It is tautologically useless. > MCE broadcasting. > > Signed-off-by: David Wang > --- > arch/x86/kerne

Re: [PATCH v1 0/2] Print the request tag in Block/SCSI trace events

2018-04-16 Thread Steven Rostedt
On Sun, 15 Apr 2018 14:41:35 + Bean Huo wrote: > From: Bean Huo > > These patches are to add the printout of the request tag in Block/SCSI trace > events when tracing one request or command, this is very useful for tracing > the task running status in the storage device which supports multi

Re: [PATCH AUTOSEL for 4.14 015/161] printk: Add console owner and waiter logic to load balance console writes

2018-04-16 Thread Steven Rostedt
On Sun, 15 Apr 2018 14:42:51 + Sasha Levin wrote: > On Mon, Apr 09, 2018 at 10:22:46AM +0200, Petr Mladek wrote: > >PS: I wonder how much time you give people to react before releasing > >this. The number of autosel mails is increasing and I am involved > >only in very small amount of them. I

Re: [PATCH v2] mtd: onenand: omap2: Disable DMA for HIGHMEM buffers

2018-04-16 Thread Ladislav Michl
Hi Péter, On Mon, Apr 16, 2018 at 02:34:54PM +0300, Peter Ujfalusi wrote: > On 2018-04-16 09:52, Ladislav Michl wrote: > > dma_map_single doesn't get the proper DMA address for vmalloced area, > > Which is not a big surprise as vmalloc will allocate contiguous virtual > memory (which might corres

Re: [PATCH v5] Fix modifier keys for Redragon Asura Keyboard

2018-04-16 Thread Benjamin Tissoires
On Mon, Apr 16, 2018 at 12:14 PM, Robert Munteanu wrote: > Hi Benjamin and Jiri, > > On Mon, 2018-04-16 at 12:02 +0200, Benjamin Tissoires wrote: >> Hi Robert, >> >> On Wed, Apr 11, 2018 at 11:49 AM, Robert Munteanu > > wrote: >> > Changelog: >> > >> > - v2: modifier keys work, some combinations a

Re: [PATCH 4/8] dma-buf: add peer2peer flag

2018-04-16 Thread Daniel Vetter
On Mon, Apr 16, 2018 at 2:39 PM, Christoph Hellwig wrote: > On Tue, Apr 03, 2018 at 08:08:32PM +0200, Daniel Vetter wrote: >> I did not mean you should dma_map_sg/page. I just meant that using >> dma_map_resource to fill only the dma address part of the sg table seems >> perfectly sufficient. > >

Re: [PATCH v2 4/5] ALSA: xen-front: Implement handling of shared buffers

2018-04-16 Thread Juergen Gross
On 16/04/18 08:24, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Implement shared buffer handling according to the > para-virtualized sound device protocol at xen/interface/io/sndif.h: > - manage buffer memory > - handle granted references > - handle page directories >

Re: [PATCH 01/25] staging: lustre: libcfs: remove useless CPU partition code

2018-04-16 Thread Dan Carpenter
On Mon, Apr 16, 2018 at 12:09:43AM -0400, James Simmons wrote: > @@ -1033,6 +953,7 @@ static int cfs_cpu_dead(unsigned int cpu) > #endif > ret = -EINVAL; > > + get_online_cpus(); > if (*cpu_pattern) { > char *cpu_pattern_dup = kstrdup(cpu_pattern, GFP_KERNEL); > >

Re: Wrong module .text address in 4.16.0

2018-04-16 Thread Jessica Yu
+++ Christian Borntraeger [16/04/18 12:53 +0200]: Can this be related to commit ef0010a30935de4e0211cbc7bdffc30446cdee9b vsprintf: don't use 'restricted_pointer()' when not restricting and related commits? To me it looks like %pk is always printing the hash, but never the real pointer - no m

Re: [PATCH AUTOSEL for 4.15 168/189] nfsd: return RESOURCE not GARBAGE_ARGS on too many ops

2018-04-16 Thread J. Bruce Fields
On Sun, Apr 15, 2018 at 02:37:39PM +, Sasha Levin wrote: > On Mon, Apr 09, 2018 at 11:27:47AM -0400, J. Bruce Fields wrote: > >What's your default on these patches on these AUTOSEL patches if you > >don't get an ACK or NACK? Do you apply them anyway? > > Right now it's opt-out, so it'll get m

Re: [PATCH] perf tools: set kernel end address properly

2018-04-16 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 16, 2018 at 11:23:45AM +0200, Jiri Olsa escreveu: > On Mon, Apr 16, 2018 at 01:22:40PM +0900, Namhyung Kim wrote: > > The map_groups__fixup_end() was called to set end addresses of kernel > > map and module maps. But now machine__create_modules() is set the end > > address of modules p

Re: [PATCH 03/25] staging: lustre: libcfs: implement cfs_cpt_cpumask for UMP case

2018-04-16 Thread Dan Carpenter
On Mon, Apr 16, 2018 at 12:09:45AM -0400, James Simmons wrote: > diff --git a/drivers/staging/lustre/lnet/libcfs/libcfs_cpu.c > b/drivers/staging/lustre/lnet/libcfs/libcfs_cpu.c > index 705abf2..5ea294f 100644 > --- a/drivers/staging/lustre/lnet/libcfs/libcfs_cpu.c > +++ b/drivers/staging/lustre/l

Re: [PATCH v2 3/5] ALSA: xen-front: Implement Xen event channel handling

2018-04-16 Thread kbuild test robot
Hi Oleksandr, Thank you for the patch! Yet something to improve: [auto build test ERROR on sound/for-next] [also build test ERROR on v4.17-rc1 next-20180416] [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

Re: [PATCH v4 15/15] s390: doc: detailed specifications for AP virtualization

2018-04-16 Thread Cornelia Huck
On Mon, 16 Apr 2018 15:13:59 +0200 Pierre Morel wrote: > On 15/04/2018 23:22, Tony Krowiak wrote: > > +* Register with the ap_bus for AP queue devices of type CEX4, CEX5 and > > + CEX6 and to provide the vfio_ap driver's probe and remove callback > > interfaces. > > I wonder why the type of

Re: [PATCH] ARM: dts: imx7d-sdb: add gpio key support

2018-04-16 Thread Shawn Guo
On Fri, Mar 16, 2018 at 04:54:31PM +0800, Anson Huang wrote: > Add support for imx7d-sdb board's gpio keys: > > S1(FUNC1): KEY_VOLUMEUP > S3(FUNC2): KEY_VOLUMEDOWN > > Signed-off-by: Anson Huang Applied, thanks.

[PATCH] dt-bindings: gpio: Add support for r8a77965

2018-04-16 Thread Jacopo Mondi
Add compatible string for R-Car M3-N (r8a77965) in gpio-rcar. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- Renesas R-Car M3-N support has been merged for v4.17. Document the missing device tree bindings. --- Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | 1 +

[PATCH] dt-bindings: serial: sh-sci: Add support for r8a77965 (H)SCIF

2018-04-16 Thread Jacopo Mondi
Add documentation for r8a77965 compatible string to Renesas sci-serial device tree bindings documentation. Signed-off-by: Jacopo Mondi --- Renesas R-Car M3-N support has been merged for v4.17. Document the missing device tree bindings. --- Documentation/devicetree/bindings/serial/renesas,sci-s

[PATCH] dt-bindings: net: ravb: Add support for r8a77965 SoC

2018-04-16 Thread Jacopo Mondi
Add documentation for r8a77965 compatible string to renesas ravb device tree bindings documentation. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Reviewed-by: Simon Horman Acked-by: Sergei Shtylyov --- Renesas R-Car M3-N support has been merged for v4.17. Document the missing d

Re: [PATCH 04/25] staging: lustre: libcfs: replace MAX_NUMNODES with nr_node_ids

2018-04-16 Thread Dan Carpenter
On Mon, Apr 16, 2018 at 12:09:46AM -0400, James Simmons wrote: > From: Amir Shehata > > Replace depricated MAX_NUMNODES with nr_node_ids. > The changelog makes it sound like this is just a style change, but it's actually a behavior change isn't it? regards, dan carpenter

Re: [PATCH] mmap.2: MAP_FIXED is okay if the address range has been reserved

2018-04-16 Thread Jann Horn
On Mon, Apr 16, 2018 at 12:07 PM, Michal Hocko wrote: > On Fri 13-04-18 18:17:36, Jann Horn wrote: >> On Fri, Apr 13, 2018 at 6:05 PM, Jann Horn wrote: >> > On Fri, Apr 13, 2018 at 6:04 PM, Michal Hocko wrote: >> >> On Fri 13-04-18 17:04:09, Jann Horn wrote: >> >>> On Fri, Apr 13, 2018 at 8:49 A

[PATCH] dt-bindings: dmaengine: rcar-dmac: document R8A77965 support

2018-04-16 Thread Jacopo Mondi
Add documentation for r8a77965 compatible string to rcar-dmac device tree bindings documentation. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Reviewed-by: Simon Horman --- Renesas R-Car M3-N support has been merged for v4.17. Document the missing device tree bindings. --- Doc

Re: [PATCH v3 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-04-16 Thread Daniel Lezcano
On 16/04/2018 14:30, Lorenzo Pieralisi wrote: > On Mon, Apr 16, 2018 at 02:10:30PM +0200, Daniel Lezcano wrote: >> On 16/04/2018 12:10, Viresh Kumar wrote: >>> On 16-04-18, 12:03, Daniel Lezcano wrote: On 16/04/2018 11:50, Viresh Kumar wrote: > On 16-04-18, 11:45, Daniel Lezcano wrote: >>>

Re: nds32 build failures

2018-04-16 Thread Guenter Roeck
On 04/16/2018 06:22 AM, Guenter Roeck wrote: On 04/16/2018 02:06 AM, Greentime Hu wrote: 2018-04-16 11:58 GMT+08:00 Guenter Roeck : I thought I should give the brand new architecture a try. Unfortunately, that was not very successful. Build reference: v4.17-rc1 gcc version: nds32le-elf-gcc (GC

Re: [PATCH v5 1/3] perf/core: store context switch out type into Perf trace

2018-04-16 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 16, 2018 at 11:29:03AM +0300, Alexey Budankov escreveu: > Hi Arnaldo, > > On 09.04.2018 12:26, Peter Zijlstra wrote: > > On Mon, Apr 09, 2018 at 10:25:32AM +0300, Alexey Budankov wrote: > >> > >> Store preempting context switch out event into Perf trace as a part of > >> PERF_RECORD_S

Re: [PATCH v3] backlight: otm3225a: add support for ORISE OTM3225A LCD SoC

2018-04-16 Thread Lee Jones
On Sun, 08 Apr 2018, Felix Brack wrote: > This patch adds a LCD driver supporting the OTM3225A LCD SoC > from ORISE Technology. This device can drive TFT LC panels having a > resolution of 240x320 pixels. After initializing the OTM3225A using > it's SPI interface it switches to use 16-bib RGB as e

Re: [PATCH v13 6/6] PCI/DPC: Do not do recovery for hotplug enabled system

2018-04-16 Thread Bjorn Helgaas
On Mon, Apr 16, 2018 at 11:21:15AM +0530, p...@codeaurora.org wrote: > On 2018-04-16 11:03, p...@codeaurora.org wrote: > > On 2018-04-16 08:47, Bjorn Helgaas wrote: > > > On Sat, Apr 14, 2018 at 11:53:17AM -0400, Sinan Kaya wrote: > > > > > > > You indicated that you want to unify the AER and DPC

Re: [RFC PATCH] usb: hcd: complete URBs in threaded-IRQ context instead of tasklet

2018-04-16 Thread Sebastian Andrzej Siewior
On 2018-03-08 10:57:39 [+0100], To Mauro Carvalho Chehab wrote: > On 2018-02-27 14:39:34 [-0300], Mauro Carvalho Chehab wrote: > > Hi Sebastian, > Hi Mauro, > > > Sorry for taking some time to test it, has been busy those days... > :) > > > Anyway, I tested it today. Didn't work. It keep losing d

Re: [PATCH v3 1/2] dt-bindings: iio: afe: add current-sense-shunt and voltage-divider

2018-04-16 Thread Peter Rosin
On 2018-04-10 17:28, Peter Rosin wrote: > +Example: > +The system voltage is circa 12V, but divided down with a 22/200 > +voltage divider to adjust it to the ADC range. > + > +SYSVADC GND > + + + + > + | .-. | .. | > + '--| 200 |-+-| 22 |--' > + '

Re: [PATCH net] Revert "macsec: missing dev_put() on error in macsec_newlink()"

2018-04-16 Thread David Miller
From: Dan Carpenter Date: Mon, 16 Apr 2018 13:17:50 +0300 > This patch is just wrong, sorry. I was trying to fix a static checker > warning and misread the code. The reference taken in macsec_newlink() > is released in macsec_free_netdev() when the netdevice is destroyed. > > This reverts comm

Re: possible deadlock in blkdev_reread_part

2018-04-16 Thread Tetsuo Handa
Eric Biggers wrote: > Here's a simplified reproducer: > > #include > #include > #include > #include > > int main() > { > int loopfd, fd; > struct loop_info info = { .lo_flags = LO_FLAGS_PARTSCAN }; > > loopfd = open("/dev/loop0", O_RDWR); > >

Re: [PATCH net] net: mvpp2: Fix TCAM filter reserved range

2018-04-16 Thread David Miller
From: Maxime Chevallier Date: Mon, 16 Apr 2018 10:07:23 +0200 > Marvell's PPv2 controller has a Packet Header parser, which uses a > fixed-size TCAM array of filter entries. > > The mvpp2 driver reserves some ranges among the 256 TCAM entries to > perform MAC and VID filtering. The rest of the T

Re: [PATCH v5 4/8] mfd: cros_ec_dev: Register cros-ec-rtc driver as a subdevice.

2018-04-16 Thread Lee Jones
On Thu, 05 Apr 2018, Enric Balletbo i Serra wrote: > Check whether this EC instance has RTC host command support and instatiate > the RTC driver as a subdevice in such case. > > Signed-off-by: Enric Balletbo i Serra > Reviewed-by: Gwendal Grignou > Reviewed-by: Andy Shevchenko > --- > > Chang

Re: [PATCH v2] mfd: twl-core: Fix clock initialization

2018-04-16 Thread Lee Jones
On Mon, 09 Apr 2018, Peter Ujfalusi wrote: > When looking up the clock we must use the client->dev as device since that > is the one which is probed via DT. > > Signed-off-by: Peter Ujfalusi > Cc: sta...@vger.kernel.org # 4.16+ > --- > Hi, > > Changes since v1: > - Removed the Fixes line and ad

Re: [PATCH v2 5/5] ALSA: xen-front: Implement ALSA virtual sound driver

2018-04-16 Thread Juergen Gross
On 16/04/18 08:24, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Implement essential initialization of the sound driver: > - introduce required data structures > - handle driver registration > - handle sound card registration > - register sound driver on backend conne

Re: [PATCH v13 0/6] Address error and recovery for AER and DPC

2018-04-16 Thread poza
On 2018-04-16 18:57, Bjorn Helgaas wrote: On Mon, Apr 16, 2018 at 11:33:13AM +0530, p...@codeaurora.org wrote: On 2018-04-16 09:23, Sinan Kaya wrote: > On 4/15/2018 11:16 PM, Bjorn Helgaas wrote: > > On Mon, Apr 09, 2018 at 10:41:48AM -0400, Oza Pawandeep wrote: > > > This patch set brings in er

Re: [PATCH] ARM: dts: imx7s: add anatop vdd1p2 regulator

2018-04-16 Thread Shawn Guo
On Sat, Mar 17, 2018 at 03:36:55PM +0800, Anson Huang wrote: > Add i.MX7S/D anatop vdd1p2 regulator. > > Signed-off-by: Anson Huang Applied, thanks.

Re: [PATCH ghak46 V1] audit: normalize MAC_STATUS record

2018-04-16 Thread Richard Guy Briggs
On 2018-04-16 09:26, Ondrej Mosnacek wrote: > 2018-04-10 1:34 GMT+02:00 Richard Guy Briggs : > > There were two formats of the audit MAC_STATUS record, one of which was more > > standard than the other. One listed enforcing status changes and the > > other listed enabled status changes with a non-

Re: [PATCH] dt-bindings: net: ravb: Add support for r8a77965 SoC

2018-04-16 Thread David Miller
From: Jacopo Mondi Date: Mon, 16 Apr 2018 15:55:17 +0200 > Add documentation for r8a77965 compatible string to renesas ravb device > tree bindings documentation. > > Signed-off-by: Jacopo Mondi > Reviewed-by: Geert Uytterhoeven > Reviewed-by: Simon Horman > Acked-by: Sergei Shtylyov > --- >

[GIT PULL] Immutable branch between MFD, Input and RTC due for the v4.18 merge window

2018-04-16 Thread Lee Jones
Enjoy! The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-input-rtc-v4.18 for you to fetch changes up to 55d1d1547a

Re: [PATCHv4 01/10] mfd: ti-lmu: constify mfd_cell tables

2018-04-16 Thread Lee Jones
On Fri, 30 Mar 2018, Sebastian Reichel wrote: > Add const attribute to all mfd_cell structures. > > Signed-off-by: Sebastian Reichel > --- > drivers/mfd/ti-lmu.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) For my own reference: Acked-for-MFD-by: Lee Jones -- Lee

Re: [PATCH v3 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-04-16 Thread Lorenzo Pieralisi
On Mon, Apr 16, 2018 at 03:57:03PM +0200, Daniel Lezcano wrote: > On 16/04/2018 14:30, Lorenzo Pieralisi wrote: > > On Mon, Apr 16, 2018 at 02:10:30PM +0200, Daniel Lezcano wrote: > >> On 16/04/2018 12:10, Viresh Kumar wrote: > >>> On 16-04-18, 12:03, Daniel Lezcano wrote: > On 16/04/2018 11:5

[PATCH v2 12/14] thermal: exynos: remove separate exynos_tmu.h header file

2018-04-16 Thread Bartlomiej Zolnierkiewicz
exynos_tmu.h is used only by exynos_tmu.c so there is no need for a separate include file. Also while at it remove no longer needed cpu_cooling.h include. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Daniel Lezcano --- Replaceme

Re: [PATCH 2/5] dt-bindings: display: atmel: add optional output-mode property

2018-04-16 Thread Rob Herring
On Sat, Apr 14, 2018 at 8:54 AM, Peter Rosin wrote: > On 2018-04-13 19:46, Rob Herring wrote: >> On Mon, Apr 09, 2018 at 12:59:15PM +0200, Peter Rosin wrote: >>> Useful for beating cases where an output mode selection heuristic >>> fails. >>> >>> Signed-off-by: Peter Rosin >>> --- >>> Documentat

Re: [PATCH 12/14] thermal: exynos: remove separate exynos_tmu.h header file

2018-04-16 Thread Bartlomiej Zolnierkiewicz
On Monday, April 16, 2018 03:24:57 PM Daniel Lezcano wrote: > On 16/04/2018 12:12, Bartlomiej Zolnierkiewicz wrote: > > exynos_tmu.h is used only by exynos_tmu.c so there is no need > > for a separate include file. > > > > There should be no functional changes caused by this patch. > > > > Signed

Re: [PATCH v3 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-04-16 Thread Pali Rohár
On Sunday 15 April 2018 21:05:23 Lukas Wunner wrote: > On Sun, Apr 15, 2018 at 07:17:46PM +0200, Pali Rohár wrote: > > On Saturday 14 April 2018 13:17:11 Lukas Wunner wrote: > > > On Sat, Apr 14, 2018 at 12:49:50PM +0200, Pali Rohár wrote: > > > > On Saturday 14 April 2018 12:45:12 Lukas Wunner wro

Re: [PATCH ghak46 V1] audit: normalize MAC_STATUS record

2018-04-16 Thread Ondrej Mosnacek
2018-04-16 16:11 GMT+02:00 Richard Guy Briggs : > On 2018-04-16 09:26, Ondrej Mosnacek wrote: >> 2018-04-10 1:34 GMT+02:00 Richard Guy Briggs : >> > There were two formats of the audit MAC_STATUS record, one of which was >> > more >> > standard than the other. One listed enforcing status changes

Re: [PATCH] [RFC][WIP] namespace.c: Allow some unprivileged proc mounts when not fully visible

2018-04-16 Thread Alexey Gladkov
On Sat, Apr 14, 2018 at 12:41:31AM +0200, Djalal Harouni wrote: > On Wed, Apr 4, 2018 at 4:45 PM, Eric W. Biederman > wrote: > [...] > > > > The only option I have seen proposed that might qualify as something > > general purpose and simple is a new filesystem that is just the process > > directo

Re: [PATCH 07/25] staging: lustre: libcfs: NUMA support

2018-04-16 Thread Dan Carpenter
On Mon, Apr 16, 2018 at 12:09:49AM -0400, James Simmons wrote: > @@ -114,6 +115,15 @@ struct cfs_cpt_table * > memset(cptab->ctb_cpu2cpt, -1, > nr_cpu_ids * sizeof(cptab->ctb_cpu2cpt[0])); > > + cptab->ctb_node2cpt = kvmalloc_array(nr_node_ids, > +

Re: [PATCH v5 1/3] perf/core: store context switch out type into Perf trace

2018-04-16 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 16, 2018 at 11:29:03AM +0300, Alexey Budankov escreveu: > Hi Arnaldo, > > On 09.04.2018 12:26, Peter Zijlstra wrote: > > On Mon, Apr 09, 2018 at 10:25:32AM +0300, Alexey Budankov wrote: > >> > >> Store preempting context switch out event into Perf trace as a part of > >> PERF_RECORD_S

Re: [PATCH v13 0/6] Address error and recovery for AER and DPC

2018-04-16 Thread Sinan Kaya
On 4/16/2018 9:27 AM, Bjorn Helgaas wrote: >>> We realized that DPC and hotplug is heavily integrated today. We >>> have use cases for systems without hotplug support but still >>> support DPC. That's the problem we are trying to solve with this >>> patchset. > Apparently there's a problem with sys

Re: [PATCH] dt-bindings: serial: sh-sci: Add support for r8a77965 (H)SCIF

2018-04-16 Thread Geert Uytterhoeven
On Mon, Apr 16, 2018 at 3:55 PM, Jacopo Mondi wrote: > Add documentation for r8a77965 compatible string to Renesas sci-serial > device tree bindings documentation. > > Signed-off-by: Jacopo Mondi My Reviewed-by: Geert Uytterhoeven on v2 of the full r8a77965 series is still valid. Gr{oetje,eeti

Re: [PATCH v2] perf list: Add s390 support for detailed/verbose pmu event description

2018-04-16 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 16, 2018 at 03:23:14PM +0200, Thomas Richter escreveu: > From: Thomas Richter > > Perf list with flags -d and -v print a description (-d) or > a very verbose explanation (-v) of CPU specific counter events. > These descriptions are provided with the json files in > directory pmu-event

Re: [linux-sunxi] Re: [PATCH 3/5] net: stmmac: dwmac-sun8i: Allow getting syscon regmap from device

2018-04-16 Thread Maxime Ripard
On Thu, Apr 12, 2018 at 11:23:30PM +0800, Chen-Yu Tsai wrote: > On Thu, Apr 12, 2018 at 11:11 PM, Icenowy Zheng wrote: > > 于 2018年4月12日 GMT+08:00 下午10:56:28, Maxime Ripard > > 写到: > >>On Wed, Apr 11, 2018 at 10:16:39PM +0800, Icenowy Zheng wrote: > >>> From: Chen-Yu Tsai > >>> > >>> On the Allw

Re: [PATCHv4 02/10] mfd: ti-lmu: switch to gpiod

2018-04-16 Thread Lee Jones
On Fri, 30 Mar 2018, Sebastian Reichel wrote: > Use new descriptor based API instead of the legacy one. > > Signed-off-by: Sebastian Reichel > --- > drivers/mfd/ti-lmu.c | 28 > include/linux/mfd/ti-lmu.h | 3 ++- > 2 files changed, 14 insertions(+), 17 delet

Re: [PATCH 0/1] drm/xen-zcopy: Add Xen zero-copy helper DRM driver

2018-04-16 Thread Oleksandr Andrushchenko
Hello, all! After discussing xen-zcopy and hyper-dmabuf [1] approaches it seems that xen-zcopy can be made not depend on DRM core any more and be dma-buf centric (which it in fact is). The DRM code was mostly there for dma-buf's FD import/export with DRM PRIME UAPI and with DRM use-cases in m

Re: [linux-sunxi] Re: [PATCH 3/5] net: stmmac: dwmac-sun8i: Allow getting syscon regmap from device

2018-04-16 Thread Icenowy Zheng
于 2018年4月16日 GMT+08:00 下午10:31:30, Maxime Ripard 写到: >On Thu, Apr 12, 2018 at 11:23:30PM +0800, Chen-Yu Tsai wrote: >> On Thu, Apr 12, 2018 at 11:11 PM, Icenowy Zheng >wrote: >> > 于 2018年4月12日 GMT+08:00 下午10:56:28, Maxime Ripard > 写到: >> >>On Wed, Apr 11, 2018 at 10:16:39PM +0800, Icenowy Zheng

Re: [PATCH 1/4] x86/crypto: camellia: Fix function prototypes

2018-04-16 Thread João Moreira
+static inline void camellia_enc_blk(void *ctx, u8 *dst, const u8 *src) { - __camellia_enc_blk(ctx, dst, src, false); + __camellia_enc_blk((struct camellia_ctx *) ctx, dst, src, false); } I don't see how this is an improvement: instead of having a proper type there's now an opa

[PATCH v4 00/10] Designware EP support and code clean up

2018-04-16 Thread Gustavo Pimentel
The patch set was made against the Lorenzo's master branch. Adds support Designware EP support. Increases the maximum number of interrupts allowed for Designware IP controller. Does a code cleanup on Designware driver: - Replaces magic numbers without a easy meaning by a well known define th

[PATCH v4 08/10] PCI: dwc: Replace lower into upper case characters

2018-04-16 Thread Gustavo Pimentel
Replaces lower into upper case characters in comments and debug printks. This is an attempt to keep the messages coherent within the designware driver. Also fixed code style on dw_pcie_irq_domain_free function. Signed-off-by: Gustavo Pimentel Acked-by: Jingoo Han --- Change v1->v2: - Added an

[PATCH v4 09/10] PCI: dwc: Small computation improvement

2018-04-16 Thread Gustavo Pimentel
Replaces a simple division by 2 to a right shift rotation of 1 bit. Probably any recent and decent compiler does this kind of substitution in order to improve code performance. Nevertheless it's a coding good practice whenever there is a division / multiplication by multiple of 2 to replace it by

[PATCH v4 10/10] PCI: dwc: Replace magic number by defines

2018-04-16 Thread Gustavo Pimentel
Replace magic numbers by a well known define in order to make the code human readable and also facilitate the code reusability. Signed-off-by: Gustavo Pimentel Acked-by: Jingoo Han --- Change v1->v2: - Nothing changed, just to follow the patch set version. Change v2->v3: - Nothing changed, just

[PATCH v4 04/10] bindings: PCI: designware: Add support for the EP in Designware driver

2018-04-16 Thread Gustavo Pimentel
Add device tree binding documentation for the Endpoint in PCIe Designware driver. Signed-off-by: Gustavo Pimentel --- Change v1->v2: - Add a missing log description. - Add "snps,dw-pcie" compatible string following Kishon's suggestion. Change v2->v3: - Reverted pcie_ep name to pcie. Changes v3-

[PATCH v4 06/10] misc: pci_endpoint_test: Add designware EP entry

2018-04-16 Thread Gustavo Pimentel
Adds the designware EP device ID entry to pci_endpoint_test driver table to allow this device to be recognize and handle by the pci_endpoint_test driver. Signed-off-by: Gustavo Pimentel --- Change v1->v2: - Changed device id following Kishon's suggestion. Change v2->v3: - Nothing changed, just to

[PATCH v4 05/10] PCI: Adds device ID for Synopsys Sample Endpoint.

2018-04-16 Thread Gustavo Pimentel
The PCIe controller dual mode is capable of operating in host mode as well as endpoint mode by configuration. Signed-off-by: Gustavo Pimentel --- Change v1->v2: - Register new device id following Kishon's suggestion. Change v2->v3: - Nothing changed, just to follow the patch set version. Changes

[PATCH v4 07/10] PCI: dwc: Define maximum number of vectors

2018-04-16 Thread Gustavo Pimentel
Adds a callback that defines the maximum number of vectors that can be use by the Root Complex. Since this is a parameter associated to each SoC IP setting, makes sense to be configurable and easily visible to future modifications. The designware IP supports a maximum of 256 vectors. Signed-off-

Re: [PATCHv4 03/10] mfd: ti-lmu: use managed resource for everything

2018-04-16 Thread Lee Jones
On Fri, 30 Mar 2018, Sebastian Reichel wrote: > This replaces all remaining unmanaged resources with device > managed ones, so that the remove function is no longer needed. > This makes the code slightly shorter and fixes two problems: > > 1. The hardware is disabled after the child devices have

[PATCH v4 01/10] bindings: PCI: designware: Example update

2018-04-16 Thread Gustavo Pimentel
Replaces "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. Replaces the PCIe base address example by a real PCIe base address in use. Signed-off-by: Gustavo Pimentel --- Changes v1->v2: - Removed any

[PATCH v4 03/10] PCI: endpoint: functions/pci-epf-test: Add second entry

2018-04-16 Thread Gustavo Pimentel
Adds a seconds entry on the pci_epf_test_ids structure that disables the linkup_notifier parameter on driver. This allows EPs that doesn't have linkup notification signal to work with pcitest. Signed-off-by: Gustavo Pimentel --- Change v2->v3: - Added second entry in pci_epf_test_ids structure.

[PATCH v4 02/10] PCI: dwc: Add support for endpoint mode

2018-04-16 Thread Gustavo Pimentel
The PCIe controller dual mode is capable of operating in host mode as well as endpoint mode by configuration, therefore this patch aims to add endpoint mode support to the designware driver. Signed-off-by: Gustavo Pimentel --- Change v1->v2: - Removed dw_plat_pcie_stop_link empty function. - Im

Re: [PATCHv4 04/10] mfd: ti-lmu: drop of_compatible for backlight driver

2018-04-16 Thread Lee Jones
On Fri, 30 Mar 2018, Sebastian Reichel wrote: > This removes the of_compatible for the backlight sub-device. There > will be no extra sub-node for the backlight. Won't doing this in a separate patch break bisectability? > Signed-off-by: Sebastian Reichel > --- > drivers/mfd/ti-lmu.c | 6 --

Re: kernel panics with 4.14.X versions

2018-04-16 Thread Jan Kara
On Mon 16-04-18 15:25:50, Guillaume Morin wrote: > Fwiw, there have been already reports of similar soft lockups in > fsnotify() on 4.14: https://lkml.org/lkml/2018/3/2/1038 > > We have also noticed similar softlockups with 4.14.22 here. Yeah. > On 16 Apr 13:54, Pavlos Parissis wrote: > > > > Hi

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