[PATCH 1/2] crypto: thunderx_zip: Fix fallout from CONFIG_VMAP_STACK

2018-03-28 Thread Jan Glauber
Enabling virtual mapped kernel stacks breaks the thunderx_zip driver. On compression or decompression the executing CPU hangs in an endless loop. The reason for this is the usage of __pa by the driver which does no longer work for an address that is not part of the 1:1 mapping. The zip driver allo

[PATCH V4 0/2] mmc: sdhci-msm: Configuring IO_PAD support for sdhci-msm

2018-03-28 Thread Vijay Viswanath
>From the HPG: In some platform, SDCC controller can be connected to either an eMMC device or an SD card. The PADs for SD card are dual-voltage that support 3v/1.8v. Those PADs have a control signal (io_pad_pwr_switch/mode18 ) that indicates whether the PAD works in 3v or 1.8v. For SD usage the d

[PATCH V4 1/2] mmc: sdhci-msm: Add support to store supported vdd-io voltages

2018-03-28 Thread Vijay Viswanath
During probe check whether the vdd-io regulator of sdhc platform device can support 1.8V and 3V and store this information as a capability of platform device. Signed-off-by: Vijay Viswanath --- drivers/mmc/host/sdhci-msm.c | 35 ++- 1 file changed, 34 insertions(+

[PATCH V4 2/2] mmc: sdhci-msm: support voltage pad switching

2018-03-28 Thread Vijay Viswanath
From: Krishna Konda The PADs for SD card are dual-voltage that support 3v/1.8v. Those PADs have a control signal (io_pad_pwr_switch/mode18 ) that indicates whether the PAD works in 3v or 1.8v. SDHC core on msm platforms should have IO_PAD_PWR_SWITCH bit set/unset based on actual voltage used fo

Re: [v2 PATCH] mm: introduce arg_lock to protect arg_start|end and env_start|end in mm_struct

2018-03-28 Thread Michal Hocko
On Tue 27-03-18 21:52:17, Cyrill Gorcunov wrote: > On Tue, Mar 27, 2018 at 02:38:11PM -0400, Yang Shi wrote: > > > Why do we need to hold mmap_sem here and call find_vma, when only > > > PR_SET_MM_ENV_END: is consuming it? I guess we can replace it wit the > > > new lock and take the mmap_sem only

Re: [PATCH v2 3/4] perf version: Print the compiled-in status of libraries

2018-03-28 Thread Jiri Olsa
On Wed, Mar 28, 2018 at 10:57:07PM +0800, Jin Yao wrote: SNIP > + > +static void library_status(void) > +{ > + STATUS(HAVE_DWARF_SUPPORT, dwarf); > + STATUS(HAVE_DWARF_GETLOCATIONS, dwarf_getlocations); > + STATUS(HAVE_GLIBC_SUPPORT, glibc); > + STATUS(HAVE_GTK2_SUPPORT, gtk2); >

Jeg venter på at høre fra dig

2018-03-28 Thread Mr.Yuehan Pan
God dag, Jeg er Mr. Yuehan Pan, direktør for Bank of China Jeg leder efter en leder / investeringspartner, der vil arbejde sammen med mig for en fælles virksomhed. Kontakt mig i min private email for flere detaljer. email (yuehanpa...@gmail.com) Venter på at høre fra dig. Tak skal du have,

[PATCH -next] bus: fsl-mc: Remove duplicated includes

2018-03-28 Thread Wei Yongjun
Remove duplicated include. Signed-off-by: Wei Yongjun --- drivers/bus/fsl-mc/dpbp.c | 1 - drivers/bus/fsl-mc/dpcon.c | 1 - 2 file changed, 2 deletion(-) diff --git a/drivers/bus/fsl-mc/dpbp.c b/drivers/bus/fsl-mc/dpbp.c index 0aeacc5..9a7faab 100644 --- a/drivers/bus/fsl-mc/dpbp.c +++ b/drive

Re: [PATCH v5 02/12] PCI: endpoint: Simplify epc->ops->set_bar()/pci_epc_set_bar()

2018-03-28 Thread Gustavo Pimentel
Hi Niklas, On 28/03/2018 12:50, Niklas Cassel wrote: > Add barno and flags to struct epf_bar. > That way we can simplify epc->ops->set_bar()/pci_epc_set_bar() > by passing a struct *epf_bar instead of a whole lot of arguments. > > This is needed so that epc->ops->set_bar() implementations can > m

Re: [PATCH v5 1/4] ioremap: Update pgtable free interfaces with addr

2018-03-28 Thread kbuild test robot
Hi Chintan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on v4.16-rc7] [also build test WARNING on next-20180328] [cannot apply to arm64/for-next/core tip/x86/core asm-generic/master] [if your patch is applied to the wrong git tree, please drop us a note to

Re: [PATCH v5 06/12] PCI: designware-ep: Make dw_pcie_ep_set_bar() handle 64-bit BARs properly

2018-03-28 Thread Gustavo Pimentel
Hi Niklas, On 28/03/2018 12:50, Niklas Cassel wrote: > Since a 64-bit BAR consists of a BAR pair, we need to write to both > BARs in the BAR pair to setup the BAR properly. > > Signed-off-by: Niklas Cassel > --- > drivers/pci/dwc/pcie-designware-ep.c | 11 +-- > 1 file changed, 9 insert

Re: [PATCH v5 09/12] PCI: endpoint: Make epc->ops->clear_bar()/pci_epc_clear_bar() take struct *epf_bar

2018-03-28 Thread Gustavo Pimentel
Hi Niklas, On 28/03/2018 12:50, Niklas Cassel wrote: > Make epc->ops->clear_bar()/pci_epc_clear_bar() take struct *epf_bar. > > This is needed so that epc->ops->clear_bar() can clear the BAR pair, > if the BAR is 64-bits wide. > > This also makes it possible for pci_epc_clear_bar() to sanity che

[PATCH -next] drm/amdgpu: fix error return code in amdgpu_amdkfd_gpuvm_create_process_vm()

2018-03-28 Thread Wei Yongjun
Fix to return error code -ENOMEM from the eviction fence create fail error handling case instead of 0, as done elsewhere in this function. Fixes: a46a2cd103a8 ("drm/amdgpu: Add GPUVM memory management functions for KFD") Signed-off-by: Wei Yongjun --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gp

Re: [PATCH v5 11/12] PCI: designware-ep: Make dw_pcie_ep_reset_bar() handle 64-bit BARs properly

2018-03-28 Thread Gustavo Pimentel
Hi Niklas, On 28/03/2018 12:50, Niklas Cassel wrote: > Since a 64-bit BAR consists of a BAR pair, we need to write to both > BARs in the BAR pair to clear the BAR properly. > > Signed-off-by: Niklas Cassel > --- > drivers/pci/dwc/pcie-designware-ep.c | 4 > 1 file changed, 4 insertions(+)

Re: [PATCH v3] hwmon: MC13783: add uid and die temperature sensor inputs

2018-03-28 Thread Guenter Roeck
On 03/28/2018 03:06 AM, Lee Jones wrote: On Tue, 27 Mar 2018, Guenter Roeck wrote: On 03/27/2018 07:19 AM, Andrey Gusakov wrote: The uid and die temperature can be read out on the ADIN7 using input mux. Map uid and die temperature sensor to channels 16 and 17. Signed-off-by: Andrey Gusakov

Re: [PATCH] fbdev: aty: fix missing indentation in if statement

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Thursday, March 15, 2018 06:16:24 PM Colin King wrote: > From: Colin Ian King > > There is a missing indentation following an if statement, fix this. > > Detected by Coccinelle: > drivers/video/fbdev/aty/mach64_ct.c:183:2-15: code aligned with > following code on line 184 > > Signed-off-by:

Re: [PATCH] xfs: always free inline data before resetting inode fork during ifree

2018-03-28 Thread Michal Hocko
On Wed 28-03-18 01:11:55, Sasha Levin wrote: > On Tue, Mar 27, 2018 at 09:06:37AM +0200, Michal Hocko wrote: > >On Mon 26-03-18 19:54:31, Sasha Levin wrote: > >[...] > >> About half a year ago. I'm not sure about the no visibility part - > >> maintainers and authors would receive at least 3 mails f

Re: [PATCH] xfs: always free inline data before resetting inode fork during ifree

2018-03-28 Thread Michal Hocko
On Tue 27-03-18 19:54:35, Luis R. Rodriguez wrote: > On Tue, Mar 27, 2018 at 09:06:37AM +0200, Michal Hocko wrote: > > So by no means the MM backports were reviewed by me. And considering how > > hard > > it is to get any review for MM patches in general I strongly suspect that > > others didn't r

Re: [PATCH V2 1/4] dt-bindings: timer: tpm: fix typo of clock name

2018-03-28 Thread Rob Herring
On Tue, Mar 27, 2018 at 10:22 PM, Anson Huang wrote: > The clock name should be ipg instead of igp. > > Signed-off-by: Anson Huang > --- > Documentation/devicetree/bindings/timer/nxp,tpm-timer.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Rob Herring

Re: [PATCH v2 4/4] perf: Support perf -vv

2018-03-28 Thread Jiri Olsa
On Wed, Mar 28, 2018 at 10:57:08PM +0800, Jin Yao wrote: > We keep having bug reports that when users build perf on their own, > but they don't install some needed libraries such as libelf, > libbfd/libibery. > > The perf can build, but it is missing important functionality. > > This patch provid

RE: [PATCH v5 07/12] PCI: cadence: Set PCI_BASE_ADDRESS_MEM_TYPE_64 if a 64-bit BAR was set-up

2018-03-28 Thread Alan Douglas
> On 28/03/2018 12:51, Niklas Cassel wrote: > cdns_pcie_ep_set_bar() does some round-up of the BAR size, which means that a > 64-bit BAR can be set-up, even when the flag > PCI_BASE_ADDRESS_MEM_TYPE_64 isn't set. > If a 64-bit BAR was set-up, set the flag PCI_BASE_ADDRESS_MEM_TYPE_64, so > that

Re: [PATCH] video: fbdev: aty128fb: use true and false for boolean values

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Thursday, March 22, 2018 03:13:32 PM Gustavo A. R. Silva wrote: > Assign true or false to boolean variables instead of an integer value. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva Patch queued for 4.17, thanks. Best regards, -- Bartlomiej

Re: [mm] b1f0502d04: INFO:trying_to_register_non-static_key

2018-03-28 Thread Laurent Dufour
On 26/03/2018 00:10, David Rientjes wrote: > On Wed, 21 Mar 2018, Laurent Dufour wrote: > >> I found the root cause of this lockdep warning. >> >> In mmap_region(), unmap_region() may be called while vma_link() has not been >> called. This happens during the error path if call_mmap() failed. >> >>

Re: [PATCH] ecryptfs: Restore support for both encrypted and unencrypted file names

2018-03-28 Thread Guenter Roeck
On 03/27/2018 08:58 AM, Tyler Hicks wrote: Hello Guenter On 02/13/2018 04:36 PM, Guenter Roeck wrote: Commit 88ae4ab9802e ("ecryptfs_lookup(): try either only encrypted or plaintext name") was supposed to fix a situation where two files with the same name and same inode could be created in ecry

Re: [PATCH v2 1/2] video/fbdev/stifb: Return -ENOMEM after a failed kzalloc() in stifb_init_fb()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Sunday, January 07, 2018 12:56:45 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 7 Jan 2018 11:33:59 +0100 > > Replace an error code for the indication of a memory allocation failure > in this function. > > Fixes: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac ("Linux-2.6.12-rc2: In

tip/x86/dma fix for arc and s390 (at least)

2018-03-28 Thread Christoph Hellwig
Hi all, this restores previous __GFP_ZERO passthrough behavior for now as arc and s390 rely on it. Needs more work to sort out the API mess in the long run.

[PATCH] dma-mapping: don't clear GFP_ZERO in dma_alloc_attrs

2018-03-28 Thread Christoph Hellwig
Revert the clearing of __GFP_ZERO in dma_alloc_attrs and move it to dma_direct_alloc for now. While most common architectures always zero dma cohereny allocations (and x86 did so since day one) this is not documented and at least arc and s390 do not zero without the explicit __GFP_ZERO argument.

Re: [PATCH v2 2/2] video/fbdev/stifb: Delete an error message for a failed memory allocation in stifb_init_fb()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Sunday, January 07, 2018 12:58:47 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 7 Jan 2018 12:34:22 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfr

Re: [PATCH 2/2] smp: introduce kick_active_cpus_sync()

2018-03-28 Thread Yury Norov
On Mon, Mar 26, 2018 at 05:45:55AM -0700, Paul E. McKenney wrote: > On Sun, Mar 25, 2018 at 11:11:54PM +0300, Yury Norov wrote: > > On Sun, Mar 25, 2018 at 12:23:28PM -0700, Paul E. McKenney wrote: > > > On Sun, Mar 25, 2018 at 08:50:04PM +0300, Yury Norov wrote: > > > > kick_all_cpus_sync() forces

Re: [PATCH 4.4 00/43] 4.4.125-stable review

2018-03-28 Thread Guenter Roeck
On 03/27/2018 09:27 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.125 release. There are 43 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH 4.14 000/101] 4.14.31-stable review

2018-03-28 Thread Guenter Roeck
On 03/27/2018 09:26 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.31 release. There are 101 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH] samples/bpf: fix spelling mistake: "revieve" -> "receive"

2018-03-28 Thread Daniel Borkmann
On 03/28/2018 12:07 PM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in error message text > > Signed-off-by: Colin Ian King Applied to bpf-next, thanks Colin!

Re: [PATCH 4.15 000/105] 4.15.14-stable review

2018-03-28 Thread Guenter Roeck
On 03/27/2018 09:26 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.15.14 release. There are 105 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

RE: [PATCH v5 7/7] iommu/dma: Move PCI window region reservation back into dma specific path.

2018-03-28 Thread Shameerali Kolothum Thodi
Hi Joerg, > -Original Message- > From: Linuxarm [mailto:linuxarm-boun...@huawei.com] On Behalf Of > Shameerali Kolothum Thodi > Sent: Friday, March 23, 2018 8:57 AM > To: Robin Murphy ; Alex Williamson > > Cc: k...@vger.kernel.org; Joerg Roedel ; > pmo...@linux.vnet.ibm.com; linux-kernel@

[PATCH RFC tools/memory-model] Add s390.{cfg,cat}

2018-03-28 Thread Paul E. McKenney
Hello! The prototype patch shown below provides files required to allow herd7 to evaluate C-language litmus tests for the multicopy-atomic TSO ordering provided by s390. This patch should be viewed with great suspicion. It does what I expect it to do on SB (with and without barriers), IRIW withou

[PATCHv4] irqchip: arm-gic: take gic_lock when updating irq type

2018-03-28 Thread Aniruddha Banerjee
From: Aniruddha Banerjee The kernel documentation states that the locking of the irq-chip registers should be handled by the irq-chip driver. In the irq-gic, the accesses to the irqchip are seemingly not protected and multiple writes to SPIs from different irq descriptors do RMW requests without

Re: [PATCH v2 1/2] video: udlfb: Return an error code only as a constant in dlfb_realloc_framebuffer()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Sunday, January 07, 2018 02:34:51 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 7 Jan 2018 14:02:36 +0100 > > * Return an error code without storing it in an intermediate variable. > > * Delete the label "error" and local variable "retval" > which became unnecessary with t

[PATCH] thermal: exynos_tmu: avoid uninitialized variables

2018-03-28 Thread Arnd Bergmann
Removing the initialization in the error case introduced a compile-time warning: drivers/thermal/samsung/exynos_tmu.c: In function 'temp_to_code': drivers/thermal/samsung/exynos_tmu.c:304:9: error: 'temp_code' may be used uninitialized in this function [-Werror=maybe-uninitialized] return temp_

Re: [PATCH v3 1/3] video: smscufx: Less checks in ufx_usb_probe() after error detection

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Sunday, January 07, 2018 05:02:21 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 7 Jan 2018 15:56:11 +0100 > > Up to four checks could be repeated by the ufx_usb_probe() function > during error handling even if the relevant properties can be determined > for the involved varia

[PATCH] pci: move pcie_pme_root_status_cleanup into SUSPEND section

2018-03-28 Thread Arnd Bergmann
The power management code in pci-driver.c is a maze of #ifdefs, and the newly added pcie_pme_root_status_cleanup function ended up in the wrong one of them, causing a harmless warning in some configurations: drivers/pci/pci-driver.c:527:13: error: 'pcie_pme_root_status_cleanup' defined but not us

Re: [PATCH 2/6] drivers/irqchip: Update supports_deactivate static key to modern api

2018-03-28 Thread Marc Zyngier
On 26/03/18 22:09, Davidlohr Bueso wrote: > No changes in semantics -- key init is true; replace > > static_key_slow_dec with static_branch_disable > static_key_true with static_branch_likely > > The first is because we never actually do any couterpart incs, > thus there is re

Re: [PATCH RFC tools/memory-model] Add s390.{cfg,cat}

2018-03-28 Thread Peter Zijlstra
On Wed, Mar 28, 2018 at 06:42:32AM -0700, Paul E. McKenney wrote: > Hello! > > The prototype patch shown below provides files required to allow herd7 to > evaluate C-language litmus tests for the multicopy-atomic TSO ordering > provided by s390. There really isn't anything s390 specific here is

Re: [PATCH v3 2/3] video: smscufx: Return an error code only as a constant in ufx_realloc_framebuffer()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Sunday, January 07, 2018 05:04:04 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 7 Jan 2018 16:07:11 +0100 > > * Return an error code without storing it in an intermediate variable. > > * Delete the label "error" and local variable "retval" > which became unnecessary with t

Re: [PATCH v3 3/3] video: smscufx: Delete an error message for a failed memory allocation in ufx_realloc_framebuffer()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Sunday, January 07, 2018 05:06:13 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 7 Jan 2018 16:12:40 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfr

Re: [PATCH v2] video: ssd1307fb: Improve a size determination in ssd1307fb_probe()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Sunday, January 07, 2018 07:34:44 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 7 Jan 2018 19:27:28 +0100 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the corresponding size > determination a b

Re: [PATCH] thermal: exynos_tmu: avoid uninitialized variables

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Wednesday, March 28, 2018 03:44:44 PM Arnd Bergmann wrote: > Removing the initialization in the error case introduced > a compile-time warning: > > drivers/thermal/samsung/exynos_tmu.c: In function 'temp_to_code': > drivers/thermal/samsung/exynos_tmu.c:304:9: error: 'temp_code' may be used > u

[PATCH] nvme: target: fix buffer overflow

2018-03-28 Thread Arnd Bergmann
nvmet_execute_get_disc_log_page() passes a fixed-length string into nvmet_format_discovery_entry(), which then does a longer memcpy() on it, as pointed out by gcc-8: In function 'nvmet_format_discovery_entry', inlined from 'nvmet_execute_get_disc_log_page' at drivers/nvme/target/discovery.c:1

Re: [PATCH 2/2] smp: introduce kick_active_cpus_sync()

2018-03-28 Thread Paul E. McKenney
On Wed, Mar 28, 2018 at 04:36:05PM +0300, Yury Norov wrote: > On Mon, Mar 26, 2018 at 05:45:55AM -0700, Paul E. McKenney wrote: > > On Sun, Mar 25, 2018 at 11:11:54PM +0300, Yury Norov wrote: > > > On Sun, Mar 25, 2018 at 12:23:28PM -0700, Paul E. McKenney wrote: > > > > On Sun, Mar 25, 2018 at 08:

Re: [PATCH v2 3/4] perf version: Print the compiled-in status of libraries

2018-03-28 Thread Jin, Yao
On 3/28/2018 9:10 PM, Jiri Olsa wrote: On Wed, Mar 28, 2018 at 10:57:07PM +0800, Jin Yao wrote: SNIP + +static void library_status(void) +{ + STATUS(HAVE_DWARF_SUPPORT, dwarf); + STATUS(HAVE_DWARF_GETLOCATIONS, dwarf_getlocations); + STATUS(HAVE_GLIBC_SUPPORT, glibc); +

[PATCH] nvme: use upper_32_bits() instead of bit shift

2018-03-28 Thread Arnd Bergmann
On 32-bit architectures, we cannot shift a size_t by 32 bits to the right without a compiler warning: drivers/nvme/host/core.c: In function 'nvme_get_log_ext': drivers/nvme/host/core.c:2237:43: error: right shift count >= width of type [-Werror=shift-count-overflow] c.get_log_page.lpou = cpu_to

Re: [PATCH 2/6] drivers/irqchip: Update supports_deactivate static key to modern api

2018-03-28 Thread Davidlohr Bueso
On Wed, 28 Mar 2018, Marc Zyngier wrote: Looks good to me. How do you want to get this patch merged? Either you deal with it as part of this series, (and in which case please add my Ack on it), or I can take it via the irqchip tree. Considering Ingo picked up the patches in his jurisdiction, I

Re: [PATCH] video: fsl-diu-fb: Delete an error message for a failed memory allocation in fsl_diu_init()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Monday, November 27, 2017 11:31:10 AM Timur Tabi wrote: > On 11/27/17 3:00 AM, SF Markus Elfring wrote: > > From: Markus Elfring > > Date: Mon, 27 Nov 2017 09:56:09 +0100 > > > > Omit an extra message for a memory allocation failure in this function. > > > > This issue was detected by using th

Re: [PATCH v2 4/4] perf: Support perf -vv

2018-03-28 Thread Jin, Yao
On 3/28/2018 9:22 PM, Jiri Olsa wrote: On Wed, Mar 28, 2018 at 10:57:08PM +0800, Jin Yao wrote: We keep having bug reports that when users build perf on their own, but they don't install some needed libraries such as libelf, libbfd/libibery. The perf can build, but it is missing important fun

Re: Problem with commit 31e77c93e432 "sched/fair: Update blocked load when newly idle"

2018-03-28 Thread Vincent Guittot
Hi, On 28 March 2018 at 12:37, Dietmar Eggemann wrote: > Hi, > > On 03/24/2018 01:47 PM, Heiner Kallweit wrote: >> >> Am 24.03.2018 um 07:46 schrieb Vincent Guittot: >>> >>> Hi Heiner, >>> >>> Le Friday 23 Mar 2018 à 22:28:09 (+0100), Heiner Kallweit a écrit : Recently I started to get

Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-28 Thread Sebastian Reichel
Hi, On Wed, Mar 28, 2018 at 10:29:10AM +0800, Mark Brown wrote: > On Wed, Mar 28, 2018 at 12:22:37AM +0200, Sebastian Reichel wrote: > > On Tue, Mar 27, 2018 at 08:14:41PM +0800, Mark Brown wrote: > > > > No, this is exactly the sort of use case with multiple DAIs that the > > > graph card is int

Re: [PATCH 1/2] video: s3c-fb: Delete an error message for a failed memory allocation in s3c_fb_probe()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Monday, November 27, 2017 01:06:30 PM Jingoo Han wrote: > On Sunday, November 26, 2017 9:17 AM, SF Markus Elfring wrote: > > > > From: Markus Elfring > > Date: Sun, 26 Nov 2017 15:00:16 +0100 > > > > Omit an extra message for a memory allocation failure in this function. > > > > This issue w

Re: [PATCH v2 1/2] power/hibernate: Make passing hibernate offsets more friendly

2018-03-28 Thread kbuild test robot
Hi Mario, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc7 next-20180328] [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

[PATCH] tipc: avoid possible string overflow

2018-03-28 Thread Arnd Bergmann
gcc points out that the combined length of the fixed-length inputs to l->name is larger than the destination buffer size: net/tipc/link.c: In function 'tipc_link_create': net/tipc/link.c:465:26: error: '%s' directive writing up to 32 bytes into a region of size between 26 and 58 [-Werror=format-o

Re: [PATCH] sched: support dynamiQ cluster

2018-03-28 Thread Vincent Guittot
On 28 March 2018 at 11:12, Will Deacon wrote: > On Wed, Mar 28, 2018 at 09:46:55AM +0200, Vincent Guittot wrote: >> >> The SD_ASYM_PACKING flag is disabled by default and I'm preparing another >> patch >> to enable this dynamically at boot time by detecting the system topology. >> >> arch/arm64

Re: [PATCH 4.9 00/67] 4.9.91-stable review

2018-03-28 Thread Guenter Roeck
On 03/27/2018 09:26 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.91 release. There are 67 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [PATCH] nvme: use upper_32_bits() instead of bit shift

2018-03-28 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG N

Re: [PATCH] tracing: Uninitialized variable in create_tracing_map_fields()

2018-03-28 Thread Tom Zanussi
Hi Dan, On Wed, 2018-03-28 at 14:48 +0300, Dan Carpenter wrote: > Smatch complains that idx can be used uninitialized when we check if > (idx < 0). It has to be the first iteration through the loop and the > HIST_FIELD_FL_STACKTRACE bit has to be clear and the HIST_FIELD_FL_VAR > bit has to be se

Re: [PATCH 2/2] video: s3c-fb: Improve a size determination in s3c_fb_probe()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Monday, November 27, 2017 01:07:15 PM Jingoo Han wrote: > On Sunday, November 26, 2017 9:18 AM, SF Markus Elfring wrote: > > > > From: Markus Elfring > > Date: Sun, 26 Nov 2017 15:03:03 +0100 > > > > Replace the specification of a data structure by a pointer dereference > > as the parameter f

[PATCH] crypto: chelsio: move chcr_ahash_continue declation out of header

2018-03-28 Thread Arnd Bergmann
static function declarations don't belong in a header file, as shown by this compiler warning: In file included from /git/arm-soc/drivers/crypto/chelsio/chcr_ipsec.c:66: drivers/crypto/chelsio/chcr_crypto.h:343:12: error: 'chcr_ahash_continue' declared 'static' but never defined [-Werror=unused-f

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Mathieu Desnoyers
- On Mar 28, 2018, at 2:47 AM, Boqun Feng boqun.f...@gmail.com wrote: > On Tue, Mar 27, 2018 at 12:05:23PM -0400, Mathieu Desnoyers wrote: > [...] >> Changes since v11: >> >> - Replace task struct rseq_preempt, rseq_signal, and rseq_migrate >> bool by u32 rseq_event_mask. > [...] >> @@ -979

Re: [PATCH] video: matroxfb: Delete an error message for a failed memory allocation in matroxfb_crtc2_probe()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Sunday, November 26, 2017 10:32:06 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 26 Nov 2017 22:13:55 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus El

[PATCH] tracing: avoid string overflow

2018-03-28 Thread Arnd Bergmann
'err' is used as a NUL-terminated string, but using strncpy() with the length equal to the buffer size may result in lack of the termination: kernel/trace/trace_events_hist.c: In function 'hist_err_event': kernel/trace/trace_events_hist.c:396:3: error: 'strncpy' specified bound 256 equals destina

[PATCH] time: export nsec_to_clock_t

2018-03-28 Thread Arnd Bergmann
nsec_to_clock_t was traditionally used only in the core kernel, now we have a sysfs file that needs it from a loadable module, causing a link-time error: ERROR: "nsec_to_clock_t" [drivers/thermal/thermal_sys.ko] undefined! This exports the function the same way that we do for related interfaces.

Re: [PATCH 1/2] video: ARM CLCD: Delete an error message for a failed memory allocation in clcdfb_probe()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Tuesday, December 05, 2017 06:12:30 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 5 Dec 2017 17:50:11 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus El

Re: [PATCH] HID: google: Enable PM Full On mode when adjusting backlight

2018-03-28 Thread Jiri Kosina
On Wed, 28 Mar 2018, Nicolas Boichat wrote: > From: Haridhar Kalvala > > hammer LED backlight brightness is not getting set when USB > device is in suspend state. > > This patch fixes the issue by requesting USB HID device to be > in FULLON mode, so that sending hardware output report and > har

Re: [PATCH v3 0/6] clocksource: rework Atmel TCB timer driver

2018-03-28 Thread Alexandre Belloni
On 28/03/2018 at 15:03:11 +0200, Daniel Lezcano wrote: > On 28/03/2018 12:29, Alexander Dahl wrote: > > Hello Daniel, > > > > Am Dienstag, 27. März 2018, 13:30:22 CEST schrieb Daniel Lezcano: > >> Can you can give a rough amount for the irq rate on the timer ? > > > > I used itop [1] now to get a

[PATCH] [net-next] sctp: fix unused lable warning

2018-03-28 Thread Arnd Bergmann
The proc file cleanup left a label possibly unused: net/sctp/protocol.c: In function 'sctp_defaults_init': net/sctp/protocol.c:1304:1: error: label 'err_init_proc' defined but not used [-Werror=unused-label] This adds an #ifdef around it to match the respective 'goto'. Fixes: d47d08c8ca05 ("sct

Re: [PATCH 2/2] video: ARM CLCD: Improve a size determination in clcdfb_probe()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Tuesday, December 05, 2017 06:13:33 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 5 Dec 2017 17:53:19 +0100 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the corresponding size > determination a

Re: [PATCH] nvme: use upper_32_bits() instead of bit shift

2018-03-28 Thread Keith Busch
On Wed, Mar 28, 2018 at 03:57:47PM +0200, Arnd Bergmann wrote: > @@ -2233,8 +2233,8 @@ int nvme_get_log_ext(struct nvme_ctrl *ctrl, struct > nvme_ns *ns, > c.get_log_page.lid = log_page; > c.get_log_page.numdl = cpu_to_le16(dwlen & ((1 << 16) - 1)); > c.get_log_page.numdu = cpu_t

Re: [PATCH RFC tools/memory-model] Add s390.{cfg,cat}

2018-03-28 Thread Paul E. McKenney
On Wed, Mar 28, 2018 at 03:48:13PM +0200, Peter Zijlstra wrote: > On Wed, Mar 28, 2018 at 06:42:32AM -0700, Paul E. McKenney wrote: > > Hello! > > > > The prototype patch shown below provides files required to allow herd7 to > > evaluate C-language litmus tests for the multicopy-atomic TSO orderin

Re: [PATCH] ecryptfs: Restore support for both encrypted and unencrypted file names

2018-03-28 Thread Tyler Hicks
On 03/28/2018 08:33 AM, Guenter Roeck wrote: > On 03/27/2018 08:58 AM, Tyler Hicks wrote: >> Hello Guenter >> >> On 02/13/2018 04:36 PM, Guenter Roeck wrote: >>> Commit 88ae4ab9802e ("ecryptfs_lookup(): try either only encrypted or >>> plaintext name") was supposed to fix a situation where two file

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Mathieu Desnoyers
- On Mar 28, 2018, at 7:19 AM, Peter Zijlstra pet...@infradead.org wrote: > On Tue, Mar 27, 2018 at 12:05:23PM -0400, Mathieu Desnoyers wrote: >> +#ifdef CONFIG_RSEQ >> +struct rseq __user *rseq; >> +u32 rseq_len; >> +u32 rseq_sig; >> +/* >> + * RmW on rseq_event_mask must

Re: [PATCH] video/console/sticore: Delete an error message for a failed memory allocation in sti_try_rom_generic()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Tuesday, December 05, 2017 07:00:22 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 5 Dec 2017 18:45:42 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus El

Re: [PATCH v2 4/4] perf: Support perf -vv

2018-03-28 Thread Jiri Olsa
On Wed, Mar 28, 2018 at 10:00:32PM +0800, Jin, Yao wrote: > > > On 3/28/2018 9:22 PM, Jiri Olsa wrote: > > On Wed, Mar 28, 2018 at 10:57:08PM +0800, Jin Yao wrote: > > > We keep having bug reports that when users build perf on their own, > > > but they don't install some needed libraries such as

[PATCH] ALSA: hda_intel: mark PM functions as __maybe_unused

2018-03-28 Thread Arnd Bergmann
Two callsites of azx_suspend/azx_resume were removed, leaving these functions only called from the optional SET_SYSTEM_SLEEP_PM_OPS() and causing a warning without CONFIG_PM_SLEEP: sound/pci/hda/hda_intel.c:1029:12: error: 'azx_resume' defined but not used [-Werror=unused-function] static int az

[PATCH v4 0/2] locking/rwsem: Add DEBUG_RWSEMS

2018-03-28 Thread Waiman Long
v4: - Auto select DEBUG_RWSEMS & DEBUG_WW_MUTEX_SLOWPATH if PROVE_LOCKING - Modify patch 2 to do a restructuring of the lock debugging menu. v3: - Add a new patch which adds a master LOCK_DEBUGGING option to turn on all lock debugging. v2: - Fix typo in up_read_non_owner(). This patchset

[PATCH v4 2/2] locking/debug: Restructure the lock debugging menu

2018-03-28 Thread Waiman Long
Two config options in the lock debugging menu that are probably the most frequently used, as far as I am concerned, is the PROVE_LOCKING and LOCK_STAT. From a UI perspective, they should be front and center. So these two options are now moved to the top of the lock debugging menu. The DEBUG_WW_MUT

[PATCH v4 1/2] locking/rwsem: Add DEBUG_RWSEMS to look for lock/unlock mismatches

2018-03-28 Thread Waiman Long
For a rwsem, locking can either be exclusive or shared. The corresponding exclusive or shared unlock must be used. Otherwise, the protected data structures may get corrupted or the lock may be in an inconsistent state. In order to detect such anomaly, a new configuration option DEBUG_RWSEMS is add

[PATCH] gpio: dwapb: Add support for 32 interrupts

2018-03-28 Thread Phil Edworthy
The DesignWare GPIO IP can be configured for either 1 or 32 interrupts, but the driver currently only supports 1 interrupt. See the DesignWare DW_apb_gpio Databook description of the 'GPIO_INTR_IO' parameter. This change allows the driver to work with up to 32 interrupts, it will get as many inter

KAMIL .

2018-03-28 Thread Denis B.
Dear friend, In a brief introduction, I am Denis Butte, i was a lawyer but now i work with one of the leading bank, in Lome Republic of Togo. I have a private reservation from my office with regards to my late client Mr. A. M. Kamil, a citizen of your country who died some years ago,leaving behind

Re: [PATCH 1/3] video: au1100fb: Delete an error message for a failed memory allocation in au1100fb_drv_probe()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Monday, November 27, 2017 06:58:22 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 27 Nov 2017 18:14:41 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus El

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Mathieu Desnoyers
- On Mar 28, 2018, at 7:22 AM, Peter Zijlstra pet...@infradead.org wrote: > On Tue, Mar 27, 2018 at 12:05:23PM -0400, Mathieu Desnoyers wrote: >> +/* >> + * struct rseq_cs is aligned on 4 * 8 bytes to ensure it is always >> + * contained within a single cache-line. It is usually declared as >>

Re: [PATCH 2/3] video: au1100fb: Improve a size determination in au1100fb_drv_probe()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Monday, November 27, 2017 06:59:57 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 27 Nov 2017 18:18:34 +0100 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the corresponding size > determination a

RE: [PATCH v3 2/4] bus: fsl-mc: add restool userspace support

2018-03-28 Thread Ioana Ciornei
Hi, > > Hi Ioana, > > So this driver is a direct passthrough to your hardware for passing fixed- > length command/response pairs. Have you considered using a higher-level > interface instead? > > Can you list some of the commands that are passed here as clarification, and > explain what the tra

Re: [PATCH 3/3] video: au1100fb: Delete an unnecessary variable initialisation in au1100fb_drv_probe()

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Monday, November 27, 2017 07:01:14 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 27 Nov 2017 18:40:23 +0100 > > The local variable "fbdev" will be reassigned by a following statement. > Thus omit the explicit initialisation at the beginning. > > Signed-off-by: Markus Elfring

Re: [PATCH] video: fbdev: s3c-fb: remove dead platform code for Exynos and S5PV210 platforms

2018-03-28 Thread Bartlomiej Zolnierkiewicz
On Wednesday, February 14, 2018 04:56:53 PM Jingoo Han wrote: > On Wednesday, February 14, 2018 7:01 AM wrote: > > > > Exynos5, Exynos4 and S5PV210 platforms have been converted to > > use Device Tree and Exynos DRM driver long time ago. Remove > > dead platform code for these platforms and updat

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Mathieu Desnoyers
- On Mar 28, 2018, at 10:06 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Mar 28, 2018, at 2:47 AM, Boqun Feng boqun.f...@gmail.com wrote: > >> On Tue, Mar 27, 2018 at 12:05:23PM -0400, Mathieu Desnoyers wrote: >> [...] >>> Changes since v11: >>> >>> - Replace task

Re: [PATCH] ALSA: hda_intel: mark PM functions as __maybe_unused

2018-03-28 Thread Lukas Wunner
On Wed, Mar 28, 2018 at 04:19:29PM +0200, Arnd Bergmann wrote: > Two callsites of azx_suspend/azx_resume were removed, leaving these > functions only called from the optional SET_SYSTEM_SLEEP_PM_OPS() > and causing a warning without CONFIG_PM_SLEEP: > > sound/pci/hda/hda_intel.c:1029:12: error: 'a

Re: [RFC PATCH v2] net: phy: Added device tree binding for dev-addr and dev-addr code check-up

2018-03-28 Thread Rob Herring
On Tue, Mar 27, 2018 at 9:24 AM, Andrew Lunn wrote: >> > This is a 2nd MDIO address, right? Can't you just append this to reg >> > property? > > Hi Rob > > It is a sub address. > > There are two different MDIO addressing schemes. Clause 22 allowed for > 32 different addresses on an MDIO bus. Clau

Re: [PATCH] tracing: avoid string overflow

2018-03-28 Thread Tom Zanussi
Hi Arnd, On Wed, 2018-03-28 at 16:09 +0200, Arnd Bergmann wrote: > 'err' is used as a NUL-terminated string, but using strncpy() with the length > equal to the buffer size may result in lack of the termination: > > kernel/trace/trace_events_hist.c: In function 'hist_err_event': > kernel/trace/tra

Re: [PATCH v3 0/6] clocksource: rework Atmel TCB timer driver

2018-03-28 Thread Daniel Lezcano
On 28/03/2018 16:16, Alexandre Belloni wrote: > On 28/03/2018 at 15:03:11 +0200, Daniel Lezcano wrote: >> On 28/03/2018 12:29, Alexander Dahl wrote: >>> Hello Daniel, >>> >>> Am Dienstag, 27. März 2018, 13:30:22 CEST schrieb Daniel Lezcano: Can you can give a rough amount for the irq rate on t

Re: [PATCHv4] irqchip: arm-gic: take gic_lock when updating irq type

2018-03-28 Thread Marc Zyngier
On Wed, 28 Mar 2018 14:42:00 +0100, Aniruddha Banerjee wrote: > > From: Aniruddha Banerjee > > The kernel documentation states that the locking of the irq-chip > registers should be handled by the irq-chip driver. In the irq-gic, > the accesses to the irqchip are seemingly not protected and mult

RE: [PATCH 1/3] EDAC/amd64: Print ECC enabled/disabled for nodes with enabled MCs

2018-03-28 Thread Ghannam, Yazen
> -Original Message- > From: linux-edac-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Borislav Petkov > Sent: Wednesday, March 28, 2018 9:00 AM > To: Ghannam, Yazen > Cc: linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/3] EDAC/amd64: Print ECC

RE: [PATCH] tipc: avoid possible string overflow

2018-03-28 Thread Jon Maloy
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Wednesday, March 28, 2018 10:02 > To: Jon Maloy ; Ying Xue > ; David S. Miller > Cc: Arnd Bergmann ; Parthasarathy Bhuvaragan > ; net...@vger.kernel.org; tipc- > discuss...@lists.sourceforge.net; linux-kernel@vger.

Re: [PATCH 2/2] smp: introduce kick_active_cpus_sync()

2018-03-28 Thread Yury Norov
On Wed, Mar 28, 2018 at 06:56:17AM -0700, Paul E. McKenney wrote: > On Wed, Mar 28, 2018 at 04:36:05PM +0300, Yury Norov wrote: > > On Mon, Mar 26, 2018 at 05:45:55AM -0700, Paul E. McKenney wrote: > > > On Sun, Mar 25, 2018 at 11:11:54PM +0300, Yury Norov wrote: > > > > On Sun, Mar 25, 2018 at 12:

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