Re: [PATCH v1 2/4] dt-bindings: clock: mediatek: add g3dsys bindings

2018-04-24 Thread Rob Herring
On Wed, Apr 18, 2018 at 06:24:54PM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > Add bindings to g3dsys providing necessary clock and reset control to > Mali-450. > > Signed-off-by: Sean Wang > --- > .../bindings/arm/mediatek/mediatek,g3dsys.txt | 30 > ++

Re: [PATCH v1 1/4] dt-bindings: gpu: mali-utgard: add mediatek,mt7623-mali compatible

2018-04-24 Thread Rob Herring
On Wed, Apr 18, 2018 at 06:24:53PM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > The MediaTek MT7623 SoC contains a Mali-450, so add a compatible for it > and define its own vendor-specific properties. > > Signed-off-by: Sean Wang > --- > Documentation/devicetree/bindings/gpu/arm,

[PATCH 2/7] genirq/debugfs: Use irq_print_chip method if available

2018-04-24 Thread Marc Zyngier
If an irqchip has provided an irq_print_chip method, let's use it instead of the name field directly. Signed-off-by: Marc Zyngier --- kernel/irq/debugfs.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kernel/irq/debugfs.c b/kernel/irq/debugfs.c index da41150322e1..50

[PATCH 3/7] genirq/debugfs: Allow irq domain name to be overriden

2018-04-24 Thread Marc Zyngier
As for irqchip, it would be useful for a domain to generate its name dynamically, and thus control the name that gets used in debugfs. Signed-off-by: Marc Zyngier --- include/linux/irqdomain.h | 1 + kernel/irq/irqdomain.c| 14 ++ 2 files changed, 15 insertions(+) diff --git a/

[PATCH 7/7] irqchip/partition-percpu: Move allocation of chained interrupt to activate

2018-04-24 Thread Marc Zyngier
The partition-percpu helpers work by tying the real interrupt to an affinity-driven chained irqchip. So far, all the interrupt that can be partitionned are being created at boot time. This is a waste of resource, and means that we need to bypass some of the critical checks (such as the trigger con

[PATCH 6/7] irqchip/partition-percpu: Allow chained_desc to be NULL

2018-04-24 Thread Marc Zyngier
As we're about to delay the binding of the partionned interrupt to the underlying irqchip, we can end-up in a situation where chained_desc will be NULL, and the operation cannot be carried out. Let's make sure we don't explode if that happens. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq

[PATCH 0/7] Partitioned percpu IRQ rework

2018-04-24 Thread Marc Zyngier
Partitioned percpu interrupts are a very niche sport, even in the ARM world. They occur when each CPU have a private device connected to a per-CPU interrupt, but not all the devices are the same. The best example of this occurs on the Rockchip rk3399 SoC, where all the CPUs have a PMU connected to

[PATCH 4/7] irqchip/partition-percpu: Override domain name in debugfs

2018-04-24 Thread Marc Zyngier
So far, domain names that implement a percpu_devid partition inherit the main domain name, which leads to conflicts in debugfs and results in the absence of important data. Let's provide a callback that will repaint the default name, and keep all the data available. Signed-off-by: Marc Zyngier -

[PATCH 5/7] irqchip/partition-percpu: Refactor backend method calling

2018-04-24 Thread Marc Zyngier
The various methods provided by the partition-percpu irqchip are only wrappers that end-up calling into the underlying irqchip. As we're about to change the code a bit, let's start with introducing a set of helpers that will make that transition much more painless. No functionnal change. Signed-o

Re: [PATCH v2] mm: introduce memory.min

2018-04-24 Thread Roman Gushchin
Hi Vladimir! > On Mon, Apr 23, 2018 at 01:36:10PM +0100, Roman Gushchin wrote: > > + memory.min > > + A read-write single value file which exists on non-root > > + cgroups. The default is "0". > > + > > + Hard memory protection. If the memory usage of a cgroup > > + is within its effect

Re: [PATCH 1/3] big key: get rid of stack array allocation

2018-04-24 Thread Tycho Andersen
Hi Eric, On Mon, Apr 23, 2018 at 09:50:15PM -0700, Eric Biggers wrote: > Hi Tycho, > > On Mon, Apr 23, 2018 at 07:03:19PM -0600, Tycho Andersen wrote: > > We're interested in getting rid of all of the stack allocated arrays in the > > kernel [1]. This patch simply hardcodes the iv length to match

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

2018-04-24 Thread Takashi Iwai
On Tue, 24 Apr 2018 16:29:15 +0200, Oleksandr Andrushchenko wrote: > > On 04/24/2018 05:20 PM, Takashi Iwai wrote: > > On Mon, 16 Apr 2018 08:24:51 +0200, > > Oleksandr Andrushchenko wrote: > >> +static irqreturn_t evtchnl_interrupt_req(int irq, void *dev_id) > >> +{ > >> + struct xen_snd_front_e

Re: [PATCH 9/9] Protect SELinux initialized state with pmalloc

2018-04-24 Thread Igor Stoppa
On 24/04/18 16:49, Stephen Smalley wrote: On 04/23/2018 08:54 AM, Igor Stoppa wrote: [...] The patch is probably in need of rework, to make it fit better with the new SELinux internal data structures, however it shows how to deny an easy target to the attacker. I know this is just an exam

Re: [PATCH] ftrace/x86: Fix arch_syscall_match_sym_name for x86_64

2018-04-24 Thread Steven Rostedt
On Tue, 24 Apr 2018 12:17:38 +0200 Jiri Olsa wrote: > Recent commit changed the name prefix of syscalls > for x86_64 (check the 'Fixes:' for commit number). > > The names switch from "sys_" prefix to ""__x64_sys_", > which made the default matching function always fail. > > Consequently the ftr

Re: [PATCH] clk: qcom: Add some missing gcc clks for msm8996

2018-04-24 Thread Rob Herring
On Tue, Apr 17, 2018 at 05:09:26PM -0700, Bjorn Andersson wrote: > From: Rajendra Nayak > > Add a few missing gcc clks for msm8996 > > Signed-off-by: Rajendra Nayak > [bjorn: omit aggre0_noc_qosgen_extref_clk] > Signed-off-by: Bjorn Andersson > --- > > This patch was accompanied by one that a

Re: [PATCH v2 13/13] media: imx274: add SELECTION support for cropping

2018-04-24 Thread Luca Ceresoli
Hi Sakari, On 24/04/2018 11:59, Sakari Ailus wrote: > Hi Luca, > > Thank you for the patchset. > > Some comments below... what I propose is that I apply the rest of the > patches and then the comments to this one could be addressed separately. > Would that work for you? Yes, but I suggest you o

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

2018-04-24 Thread Oleksandr Andrushchenko
On 04/24/2018 05:20 PM, Takashi Iwai wrote: On Mon, 16 Apr 2018 08:24:51 +0200, Oleksandr Andrushchenko wrote: +static irqreturn_t evtchnl_interrupt_req(int irq, void *dev_id) +{ + struct xen_snd_front_evtchnl *channel = dev_id; + struct xen_snd_front_info *front_info = channel->fron

Re: kernel BUG at fs/f2fs/node.c:LINE!

2018-04-24 Thread Dmitry Vyukov
On Tue, Apr 24, 2018 at 8:42 AM, syzbot wrote: > Hello, > > syzbot tried to test the proposed patch but build/boot failed: > > failed to create VM pool: failed to create GCE image: failed to get create > image operation operation-1524552040215-56a926ecc71d9-3edfeb8b-8abca81c: > googleapi: Error 40

Re: [PATCH 02/39] proc: introduce proc_create_seq{,_data}

2018-04-24 Thread Christoph Hellwig
On Thu, Apr 19, 2018 at 09:41:06PM +0300, Alexey Dobriyan wrote: > Should be oopsable. > Once proc_create_data() returns, entry is live, ->open can be called. Ok, switching to opencoding proc_create_data instead.

Re: [PATCH 03/39] proc: introduce proc_create_seq_private

2018-04-24 Thread Christoph Hellwig
On Thu, Apr 19, 2018 at 09:50:27PM +0300, Alexey Dobriyan wrote: > On Thu, Apr 19, 2018 at 02:41:04PM +0200, Christoph Hellwig wrote: > > Variant of proc_create_data that directly take a struct seq_operations > > > --- a/fs/proc/internal.h > > +++ b/fs/proc/internal.h > > @@ -45,6 +45,7 @@ struct

Re: [PATCH] Bluetooth: btusb: add ID for LiteOn 04ca:301a

2018-04-24 Thread Marcel Holtmann
Hi Matthias, > Contains a QCA6174A chipset, with USB BT. Let's support loading > firmware on it. > > From usb-devices: > T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 2.01 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=04ca ProdID=301a Rev= 0.01 > C:*

Re: [PATCH] drm/admgpu: fix mode_valid's return type

2018-04-24 Thread Harry Wentland
On 2018-04-24 09:14 AM, Luc Van Oostenryck wrote: > The method struct drm_connector_helper_funcs::mode_valid is defined > as returning an 'enum drm_mode_status' but the driver implementation > for this method uses an 'int' for it. > > Fix this by using 'enum drm_mode_status' in the driver too. >

Re: simplify procfs code for seq_file instances

2018-04-24 Thread Christoph Hellwig
On Thu, Apr 19, 2018 at 09:57:50PM +0300, Alexey Dobriyan wrote: > > git://git.infradead.org/users/hch/misc.git proc_create > > > I want to ask if it is time to start using poorman function overloading > with _b_c_e(). There are millions of allocation functions for example, > all slightly dif

Re: Early timeouts due to inaccurate jiffies during system suspend/resume

2018-04-24 Thread Ville Syrjälä
On Tue, Apr 24, 2018 at 05:07:41PM +0300, Imre Deak wrote: > On Mon, Apr 23, 2018 at 08:01:28PM +0300, Imre Deak wrote: > > On Thu, Apr 19, 2018 at 01:05:39PM +0200, Thomas Gleixner wrote: > > > On Thu, 19 Apr 2018, Imre Deak wrote: > > > > Hi, > > > > > > > > while checking bug [1], I noticed tha

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

2018-04-24 Thread Takashi Iwai
On Mon, 16 Apr 2018 08:24:51 +0200, Oleksandr Andrushchenko wrote: > +static irqreturn_t evtchnl_interrupt_req(int irq, void *dev_id) > +{ > + struct xen_snd_front_evtchnl *channel = dev_id; > + struct xen_snd_front_info *front_info = channel->front_info; > + struct xensnd_resp *resp; >

[PATCH] powerpc/signal32: Use fault_in_pages_readable() to prefault user context

2018-04-24 Thread Christophe Leroy
Use fault_in_pages_readable() to prefault user context instead of open coding Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/signal_32.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/kernel/signal_32.c b/arch/powerpc/kernel/signal_32.c in

Re: [PATCH 03/39] proc: introduce proc_create_seq_private

2018-04-24 Thread Christoph Hellwig
On Thu, Apr 19, 2018 at 05:18:18PM +0300, Dan Carpenter wrote: > > -static const struct file_operations cio_ignore_proc_fops = { > > - .open= cio_ignore_proc_open, > > - .read= seq_read, > > - .llseek = seq_lseek, > > - .release = seq_release_private, > > - .write = cio_ignore_

Re: [PATCH] arm64: support __int128 with clang

2018-04-24 Thread Mark Rutland
On Tue, Apr 24, 2018 at 02:56:09PM +0100, Mark Rutland wrote: > I belevie that currently it is not possible to use a released version of > clang to build a working kernel without additional patches (at least > 5.0.0, there don't seem to be any 6.0.0 binaries that can target > AArch64). Issues inclu

Re: [RFC] [PATCH 0/5] procfs: reduce duplication by using symlinks

2018-04-24 Thread Eric W. Biederman
je...@suse.com writes: > From: Jeff Mahoney > > Hi all - > > I recently encountered a customer issue where, on a machine with many TiB > of memory and a few hundred cores, after a task with a few thousand threads > and hundreds of files open exited, the system would softlockup. That > issue was

Re: [RFC v4 PATCH] mm: shmem: make stat.st_blksize return huge page size if THP is on

2018-04-24 Thread Yang Shi
On 4/24/18 5:23 AM, Kirill A. Shutemov wrote: On Tue, Apr 24, 2018 at 12:00:50PM +0800, Yang Shi wrote: Since tmpfs THP was supported in 4.8, hugetlbfs is not the only filesystem with huge page support anymore. tmpfs can use huge page via THP when mounting by "huge=" mount option. When applic

Re: [PATCH 16/39] ipmi: simplify procfs code

2018-04-24 Thread Christoph Hellwig
On Thu, Apr 19, 2018 at 10:29:29AM -0500, Corey Minyard wrote: > On 04/19/2018 07:41 AM, Christoph Hellwig wrote: >> Use remove_proc_subtree to remove the whole subtree on cleanup instead >> of a hand rolled list of proc entries, unwind the registration loop into >> individual calls. Switch to use

Re: [PATCH 26/39] rtc/proc: switch to proc_create_single_data

2018-04-24 Thread Christoph Hellwig
On Thu, Apr 19, 2018 at 03:10:27PM +0200, Alexandre Belloni wrote: > On 19/04/2018 14:41:27+0200, Christoph Hellwig wrote: > > And stop trying to get a reference on the submodule, procfs code deals > > with release after and unloaded module and thus removed proc entry. > > > > Are you sure about

Re: [PATCH v3 01/19] powerpc/powermac: Mark variable x as unused

2018-04-24 Thread Christophe LEROY
Le 04/04/2018 à 22:07, Mathieu Malaterre a écrit : Since the value of x is never intended to be read, declare it with gcc attribute as unused. Fix warning treated as error with W=1: arch/powerpc/platforms/powermac/bootx_init.c:471:21: error: variable ‘x’ set but not used [-Werror=unused-bu

[PATCH 05/10] ia64: Switch to generic local_softirq_pending() implementation

2018-04-24 Thread Frederic Weisbecker
Benefit from the generic softirq mask implementation that rely on per-CPU mutators instead of working with raw operators on top of this_cpu_ptr(). Signed-off-by: Frederic Weisbecker Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Sebastian Andrzej Siewior Cc: David S. Miller Cc: B

Re: [PATCH 20/39] afs: simplify procfs code

2018-04-24 Thread Christoph Hellwig
On Fri, Apr 20, 2018 at 01:29:34PM +0100, David Howells wrote: > David Howells wrote: > > > > Use remove_proc_subtree to remove the whole subtree on cleanup, and > > > unwind the registration loop into individual calls. Switch to use > > > proc_create_seq where applicable. > > > > Note that thi

[PATCH 06/10] parisc: Switch to generic local_softirq_pending() implementation

2018-04-24 Thread Frederic Weisbecker
Remove the ad-hoc implementation, the generic code now allows us not to reinvent the wheel. Signed-off-by: Frederic Weisbecker Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Sebastian Andrzej Siewior Cc: David S. Miller Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael

c9e97a1997 ("mm: initialize pages on demand during boot"): BUG: kernel reboot-without-warning in early-boot stage, last printk: early console in setup code

2018-04-24 Thread kernel test robot
emand during boot 6d08b06e67 Linux 4.17-rc2 43cd1f4979 Add linux-next specific files for 201

[PATCH 09/10] x86: Switch to generic local_softirq_pending() implementation

2018-04-24 Thread Frederic Weisbecker
Remove the ad-hoc implementation, the generic code now allows us not to reinvent the wheel. Signed-off-by: Frederic Weisbecker Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Sebastian Andrzej Siewior Cc: David S. Miller Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael

Re: [PATCH] ALSA: hda: Request driver probe from an async task

2018-04-24 Thread Takashi Iwai
On Tue, 24 Apr 2018 16:03:53 +0200, Paul Menzel wrote: > > Dear Takashi, > > > On 04/24/18 14:15, Takashi Iwai wrote: > > On Tue, 24 Apr 2018 13:59:58 +0200, > > Paul Menzel wrote: > > >> On 04/23/18 14:33, Takashi Iwai wrote: > >>> On Mon, 23 Apr 2018 14:30:36 +0200, Paul Menzel wrote: > >> >

[PATCH 10/10] softirq/s390: Move default mutators of overwritten softirq mask to s390

2018-04-24 Thread Frederic Weisbecker
s390 is now the last architecture that entirely overwrites local_softirq_pending() and uses the according default definitions of set_softirq_pending() and or_softirq_pending(). Just move these to s390 to debloat the generic code complexity. Suggested-by: Peter Zijlstra Signed-off-by: Frederic We

[PATCH 07/10] powerpc: Switch to generic local_softirq_pending() implementation

2018-04-24 Thread Frederic Weisbecker
Remove the ad-hoc implementation, the generic code now allows us not to reinvent the wheel. Acked-by: Michael Ellerman Signed-off-by: Frederic Weisbecker Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Sebastian Andrzej Siewior Cc: David S. Miller Cc: Benjamin Herrenschmidt Cc:

[PATCH 08/10] sparc: Switch to generic local_softirq_pending() implementation

2018-04-24 Thread Frederic Weisbecker
Benefit from the generic softirq mask implementation that rely on per-CPU mutators instead of working with raw operators on top of this_cpu_ptr(). Signed-off-by: Frederic Weisbecker Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Sebastian Andrzej Siewior Cc: David S. Miller Cc: B

[PATCH 03/10] softirq: Turn default irq_cpustat_t to standard per-cpu

2018-04-24 Thread Frederic Weisbecker
In order to optimize and consolidate softirq mask accesses, let's convert the default irq_cpustat_t implementation to per-CPU standard API. Signed-off-by: Frederic Weisbecker Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Sebastian Andrzej Siewior Cc: David S. Miller Cc: Benjamin

[GIT PULL] softirq: Consolidate and optimize softirq mask v3

2018-04-24 Thread Frederic Weisbecker
Thomas, Ingo, Please pull the softirq/mask-v3 branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git softirq/mask-v3 HEAD: e225bb16aa5eb0ab83ddd0de423aca3057b1cfee (No change since last version, just a rebase against v4.17-rc1 and add acks

[PATCH 04/10] softirq: Consolidate default local_softirq_pending() implementations

2018-04-24 Thread Frederic Weisbecker
Consolidate and optimize default softirq mask API implementations. Per-CPU operations are expected to be faster and a few architectures already rely on them to implement local_softirq_pending() and related accessors/mutators. Those will be migrated to the new generic code. Signed-off-by: Frederic

[PATCH 02/10] sparc: Convert local_softirq_pending() to use per-cpu op

2018-04-24 Thread Frederic Weisbecker
In order to consolidate and optimize generic softirq mask accesses, we first need to convert architectures to use per-cpu operations when possible. Signed-off-by: Frederic Weisbecker Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Sebastian Andrzej Siewior Cc: David S. Miller Cc:

[PATCH 01/10] ia64: Convert local_softirq_pending() to per-cpu ops

2018-04-24 Thread Frederic Weisbecker
In order to consolidate and optimize generic softirq mask accesses, we first need to convert architectures to use per-cpu operations when possible. Signed-off-by: Frederic Weisbecker Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Sebastian Andrzej Siewior Cc: David S. Miller Cc:

Re: [RFC 00/13] arm64: allwinner: Add A64 DE2 pipeline support

2018-04-24 Thread Maxime Ripard
On Tue, Apr 24, 2018 at 07:04:12PM +0530, Jagan Teki wrote: > Allwinner A64 has display engine pipeline like other Allwinner SOC's > A83T/H3/H5. > > A64 DE2 behaviour similar to Allwinner A83T where mixer0, connected to tcon0 > with > RGB, LVDS MIPI-DSI and mixer1, connected to tcon1 with HDMI.

Re: Early timeouts due to inaccurate jiffies during system suspend/resume

2018-04-24 Thread Imre Deak
On Mon, Apr 23, 2018 at 08:01:28PM +0300, Imre Deak wrote: > On Thu, Apr 19, 2018 at 01:05:39PM +0200, Thomas Gleixner wrote: > > On Thu, 19 Apr 2018, Imre Deak wrote: > > > Hi, > > > > > > while checking bug [1], I noticed that jiffies based timing loops like > > > > > > expire = jiffies + tim

RE: [RFC 01/10] PCI: dwc: Add MSI-X callbacks handler

2018-04-24 Thread Alan Douglas
Hi Kishon, On 24 April 2018 10:36 Gustavo Pimentel wrote: > Hi Kishon, > > On 24/04/2018 08:07, Kishon Vijay Abraham I wrote: > > Hi, > > > > On Monday 23 April 2018 03:06 PM, Gustavo Pimentel wrote: > >> Hi Kishon, > >> > >> On 16/04/2018 10:29, Kishon Vijay Abraham I wrote: > >>> Hi Gustavo, >

Re: [PATCH 1/2] clk: honor CLK_MUX_ROUND_CLOSEST in generic clk mux

2018-04-24 Thread Ezequiel Garcia
On 9 April 2018 at 10:59, Jerome Brunet wrote: > > CLK_MUX_ROUND_CLOSEST is part of the clk_mux documentation but clk_mux > directly calls __clk_mux_determine_rate(), which overrides the flag. > As result, if clk_mux is instantiated with CLK_MUX_ROUND_CLOSEST, the > flag will be ignored and the cl

Re: [PATCH] ALSA: hda: Request driver probe from an async task

2018-04-24 Thread Paul Menzel
Dear Takashi, On 04/24/18 14:15, Takashi Iwai wrote: On Tue, 24 Apr 2018 13:59:58 +0200, Paul Menzel wrote: On 04/23/18 14:33, Takashi Iwai wrote: On Mon, 23 Apr 2018 14:30:36 +0200, Paul Menzel wrote: On 04/23/18 14:21, Takashi Iwai wrote: On Mon, 23 Apr 2018 14:05:52 +0200, Paul Menze

[PATCH 3/3] dma-debug: unexport dma_debug_resize_entries and debug_dma_dump_mappings

2018-04-24 Thread Christoph Hellwig
Only used by the AMD GART driver, which must be built in. Signed-off-by: Christoph Hellwig --- lib/dma-debug.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/dma-debug.c b/lib/dma-debug.c index 075253cb613b..6a1ebaa83623 100644 --- a/lib/dma-debug.c +++ b/lib/dma-debug.c @@ -444,7 +444

[PATCH 1/3] dma-debug: move initialization to common code

2018-04-24 Thread Christoph Hellwig
Most mainstream architectures are using 65536 entries, so lets stick to that. If someone is really desperate to override it that can still be done through , but I'd rather see a really good rationale for that. dma_debug_init is now called as a core_initcall, which for many architectures means muc

[PATCH 2/3] dma-debug: simplify counting of preallocated requests

2018-04-24 Thread Christoph Hellwig
Just keep a single variable with a descriptive name instead of two with confusing names. Signed-off-by: Christoph Hellwig --- lib/dma-debug.c | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/lib/dma-debug.c b/lib/dma-debug.c index 712a897174e4..075253cb61

dma-debug cleanups, including removing the arch hook

2018-04-24 Thread Christoph Hellwig
Hi all, this series has a few dma-debug cleanups, most notably removing the need for architectures to explicitly initialize dma-debug.

Re: [RESEND PATCH v6 22/27] drm/bridge: analogix_dp: Split the platform-specific poweron in two parts

2018-04-24 Thread Jingoo Han
On Monday, April 23, 2018 6:50 AM, Enric Balletbo i Serra wrote: > > From: Douglas Anderson > > Some of the platform-specific stuff in rockchip_dp_poweron() needs to > happen before the generic code. Some needs to happen after. Let's > split the callback in two. > > Specifically we can't star

Re: [PATCH v4 03/15] KVM: s390: refactor crypto initialization

2018-04-24 Thread Cornelia Huck
On Tue, 24 Apr 2018 09:01:12 -0400 Tony Krowiak wrote: > On 04/23/2018 03:03 AM, Cornelia Huck wrote: > > On Sun, 22 Apr 2018 10:52:55 -0400 > > Tony Krowiak wrote: > > > >>> (Not providing a crycb if APXA is not available would be loss of > >>> functionality, I guess? Deciding not to

[PATCH] drm/amdkfd: fix typing in (*hqd_destroy)

2018-04-24 Thread Luc Van Oostenryck
The method (*hqd_destroy) is defined as using an 'uint32_t' as 3rd argument but the the actual implementation of this method and all its calls actually uses an 'enum kfd_preempt_type' for this argument. Fix this by using 'enum kfd_preempt_type' for (*hqd_destroy) too. Signed-off-by: Luc Van Ooste

[PATCH] cpufreq: fix speedstep_detect_processor()'s return type

2018-04-24 Thread Luc Van Oostenryck
speedstep_detect_processor() is declared as returing an 'enum speedstep_processor' but use an 'int' in its definition. Fix this by using 'enum speedstep_processor' in its definition too. Signed-off-by: Luc Van Oostenryck --- drivers/cpufreq/speedstep-lib.c | 2 +- 1 file changed, 1 insertion(+)

[PATCH] drm/bochs: fix mode_valid's return type

2018-04-24 Thread Luc Van Oostenryck
The method struct drm_connector_helper_funcs::mode_valid is defined as returning an 'enum drm_mode_status' but the driver implementation for this method uses an 'int' for it. Fix this by using 'enum drm_mode_status' in the driver too. Signed-off-by: Luc Van Oostenryck --- drivers/gpu/drm/bochs/

Re: [PATCH v2] doc: usb: ci-hdrc-usb2: Add property "mux-controls"

2018-04-24 Thread Rob Herring
On Tue, Apr 17, 2018 at 04:53:25PM +0300, Yossi Mansharoff wrote: > The chipidea usb controller may be connected, in some platforms, > to an external mux to toggle between different usb ports for > different roles (host and device). > > The mux-controller property, if set, binds the chipidea usb >

Re: [PATCH] arm64: support __int128 with clang

2018-04-24 Thread Jason A. Donenfeld
On Tue, Apr 24, 2018 at 3:47 PM, Jason A. Donenfeld wrote: > On Tue, Apr 24, 2018 at 3:35 PM, Will Deacon wrote: >> On Sun, Apr 15, 2018 at 06:20:11PM +0200, Jason A. Donenfeld wrote: >>> Would you review/merge this when you have a chance? >> >> No real objection from me, but does the arm64 kerne

Re: [PATCH v2 1/5] ALSA: xen-front: Introduce Xen para-virtualized sound frontend driver

2018-04-24 Thread Oleksandr Andrushchenko
On 04/24/2018 04:55 PM, Takashi Iwai wrote: On Mon, 16 Apr 2018 08:24:49 +0200, Oleksandr Andrushchenko wrote: --- /dev/null +++ b/sound/xen/Kconfig @@ -0,0 +1,10 @@ +# ALSA Xen drivers + +config SND_XEN_FRONTEND + tristate "Xen para-virtualized sound frontend driver" + depends on XE

Re: [RFC PATCH] MIPS: Oprofile: Drop support

2018-04-24 Thread Christoph Hellwig
On Tue, Apr 24, 2018 at 01:55:54PM +0100, Matt Redfearn wrote: > The core oprofile code in drivers/oprofile/ has not seeen significant > maintenance other than fixes to changes in other parts of the tree for > the last 5 years at least. It looks as through the perf tool has > more or less superceed

[PATCH] drm/bridge: adv7511: fix mode_valid's return type

2018-04-24 Thread Luc Van Oostenryck
The method struct drm_connector_helper_funcs::mode_valid is defined as returning an 'enum drm_mode_status' but the driver implementation for this method uses an 'int' for it. Fix this by using 'enum drm_mode_status' in the driver too. Signed-off-by: Luc Van Oostenryck --- drivers/gpu/drm/bridge

[PATCH] drm/gma500: fix psb_intel_lvds_mode_valid()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method struct drm_connector_helper_funcs::mode_valid is defined as returning an 'enum drm_mode_status' but the driver implementation for this method, psb_intel_lvds_mode_valid(), uses an 'int' for it. Fix this by using 'enum drm_mode_status' for psb_intel_lvds_mode_valid(). Signed-off-by: Luc

Re: [PATCH net-next 1/3] net: phy: Add binding for vendor specific C45 MDIO address space

2018-04-24 Thread Rob Herring
On Tue, Apr 17, 2018 at 11:29:27AM -0700, Florian Fainelli wrote: > On 04/17/2018 11:27 AM, Andrew Lunn wrote: > > On Tue, Apr 17, 2018 at 11:18:20AM -0700, Florian Fainelli wrote: > >> On 04/17/2018 02:02 AM, Vicentiu Galanopulo wrote: > >>> The extra property enables the discovery on the MDIO bus

Re: [RESEND PATCH v6 13/27] drm/rockchip: Restore psr->state when enable/disable psr failed

2018-04-24 Thread Jingoo Han
On Monday, April 23, 2018 6:50 AM, Enric Balletbo i Serra wrote: > > From: zain wang > > If we failed disable psr, it would hang the display until next psr > cycle coming. So we should restore psr->state when it failed. > > Cc: Tomasz Figa > Signed-off-by: zain wang > Signed-off-by: Douglas A

[PATCH] drm/i915: fix intel_dvo_dev_ops::mode_valid's return type

2018-04-24 Thread Luc Van Oostenryck
All implementations of the method intel_dvo_dev_ops::mode_valid(), as well as the underlying struct drm_connector_helper_funcs::mode_valid() use 'enum drm_mode_status' for the method's return type but the declaration of intel_dvo_dev_ops::mode_valid() uses an 'int' for it. Fix this by using 'enum

[PATCH] drm/bridge: tc358767: fix mode_valid's return type

2018-04-24 Thread Luc Van Oostenryck
The method struct drm_connector_helper_funcs::mode_valid is defined as returning an 'enum drm_mode_status' but the driver implementation for this method uses an 'int' for it. Fix this by using 'enum drm_mode_status' in the driver too. Signed-off-by: Luc Van Oostenryck --- drivers/gpu/drm/bridge

Re: [PATCH v8 0/6] typec: tcpm: Add sink side support for PPS

2018-04-24 Thread Greg Kroah-Hartman
On Mon, Apr 23, 2018 at 03:10:55PM +0100, Adam Thomson wrote: > This patch set adds sink side support for the PPS feature introduced in the > USB PD 3.0 specification. > > The source PPS supply is represented using the Power Supply framework to > provide > access and control APIs for dealing with

Re: [RESEND PATCH v6 11/27] drm/bridge: analogix_dp: Fix AUX_PD bit for Rockchip

2018-04-24 Thread Jingoo Han
On Monday, April 23, 2018 6:50 AM, Enric Balletbo i Serra wrote: > > From: zain wang > > There are some different bits between Rockchip and Exynos in register > "AUX_PD". This patch fixes the incorrect operations about it. > > Cc: Douglas Anderson > Signed-off-by: zain wang > Signed-off-by: S

Re: Linux messages full of `random: get_random_u32 called from`

2018-04-24 Thread Theodore Y. Ts'o
On Tue, Apr 24, 2018 at 01:48:16PM +0200, Paul Menzel wrote: > Dear Linux folks, > > w > Since Linux 4.17-rcX, Linux spams a lot of `random: get_random_u32 called > from` messages. I believe, this setting should be reverted by default as > otherwise a lot of other messages are not seen. Can you t

Re: [PATCH] arm64: support __int128 with clang

2018-04-24 Thread Mark Rutland
On Tue, Apr 24, 2018 at 02:35:27PM +0100, Will Deacon wrote: > On Sun, Apr 15, 2018 at 06:20:11PM +0200, Jason A. Donenfeld wrote: > > Would you review/merge this when you have a chance? > > No real objection from me, but does the arm64 kernel actually build with > clang? I belevie that currently

[PATCH] drm/mgag200: fix mode_valid's return type

2018-04-24 Thread Luc Van Oostenryck
The method struct drm_connector_helper_funcs::mode_valid is defined as returning an 'enum drm_mode_status' but the driver implementation for this method uses an 'int' for it. Fix this by using 'enum drm_mode_status' in the driver too. Signed-off-by: Luc Van Oostenryck --- drivers/gpu/drm/mgag20

[PATCH] drm/radeon: fix mode_valid's return type

2018-04-24 Thread Luc Van Oostenryck
The method struct drm_connector_helper_funcs::mode_valid is defined as returning an 'enum drm_mode_status' but the driver implementation for this method uses an 'int' for it. Fix this by using 'enum drm_mode_status' in the driver too. Signed-off-by: Luc Van Oostenryck --- drivers/gpu/drm/radeon

Re: [PATCH v2 1/5] ALSA: xen-front: Introduce Xen para-virtualized sound frontend driver

2018-04-24 Thread Takashi Iwai
On Mon, 16 Apr 2018 08:24:49 +0200, Oleksandr Andrushchenko wrote: > --- /dev/null > +++ b/sound/xen/Kconfig > @@ -0,0 +1,10 @@ > +# ALSA Xen drivers > + > +config SND_XEN_FRONTEND > + tristate "Xen para-virtualized sound frontend driver" > + depends on XEN && SND_PCM Please do select SND_

[PATCH] drm/i2c: tda998x: fix mode_valid's return type

2018-04-24 Thread Luc Van Oostenryck
The method struct drm_connector_helper_funcs::mode_valid is defined as returning an 'enum drm_mode_status' but the driver implementation for this method uses an 'int' for it. Fix this by using 'enum drm_mode_status' in the driver too. Signed-off-by: Luc Van Oostenryck --- drivers/gpu/drm/i2c/td

[PATCH] drm/qxl: fix mode_valid's return type

2018-04-24 Thread Luc Van Oostenryck
The method struct drm_connector_helper_funcs::mode_valid is defined as returning an 'enum drm_mode_status' but the driver implementation for this method uses an 'int' for it. Fix this by using 'enum drm_mode_status' in the driver too. Signed-off-by: Luc Van Oostenryck --- drivers/gpu/drm/qxl/qx

Re: [PATCH] proc: use #pragma once

2018-04-24 Thread Christoph Hellwig
On Tue, Apr 24, 2018 at 12:35:34AM +0300, Alexey Dobriyan wrote: > Bring /proc into 21st century. Please explain what this actually buys us except for being pointlessly different from the rest of the kernel?

Re: [RESEND PATCH v6 10/27] drm/bridge: analogix_dp: Check dpcd write/read status

2018-04-24 Thread Jingoo Han
On Monday, April 23, 2018 6:50 AM, Enric Balletbo i Serra wrote: > > From: Lin Huang > > We need to check the dpcd write/read return value to see whether the > write/read was successful > > Cc: Kristian H. Kristensen > Signed-off-by: Lin Huang > Signed-off-by: zain wang > Signed-off-by: Doug

[PATCH] drm/nouveau: fix nouveau_dsm_get_client_id()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method struct vga_switcheroo_handler::get_client_id() is defined as returning an 'enum vga_switcheroo_client_id' but the implementation in this driver, nouveau_dsm_get_client_id(), returns an 'int'. Fix this by returning 'enum vga_switcheroo_client_id' in this driver too. Signed-off-by: Luc V

[PATCH] apple-gmux: fix gmux_get_client_id()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method struct vga_switcheroo_handler::get_client_id() is defined as returning an 'enum vga_switcheroo_client_id' but the implementation in this driver, gmux_get_client_id(), returns an 'int'. Fix this by returning 'enum vga_switcheroo_client_id' in this driver too. Signed-off-by: Luc Van Oost

[PATCH] vboxvideo: fix mode_valid's return type

2018-04-24 Thread Luc Van Oostenryck
The method struct drm_connector_helper_funcs::mode_valid is defined as returning an 'enum drm_mode_status' but the driver implementation for this method uses an 'int' for it. Fix this by using 'enum drm_mode_status' in the driver too. Signed-off-by: Luc Van Oostenryck --- drivers/staging/vboxvi

[PATCH] drm/radeon: fix radeon_atpx_get_client_id()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method struct vga_switcheroo_handler::get_client_id() is defined as returning an 'enum vga_switcheroo_client_id' but the implementation in this driver, radeon_atpx_get_client_id(), returns an 'int'. Fix this by returning 'enum vga_switcheroo_client_id' in this driver too. Signed-off-by: Luc V

[PATCH] sgi-xp: fix xpnet_dev_hard_start_xmit()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/misc/sgi-xp/xpnet.c | 2 +- 1

Re: [RFC PATCH] MIPS: Oprofile: Drop support

2018-04-24 Thread Matt Redfearn
On 24/04/18 14:05, James Hogan wrote: On Tue, Apr 24, 2018 at 01:55:54PM +0100, Matt Redfearn wrote: Since it appears that MIPS oprofile support is currently broken, core oprofile is not getting many updates and not as many architectures implement support for it compared to perf, remove the MI

[PATCH] IB/nes: fix nes_netdev_start_xmit()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/infiniband/hw/nes/nes_nic.c |

[PATCH] cail-hsi: fix cfhsi_xmit()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/caif/caif_hsi.c | 2 +- 1

[PATCH] caif: fix caif_xmit()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/caif/caif_serial.c | 2 +-

[PATCH] can: janz-ican3: fix ican3_xmit()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/can/janz-ican3.c | 2 +- 1

[PATCH] media: dvb_net: fix dvb_net_tx()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/media/dvb-core/dvb_net.c | 2 +

[PATCH] can: sun4i: fix sun4ican_start_xmit()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/can/sun4i_can.c | 2 +- 1

[PATCH] can: xilinx: fix xcan_start_xmit()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/can/xilinx_can.c | 2 +- 1

[PATCH] mptlan: fix mpt_lan_sdu_send()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/message/fusion/mptlan.c | 2 +-

[PATCH] altera-tse: fix tse_start_xmit()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/ethernet/altera/altera_tse

[PATCH] caif: fix cfspi_xmit()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/caif/caif_spi.c | 2 +- 1

[PATCH] amd-xgbe: fix xgbe_xmit()'s return type

2018-04-24 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/ethernet/amd/xgbe/xgbe-drv

[PATCH v7 1/9] bindings: PCI: designware: Example update

2018-04-24 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 Reviewed-by: Rob Herring --- Chang

<    3   4   5   6   7   8   9   10   11   12   >