Re: [PATCH] thunderbolt: fix incorrect value assigned to req->response_type

2017-08-15 Thread Dan Carpenter
On Tue, Aug 15, 2017 at 05:38:34PM +0300, Mika Westerberg wrote: > On Tue, Aug 15, 2017 at 03:31:33PM +0100, Colin King wrote: > > From: Colin Ian King > > > > req->response_type is being assigned the sizeof TB_CFG_PKG_RESET > > and should actually be assigned

Re: [PATCH 0/4] Patches to support ring0 SVM and devtlb

2017-08-15 Thread Raj, Ashok
Hi Joerg I haven't received any update to this patchset.. Could you help get this merged through your tree? we have tested this series internally. Cheers, Ashok On Tue, Aug 08, 2017 at 01:29:26PM -0700, Ashok Raj wrote: > Hi > > Sorry for resending.. iommu list email was mistyped :-( > >

Re: [PATCH v2 0/2] PCI: rcar-pcie: Fix memory leak

2017-08-15 Thread Simon Horman
On Mon, Aug 14, 2017 at 04:11:14PM -0500, Bjorn Helgaas wrote: > On Fri, Aug 04, 2017 at 12:32:53PM +0900, Harunobu Kurokawa wrote: > > When no PCIe card is inserted, there is a memory leak as > > pci_free_resource_list is not called before returning. > > > > v2: > > separate the patch to two

Possible race in ks8851_mll.ko

2017-08-15 Thread Anton Volkov
Hello. While searching for races in the Linux kernel I've come across "drivers/net/ethernet/micrel/ks8851_mll.ko" module. Here is a question that I came up with while analyzing results. Lines are given using the info from Linux v4.12. Consider the following case: Thread 1:

Re: [PATCH] KVM/x86: Increase max vcpu number to 352

2017-08-15 Thread Radim Krčmář
(Missed this mail before my last reply.) 2017-08-15 10:10-0400, Konrad Rzeszutek Wilk: > On Tue, Aug 15, 2017 at 11:00:04AM +0800, Lan Tianyu wrote: > > On 2017年08月12日 03:35, Konrad Rzeszutek Wilk wrote: > > > Migration with 352 CPUs all being busy dirtying memory and also poking > > > at various

Re: [PATCH v3] iommu/s390: Add support for iommu_device handling

2017-08-15 Thread Sebastian Ott
On Tue, 15 Aug 2017, Joerg Roedel wrote: > On Tue, Aug 15, 2017 at 06:02:20PM +0200, Sebastian Ott wrote: > > On Mon, 14 Aug 2017, Joerg Roedel wrote: > > > I attach the patch I wrote to fix this, can you please test it together > > > with the initial patch in this thread? > > > > I did and can

Re: [PATCH 1/2] media: ov7670: Add entity pads initialization

2017-08-15 Thread Sakari Ailus
Hi Wenyou, On Thu, Aug 10, 2017 at 05:06:44PM +0800, Wenyou Yang wrote: > Add the media entity pads initialization. > > Signed-off-by: Wenyou Yang The patch itself seems fine. However the driver is lacking support for get_fmt which I think would be necessary for the

Re: [RFC PATCH v5 0/5] vfio-pci: Add support for mmapping MSI-X table

2017-08-15 Thread Alex Williamson
On Mon, 14 Aug 2017 14:12:33 +0100 Robin Murphy wrote: > On 14/08/17 10:45, Alexey Kardashevskiy wrote: > > Folks, > > > > Is there anything to change besides those compiler errors and David's > > comment in 5/5? Or the while patchset is too bad? Thanks. > > While I now

Re: [PATCH 2/2] media: ov7670: Add the s_power operation

2017-08-15 Thread Sakari Ailus
Hi Wenyou, On Thu, Aug 10, 2017 at 05:06:45PM +0800, Wenyou Yang wrote: > Add the s_power operation which is responsible for manipulating the > power dowm mode through the PWDN pin and the reset operation through > the RESET pin. > > Signed-off-by: Wenyou Yang > --- >

Re: [PATCH v2] acpi: apei: fix the wrongly iterate generic error status block

2017-08-15 Thread gengdongjiu
Borislav, 2017-08-16 0:32 GMT+08:00, Borislav Petkov : > On Wed, Aug 16, 2017 at 12:30:55AM +0800, gengdongjiu wrote: >> I think this patch has merged them to one. > > Look at both patches again. I ever discuss it with Tyler about it, as shown below link, thanks

Re: [PATCH] f2fs: let fill_super handle roll-forward errors

2017-08-15 Thread Jaegeuk Kim
On 08/15, Chao Yu wrote: > On 2017/8/15 11:22, Jaegeuk Kim wrote: > > On 08/15, Chao Yu wrote: > >> Hi Jaegeuk, > >> > >> On 2017/8/11 8:42, Jaegeuk Kim wrote: > >>> If we set CP_ERROR_FLAG in roll-forward error, f2fs is no longer to > >>> proceed > >>> any IOs due to f2fs_cp_error(). But, for

Re: [PATCH] Adding-Agile-SD-TCP-module-and-modifying-Kconfig-and-makefile

2017-08-15 Thread Randy Dunlap
On 08/15/2017 06:51 AM, Neal Cardwell wrote: > On Tue, Aug 15, 2017 at 9:08 AM, mohamedalrshah > wrote: > >> +static void agilesdtcp_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) >> +{ >> + struct tcp_sock *tp = tcp_sk(sk); >> + struct agilesdtcp *ca

Re: [PATCHv2 02/14] fork: allow arch-override of VMAP stack alignment

2017-08-15 Thread Catalin Marinas
On Tue, Aug 15, 2017 at 05:39:55PM +0100, Mark Rutland wrote: > On Tue, Aug 15, 2017 at 09:33:18AM -0700, Andy Lutomirski wrote: > > On Tue, Aug 15, 2017 at 9:30 AM, Mark Rutland wrote: > > > On Tue, Aug 15, 2017 at 09:09:36AM -0700, Andy Lutomirski wrote: > > > >> This

[PATCH] hsdk: Enable INPUT_EVDEV

2017-08-15 Thread Alexey Brodkin
This is required for user-space apps to work with keyboard/mice. Signed-off-by: Alexey Brodkin Cc: Eugeniy Paltsev --- arch/arc/configs/hsdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arc/configs/hsdk_defconfig

Re: [PATCH v1] mtd: plat-ram: use release_mem_region instead of release_resource

2017-08-15 Thread Boris Brezillon
Le Tue, 15 Aug 2017 15:21:34 +0300, Anton Vasilyev a écrit : > Use api pair of request_mem_region and release_mem_region > instead of release_resource. > > Found by Linux Driver Verification project (linuxtesting. Missing ')'. > > Signed-off-by: Anton Vasilyev

Re: [PATCH 2/2] mtd: spi-nor: Altera ASMI Parallel II IP Core

2017-08-15 Thread matthew . gerlach
Hi Cyrille, Thanks for the great feedback. See my comments inline. Matthew Gerlach On Fri, 11 Aug 2017, Cyrille Pitchen wrote: Hi Matthew, Le 06/08/2017 à 20:24, matthew.gerl...@linux.intel.com a écrit : From: Matthew Gerlach Signed-off-by: Matthew

Re: [PATCH v6 1/3] perf/core: use rb trees for pinned/flexible groups

2017-08-15 Thread Alexey Budankov
Hi Peter, On 07.08.2017 10:17, Alexey Budankov wrote: > On 04.08.2017 17:36, Peter Zijlstra wrote: >> On Thu, Aug 03, 2017 at 11:30:09PM +0300, Alexey Budankov wrote: >>> On 03.08.2017 16:00, Peter Zijlstra wrote: On Wed, Aug 02, 2017 at 11:13:54AM +0300, Alexey Budankov wrote: >> > +/*

Re: [PATCH net-next 02/11] net: dsa: add debugfs interface

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > This commit adds a DEBUG_FS dependent DSA core file creating a generic > debug filesystem interface for the DSA switch devices. > > The interface can be mounted with: > > # mount -t debugfs none /sys/kernel/debug > > The dsa directory

Re: early x86 unseeded randomness

2017-08-15 Thread Thomas Gleixner
On Tue, 15 Aug 2017, Thomas Gleixner wrote: > On Tue, 15 Aug 2017, Theodore Ts'o wrote: > > On Tue, Aug 15, 2017 at 03:48:18PM +0200, Thomas Gleixner wrote: > > > > > +u64 __init tsc_early_random(void) > > > > > +{ > > > > > + u64 uninitialized_var(res); > > > > > + int i; > > > > > + > >

Re: [PATCH] Adding-Agile-SD-TCP-module-and-modifying-Kconfig-and-makefile

2017-08-15 Thread David Miller
From: Randy Dunlap Date: Tue, 15 Aug 2017 09:41:53 -0700 > On 08/15/2017 06:51 AM, Neal Cardwell wrote: >> On Tue, Aug 15, 2017 at 9:08 AM, mohamedalrshah >> wrote: >> >>> +static void agilesdtcp_cong_avoid(struct sock *sk, u32 ack, u32

Re: [PATCH v5 0/6] drivers/i2c: Add FSI-attached I2C master algorithm

2017-08-15 Thread Eddie James
On 08/15/2017 12:35 PM, Peter Rosin wrote: On 2017-08-15 18:28, Christopher Bostic wrote: On 8/15/17 3:10 AM, Joel Stanley wrote: On Tue, Aug 15, 2017 at 4:06 PM, Peter Rosin wrote: On 2017-07-26 19:13, Eddie James wrote: From: "Edward A. James" This

Re: [PATCH 4.4 00/23] 4.4.83-stable review

2017-08-15 Thread Shuah Khan
On 08/14/2017 07:18 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.83 release. > There are 23 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

[GIT PULL 2/2] bcm2835-soc-next-2017-08-15

2017-08-15 Thread Eric Anholt
The following changes since commit f29c256853b7412961d3ee80ca525bd2530573db: ARM: dts: bcm283x: Add 32-bit enable method for SMP (2017-08-14 20:09:44 +0200) are available in the git repository at: git://github.com/anholt/linux tags/bcm2835-soc-next-2017-08-15 for you to fetch changes up

[GIT PULL 1/2] bcm2835-dt-next-2017-08-15

2017-08-15 Thread Eric Anholt
The following changes since commit ad41eacc11046fe6a199cffb6663bcd9c90df2f8: Merge tag 'bcm2835-dt-next-2017-08-07' into devicetree/next (2017-08-07 10:45:35 -0700) are available in the git repository at: git://github.com/anholt/linux tags/bcm2835-dt-next-2017-08-15 for you to fetch

Re: [PATCH 4.12 00/65] 4.12.8-stable review

2017-08-15 Thread Shuah Khan
On 08/14/2017 07:18 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.12.8 release. > There are 65 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

[PATCH 2/3] ARC: Decouple linux kernel memory address and link address

2017-08-15 Thread Eugeniy Paltsev
We faced with problem when we tried to utilize 1G DRAM by linux on HSDK. We can't use our usual kernel memory address (0x8000) like on AXS103 because of DCCM memory bank located at exactly same address (0x8000) But we can't simply move kernel memory address to another address (like

Re: [PATCHv2 00/14] arm64: VMAP_STACK support

2017-08-15 Thread Kees Cook
On Tue, Aug 15, 2017 at 10:44 AM, Catalin Marinas wrote: > On Tue, Aug 15, 2017 at 06:39:14PM +0100, Mark Rutland wrote: >> On Tue, Aug 15, 2017 at 10:18:20AM -0700, Laura Abbott wrote: >> > On 08/15/2017 05:50 AM, Mark Rutland wrote: >> > > Hi, >> > > >> > > Ard and I

Re: random.c: LFSR polynomials are not irreducible/primitive

2017-08-15 Thread Theodore Ts'o
On Tue, Aug 15, 2017 at 10:45:17AM +0200, Stephan Mueller wrote: > Am Dienstag, 15. August 2017, 00:21:05 CEST schrieb Theodore Ts'o: > > Hi Theodore, > > > Have you looked at section 3.1.1 of the above cited paper? > > > > http://eprint.iacr.org/2012/251.pdf > > Thanks for the hint, but

Re: [tip:perf/core] perf test shell: Install shell tests

2017-08-15 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 14, 2017 at 11:01:57PM +0200, Michael Petlan escreveu: > On Mon, 14 Aug 2017, Arnaldo Carvalho de Melo wrote: > > Em Mon, Aug 14, 2017 at 08:44:14PM +0200, Michael Petlan escreveu: > > > Maybe this would be the right time to incorporate the shell-based > > > perftool-testsuite [1] into

Re: early x86 unseeded randomness

2017-08-15 Thread Borislav Petkov
On Tue, Aug 15, 2017 at 03:48:18PM +0200, Thomas Gleixner wrote: > Go ahead. What you actually want to do is to replace boot_cpu_has() with a > real cpuid() check because boot_cpu_has() is not initialized on real early > boot. Right. -- Regards/Gruss, Boris. Good mailing practices for 400:

Re: [PATCH] thunderbolt: fix incorrect value assigned to req->response_type

2017-08-15 Thread Colin Ian King
On 15/08/17 16:22, Dan Carpenter wrote: > On Tue, Aug 15, 2017 at 05:38:34PM +0300, Mika Westerberg wrote: >> On Tue, Aug 15, 2017 at 03:31:33PM +0100, Colin King wrote: >>> From: Colin Ian King >>> >>> req->response_type is being assigned the sizeof TB_CFG_PKG_RESET >>>

Re: [RFC PATCH 7/9] housekeeping: Use own boot option, independant from nohz

2017-08-15 Thread Mike Galbraith
On Tue, 2017-08-15 at 08:30 -0700, Paul E. McKenney wrote: > On Tue, Aug 15, 2017 at 05:15:23PM +0200, Mike Galbraith wrote: > > On Tue, 2017-08-15 at 15:07 +0200, Frederic Weisbecker wrote: > > > On Mon, Aug 14, 2017 at 08:29:46PM +0200, Mike Galbraith wrote: > > > > On Mon, 2017-08-14 at 13:34

Re: [PATCH v3] iommu/s390: Add support for iommu_device handling

2017-08-15 Thread Sebastian Ott
On Mon, 14 Aug 2017, Joerg Roedel wrote: > I attach the patch I wrote to fix this, can you please test it together > with the initial patch in this thread? I did and can confirm that everything worked as expected! Thanks, Sebastian

Re: [PATCH 0/4] Patches to support ring0 SVM and devtlb

2017-08-15 Thread David Woodhouse
On Tue, 2017-08-15 at 07:59 -0700, Raj, Ashok wrote: > Hi Joerg > > I haven't received any update to this patchset..  > > Could you help get this merged through your tree? we have tested this > series internally. For all four: Acked-by: David Woodhouse smime.p7s

Re: [PATCH v10 00/12] Fix the on-flight DMA issue on system with amd iommu

2017-08-15 Thread Joerg Roedel
On Wed, Aug 09, 2017 at 04:33:32PM +0800, Baoquan He wrote: > Baoquan He (12): > iommu/amd: Detect pre enabled translation > iommu/amd: add several helper functions > Revert "iommu/amd: Suppress IO_PAGE_FAULTs in kdump kernel" > iommu/amd: Define bit fields for DTE particularly >

Re: [PATCH v4 2/3] mm: introduce MAP_VALIDATE a mechanism for adding new mmap flags

2017-08-15 Thread Dan Williams
On Tue, Aug 15, 2017 at 5:27 AM, Jan Kara wrote: > On Mon 14-08-17 23:12:16, Dan Williams wrote: >> The mmap syscall suffers from the ABI anti-pattern of not validating >> unknown flags. However, proposals like MAP_SYNC and MAP_DIRECT need a >> mechanism to define new behavior that

Re: [PATCH 11/12] irqchip/mips-gic: Report that effective affinity is a single target

2017-08-15 Thread Paul Burton
Hi Marc, On Tuesday, 15 August 2017 04:34:46 PDT Marc Zyngier wrote: > The MIPS GIC driver only targets a single CPU at a time, even if > the notional affinity is wider. Let's inform the core code > about this. > > Signed-off-by: Marc Zyngier > --- >

Re: [PATCH v2] acpi: apei: fix the wrongly iterate generic error status block

2017-08-15 Thread Borislav Petkov
On Wed, Aug 16, 2017 at 12:30:55AM +0800, gengdongjiu wrote: > I think this patch has merged them to one. Look at both patches again. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --

Re: [PATCH v2] sctp: fully initialize the IPv6 address in sctp_v6_to_addr()

2017-08-15 Thread Marcelo Ricardo Leitner
On Tue, Aug 15, 2017 at 08:37:49AM -0700, Eric Dumazet wrote: > On Tue, 2017-08-15 at 12:05 -0300, Marcelo Ricardo Leitner wrote: > > > Ok, but I should see a difference in the generated code, right? > > Depends on the compiler. Have you tried older versions ? > This was with gcc 6.4.1, fc25

[PATCH 1/3] dt-bindings: vendors: Add VoCore as a vendor

2017-08-15 Thread Harvey Hunt
VoCore are a manufacturer of devices such as the VoCore2. Signed-off-by: Harvey Hunt Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-m...@linux-mips.org --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1

Re: pull-request: wireless-drivers 2017-08-15

2017-08-15 Thread David Miller
From: Kalle Valo Date: Tue, 15 Aug 2017 14:30:34 +0300 > more fixes to net tree for 4.13. More info in the signed tag below, > please let me know if there are any problems. Pulled, thanks Kalle.

Re: [PATCH v4] ASoC: samsung: i2s: Null pointer dereference on samsung_i2s_remove

2017-08-15 Thread Krzysztof Kozlowski
On Tue, Aug 15, 2017 at 03:19:54PM +0300, Anton Vasilyev wrote: > If (quirks & QUIRK_SEC_DAI == 0) then samsung_i2s_probe() doesn't allocate > sec_dai and pri_dai->sec_dai remains Null, but samsung_i2s_remove() > performs pri_dai->sec_dai dereference in any case. > > The patch removes useless

Re: [PATCHv2 00/14] arm64: VMAP_STACK support

2017-08-15 Thread Mark Rutland
On Tue, Aug 15, 2017 at 10:18:20AM -0700, Laura Abbott wrote: > On 08/15/2017 05:50 AM, Mark Rutland wrote: > > Hi, > > > > Ard and I have worked together to implement vmap stack support for > > arm64. This supersedes our earlier vmap stack RFCs [0,1]. The git author > > stats are a little

Re: [PATCH v7 3/5] irqdomain: Add irq_domain_{push,pop}_irq() functions.

2017-08-15 Thread David Daney
On 08/15/2017 06:50 AM, Marc Zyngier wrote: Hi David, On 09/08/17 23:51, David Daney wrote: [...] diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index f1f2514..629f770 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -1448,6 +1448,184 @@ int

Applied "regulator: Add document for MediaTek MT6380 regulator" to the regulator tree

2017-08-15 Thread Mark Brown
The patch regulator: Add document for MediaTek MT6380 regulator has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

[PATCH 1/5] ASoC: blackfin: constify snd_soc_dai_ops structures

2017-08-15 Thread Julia Lawall
These snd_soc_dai_ops structures are only stored in the ops field of a snd_soc_dai_driver structure, which is const. Thus, the snd_soc_dai_ops structures can be const too. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- sound/soc/blackfin/bf6xx-i2s.c |

[PATCH 5/5] ASoC: spear: constify snd_soc_dai_ops structures

2017-08-15 Thread Julia Lawall
These snd_soc_dai_ops structures are only stored in the ops field of a snd_soc_dai_driver structure, which is const. Thus, the snd_soc_dai_ops structures can be const too. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- sound/soc/spear/spdif_in.c |

Re: [PATCH] soc: imx: gpcv2: fix regulator deferred probe

2017-08-15 Thread Arnd Bergmann
On Mon, Aug 14, 2017 at 7:35 AM, Shawn Guo wrote: > On Sun, Aug 13, 2017 at 10:12:13PM -0700, Stefan Agner wrote: >> Hi Shawn, >> >> On 2017-08-04 20:13, Shawn Guo wrote: >> > On Wed, Aug 02, 2017 at 12:51:29PM -0700, Stefan Agner wrote: >> >> If a regulator requests a

Re: [GIT PULL 5/5] ARM: defconfig: Cleanups for v4.14

2017-08-15 Thread Arnd Bergmann
On Mon, Jul 24, 2017 at 9:08 PM, Krzysztof Kozlowski wrote: > Hi, > > Non-Samsung cleanups for defconfigs Thanks for the cleanups! Merged into next/defconfig. Arnd

Re: [PATCH v2] arm64: defconfig: enable CONFIG_UNIPHIER_WATCHDOG

2017-08-15 Thread Arnd Bergmann
On Tue, Jul 18, 2017 at 8:38 AM, Keiji Hayashibara wrote: > Enable the watchdog driver for UniPhier SoC > > Signed-off-by: Keiji Hayashibara Applied to next/arm64, thanks! Arnd

[PATCH 2/2] MIPS: configs: Add Onion Omega2+ defconfig

2017-08-15 Thread Harvey Hunt
Create a defconfig for the Omega2+ that reaches userspace and allows use of the USB port. Signed-off-by: Harvey Hunt Cc: linux-kernel@vger.kernel.org Cc: linux-m...@linux-mips.org --- arch/mips/configs/omega2p_defconfig | 130 1 file

[PATCH 1/2] MIPS: Add Onion Omega2+ board

2017-08-15 Thread Harvey Hunt
The Onion Omega2+ is an MT7688A based board that has 128MB RAM and multiple peripherals. The MT7688A is pin compatible with the MT7628A, although the former supports a 1T1R antenna whereas the MT7628A supports a 2R2T antenna. Signed-off-by: Harvey Hunt Cc:

Re: [PATCH 11/12] irqchip/mips-gic: Report that effective affinity is a single target

2017-08-15 Thread Paul Burton
Hi Marc, On Tuesday, 15 August 2017 09:44:24 PDT Marc Zyngier wrote: > On 15/08/17 17:23, Paul Burton wrote: > > Hi Marc, > > > > On Tuesday, 15 August 2017 04:34:46 PDT Marc Zyngier wrote: > >> The MIPS GIC driver only targets a single CPU at a time, even if > >> the notional affinity is wider.

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-15 Thread Tim Chen
On 08/15/2017 02:58 AM, Mel Gorman wrote: > On Tue, Aug 15, 2017 at 04:45:36PM +0800, Kemi Wang wrote: >> Threshold CPU cyclesThroughput(88 threads) >> 32 799 241760478 >> 64 640 301628829 >> 125 537 358906028 <==> system by

RE: [PATCH] New Chapter on CodingStyle .

2017-08-15 Thread David Laight
From: Stephen Hemminger > Sent: 15 August 2017 17:21 > On Tue, 15 Aug 2017 10:42:39 + > David Laight wrote: > > > From: Jonathan Corbet > > > Sent: 12 August 2017 15:55 > > ... > > > > + Chapter 20: Put values on initialisers without exception > > > > +

Re: [PATCH net RESEND] PCI: fix oops when try to find Root Port for a PCI device

2017-08-15 Thread Bjorn Helgaas
On Tue, Aug 15, 2017 at 11:24:48PM +0800, Ding Tianhong wrote: > Eric report a oops when booting the system after applying > the commit a99b646afa8a ("PCI: Disable PCIe Relaxed..."): > ... > It looks like the pci_find_pcie_root_port() was trying to > find the Root Port for the PCI device which is

Applied "ASoC: rockchip: constify snd_soc_dai_ops structures" to the asoc tree

2017-08-15 Thread Mark Brown
The patch ASoC: rockchip: constify snd_soc_dai_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: [PATCH 2/9] ASoC: cygnus: Update bindings for audio clock changes

2017-08-15 Thread Mark Brown
On Mon, Aug 14, 2017 at 03:06:50PM -0700, Lori Hikichi wrote: > Allow each audio port to select which clock (if any) it wants to use. Why is this in DT for the port and not either using standard clock bindings to configure the clock tree or allowing the machine driver to pick? signature.asc

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-15 Thread Mel Gorman
On Tue, Aug 15, 2017 at 09:55:39AM -0700, Tim Chen wrote: > On 08/15/2017 02:58 AM, Mel Gorman wrote: > > On Tue, Aug 15, 2017 at 04:45:36PM +0800, Kemi Wang wrote: > >> Threshold CPU cyclesThroughput(88 threads) > >> 32 799 241760478 > >> 64 640

Re: [PATCH net-next 10/11] net: dsa: restore VLAN dump

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > This commit defines a dsa_vlan_dump_cb_t callback, similar to the FDB > dump callback and partly reverts commit a0b6b8c9fa3c ("net: dsa: Remove > support for vlan dump from DSA's drivers") to restore the DSA drivers > VLAN dump operations. > >

Re: [PATCH net-next 09/11] net: dsa: debugfs: add port mdb

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > Add a debug filesystem "mdb" entry to query a port's hardware MDB > entries through the .port_mdb_dump switch operation. > > This is really convenient to query directly the hardware or inspect DSA > or CPU links, since these ports are not exposed

Re: [PATCH v4] f2fs: introduce discard_granularity sysfs entry

2017-08-15 Thread Jaegeuk Kim
On 08/15, Chao Yu wrote: > On 2017/8/15 11:45, Jaegeuk Kim wrote: > > On 08/07, Chao Yu wrote: > >> From: Chao Yu > >> > >> Commit d618ebaf0aa8 ("f2fs: enable small discard by default") enables > >> f2fs to issue 4K size discard in real-time discard mode. However, issuing > >>

[PATCH 0/3 v8] hsdk: initial port for HSDK board

2017-08-15 Thread Eugeniy Paltsev
This series introduces some required preparations and initial port of ARC HS Development Kit board with some basic features such as serial port, USB, SD/MMC and Ethernet. Essentially we run Linux kernel on all 4 cores (i.e. utilize SMP) and heavily use IO Coherency for speeding-up DMA-aware

Re: Possible race in ucb1400_ts.ko

2017-08-15 Thread Dmitry Torokhov
Hi Anton, On Tue, Aug 15, 2017 at 04:46:25PM +0300, Anton Volkov wrote: > Hello. > > While searching for races in the Linux kernel I've come across > "drivers/input/touchscreen/ucb1400_ts.ko" module. Here is a question > that I came up with while analyzing results. Lines are given using > the

[PATCH 1/3] ARC: Set IO-coherency aperture base to LINUX_LINK_BASE

2017-08-15 Thread Eugeniy Paltsev
Most of the time we indeed use the one and only LINUX_LINK_BASE set to 0x8000_. But there might be good reasons to move the kernel to another location like 0x9z etc. And we want IOC aperture to cover entire area used by the kernel, so let's make its base matching link base and add required

Re: [PATCH v2] sctp: fully initialize the IPv6 address in sctp_v6_to_addr()

2017-08-15 Thread Marcelo Ricardo Leitner
On Mon, Aug 14, 2017 at 07:40:51PM -0700, David Miller wrote: > From: Marcelo Ricardo Leitner > Date: Mon, 14 Aug 2017 22:58:14 -0300 > > > On Tue, Aug 15, 2017 at 10:43:59AM +0900, 吉藤英明 wrote: > >> > diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c > >> > index

Re: [PATCH v4] acpi/iort: numa: Add numa node mapping for smmuv3 devices

2017-08-15 Thread Lorenzo Pieralisi
On Tue, Aug 15, 2017 at 05:02:13PM +0200, Robert Richter wrote: > Lorenzo, Will, > > On 25.07.17 10:32:37, Ganapatrao Kulkarni wrote: > > ARM IORT specification(rev. C) has added provision to define proximity > > domain in SMMUv3 IORT table. Adding required code to parse Proximity > > domain and

Re: [RFC PATCH 7/9] housekeeping: Use own boot option, independant from nohz

2017-08-15 Thread Mike Galbraith
On Tue, 2017-08-15 at 15:07 +0200, Frederic Weisbecker wrote: > On Mon, Aug 14, 2017 at 08:29:46PM +0200, Mike Galbraith wrote: > > On Mon, 2017-08-14 at 13:34 -0400, Luiz Capitulino wrote: > > > On Mon, 14 Aug 2017 19:01:09 +0200 > > > > > > > What is the source of the load balancing inducing

[PATCH 2/5] ASoC: rockchip: constify snd_soc_dai_ops structures

2017-08-15 Thread Julia Lawall
These snd_soc_dai_ops structures are only stored in the ops field of a snd_soc_dai_driver structure, which is const. Thus, the snd_soc_dai_ops structures can be const too. Done with the help of Coccinelle. Signed-off-by: Julia Lawall ---

[PATCH 3/5] ASoC: codecs: es8316: constify snd_soc_dai_ops structures

2017-08-15 Thread Julia Lawall
These snd_soc_dai_ops structures are only stored in the ops field of a snd_soc_dai_driver structure, which is const. Thus, the snd_soc_dai_ops structures can be const too. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- sound/soc/codecs/es8316.c |2

[PATCH 1/3] fs-udf: Delete an error message for a failed memory allocation in two functions

2017-08-15 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 15 Aug 2017 16:14:19 +0200 Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH 4/5] ASoC: codecs: zx_aud96p22: constify snd_soc_dai_ops structures

2017-08-15 Thread Julia Lawall
These snd_soc_dai_ops structures are only stored in the ops field of a snd_soc_dai_driver structure, which is const. Thus, the snd_soc_dai_ops structures can be const too. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- sound/soc/codecs/zx_aud96p22.c |

Re: [GIT PULL 4/5] ARM: defconfig: Exynos updates for v4.14

2017-08-15 Thread Arnd Bergmann
On Mon, Jul 24, 2017 at 9:08 PM, Krzysztof Kozlowski wrote: > > The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: > > Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) > > are available in the git repository at: > >

Re: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk()

2017-08-15 Thread Kani, Toshimitsu
On Tue, 2017-08-15 at 08:48 -0700, Luck, Tony wrote: > On Tue, Aug 15, 2017 at 08:35:51AM -0700, Kani, Toshimitsu wrote: > > User apps like ras-mc-ctl works as expected for a given (not-so- > > great) DIMM info from SMBIOS as well.  I do not see a probelm from > > user perspective, either. > >

Re: [PATCH v4 resend 1/2] rtmutex: update rt-mutex-design

2017-08-15 Thread Steven Rostedt
On Fri, 11 Aug 2017 15:47:14 +0800 Alex Shi wrote: > On 08/08/2017 04:30 AM, Jonathan Corbet wrote: > > On Mon, 31 Jul 2017 09:53:01 +0800 > > Alex Shi wrote: > > > >> On 07/31/2017 09:50 AM, Alex Shi wrote: > >>> -Reviewers: Ingo Molnar, Thomas

Re: [PATCH v3] iommu/s390: Add support for iommu_device handling

2017-08-15 Thread Joerg Roedel
On Tue, Aug 15, 2017 at 06:02:20PM +0200, Sebastian Ott wrote: > On Mon, 14 Aug 2017, Joerg Roedel wrote: > > I attach the patch I wrote to fix this, can you please test it together > > with the initial patch in this thread? > > I did and can confirm that everything worked as expected! Great,

Re: [PATCH v4] acpi/iort: numa: Add numa node mapping for smmuv3 devices

2017-08-15 Thread Robert Richter
On 15.08.17 16:05:49, Lorenzo Pieralisi wrote: > On Tue, Aug 15, 2017 at 05:02:13PM +0200, Robert Richter wrote: > > Lorenzo, Will, > > > > On 25.07.17 10:32:37, Ganapatrao Kulkarni wrote: > > > ARM IORT specification(rev. C) has added provision to define proximity > > > domain in SMMUv3 IORT

Re: [PATCHv2 02/14] fork: allow arch-override of VMAP stack alignment

2017-08-15 Thread Andy Lutomirski
On Tue, Aug 15, 2017 at 5:50 AM, Mark Rutland wrote: > In some cases, an architecture might wish its stacks to be aligned to a > boundary larger than THREAD_SIZE. For example, using an alignment of > double THREAD_SIZE can allow for stack overflows smaller than > THREAD_SIZE

Re: [PATCH] signal: don't remove SIGNAL_UNKILLABLE for traced tasks.

2017-08-15 Thread Oleg Nesterov
On 08/15, Jamie Iles wrote: > > --- a/kernel/signal.c > +++ b/kernel/signal.c > @@ -1194,7 +1194,11 @@ force_sig_info(int sig, struct siginfo *info, struct > task_struct *t) > recalc_sigpending_and_wake(t); > } > } > - if (action->sa.sa_handler ==

[PATCH v5 tip/core/rcu 4/9] completion: Replace spin_unlock_wait() with lock/unlock pair

2017-08-15 Thread Paul E. McKenney
There is no agreed-upon definition of spin_unlock_wait()'s semantics, and it appears that all callers could do just as well with a lock/unlock pair. This commit therefore replaces the spin_unlock_wait() call in completion_done() with spin_lock() followed immediately by spin_unlock(). This should

Re: [PATCHv2 02/14] fork: allow arch-override of VMAP stack alignment

2017-08-15 Thread Mark Rutland
On Tue, Aug 15, 2017 at 09:09:36AM -0700, Andy Lutomirski wrote: > On Tue, Aug 15, 2017 at 5:50 AM, Mark Rutland wrote: > > In some cases, an architecture might wish its stacks to be aligned to a > > boundary larger than THREAD_SIZE. For example, using an alignment of > >

Re: [PATCH v2] acpi: apei: fix the wrongly iterate generic error status block

2017-08-15 Thread gengdongjiu
Hi Borislav, > > ... and uses that accessor. > > Tyler? > > I'd prefer if you guys merge your two patches, Tyler's from > https://marc.info/?l=linux-acpi=150179595323038=2 and this one into > a single one. I think this patch has merged them to one. > > How does that sound? > > -- >

Re: [PATCH 11/12] irqchip/mips-gic: Report that effective affinity is a single target

2017-08-15 Thread Marc Zyngier
On 15/08/17 17:23, Paul Burton wrote: > Hi Marc, > > On Tuesday, 15 August 2017 04:34:46 PDT Marc Zyngier wrote: >> The MIPS GIC driver only targets a single CPU at a time, even if >> the notional affinity is wider. Let's inform the core code >> about this. >> >> Signed-off-by: Marc Zyngier

Re: [PATCHv2 00/14] arm64: VMAP_STACK support

2017-08-15 Thread Laura Abbott
On 08/15/2017 05:50 AM, Mark Rutland wrote: > Hi, > > Ard and I have worked together to implement vmap stack support for > arm64. This supersedes our earlier vmap stack RFCs [0,1]. The git author > stats are a little misleading, as I've teased parts out into smaller > patches for review. > > The

Re: [PATCH net-next 04/11] net: dsa: debugfs: add tag_protocol

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > Add a debug filesystem "tag_protocol" entry to query the switch tagging > protocol through the .get_tag_protocol operation. > > # cat switch1/tag_protocol > EDSA > > Signed-off-by: Vivien Didelot >

Re: [PATCH net-next 06/11] net: dsa: debugfs: add port registers

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > Add a debug filesystem "regs" entry to query a port's hardware registers > through the .get_regs_len and .get_regs_len switch operations. > > This is very convenient because it allows one to dump the registers of > DSA links, which are not exposed

Re: [PATCHv2 00/14] arm64: VMAP_STACK support

2017-08-15 Thread Catalin Marinas
On Tue, Aug 15, 2017 at 06:39:14PM +0100, Mark Rutland wrote: > On Tue, Aug 15, 2017 at 10:18:20AM -0700, Laura Abbott wrote: > > On 08/15/2017 05:50 AM, Mark Rutland wrote: > > > Hi, > > > > > > Ard and I have worked together to implement vmap stack support for > > > arm64. This supersedes our

[PATCH 3/3] ARC: hsdk: initial port for HSDK board

2017-08-15 Thread Eugeniy Paltsev
From: Alexey Brodkin This initial port adds support of ARC HS Development Kit board with some basic features such serial port, USB, SD/MMC and Ethernet. Essentially we run Linux kernel on all 4 cores (i.e. utilize SMP) and heavily use IO Coherency for speeding-up

Applied "regulator: mt6380: Add support for MT6380" to the regulator tree

2017-08-15 Thread Mark Brown
The patch regulator: mt6380: Add support for MT6380 has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: [PATCH v3 2/9] dt-bindings: regulator: Add document for MediaTek MT6380 regulator

2017-08-15 Thread Mark Brown
On Tue, Aug 15, 2017 at 11:06:35PM +0800, Sean Wang wrote: > On Tue, 2017-08-15 at 12:50 +0100, Mark Brown wrote: > > Please use subject lines reflecting the style for the subsystem. > do you mean should i use "dt-bindings: regulator: mediatek" similarly as > the prefix instead of the one i

Re: [PATCH] KVM: MMU: Fix softlockup due to mmu_lock is held too long

2017-08-15 Thread Radim Krčmář
2017-08-12 05:51+0800, Wanpeng Li: > 2017-08-10 22:36 GMT+08:00 Paolo Bonzini : > > On 10/08/2017 15:55, Wanpeng Li wrote: > >> From: Wanpeng Li > >> > >> watchdog: BUG: soft lockup - CPU#5 stuck for 22s! [warn_test:3089] > >> irq event stamp: 20532 >

Re: [RFC PATCH 7/9] housekeeping: Use own boot option, independant from nohz

2017-08-15 Thread Paul E. McKenney
On Tue, Aug 15, 2017 at 05:15:23PM +0200, Mike Galbraith wrote: > On Tue, 2017-08-15 at 15:07 +0200, Frederic Weisbecker wrote: > > On Mon, Aug 14, 2017 at 08:29:46PM +0200, Mike Galbraith wrote: > > > On Mon, 2017-08-14 at 13:34 -0400, Luiz Capitulino wrote: > > > > On Mon, 14 Aug 2017 19:01:09

Re: [RFC PATCH 7/9] housekeeping: Use own boot option, independant from nohz

2017-08-15 Thread Christopher Lameter
On Tue, 15 Aug 2017, Paul E. McKenney wrote: > Don't the HPC guys just disable idle_balance(), or am I out of date again? Ummm.. Why does idle management matter when your goal is to keep all processor busy working at maximum throughput?

Re: Possible null pointer dereference in adutux.ko

2017-08-15 Thread Oliver Neukum
Am Dienstag, den 15.08.2017, 16:38 +0300 schrieb Anton Volkov: > On 15.08.2017 16:20, Oliver Neukum wrote: > > > > Am Dienstag, den 15.08.2017, 15:59 +0300 schrieb Anton Volkov: > > > > > > Hello. > > > > > > While searching for races in the Linux kernel I've come across > > >

[RESEND][PATCH v9] x86/asm: Implement fast refcount overflow protection

2017-08-15 Thread Kees Cook
This implements refcount_t overflow protection on x86 without a noticeable performance impact, though without the fuller checking of REFCOUNT_FULL. This is done by duplicating the existing atomic_t refcount implementation but with normally a single instruction added to detect if the refcount has

[PATCH v5 tip/core/rcu 01/15] sched,rcu: Make cond_resched() provide RCU quiescent state

2017-08-15 Thread Paul E. McKenney
There is some confusion as to which of cond_resched() or cond_resched_rcu_qs() should be added to long in-kernel loops. This commit therefore eliminates the decision by adding RCU quiescent states to cond_resched(). This commit also simplifies the code that used to interact with

Applied "ASoC: codecs: zx_aud96p22: constify snd_soc_dai_ops structures" to the asoc tree

2017-08-15 Thread Mark Brown
The patch ASoC: codecs: zx_aud96p22: constify snd_soc_dai_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH v3 0/5] fs/dcache: Limit # of negative dentries

2017-08-15 Thread Waiman Long
On 07/28/2017 02:34 PM, Waiman Long wrote: > v2->v3: > - Add a faster pruning rate when the free pool is closed to depletion. > - As suggested by James Bottomley, add an artificial delay waiting > loop before killing a negative dentry and properly clear the > DCACHE_KILL_NEGATIVE flag

Applied "ASoC: blackfin: constify snd_soc_dai_ops structures" to the asoc tree

2017-08-15 Thread Mark Brown
The patch ASoC: blackfin: constify snd_soc_dai_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "ASoC: spear: constify snd_soc_dai_ops structures" to the asoc tree

2017-08-15 Thread Mark Brown
The patch ASoC: spear: constify snd_soc_dai_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

  1   2   3   4   5   6   7   8   9   10   >