[PATCH v3 7/9] usb: musb: tusb6010: Handle DMA TX completion in DMA callback as well

2017-05-12 Thread Peter Ujfalusi
Handle the DMA TX in a similar way as we do for the RX: in the DMA completion callback. Since we are no longer using DMA completion interrupt for the TX we can as wall keep these interrupts disabled, but keep the handler for debug purposes. Signed-off-by: Peter Ujfalusi Tested-by: Tony Lindgren

[PATCH v3 9/9] usb: musb: tusb6010_omap: Convert to DMAengine API

2017-05-12 Thread Peter Ujfalusi
With the port_window support in DMAengine and the sDMA driver we can convert the driver to DMAengine. Signed-off-by: Peter Ujfalusi Tested-by: Tony Lindgren --- drivers/usb/musb/tusb6010_omap.c | 201 --- 1 file changed, 80 insertions(+), 121 deletions(-) di

[PATCH v3 2/9] usb: musb: Add quirk to avoid skb reserve in gadget mode

2017-05-12 Thread Peter Ujfalusi
For tusb6010 the DMA functionality only possible if the buffer is 32bit aligned (SYNC access to FIFO) since with ASYNC access the TX/RX offset registers will corrupt eventually. The MUSB_G_NO_SKB_RESERVE will set the quirk_avoids_skb_reserve flag in usb_gadget struct to provide correctly aligned bu

Re: [PATCH] nvme: Change our APST table to be no more aggressive than Intel RSTe

2017-05-12 Thread Mario.Limonciello
> Some testing reports suggest that this will fix the issues we've > seen on Dell laptops. It think it also makes sense to revert the quirk that was created based upon the previous aggressiveness of re-entry to PS4 on those machines. Are you expecting to split that up into a second patch also t

[PATCH v3 8/9] ARM: OMAP2+: DMA: Add slave map entries for 24xx external request lines

2017-05-12 Thread Peter Ujfalusi
The external request lines are used by tusb6010 on OMAP24xx platforms. Update the map so the driver can use dmaengine API to request the DMA channel. At the same time add temporary map containing only the external DMA request numbers for DT booted case on omap24xx since the tusb6010 stack is not ye

[PATCH v3 6/9] usb: musb: tusb6010_omap: Allocate DMA channels upfront

2017-05-12 Thread Peter Ujfalusi
Instead of requesting the DMA channel in tusb_omap_dma_allocate() do it when the controller is created and in runtime work from the DMA channel pool. This change is needed for the DMAengine conversion of the driver since the tusb_omap_dma_allocate() is called in interrupt context which might lead

[PATCH v3 1/9] dmaengine: omap-dma: port_window support correction for both direction

2017-05-12 Thread Peter Ujfalusi
When the port_window support was verified it was done on setup where only the MEM_TO_DEV direction was enabled. This got un-noticed and thus only this direction worked. Now that I have managed to get a setup to verify both direction it turned out that the setup was incorrect: omap_desc members are

[PATCH v3 3/9] usb: musb: tusb6010: Add MUSB_G_NO_SKB_RESERVE to quirks

2017-05-12 Thread Peter Ujfalusi
When using the g_ncm for networking this flag will make sure that the buffer is alligned to 32bit so the DMA can be used to offload the data movement. Signed-off-by: Peter Ujfalusi Tested-by: Tony Lindgren --- drivers/usb/musb/tusb6010.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH v3 5/9] usb: musb: tusb6010_omap: Create new struct for DMA data/parameters

2017-05-12 Thread Peter Ujfalusi
For the DMA we have ch (channel), dmareq and sync_dev parameters both within the tusb_omap_dma_ch and tusb_omap_dma_ch struct. By creating a common struct the code can be simplified when selecting between the shared or multichannel DMA parameters. Signed-off-by: Peter Ujfalusi Tested-by: Tony Lin

Re: [RFC][PATCH 00/14] VFS: Introduce superblock configuration context [ver #2]

2017-05-12 Thread Anna Schumaker
On 05/11/2017 03:24 PM, David Howells wrote: > Anna Schumaker wrote: > >> Is there any way to split the NFS patch into multiple pieces? > > Are you okay with a patch or two that add code that is unconnected in that > patch, but connected in a later one? Yes, I'm okay with that. Thanks for wo

Re: [PATCH 4/4] staging: rtl8723bs: checkpatch - resolve indentation and line width

2017-05-12 Thread Greg KH
On Fri, May 12, 2017 at 06:24:34AM -0700, Matthew Giassa wrote: > * Matthew Giassa [2017-05-12 05:57:44 -0700]: > > > * Greg KH [2017-05-12 11:30:08 +0200]: > > > > > On Thu, May 11, 2017 at 06:45:24PM -0700, Matthew Giassa wrote: > > > > +#defineREG_INT_MIG_8723B 0x0304

[PATCH] usb: musb: tusb6010_omap: Do not reset the other direction's packet size

2017-05-12 Thread Peter Ujfalusi
We have one register for each EP to set the maximum packet size for both TX and RX. If for example an RX programming would happen before the previous TX transfer finishes we would reset the TX packet side. To fix this issue, only modify the TX or RX part of the register. Fixes: 550a7375fe72 ("USB

Re: [PATCH v9 3/3] printk: fix double printing with earlycon

2017-05-12 Thread Petr Mladek
On Fri 2017-05-12 14:57:29, Petr Mladek wrote: > On Thu 2017-05-11 17:41:58, Sergey Senozhatsky wrote: > > On (05/11/17 17:24), Sergey Senozhatsky wrote: > > > On (05/09/17 10:29), Sabrina Dubroca wrote: > > > [..] > > > > That's caused a change of behavior in my qemu setup, with this cmdline > > >

Re: [PATCH 2/2] xen/input: add multi-touch support

2017-05-12 Thread Oleksandr Andrushchenko
gentle reminder On 05/05/2017 07:45 AM, Oleksandr Andrushchenko wrote: Hi, Dmitry! On 04/21/2017 09:40 AM, Oleksandr Andrushchenko wrote: Hi, Dmitry! On 04/21/2017 05:10 AM, Dmitry Torokhov wrote: Hi Oleksandr, On Thu, Apr 13, 2017 at 02:38:04PM +0300, Oleksandr Andrushchenko wrote: From

Re: [PATCH 1/2] xen/input: use string constants from PV protocol

2017-05-12 Thread Oleksandr Andrushchenko
gentle reminder On 05/05/2017 07:43 AM, Oleksandr Andrushchenko wrote: Hello, Dmitry! On 04/21/2017 09:42 AM, Oleksandr Andrushchenko wrote: On 04/21/2017 05:11 AM, Dmitry Torokhov wrote: On Thu, Apr 13, 2017 at 02:38:03PM +0300, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko

Re: [PATCH] usb-musb: keep VBUS on when device is disconnected

2017-05-12 Thread Bin Liu
On Thu, May 11, 2017 at 02:06:28PM -0700, Tony Lindgren wrote: > > Well maybe the minimal fix for now is just pretty much back to > square one of this thread. This should keep VBUS always on. > Then we can figure out some logic to cut VBUS later on. > > And yeah, the state machine is really hard

Re: [PATCH v3 0/6] Introduce new mode validation callbacks

2017-05-12 Thread Andrzej Hajda
On 12.05.2017 09:32, Daniel Vetter wrote: > On Thu, May 11, 2017 at 10:05:56AM +0100, Jose Abreu wrote: >> This series is a follow up from the discussion at [1]. We start by >> introducing crtc->mode_valid(), encoder->mode_valid() and >> bridge->mode_valid() callbacks which will be used in followup

Re: [PATCH v3] clk: at91: Add sama5d2 suspend/resume

2017-05-12 Thread Alexandre Belloni
Hi, On 11/05/2017 at 09:17:41 +0200, Nicolas Ferre wrote: > Le 10/05/2017 à 19:09, Alexandre Belloni a écrit : > > On sama5d2, VDD core maybe be cut while in suspend. This means registers > > will be lost. Ensure they are saved and restored properly. > > > > Signed-off-by: Alexandre Belloni > >

Re: Threads stuck in zap_pid_ns_processes()

2017-05-12 Thread Eric W. Biederman
Vovo Yang writes: > On Fri, May 12, 2017 at 7:19 AM, Eric W. Biederman > wrote: >> Guenter Roeck writes: >> >>> What I know so far is >>> - We see this condition on a regular basis in the field. Regular is >>> relative, of course - let's say maybe 1 in a Milion Chromebooks >>> per day repor

Re: [PATCH v4 1/2] tpm: Refactor tpm_transmit pulling out tpm_transfer function

2017-05-12 Thread Stefan Berger
On 05/10/2017 07:54 PM, Stefan Berger wrote: Refactor tpm_transmit and pull out code sending the command and receiving the response and put this into tpm_transfer. Signed-off-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 121 +++ 1 file changed,

Re: [PATCH 4/6] tty: serial: lpuart: add imx7ulp support

2017-05-12 Thread Dong Aisheng
On Wed, May 10, 2017 at 01:37:07PM -0700, Stefan Agner wrote: > On 2017-05-09 23:14, Dong Aisheng wrote: > > Hi Stefan, > > > > On Wed, May 10, 2017 at 12:10 PM, Stefan Agner wrote: > >> On 2017-05-09 00:50, Dong Aisheng wrote: > >>> The lpuart of imx7ulp is basically the same as ls1021a. It's al

Re: [PATCH 4/4] staging: rtl8723bs: checkpatch - resolve indentation and line width

2017-05-12 Thread Matthew Giassa
* Matthew Giassa [2017-05-12 05:57:44 -0700]: * Greg KH [2017-05-12 11:30:08 +0200]: On Thu, May 11, 2017 at 06:45:24PM -0700, Matthew Giassa wrote: +#defineREG_INT_MIG_8723B 0x0304 /* Interrupt Migration */ +#defineREG_BCNQ_DESA_8723B 0x0308 /*

Re: [PATCH v2 for-4.12-fixes 2/2] sched/fair: Fix O(# total cgroups) in load balance path

2017-05-12 Thread Tejun Heo
Hello, Vincent. On Thu, May 11, 2017 at 09:02:22AM +0200, Vincent Guittot wrote: > Sorry, what i mean is: > When the group entity of a cfs_rq is enqueued, we are sure that either > the parents is already enqueued or it will be enqueued in the same > sequence. We must be sure that no other branch w

Re: [PATCH 4.4 42/60] scsi: scsi_dh_emc: return success in clariion_std_inquiry()

2017-05-12 Thread Greg Kroah-Hartman
On Fri, May 12, 2017 at 12:36:13PM +0100, Ben Hutchings wrote: > On Thu, 2017-05-11 at 16:13 +0200, Greg Kroah-Hartman wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Dan Carpenter > > > > commit 4d7d39a18b8b81511f0

Re: [PATCH 4.4 38/60] USB: serial: sierra: fix bogus alternate-setting assumption

2017-05-12 Thread Greg Kroah-Hartman
On Fri, May 12, 2017 at 02:14:03PM +0200, Johan Hovold wrote: > On Fri, May 12, 2017 at 12:26:17PM +0100, Ben Hutchings wrote: > > On Thu, 2017-05-11 at 16:13 +0200, Greg Kroah-Hartman wrote: > > > 4.4-stable review patch. If anyone has any objections, please let me > > > know. > > > > > > -

[PATCH] pid_ns: Fix race between setns'ed fork() and zap_pid_ns_processes()

2017-05-12 Thread Kirill Tkhai
Imagine we have a pid namespace and a task from its parent's pid_ns, which made setns() to the pid namespace. The task is doing fork(), while the pid namespace's child reaper is dying. We have the race between them: Task from parent pid_ns Child reaper copy_process()

[v6 2/3] iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #74

2017-05-12 Thread Geetha sowjanya
From: Linu Cherian Cavium ThunderX2 SMMU implementation doesn't support page 1 register space and PAGE0_REGS_ONLY option is enabled as an errata workaround. This option when turned on, replaces all page 1 offsets used for EVTQ_PROD/CONS, PRIQ_PROD/CONS register access with page 0 offsets. SMMU r

Re: [PATCH v2] perf report: distinguish between inliners in the same function

2017-05-12 Thread Namhyung Kim
On Fri, May 12, 2017 at 12:37:01PM +0200, Milian Wolff wrote: > On Mittwoch, 10. Mai 2017 07:53:52 CEST Namhyung Kim wrote: > > Hi, > > > > On Wed, May 03, 2017 at 11:35:36PM +0200, Milian Wolff wrote: > > > > > > +static enum match_result match_chain_srcline(struct callchain_cursor_node > > >

[v6 3/3] iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #126

2017-05-12 Thread Geetha sowjanya
From: Geetha Sowjanya Cavium ThunderX2 SMMU doesn't support MSI and also doesn't have unique irq lines for gerror, eventq and cmdq-sync. This patch addresses the issue by checking if any interrupt sources are using same irq number, then they are registered as shared irqs. Signed-off-by: Geetha

[v6 1/3] ACPI/IORT: Fixup SMMUv3 resource size for Cavium ThunderX2 SMMUv3 model

2017-05-12 Thread Geetha sowjanya
From: Linu Cherian Cavium ThunderX2 implementation doesn't support second page in SMMU register space. Hence, resource size is set as 64k for this model. Signed-off-by: Linu Cherian Signed-off-by: Geetha Sowjanya --- drivers/acpi/arm64/iort.c | 10 +- 1 file changed, 9 insertions(+),

[v6 0/3] Cavium ThunderX2 SMMUv3 errata workarounds

2017-05-12 Thread Geetha sowjanya
From: Linu Cherian Cavium ThunderX2 SMMUv3 implementation has two Silicon Erratas. 1. Errata ID #74 SMMU register alias Page 1 is not implemented 2. Errata ID #126 SMMU doesnt support unique IRQ lines and also MSI for gerror, eventq and cmdq-sync The following patchset does software wor

Re: [PATCH v9 3/3] printk: fix double printing with earlycon

2017-05-12 Thread Petr Mladek
On Thu 2017-05-11 17:41:58, Sergey Senozhatsky wrote: > On (05/11/17 17:24), Sergey Senozhatsky wrote: > > On (05/09/17 10:29), Sabrina Dubroca wrote: > > [..] > > > That's caused a change of behavior in my qemu setup, with this cmdline > > > > > > root=/dev/sda1 console=ttyS1 console=ttyS0 >

Re: [PATCH 4/4] staging: rtl8723bs: checkpatch - resolve indentation and line width

2017-05-12 Thread Matthew Giassa
* Greg KH [2017-05-12 11:30:08 +0200]: On Thu, May 11, 2017 at 06:45:24PM -0700, Matthew Giassa wrote: +#defineREG_INT_MIG_8723B 0x0304 /* Interrupt Migration */ +#defineREG_BCNQ_DESA_8723B 0x0308 /* TX Beacon Descriptor Address +

RE: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-12 Thread Chris Brandt
Hi Geert, On Friday, May 12, 2017, Geert Uytterhoeven wrote: > 12 x 16 = 192, not 384. Opps, my math was off! (I think I need another cup of coffee this morning) > Do you need all possible combinations of input, output, and bi-dir? > I assumed they're mutually exclusive. If not, you need 3 b

[GIT PULL] sound fixes for 4.12-rc1

2017-05-12 Thread Takashi Iwai
Linus, please pull sound fixes for v4.12-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-fix-4.12-rc1 The topmost commit is 31cbee6a5611f07d2d66f55bb6f8648db5947e32 sound fixes for 4.12-rc1

[PATCH] staging: wlan-ng: p80211conv: change args types of p80211_caphdr structure to be network compatible.

2017-05-12 Thread Karim Eshapa
Change p80211_caphdr structure args types to __be.. to be compatible with byte ordering of the network. and in hfa384x_usb.c make calculations with respect to machine. Signed-off-by: Karim Eshapa --- drivers/staging/wlan-ng/hfa384x_usb.c | 2 +- drivers/staging/wlan-ng/p80211conv.h | 28 ++

Re: [PATCH 3/3] autofs - fix AT_NO_AUTOMOUNT not being honored

2017-05-12 Thread Colin Walters
On Wed, May 10, 2017, at 12:18 AM, Ian Kent wrote: > The fstatat(2) and statx() calls can pass the flag AT_NO_AUTOMOUNT > which is meant to clear the LOOKUP_AUTOMOUNT flag and prevent triggering > of an automount by the call. But this flag is unconditionally cleared > for all stat family system cal

Re: [Bridge] [PATCH v2 1/2] net: Added mtu parameter to dev_forward_skb calls

2017-05-12 Thread Fredrik Markström
On Fri, May 12, 2017 at 10:05 AM, Teco Boot wrote: > IP MTU and L2 MTU are different animals. > > IMHO IP MTU is for fragmentation at sender of a link. There is no need > dropping IP packets at receiver with size > configured IP MTU. IP packets > with size > receiver L2 MTU will be dropped at su

RE: [PATCH] drivers:staging:wlan-ng:hfa384x_usb: Fixing sparse warnings.

2017-05-12 Thread Karim Eshapa
On Fri, 12 May 2017 10:07:14 +0200 Greg KH wrote: >First off, why the "Re:" in the subject? > >Second, your subject sucks :) > >Try making it a bit more descriptive as to what you are doing, "fixing >sparse warnings" is very vague. > >On Wed, May 10, 2017 at 03:15:38PM +0200, Karim Eshapa wrote: >

[RFC/RFT PATCH 1/3] PCI: Introduce pci_bus_find_numa_node()

2017-05-12 Thread Vadim Lomovtsev
Hi Lorenzo, Are there any news related to these patches ? WBR, Vadim

[PATCH v2] drm/vc4: Fix resource leak in 'vc4_get_hang_state_ioctl()' in error handling path

2017-05-12 Thread Christophe JAILLET
If one 'drm_gem_handle_create()' fails, we leak somes handles and some memory. In order to fix it: - move the 'free(bo_state)' at the end of the function so that it is also called in the eror handling path. This has the side effect to also try to free it if the first 'kcalloc' fails. Th

[GIT PULL] power-supply changes for 4.12 (part 2)

2017-05-12 Thread Sebastian Reichel
Hi Linus, The power-supply subsystem has a few more changes for the v4.12 merge window. -- Sebastian The following changes since commit 6c381663bb3b4febc15b2fb33f046f0b986ce5c5: power: supply: bq24190_charger: Use new extcon_register_notifier_all() (2017-04-14 01:45:06 +0200) are available

Re: [patch 2/2] MM: allow per-cpu vmstat_threshold and vmstat_worker configuration

2017-05-12 Thread Marcelo Tosatti
On Thu, May 11, 2017 at 10:37:07AM -0500, Christoph Lameter wrote: > On Tue, 2 May 2017, Luiz Capitulino wrote: > > > Ah, OK. Got this now. I'll give this patch a try. But I think we want > > to hear from Christoph (who worked on reducing the vmstat interruptions > > in the past). > > A bit confu

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-12 Thread Geert Uytterhoeven
Hi Chris, On Fri, May 12, 2017 at 2:13 PM, Chris Brandt wrote: > On Friday, May 12, 2017, Geert Uytterhoeven wrote: >> Jacopo, Chris: Would two bits per pin/function (none, input, output, >> bidir) >> be sufficient? >> That makes one u16 per pin. So roughtly 12 ports x 16 pins => 384 bytes. >> Pl

Re: [PATCH] scsi: libfc: fix incorrect variable assingment

2017-05-12 Thread Ewan D. Milne
On Thu, 2017-05-11 at 17:24 -0500, Gustavo A. R. Silva wrote: > Previous assignment was causing the use of the uninitialized variable > _explan_ inside fc_seq_ls_rjt() function, which in this particular > case is being called by fc_seq_els_rsp_send(). > > Addresses-Coverity-ID: 1398125 > Signed-of

Re: [PATCH] perf report: don't crash on invalid maps in `-g srcline` mode

2017-05-12 Thread Namhyung Kim
On Fri, May 12, 2017 at 12:23:06PM +0200, Milian Wolff wrote: > On Mittwoch, 10. Mai 2017 08:04:23 CEST Namhyung Kim wrote: > > On Tue, May 09, 2017 at 10:50:46PM +0200, Milian Wolff wrote: > > > > > > diff --git a/tools/perf/util/callchain.c b/tools/perf/util/callchain.c > > > index 9ab68682c6d

Re: [PATCH 4.4 38/60] USB: serial: sierra: fix bogus alternate-setting assumption

2017-05-12 Thread Johan Hovold
On Fri, May 12, 2017 at 12:26:17PM +0100, Ben Hutchings wrote: > On Thu, 2017-05-11 at 16:13 +0200, Greg Kroah-Hartman wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Johan Hovold > > > > commit 16620b483eaf7750413b

RE: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-12 Thread Chris Brandt
Hi Geert and Linus, On Friday, May 12, 2017, Geert Uytterhoeven wrote: > Jacopo, Chris: Would two bits per pin/function (none, input, output, > bidir) > be sufficient? > That makes one u16 per pin. So roughtly 12 ports x 16 pins => 384 bytes. > Plus code to handle it. After all not that bad... OK

Re: [PATCH v2 05/10] usb: musb: tusb6010_omap: Do not reset the other direction's packet size

2017-05-12 Thread Bin Liu
On Fri, May 12, 2017 at 09:53:55AM +0300, Peter Ujfalusi wrote: > Bin, > > On 2017-05-11 17:12, Bin Liu wrote: > >>which is valid. > > > >So will you update the patch to move the declaration to the beginning of > >the function to avoid this WARNING. I would just fix it locally if you > >prefer. >

Re: [ANNOUNCE] util-linux v2.30-rc1

2017-05-12 Thread Karel Zak
On Fri, May 12, 2017 at 02:03:10PM +0200, Karel Zak wrote: > The util-linux release v2.30-rc1 is available at > > http://www.kernel.org/pub/linux/utils/util-linux/v2.30-rc1 Ah, the correct URL is: https://www.kernel.org/pub/linux/utils/util-linux/v2.30/ Karel -- Karel Zak http://kar

[PATCHv2] watchdog: core: add option to avoid early handling of watchdog

2017-05-12 Thread Sebastian Reichel
On some systems its desirable to have watchdog reboot the system when it does not come up fast enough. This adds a kernel parameter to disable the auto-update of watchdog before userspace takes over and a kernel option to set the default. The info messages were added to shorten error searching on m

Re: [PATCHv3] arm64/cpufeature: don't use mutex in bringup path

2017-05-12 Thread Suzuki K Poulose
On 12/05/17 11:15, Mark Rutland wrote: Currently, cpus_set_cap() calls static_branch_enable_cpuslocked(), which must take the jump_label mutex. We call cpus_set_cap() in the secondary bringup path, from the idle thread where interrupts are disabled. Taking a mutex in this path "is a NONO" regard

[ANNOUNCE] util-linux v2.30-rc1

2017-05-12 Thread Karel Zak
The util-linux release v2.30-rc1 is available at http://www.kernel.org/pub/linux/utils/util-linux/v2.30-rc1 Feedback and bug reports, as always, are welcomed. Karel Util-linux 2.30 Release Notes = The libblkid library has been fixed to extract LABEL= and UUID

[PATCH 2/4] irqdomain: Let irq_domain_mapping display ACPI fwnode attributes

2017-05-12 Thread Marc Zyngier
If we're using ACPI, there is no of_node to display. But ACPI can use a struct irqchip_fwid as a domain identifier, and we can display the name contained in that structure. We end-up with something like this: pMSI 0 0 0 irqchip@e118 MSI 37 0

[PATCH 1/4] irqdomain: Let irq_domain_mapping display hierarchical domains

2017-05-12 Thread Marc Zyngier
Hierarchical domains seem to be hard to grasp, and a number of aspiring kernel hackers find them utterly discombobulating. In order to ease their pain, let's make them appear in /sys/kernel/debug/irq_domain_mapping, such as the following: 96 0x81808 MSI0x (null) RADIX MSI 9

[PATCH 3/4] genirq/msi: Populate the domain name if provided by the irqchip

2017-05-12 Thread Marc Zyngier
In order to ease debug, let's populate the domain name upfront, before any MSI gets requested. This allows the domain to appear in the irq_domain_mapping, and the user to easily find the expected data. Signed-off-by: Marc Zyngier --- kernel/irq/msi.c | 10 -- 1 file changed, 8 insertions

[PATCH 4/4] Documentation: Update IRQ-domain.txt to document irq_domain_mapping

2017-05-12 Thread Marc Zyngier
irq_domain_mapping is a rather useful tool to understand how IRqs are mapped in irqdomains, and yet it is not documented anywhere. Let's address this. Signed-off-by: Marc Zyngier --- Documentation/IRQ-domain.txt | 41 +++-- 1 file changed, 39 insertions(+), 2

[PATCH 0/4] irqdomain: Improve irq_domain_mapping facility

2017-05-12 Thread Marc Zyngier
/sys/kernel/debug/irq_domain_mapping is a pretty useful tool to find out how irqdomains (and individual interrupts) are setup, but it lacks an understanding of hierarchical domains, and is not documented at all. Let's start to remedy this, as people seem incredibly puzzled by the whole stacked dom

Re: [PATCH] soc: imx: gpc: build gpc only if hardware has gpc

2017-05-12 Thread Lucas Stach
Am Donnerstag, den 11.05.2017, 18:12 +0200 schrieb Marc Ohlf: > Add CONFIG_HAVE_IMX_GPC to goal definition of gpc.o, > to avoid building it for hardware that does not need it. > > Signed-off-by: Marc Ohlf Reviewed-by: Lucas Stach > --- > drivers/soc/imx/Makefile | 2 +- > 1 file changed, 1 in

Re: [v5 1/4] ACPICA: IORT: Add Cavium ThunderX2 SMMUv3 model definition.

2017-05-12 Thread Geetha Akula
On Fri, May 12, 2017 at 3:54 PM, Will Deacon wrote: > On Thu, May 11, 2017 at 04:40:51PM +0200, Rafael J. Wysocki wrote: >> On Thursday, May 11, 2017 09:45:25 AM Will Deacon wrote: >> > On Thu, May 11, 2017 at 02:26:02AM +0200, Rafael J. Wysocki wrote: >> > > On Wednesday, May 10, 2017 05:01:55 PM

[PATCH v2] perf/core: Avoid removing shared pmu_context on unregister

2017-05-12 Thread Chris Wilson
In commit 1fd7e4169954 ("perf/core: Remove perf_cpu_context::unique_pmu"), the search for another user of the pmu_cpu_context was removed, and so we unconditionally free it during perf_pmu_unregister. This leads to random corruption later and a BUG at mm/percpu.c:689. v2: Check for shared pmu_cont

RE: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-12 Thread Chris Brandt
On Friday, May 12, 2017, linux-renesas-soc-ow...@vger.kernel.org wrote: > As you say this is actually fixing hardware bugs, we can expect these > quirky tables to be gone in the next hardware generation, right? I see this particular pin controller as a one shot deal. For the next part in this seri

Re: [PATCH] perf/core: Avoid removing shared pmu_context on unregister

2017-05-12 Thread Chris Wilson
On Fri, May 12, 2017 at 11:40:32AM +0100, Chris Wilson wrote: > In commit 1fd7e4169954 ("perf/core: Remove perf_cpu_context::unique_pmu"), > the search for another user of the pmu_cpu_context was removed, and so > we unconditionally free it during perf_pmu_unregister. This leads to > random corrupt

Re: [PATCH v3 9/9] arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board

2017-05-12 Thread kbuild test robot
Hi Sean, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.11 next-20170512] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/sean-wang-mediatek-com/arm-dts-extend-mt7623

Re: [PATCH 0/3] GPU-DRM-Radeon: Fine-tuning for three function implementations

2017-05-12 Thread Laurent Pinchart
Hi Christian, On Wednesday 10 May 2017 13:30:37 Christian König wrote: > Am 10.05.2017 um 02:23 schrieb Michel Dänzer: > > On 03/05/17 09:46 PM, Christian König wrote: > >> Am 02.05.2017 um 22:04 schrieb SF Markus Elfring: > >>> From: Markus Elfring > >>> Date: Tue, 2 May 2017 22:00:02 +0200 > >>

Re: [PATCH 4.4 42/60] scsi: scsi_dh_emc: return success in clariion_std_inquiry()

2017-05-12 Thread Ben Hutchings
On Thu, 2017-05-11 at 16:13 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Dan Carpenter > > commit 4d7d39a18b8b81511f0b893b7d2203790bf8a58b upstream. > > We accidentally return an uninitialized va

Re: [PATCH 4.4 38/60] USB: serial: sierra: fix bogus alternate-setting assumption

2017-05-12 Thread Ben Hutchings
On Thu, 2017-05-11 at 16:13 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Johan Hovold > > commit 16620b483eaf7750413bae472f4363b6b959fcaa upstream. > > Interface numbers do not change when enabli

[PATCH] net: ipv6: Truncate single route when it doesn't fit into dump buffer.

2017-05-12 Thread Jan Moskyto Matejka
When rt6_fill_node() fails to fit the route into the buffer, it drops the route, returns -EMSGSIZE and waits for buffer flush. This condition is detected by non-null return value and non-empty buffer; the buffer is flushed and rt6_fill_node() restarted. However, when a single route generates such

Re: [PATCH 1/2] ARM: at91/defconfig: make system tickless when idle

2017-05-12 Thread Alexandre Belloni
On 12/05/2017 at 08:39:50 +0200, Quentin Schulz wrote: > Hi all, > > On 05/05/2017 10:43, Quentin Schulz wrote: > > This makes Atmel sama5 platforms' system tickless when idle. > > > > Signed-off-by: Quentin Schulz > > It's been a week since I posted this patch series. Any comment? > No but t

Re: [PATCH v3 7/9] arm: dts: mt7623: enable the usb device on the mt7623n rfb

2017-05-12 Thread kbuild test robot
Hi John, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.11 next-20170512] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/sean-wang-mediatek-com/arm-dts-extend-mt7623

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-12 Thread Geert Uytterhoeven
Hi Linus, On Fri, May 12, 2017 at 11:04 AM, Linus Walleij wrote: > On Tue, May 9, 2017 at 12:54 PM, Geert Uytterhoeven > wrote: > > Oops missed this: > >> Hence I think we should not use generic pin properties, but consider these >> settings to be part of pinmux configuration. >> As having large

APPLY FOR YOUR URGENT LOAN AT 2%

2017-05-12 Thread Thomas Credit Firm
* Do you need an urgent loan? We offer all kinds of loan * Very fast and urgent transfer to your bank account. * Payment begins (6) months after you get the money in your bank account * Low interest rates 2% * Payment of long-term (1-30 years) duration For more information and loan application form

Re: [PATCH v2 6/8] drm: Introduce drm_bridge_mode_valid()

2017-05-12 Thread Laurent Pinchart
Hi Archit, On Friday 12 May 2017 16:20:07 Archit Taneja wrote: > On 05/12/2017 03:08 PM, Laurent Pinchart wrote: > > On Wednesday 10 May 2017 17:14:33 Daniel Vetter wrote: > >> On Wed, May 10, 2017 at 04:41:09PM +0300, Ville Syrjälä wrote: > >>> On Tue, May 09, 2017 at 06:00:13PM +0100, Jose Abreu

Re: [PATCH 1/4] drm/vc4: Adjust modes in DSI to work around the integer PLL divider.

2017-05-12 Thread Noralf Trønnes
Den 12.05.2017 01.56, skrev Eric Anholt: BCM2835's PLLD_DSI1 divider doesn't give us many choices for our pixel clocks, so to support panels on the Raspberry Pi we need to set a higher pixel clock rate than requested and adjust the mode we program to extend out the HFP so that the refresh rate m

Re: [RFC PATCH v1 00/30] fs: inode->i_version rework and optimization

2017-05-12 Thread Jeff Layton
On Thu, 2017-05-11 at 14:59 -0400, J. Bruce Fields wrote: > On Wed, Apr 05, 2017 at 02:14:09PM -0400, J. Bruce Fields wrote: > > On Wed, Apr 05, 2017 at 10:05:51AM +0200, Jan Kara wrote: > > > 1) Keep i_version as is, make clients also check for i_ctime. > > > > That would be a protocol revision,

Re: [PATCH v2 6/8] drm: Introduce drm_bridge_mode_valid()

2017-05-12 Thread Archit Taneja
On 05/12/2017 03:08 PM, Laurent Pinchart wrote: Hi Daniel, On Wednesday 10 May 2017 17:14:33 Daniel Vetter wrote: On Wed, May 10, 2017 at 04:41:09PM +0300, Ville Syrjälä wrote: On Tue, May 09, 2017 at 06:00:13PM +0100, Jose Abreu wrote: Introduce a new helper function which calls mode_valid

Re: [PATCH v3 1/9] arm: dts: mt7623: add mt7623-mt6323.dtsi file

2017-05-12 Thread kbuild test robot
Hi John, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.11 next-20170512] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/sean-wang-mediatek-com/arm-dts-extend-mt7623

Re: [PATCH 3.18 00/39] 3.18.53-stable review

2017-05-12 Thread Greg Kroah-Hartman
On Fri, May 12, 2017 at 12:15:10PM +0200, Arnd Bergmann wrote: > On Fri, May 12, 2017 at 11:37 AM, Greg Kroah-Hartman > wrote: > > On Thu, May 11, 2017 at 02:46:37PM -0700, Tony Lindgren wrote: > >> * Matthijs van Duin [170511 14:34]: > >> > On Thu, May 11, 2017 at 02:16:07PM -0700, Guenter Roeck

Re: [PATCH 1/1] thinkpad_acpi: Add support for status (external cover) LED

2017-05-12 Thread Pavel Machek
On Sun 2017-05-07 20:49:03, Henrique de Moraes Holschuh wrote: > On Sun, 07 May 2017, Pavel Machek wrote: > > On Thu 2017-01-19 12:21:32, Adam Goode wrote: > > > This allows the control of the red status LED, which is the dot of the "i" > > > in the word "ThinkPad" on the outside cover of newer mod

[PATCH 2/2] iommu/arm-smmu: Plumb in new ACPI identifiers

2017-05-12 Thread Robin Murphy
Revision C of IORT now allows us to identify ARM MMU-401 and the Cavium ThunderX implementation; wire them up so that the appropriate quirks get enabled when booting with ACPI. Signed-off-by: Robin Murphy --- drivers/iommu/arm-smmu.c | 8 1 file changed, 8 insertions(+) diff --git a/dr

[PATCH 1/2] acpica: iort: Update SMMU models for IORT rev. C

2017-05-12 Thread Robin Murphy
IORT revision C has been published with a number of new SMMU implementation identifiers; define them. CC: Rafael J. Wysocki CC: Robert Moore CC: Lv Zheng Signed-off-by: Robin Murphy --- include/acpi/actbl2.h | 8 1 file changed, 8 insertions(+) diff --git a/include/acpi/actbl2.h b/i

[PATCH] perf/core: Avoid removing shared pmu_context on unregister

2017-05-12 Thread Chris Wilson
In commit 1fd7e4169954 ("perf/core: Remove perf_cpu_context::unique_pmu"), the search for another user of the pmu_cpu_context was removed, and so we unconditionally free it during perf_pmu_unregister. This leads to random corruption later and a BUG at mm/percpu.c:689. Fixes: 1fd7e4169954 ("perf/co

Re: [PATCH v2] perf report: distinguish between inliners in the same function

2017-05-12 Thread Milian Wolff
On Mittwoch, 10. Mai 2017 07:53:52 CEST Namhyung Kim wrote: > Hi, > > On Wed, May 03, 2017 at 11:35:36PM +0200, Milian Wolff wrote: > > +static enum match_result match_chain_srcline(struct callchain_cursor_node > > *node, + struct callchain_list > > *cno

Re: [PATCHv3] arm64/cpufeature: don't use mutex in bringup path

2017-05-12 Thread Marc Zyngier
On 12/05/17 11:15, Mark Rutland wrote: > Currently, cpus_set_cap() calls static_branch_enable_cpuslocked(), which > must take the jump_label mutex. > > We call cpus_set_cap() in the secondary bringup path, from the idle > thread where interrupts are disabled. Taking a mutex in this path "is a > NO

Re: [PATCH] watchdog: pcwd_usb: fix NULL-deref at probe

2017-05-12 Thread Johan Hovold
Hi Guenter and Wim, On Mon, Apr 03, 2017 at 07:05:46AM -0700, Guenter Roeck wrote: > On 04/03/2017 01:36 AM, Johan Hovold wrote: > > On Mon, Mar 13, 2017 at 10:16:33AM -0700, Guenter Roeck wrote: > >> On Mon, Mar 13, 2017 at 01:49:45PM +0100, Johan Hovold wrote: > >>> Make sure to check the number

Re: [PATCH] arm64: PCI: free all allocated memory in case of failure

2017-05-12 Thread Lorenzo Pieralisi
On Fri, May 12, 2017 at 05:57:47PM +0800, Timmy Li wrote: > There are some memory allocations in pci_acpi_scan_root(). But > ri, root_ops and ri->cfg are not freed properly in failure cases, > which results in memory leaks. This patch fixes the potential > memory leaks. > > Signed-off-by: Timmy Li

Re: [v5 1/4] ACPICA: IORT: Add Cavium ThunderX2 SMMUv3 model definition.

2017-05-12 Thread Will Deacon
On Thu, May 11, 2017 at 04:40:51PM +0200, Rafael J. Wysocki wrote: > On Thursday, May 11, 2017 09:45:25 AM Will Deacon wrote: > > On Thu, May 11, 2017 at 02:26:02AM +0200, Rafael J. Wysocki wrote: > > > On Wednesday, May 10, 2017 05:01:55 PM Geetha sowjanya wrote: > > > > From: Linu Cherian > > >

Re: [PATCH] perf report: don't crash on invalid maps in `-g srcline` mode

2017-05-12 Thread Milian Wolff
On Mittwoch, 10. Mai 2017 08:04:23 CEST Namhyung Kim wrote: > On Tue, May 09, 2017 at 10:50:46PM +0200, Milian Wolff wrote: > > diff --git a/tools/perf/util/callchain.c b/tools/perf/util/callchain.c > > index 9ab68682c6d0..295f0846fd84 100644 > > --- a/tools/perf/util/callchain.c > > +++ b/tools

Re: [PATCH] i2c-designware: add i2c gpio recovery option

2017-05-12 Thread Andy Shevchenko
On Fri, 2017-05-12 at 09:49 +0800, Phil Reid wrote: > On 11/05/2017 21:53, Andy Shevchenko wrote: > > > > > +static int i2c_dw_init_recovery_info(struct dw_i2c_dev *dev, > > > > > +struct i2c_adapter *adap) > > > > > +{ > > > > > +   struct i2c_bus_recovery_i

[no subject]

2017-05-12 Thread Acheampong Samuel
Greetings Linux http://www.abdolahvand.com/backorderitems.php?clean=ywzz26de4s13qafps Acheampong

[PATCHv3] arm64/cpufeature: don't use mutex in bringup path

2017-05-12 Thread Mark Rutland
Currently, cpus_set_cap() calls static_branch_enable_cpuslocked(), which must take the jump_label mutex. We call cpus_set_cap() in the secondary bringup path, from the idle thread where interrupts are disabled. Taking a mutex in this path "is a NONO" regardless of whether it's contended, and somet

Re: [PATCH 3.18 00/39] 3.18.53-stable review

2017-05-12 Thread Arnd Bergmann
On Fri, May 12, 2017 at 11:37 AM, Greg Kroah-Hartman wrote: > On Thu, May 11, 2017 at 02:46:37PM -0700, Tony Lindgren wrote: >> * Matthijs van Duin [170511 14:34]: >> > On Thu, May 11, 2017 at 02:16:07PM -0700, Guenter Roeck wrote: >> > > arch/arm/mach-omap2/omap-headsmp.S:60: Error: bad instruct

Re: [PATCH v2 1/7] drm/bridge: Refactor out the panel wrapper from the lvds-encoder bridge.

2017-05-12 Thread Archit Taneja
Hi, On 05/12/2017 12:01 AM, Eric Anholt wrote: Many DRM drivers have common code to make a stub connector implementation that wraps a drm_panel. By wrapping the panel in a DRM bridge, all of the connector code (including calls during encoder enable/disable) goes away. v2: Fix build with CONFIG

Re: [PATCH] [media] cec: improve MEDIA_CEC_RC dependencies

2017-05-12 Thread Hans Verkuil
On 05/12/17 11:49, Arnd Bergmann wrote: > On Fri, Apr 21, 2017 at 12:52 PM, Arnd Bergmann wrote: >> Changing the IS_REACHABLE() into a plain #ifdef broke the case of >> CONFIG_MEDIA_RC=m && CONFIG_MEDIA_CEC=y: >> >> drivers/media/cec/cec-core.o: In function `cec_unregister_adapter': >> cec-core.c:

[PATCH] arm64: PCI: free all allocated memory in case of failure

2017-05-12 Thread Timmy Li
There are some memory allocations in pci_acpi_scan_root(). But ri, root_ops and ri->cfg are not freed properly in failure cases, which results in memory leaks. This patch fixes the potential memory leaks. Signed-off-by: Timmy Li --- arch/arm64/kernel/pci.c | 22 ++ 1 file cha

Re: [PATCH v2 8/8] drm: arc: Use crtc->mode_valid() callback

2017-05-12 Thread Laurent Pinchart
Hi Jose, Thank you for the patch. On Tuesday 09 May 2017 18:00:15 Jose Abreu wrote: > Now that we have a callback to check if crtc supports a given mode > we can use it in arcpgu so that we restrict the number of probbed > modes to the ones we can actually display. > > This is specially useful b

[RFC PATCH v4 09/12] x86/apic: Setup interrupt mode earlier in case of no SMP motherboard

2017-05-12 Thread Dou Liyang
Kernel falls back to non SMP mode and sets up interrupt delivery mode in APIC_init_uniprocessor() in case of no SMP motherboard. Setting up interrupt delivery mode as soon as possible should wraps this case for SMP-capable system too. Wrap this case, make it consistent with SMP-capable systems. I

Re: [PATCH] x86/efi: Fix kexec kernel panic when efi=old_map is enabled

2017-05-12 Thread joeyli
On Mon, May 08, 2017 at 12:25:23PM -0700, Sai Praneeth Prakhya wrote: > From: Sai Praneeth > > Booting kexec kernel with "efi=old_map" in kernel command line hits > kernel panic as shown below. > > [0.001000] BUG: unable to handle kernel paging request at 88007fe78070 > [0.001000] IP

Re: [PATCH v2 7/8] drm: Use mode_valid() in atomic modeset

2017-05-12 Thread Laurent Pinchart
Hi Daniel, On Wednesday 10 May 2017 19:55:56 Daniel Vetter wrote: > On Wed, May 10, 2017 at 09:38:00PM +0530, Archit Taneja wrote: > > On 5/9/2017 10:30 PM, Jose Abreu wrote: > > > This patches makes use of the new mode_valid() callbacks introduced > > > previously to validate the full video pipel

Re: [PATCH] [media] cec: improve MEDIA_CEC_RC dependencies

2017-05-12 Thread Arnd Bergmann
On Fri, Apr 21, 2017 at 12:52 PM, Arnd Bergmann wrote: > Changing the IS_REACHABLE() into a plain #ifdef broke the case of > CONFIG_MEDIA_RC=m && CONFIG_MEDIA_CEC=y: > > drivers/media/cec/cec-core.o: In function `cec_unregister_adapter': > cec-core.c:(.text.cec_unregister_adapter+0x18): undefined

<    1   2   3   4   5   6   7   >