Re: [PATCHv2 3/3] fpga: altera-cvp: Add Stratix10 (V2) Support

2019-07-23 Thread Thor Thayer
Hi Moritz, On 7/21/19 7:56 PM, Moritz Fischer wrote: Hi Thor, looks mostly good. On Tue, Jul 16, 2019 at 05:48:07PM -0500, thor.tha...@linux.intel.com wrote: From: Thor Thayer Add Stratix10 specific functions that use a credit mechanism to throttle data to the CvP FIFOs. Add a private

[PATCH -next] scsi: megaraid_sas: Make some functions static

2019-07-23 Thread YueHaibing
Fix sparse warnings: drivers/scsi/megaraid/megaraid_sas_fusion.c:541:1: warning: symbol 'megasas_alloc_cmdlist_fusion' was not declared. Should it be static? drivers/scsi/megaraid/megaraid_sas_fusion.c:580:1: warning: symbol 'megasas_alloc_request_fusion' was not declared. Should it be static?

RE: [PATCH V13 12/12] PCI: tegra: Add Tegra194 PCIe support

2019-07-23 Thread Vidya Sagar
-Original Message- From: devicetree-ow...@vger.kernel.org On Behalf Of Bjorn Helgaas Sent: Wednesday, July 17, 2019 12:30 AM To: Lorenzo Pieralisi Cc: Vidya Sagar ; robh...@kernel.org; mark.rutl...@arm.com; thierry.red...@gmail.com; Jonathan Hunter ; kis...@ti.com;

Re: [PATCH] sched/cputime: make scale_stime() more precise

2019-07-23 Thread Oleg Nesterov
On 07/23, Oleg Nesterov wrote: > > > > Yes, statistically the numbers are proportionally divided. > > > > This; due to the loss in precision the distribution is like a step > > function around the actual s:u ratio line, but on average it still is > > s:u. > > You know, I am no longer sure...

Re: [PATCH V6 16/21] soc/tegra: pmc: Add pmc wake support for tegra210

2019-07-23 Thread Dmitry Osipenko
23.07.2019 6:43, Dmitry Osipenko пишет: > 23.07.2019 6:31, Sowjanya Komatineni пишет: >> >> On 7/22/19 8:25 PM, Dmitry Osipenko wrote: >>> 23.07.2019 6:09, Sowjanya Komatineni пишет: On 7/22/19 8:03 PM, Dmitry Osipenko wrote: > 23.07.2019 4:52, Sowjanya Komatineni пишет: >> On 7/22/19

Re: [PATCH v3 1/6] dt-bindings: opp: Introduce opp-peak-KBps and opp-avg-KBps bindings

2019-07-23 Thread Rob Herring
On Mon, Jul 22, 2019 at 5:41 PM Saravana Kannan wrote: > > On Mon, Jul 22, 2019 at 4:35 PM Rob Herring wrote: > > > > On Tue, Jul 16, 2019 at 11:58:08AM -0700, Saravana Kannan wrote: > > > On Tue, Jul 16, 2019 at 10:25 AM Sibi Sankar wrote: > > > > > > > > Hey Saravana, > > > > > > > >

Re: [PATCH RFC] mm/page_idle: simple idle page tracking for virtual memory

2019-07-23 Thread Joel Fernandes
On Tue, Jul 23, 2019 at 04:59:07PM +0300, Konstantin Khlebnikov wrote: > > > On 23.07.2019 16:46, Joel Fernandes wrote: > > On Tue, Jul 23, 2019 at 02:54:26PM +0300, Konstantin Khlebnikov wrote: > > > The page_idle tracking feature currently requires looking up the pagemap > > > for a process

Re: Linux 5.3-rc1

2019-07-23 Thread Steffen Maier
On 7/23/19 7:28 AM, James Bottomley wrote: On Mon, 2019-07-22 at 19:42 -0700, Guenter Roeck wrote: On 7/22/19 4:45 PM, James Bottomley wrote: [linux-scsi added to cc] On Mon, 2019-07-22 at 15:21 -0700, Guenter Roeck wrote: On Sun, Jul 21, 2019 at 02:33:38PM -0700, Linus Torvalds wrote: [ ...

Re: [PATCH 0/6] ARM: psci: cpuidle: PSCI CPUidle rework

2019-07-23 Thread Lorenzo Pieralisi
On Tue, Jul 23, 2019 at 01:49:15PM +0200, Ulf Hansson wrote: > On Mon, 22 Jul 2019 at 17:37, Lorenzo Pieralisi > wrote: > > > > Current PSCI CPUidle driver is built on top of the generic ARM > > CPUidle infrastructure that relies on the architectural back-end > > idle operations to initialize and

Re: [PATCH] net: atheros: Use dev_get_drvdata

2019-07-23 Thread Joe Perches
On Tue, 2019-07-23 at 21:18 +0800, Chuhong Yuan wrote: > Instead of using to_pci_dev + pci_get_drvdata, > use dev_get_drvdata to make code simpler. unrelated trivia: > diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c > b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c [] > @@

[PATCH] net: jme: Use dev_get_drvdata

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- drivers/net/ethernet/jme.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/jme.c b/drivers/net/ethernet/jme.c index

[PATCH] i40e: Use dev_get_drvdata

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- drivers/net/ethernet/intel/i40e/i40e_main.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c

[PATCH] fm10k: Use dev_get_drvdata

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_pci.c

[PATCH] igb: Use dev_get_drvdata where possible

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- drivers/net/ethernet/intel/igb/igb_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/igb/igb_main.c

Re: [PATCH 4/6] ARM: psci: cpuidle: Introduce PSCI CPUidle driver

2019-07-23 Thread Lorenzo Pieralisi
On Tue, Jul 23, 2019 at 01:46:56PM +0200, Ulf Hansson wrote: > [...] > > > +++ b/drivers/cpuidle/cpuidle-psci.c > > @@ -0,0 +1,150 @@ > > +// SPDX-License-Identifier: GPL-2.0-only > > +/* > > + * PSCI CPU idle driver. > > + * > > + * Copyright (C) 2019 ARM Ltd. > > + * Author: Lorenzo Pieralisi

[PATCH] e1000e: Use dev_get_drvdata where possible

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- drivers/net/ethernet/intel/e1000e/netdev.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c

Re: [PATCH v2 1/9] soc: samsung: Add exynos chipid driver support

2019-07-23 Thread Bartlomiej Zolnierkiewicz
Hi Krzysztof, On 7/23/19 2:57 PM, Krzysztof Kozlowski wrote: > On Thu, 18 Jul 2019 at 16:31, Sylwester Nawrocki > wrote: >> >> From: Pankaj Dubey >> >> Exynos SoCs have Chipid, for identification of product IDs and SoC >> revisions. This patch intends to provide initialization code for all

Re: [PATCH net-next] net: dsa: mv88e6xxx: avoid some redundant vtu load/purge operations

2019-07-23 Thread Rasmus Villemoes
On 23/07/2019 15.40, Andrew Lunn wrote: > On Mon, Jul 22, 2019 at 11:37:26PM +, Rasmus Villemoes wrote: >> We have an ERPS (Ethernet Ring Protection Switching) setup involving >> mv88e6250 switches which we're in the process of switching to a BSP >> based on the mainline driver. Breaking any

Re: [PATCH v3] sched/topology: Improve load balancing on AMD EPYC

2019-07-23 Thread Peter Zijlstra
On Tue, Jul 23, 2019 at 02:03:21PM +0100, Mel Gorman wrote: > On Tue, Jul 23, 2019 at 02:00:30PM +0200, Peter Zijlstra wrote: > > On Tue, Jul 23, 2019 at 12:42:48PM +0100, Mel Gorman wrote: > > > On Tue, Jul 23, 2019 at 11:48:30AM +0100, Matt Fleming wrote: > > > > Signed-off-by: Matt Fleming > >

Re: [PATCH] phy: marvell: phy-mvebu-a3700-comphy: Add of_node_put() before return

2019-07-23 Thread Miquel Raynal
Hi Nishka, Nishka Dasgupta wrote on Tue, 23 Jul 2019 16:21:08 +0530: > Each iteration of for_each_available_child_of_node puts the previous > node, but in the case of a return from the middle of the loop, there is > no put, thus causing a memory leak. Hence add an of_node_put before the >

Re: [5.2 REGRESSION] Generic vDSO breaks seccomp-enabled userspace on i386

2019-07-23 Thread Andy Lutomirski
> On Jul 23, 2019, at 2:18 AM, Peter Zijlstra wrote: > >> On Mon, Jul 22, 2019 at 04:47:36PM -0700, Andy Lutomirski wrote: >> >> I don't love this whole concept, but I also don't have a better idea. > > Are we really talking about changing the kernel because BPF is expecting > things? That

Re: [PATCH] sched/cputime: make scale_stime() more precise

2019-07-23 Thread Oleg Nesterov
On 07/22, Peter Zijlstra wrote: > > On Fri, Jul 19, 2019 at 04:37:42PM +0200, Oleg Nesterov wrote: > > On 07/19, Peter Zijlstra wrote: > > > > But I'm still confused, since in the long run, it should still end up > > > with a proportionally divided user/system, irrespective of some short > > >

Re: [PATCH RFC] mm/page_idle: simple idle page tracking for virtual memory

2019-07-23 Thread Konstantin Khlebnikov
On 23.07.2019 16:46, Joel Fernandes wrote: On Tue, Jul 23, 2019 at 02:54:26PM +0300, Konstantin Khlebnikov wrote: The page_idle tracking feature currently requires looking up the pagemap for a process followed by interacting with /sys/kernel/mm/page_idle. This is quite cumbersome and can be

Re: Linux 5.3-rc1

2019-07-23 Thread Guenter Roeck
On 7/22/19 10:48 PM, Christoph Hellwig wrote: The fix was sent last morning my time: https://marc.info/?l=linux-scsi=156378725427719=2 That patch does not fix the problem observed with sata-sii3112. It does, however, fix the problem observed with riscv64, suggesting some interaction between

Wine Enthusiasts

2019-07-23 Thread Denna Ross
Hello, Would you be interested in acquiring an email list of "Wine Enthusiasts" from USA? We also have data for Golfers, Alcohol Enthusiasts, Beer Enthusiasts, Chocolate Enthusiasts, Foodies, Travelers, Gift Buyers, Spa and Resort Visitors, Sports Enthusiasts, Android Users and many more..

[PATCH V2 1/2] string: Add stracpy and stracpy_pad mechanisms

2019-07-23 Thread Joe Perches
Several uses of strlcpy and strscpy have had defects because the last argument of each function is misused or typoed. Add macro mechanisms to avoid this defect. stracpy (copy a string to a string array) must have a string array as the first argument (dest) and uses sizeof(dest) as the count of

Re: [PATCH] ALSA: isa: gus: Fix a possible null-pointer dereference in snd_gf1_mem_xfree()

2019-07-23 Thread Jia-Ju Bai
Thanks for the quick reply :) I think you are right, and I did not consider "if (alloc->last == block)" Sorry for the false report... Best wishes, Jia-Ju Bai On 2019/7/23 21:47, Takashi Iwai wrote: On Tue, 23 Jul 2019 15:40:20 +0200, Jia-Ju Bai wrote: In snd_gf1_mem_xfree(), there is an if

Re: [PATCH 5/5] ARM: dts: armada385-wd-mcex2u: Add DTS file for WD My Cloud EX2 Ultra

2019-07-23 Thread Andrew Lunn
> + internal-regs { > + timer@c200 { > + status = "disabled"; > + }; > + > + i2c0: i2c@11000 { > + status = "okay"; > + clock-frequency =

Re: [PATCH] ALSA: isa: gus: Fix a possible null-pointer dereference in snd_gf1_mem_xfree()

2019-07-23 Thread Takashi Iwai
On Tue, 23 Jul 2019 15:40:20 +0200, Jia-Ju Bai wrote: > > In snd_gf1_mem_xfree(), there is an if statement on line 72 and line 74 > to check whether block->next is NULL: > if (block->next) > > When block->next is NULL, block->next is used on line 84: > block->next->prev = block->prev; >

Re: [PATCH] rcu: Make jiffies_till_sched_qs writable

2019-07-23 Thread Paul E. McKenney
On Tue, Jul 23, 2019 at 08:05:21PM +0900, Byungchul Park wrote: > On Fri, Jul 19, 2019 at 04:33:56PM -0400, Joel Fernandes wrote: > > On Fri, Jul 19, 2019 at 3:57 PM Paul E. McKenney > > wrote: > > > > > > On Fri, Jul 19, 2019 at 06:57:58PM +0900, Byungchul Park wrote: > > > > On Fri, Jul 19,

Re: [PATCH RFC] mm/page_idle: simple idle page tracking for virtual memory

2019-07-23 Thread Joel Fernandes
On Tue, Jul 23, 2019 at 02:54:26PM +0300, Konstantin Khlebnikov wrote: > The page_idle tracking feature currently requires looking up the pagemap > for a process followed by interacting with /sys/kernel/mm/page_idle. > This is quite cumbersome and can be error-prone too. If between > accessing the

Re: [PATCH v3 1/2] x86/mm: Identify the end of the kernel area to be reserved

2019-07-23 Thread Greg KH
On Tue, Jul 23, 2019 at 03:31:32PM +0200, Thomas Gleixner wrote: > On Tue, 23 Jul 2019, Greg KH wrote: > > On Mon, Jul 15, 2019 at 01:16:48PM -0700, H.J. Lu wrote: > > > > > > > > > > Since building a workable kernel for different kernel configurations > > > isn't a > > > requirement for gold, I

Re: [PATCH v3] Staging: most: fix coding style issues

2019-07-23 Thread kbuild test robot
Hi Gabriel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on staging/staging-testing] [cannot apply to v5.3-rc1 next-20190723] [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

Re: [PATCH v3 1/2] x86/mm: Identify the end of the kernel area to be reserved

2019-07-23 Thread Greg KH
On Tue, Jul 23, 2019 at 03:05:14PM +0200, Greg KH wrote: > On Mon, Jul 15, 2019 at 01:16:48PM -0700, H.J. Lu wrote: > > On Mon, Jul 15, 2019 at 3:35 AM Thomas Gleixner wrote: > > > > > > On Mon, 15 Jul 2019, Thomas Gleixner wrote: > > > > On Mon, 15 Jul 2019, Mike Lothian wrote: > > > > > That

Re: [PATCH] Input: Apple SPI keyboard needs CRC16

2019-07-23 Thread Dmitry Torokhov
On Tue, Jul 23, 2019 at 01:58:45PM +0200, Arnd Bergmann wrote: > In some rare randconfig builds, CRC16 is disabled, which leads > to a link error: > > drivers/input/keyboard/applespi.o: In function `applespi_send_cmd_msg': > applespi.c:(.text+0x449f): undefined reference to `crc16' >

Re: [PATCH net-next] net: dsa: mv88e6xxx: avoid some redundant vtu load/purge operations

2019-07-23 Thread Andrew Lunn
On Mon, Jul 22, 2019 at 11:37:26PM +, Rasmus Villemoes wrote: > We have an ERPS (Ethernet Ring Protection Switching) setup involving > mv88e6250 switches which we're in the process of switching to a BSP > based on the mainline driver. Breaking any link in the ring works as > expected, with the

Re: [PATCH v2 7/7] backlight: gpio: use a helper variable for >dev

2019-07-23 Thread Daniel Thompson
On Tue, Jul 23, 2019 at 08:29:52AM +0200, Bartosz Golaszewski wrote: > pon., 22 lip 2019 o 18:09 Andy Shevchenko > napisał(a): > > > > On Mon, Jul 22, 2019 at 05:03:02PM +0200, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > > > Instead of dereferencing pdev each time, use a

[PATCH] ALSA: isa: gus: Fix a possible null-pointer dereference in snd_gf1_mem_xfree()

2019-07-23 Thread Jia-Ju Bai
In snd_gf1_mem_xfree(), there is an if statement on line 72 and line 74 to check whether block->next is NULL: if (block->next) When block->next is NULL, block->next is used on line 84: block->next->prev = block->prev; Thus, a possible null-pointer dereference may occur in this case. To

Re: [PATCH v2 3/9] soc: samsung: Add Exynos Adaptive Supply Voltage driver

2019-07-23 Thread Krzysztof Kozlowski
On Thu, 18 Jul 2019 at 16:31, Sylwester Nawrocki wrote: > > The Adaptive Supply Voltage (ASV) driver adjusts CPU cluster operating > points depending on exact revision of an SoC retrieved from the CHIPID > block or the OTP memory. This allows for some power saving as for some > CPU clock

Re: WARNING in __mmdrop

2019-07-23 Thread Jason Wang
On 2019/7/23 下午6:42, Michael S. Tsirkin wrote: On Tue, Jul 23, 2019 at 04:42:19PM +0800, Jason Wang wrote: So how about this: do exactly what you propose but as a 2 patch series: start with the slow safe patch, and add then return uaddr optimizations on top. We can then more easily reason

Re: [PATCH] RDMA/hns: Fix build error for hip08

2019-07-23 Thread Jason Gunthorpe
On Tue, Jul 23, 2019 at 04:35:40PM +0300, Leon Romanovsky wrote: > On Tue, Jul 23, 2019 at 09:34:02AM -0300, Jason Gunthorpe wrote: > > On Tue, Jul 23, 2019 at 10:43:39AM +0300, Leon Romanovsky wrote: > > > On Tue, Jul 23, 2019 at 10:49:08AM +0800, YueHaibing wrote: > > > > If INFINIBAND_HNS_HIP08

Re: [PATCH 3/9] dt-bindings: interrupt-controller: arm, gic-v3: Describe ESPI range support

2019-07-23 Thread Lokesh Vutla
On 23/07/19 6:45 PM, Marc Zyngier wrote: > On 23/07/2019 13:59, Lokesh Vutla wrote: >> >> >> On 23/07/19 4:14 PM, Marc Zyngier wrote: >>> GICv3.1 introduces support for new interrupt ranges, one of them being >>> the Extended SPI range (ESPI). The DT binding is extended to deal with >>> it as a

Re: [PATCH] RDMA/hns: Fix build error for hip08

2019-07-23 Thread Leon Romanovsky
On Tue, Jul 23, 2019 at 09:34:02AM -0300, Jason Gunthorpe wrote: > On Tue, Jul 23, 2019 at 10:43:39AM +0300, Leon Romanovsky wrote: > > On Tue, Jul 23, 2019 at 10:49:08AM +0800, YueHaibing wrote: > > > If INFINIBAND_HNS_HIP08 is selected and HNS3 is m, > > > but INFINIBAND_HNS is y, building

Re: [PATCH net-next 3/3] net: stmmac: Introducing support for Page Pool

2019-07-23 Thread Jon Hunter
On 23/07/2019 13:51, Jose Abreu wrote: > From: Jon Hunter > Date: Jul/23/2019, 12:58:55 (UTC+00:00) > >> >> On 23/07/2019 11:49, Jose Abreu wrote: >>> From: Jon Hunter >>> Date: Jul/23/2019, 11:38:33 (UTC+00:00) >>> On 23/07/2019 11:07, Jose Abreu wrote: > From: Jon Hunter

Re: WARNING in __mmdrop

2019-07-23 Thread Jason Wang
On 2019/7/23 下午6:27, Michael S. Tsirkin wrote: Yes, since there could be multiple co-current invalidation requests. We need count them to make sure we don't pin wrong pages. I also wonder about ordering. kvm has this: /* * Used to check for invalidations in progress, of

[PATCH v2] platform/chrome: cros_ec_trace: update generating script

2019-07-23 Thread Tzung-Bi Shih
To remove ", \" from the last line. Signed-off-by: Tzung-Bi Shih --- Changes from v1: - simpler awk code drivers/platform/chrome/cros_ec_trace.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/platform/chrome/cros_ec_trace.c

Re: get_maintainers.pl subsystem output

2019-07-23 Thread Joe Perches
On Tue, 2019-07-23 at 15:25 +0200, Lukas Bulwahn wrote: > Hi Joe, Hi again. > On Tue, Jul 23, 2019 at 1:18 PM Joe Perches wrote: > > On Tue, 2019-07-23 at 10:42 +0200, Lukas Bulwahn wrote: > [...] > > > Joe, would you support and would you accept if we extend > > > get_maintainer.pl to provide

[PATCH] firmware: fix -Wunused-function compiler warnings

2019-07-23 Thread Qian Cai
The commit 5342e7093ff2 ("firmware: Factor out the paged buffer handling code") introduced a few compilation warnings when CONFIG_FW_LOADER_USER_HELPER=n due to fw_grow_paged_buf() and fw_grow_paged_buf() are only used in drivers/base/firmware_loader/fallback.c, and the later will only be built if

Re: [PATCH v3 1/2] x86/mm: Identify the end of the kernel area to be reserved

2019-07-23 Thread Thomas Gleixner
On Tue, 23 Jul 2019, Greg KH wrote: > On Mon, Jul 15, 2019 at 01:16:48PM -0700, H.J. Lu wrote: > > > > > > > Since building a workable kernel for different kernel configurations isn't a > > requirement for gold, I don't recommend gold for kernel. > > Um, it worked before this commit, and now it

Re: WARNING in __mmdrop

2019-07-23 Thread Jason Wang
On 2019/7/23 下午5:26, Michael S. Tsirkin wrote: On Tue, Jul 23, 2019 at 04:49:01PM +0800, Jason Wang wrote: On 2019/7/23 下午4:10, Michael S. Tsirkin wrote: On Tue, Jul 23, 2019 at 03:53:06PM +0800, Jason Wang wrote: On 2019/7/23 下午3:23, Michael S. Tsirkin wrote: Really let's just use

Re: [PATCH 2/6] vhost: validate MMU notifier registration

2019-07-23 Thread Jason Wang
On 2019/7/23 下午5:17, Michael S. Tsirkin wrote: On Tue, Jul 23, 2019 at 03:57:14AM -0400, Jason Wang wrote: The return value of mmu_notifier_register() is not checked in vhost_vring_set_num_addr(). This will cause an out of sync between mm and MMU notifier thus a double free. To solve this,

Re: [PATCH] firmware: qcom_scm: fix error for incompatible pointer

2019-07-23 Thread Minwoo Im
> > > > We just can cast phys_addr_t to dma_addr_t here. > > > > > > IME, casting is rarely a proper solution. > > > > *nod* > > > > ptr_phys probably should be a dma_addr_t. Unless this driver is so > > magic that it really wants a physical and not a dma address, in which > > case it needs to

[PATCH] x86: Fix possible null-pointer dereferences in untrack_pfn()

2019-07-23 Thread Jia-Ju Bai
In untrack_pfn(), there is an if statement on line 1058 to check whether vma is NULL: if (vma && !(vma->vm_flags & VM_PAT)) When vma is NULL, vma is used on line 1064: if (follow_phys(vma, vma->vm_start, 0, , )) and line 1069: size = vma->vm_end - vma->vm_start; Thus, possible

Re: get_maintainers.pl subsystem output

2019-07-23 Thread Lukas Bulwahn
Hi Joe, On Tue, Jul 23, 2019 at 1:18 PM Joe Perches wrote: > > On Tue, 2019-07-23 at 10:42 +0200, Lukas Bulwahn wrote: [...] > > Joe, would you support and would you accept if we extend > > get_maintainer.pl to provide output of the status in such a way that > > the status output can be clearly

Re: [PATCH 4/6] vhost: reset invalidate_count in vhost_set_vring_num_addr()

2019-07-23 Thread Jason Wang
On 2019/7/23 下午5:17, Michael S. Tsirkin wrote: On Tue, Jul 23, 2019 at 03:57:16AM -0400, Jason Wang wrote: The vhost_set_vring_num_addr() could be called in the middle of invalidate_range_start() and invalidate_range_end(). If we don't reset invalidate_count after the un-registering of MMU

Re: [PATCH net-next 3/3] net: stmmac: Introducing support for Page Pool

2019-07-23 Thread Robin Murphy
On 23/07/2019 13:09, Jon Hunter wrote: On 23/07/2019 11:29, Robin Murphy wrote: On 23/07/2019 11:07, Jose Abreu wrote: From: Jon Hunter Date: Jul/23/2019, 11:01:24 (UTC+00:00) This appears to be a winner and by disabling the SMMU for the ethernet controller and reverting commit

[PATCH] net: broadcom: Use dev_get_drvdata

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- drivers/net/ethernet/broadcom/bnx2.c | 6 ++ drivers/net/ethernet/broadcom/bnxt/bnxt.c | 6 ++ drivers/net/ethernet/broadcom/tg3.c | 6 ++ 3 files

Re: [PATCH 5/6] vhost: mark dirty pages during map uninit

2019-07-23 Thread Jason Wang
On 2019/7/23 下午5:17, Michael S. Tsirkin wrote: On Tue, Jul 23, 2019 at 03:57:17AM -0400, Jason Wang wrote: We don't mark dirty pages if the map was teared down outside MMU notifier. This will lead untracked dirty pages. Fixing by marking dirty pages during map uninit. Reported-by: Michael S.

[PATCH] net: atheros: Use dev_get_drvdata

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- drivers/net/ethernet/atheros/alx/main.c | 6 ++ drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 8 +++- drivers/net/ethernet/atheros/atlx/atl1.c| 8

[PATCH] net: 3com: 3c59x: Use dev_get_drvdata

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- drivers/net/ethernet/3com/3c59x.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/3com/3c59x.c

Re: [PATCH 6/6] vhost: don't do synchronize_rcu() in vhost_uninit_vq_maps()

2019-07-23 Thread Jason Wang
On 2019/7/23 下午5:16, Michael S. Tsirkin wrote: On Tue, Jul 23, 2019 at 03:57:18AM -0400, Jason Wang wrote: There's no need for RCU synchronization in vhost_uninit_vq_maps() since we've already serialized with readers (memory accessors). This also avoid the possible userspace DOS through

Re: [PATCH 3/9] dt-bindings: interrupt-controller: arm, gic-v3: Describe ESPI range support

2019-07-23 Thread Marc Zyngier
On 23/07/2019 13:59, Lokesh Vutla wrote: > > > On 23/07/19 4:14 PM, Marc Zyngier wrote: >> GICv3.1 introduces support for new interrupt ranges, one of them being >> the Extended SPI range (ESPI). The DT binding is extended to deal with >> it as a new interrupt class. >> >> Signed-off-by: Marc

Re: [PATCH] mm/hotplug: remove unneeded return for void function

2019-07-23 Thread Oscar Salvador
On Tue, Jul 23, 2019 at 09:08:14PM +0800, Weitao Hou wrote: > return is unneeded in void function > > Signed-off-by: Weitao Hou Reviewed-by: Oscar Salvador > --- > mm/memory_hotplug.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c > index

Re: [PATCH] mm/hotplug: remove unneeded return for void function

2019-07-23 Thread David Hildenbrand
On 23.07.19 15:08, Weitao Hou wrote: > return is unneeded in void function > > Signed-off-by: Weitao Hou > --- > mm/memory_hotplug.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c > index 2a9bbddb0e55..c73f09913165 100644 > ---

[PATCH] mm: check for sleepable context in kvfree

2019-07-23 Thread Jeff Layton
A lot of callers of kvfree only go down the vfree path under very rare circumstances, and so may never end up hitting the might_sleep_if in it. Ensure that when kvfree is called, that it is operating in a context where it is allowed to sleep. Cc: Alexander Viro Cc: Luis Henriques Signed-off-by:

Re: [PATCH v9 2/8] sched/core: Streamlining calls to task_rq_unlock()

2019-07-23 Thread Tejun Heo
On Tue, Jul 23, 2019 at 12:31:31PM +0200, Peter Zijlstra wrote: > On Mon, Jul 22, 2019 at 10:32:14AM +0200, Juri Lelli wrote: > > > Thanks for reporting. The set is based on cgroup/for-next (as of last > > week), though. I can of course rebase on tip/sched/core or mainline if > > needed. > > TJ;

[PATCH] mm/hotplug: remove unneeded return for void function

2019-07-23 Thread Weitao Hou
return is unneeded in void function Signed-off-by: Weitao Hou --- mm/memory_hotplug.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 2a9bbddb0e55..c73f09913165 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -132,7 +132,6 @@

[PATCH] KVM: x86: init x2apic_enabled() once

2019-07-23 Thread luferry
From: luferry x2apic_eanbled() costs about 200 cycles when guest trigger halt pretty high, pi ops in hotpath Signed-off-by: luferry --- arch/x86/kvm/vmx/vmx.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c index

Re: [PATCH v3 1/2] x86/mm: Identify the end of the kernel area to be reserved

2019-07-23 Thread Greg KH
On Mon, Jul 15, 2019 at 01:16:48PM -0700, H.J. Lu wrote: > On Mon, Jul 15, 2019 at 3:35 AM Thomas Gleixner wrote: > > > > On Mon, 15 Jul 2019, Thomas Gleixner wrote: > > > On Mon, 15 Jul 2019, Mike Lothian wrote: > > > > That build failure is from the current tip of Linus's tree > > > > If the

Re: [PATCH 4/9] irqchip/gic-v3: Add ESPI range support

2019-07-23 Thread Marc Zyngier
On 23/07/2019 13:50, Lokesh Vutla wrote: > > > On 23/07/19 4:14 PM, Marc Zyngier wrote: >> Add the required support for the ESPI range, which behave exactly like >> the SPIs of old, only with new funky INTIDs. >> >> Signed-off-by: Marc Zyngier >> --- >> drivers/irqchip/irq-gic-v3.c | 85

Re: [PATCH v3] sched/topology: Improve load balancing on AMD EPYC

2019-07-23 Thread Mel Gorman
On Tue, Jul 23, 2019 at 02:00:30PM +0200, Peter Zijlstra wrote: > On Tue, Jul 23, 2019 at 12:42:48PM +0100, Mel Gorman wrote: > > On Tue, Jul 23, 2019 at 11:48:30AM +0100, Matt Fleming wrote: > > > Signed-off-by: Matt Fleming > > > Cc: "Suthikulpanit, Suravee" > > > Cc: Mel Gorman > > > Cc:

Re: [PATCH v2 2/9] soc: samsung: Convert exynos-chipid driver to use the regmap API

2019-07-23 Thread Krzysztof Kozlowski
On Thu, 18 Jul 2019 at 16:31, Sylwester Nawrocki wrote: > > Convert the driver to use regmap API in order to allow other > drivers, like ASV, to access the CHIPID registers. > > This patch adds definition of selected CHIPID register offsets > and register bit fields for Exynos5422 SoC. > >

Re: [PATCH 3/9] dt-bindings: interrupt-controller: arm, gic-v3: Describe ESPI range support

2019-07-23 Thread Lokesh Vutla
On 23/07/19 4:14 PM, Marc Zyngier wrote: > GICv3.1 introduces support for new interrupt ranges, one of them being > the Extended SPI range (ESPI). The DT binding is extended to deal with > it as a new interrupt class. > > Signed-off-by: Marc Zyngier > --- >

Re: [PATCH v2 1/9] soc: samsung: Add exynos chipid driver support

2019-07-23 Thread Krzysztof Kozlowski
On Thu, 18 Jul 2019 at 16:31, Sylwester Nawrocki wrote: > > From: Pankaj Dubey > > Exynos SoCs have Chipid, for identification of product IDs and SoC > revisions. This patch intends to provide initialization code for all > these functionalities, at the same time it provides some sysfs entries >

RE: [PATCH net-next 3/3] net: stmmac: Introducing support for Page Pool

2019-07-23 Thread Jose Abreu
From: Jon Hunter Date: Jul/23/2019, 12:58:55 (UTC+00:00) > > On 23/07/2019 11:49, Jose Abreu wrote: > > From: Jon Hunter > > Date: Jul/23/2019, 11:38:33 (UTC+00:00) > > > >> > >> On 23/07/2019 11:07, Jose Abreu wrote: > >>> From: Jon Hunter > >>> Date: Jul/23/2019, 11:01:24 (UTC+00:00) > >>>

Re: [PATCH 4/9] irqchip/gic-v3: Add ESPI range support

2019-07-23 Thread Lokesh Vutla
On 23/07/19 4:14 PM, Marc Zyngier wrote: > Add the required support for the ESPI range, which behave exactly like > the SPIs of old, only with new funky INTIDs. > > Signed-off-by: Marc Zyngier > --- > drivers/irqchip/irq-gic-v3.c | 85 -- >

[PATCH] mm/backing-dev: show state of all bdi_writeback in debugfs

2019-07-23 Thread Konstantin Khlebnikov
Currently /sys/kernel/debug/bdi/$maj:$min/stats shows only root bdi wb. With CONFIG_CGROUP_WRITEBACK=y there is one for each memory cgroup. This patch shows here state of each bdi_writeback in form: Id: 1 Cgroup: / Id: xxx Cgroup: /path Id: yyy Cgroup: /path2 ... Signed-off-by:

[PATCH] mtd: rawnand: r852: Use dev_get_drvdata

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- drivers/mtd/nand/raw/r852.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/r852.c b/drivers/mtd/nand/raw/r852.c index

[PATCH v2] misc: alcor_pci: Use dev_get_drvdata

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- Changes in v2: - Split v1 into different subsystems drivers/misc/cardreader/alcor_pci.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH] mmc: sdhci-pci: Use dev_get_drvdata

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- drivers/mmc/host/sdhci-pci-core.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/mmc/host/sdhci-pci-core.c

[PATCH v2] mei: Use dev_get_drvdata where possible

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- Changes in v2: - Split v1 into different subsystems drivers/misc/mei/pci-me.c | 19 --- drivers/misc/mei/pci-txe.c | 19 --- 2 files

[PATCH v2] habanalabs: Use dev_get_drvdata

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- Changes in v2: - Split v1 into different subsystems drivers/misc/habanalabs/habanalabs_drv.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v2] sched/core: Fix cpu controller for !RT_GROUP_SCHED

2019-07-23 Thread Peter Zijlstra
On Fri, Jul 19, 2019 at 08:34:55AM +0200, Juri Lelli wrote: > On !CONFIG_RT_GROUP_SCHED configurations it is currently not possible to > move RT tasks between cgroups to which cpu controller has been attached; > but it is oddly possible to first move tasks around and then make them > RT

Re: [PATCH v4] mmc: host: sdhci-sprd: Fix the incorrect soft reset operation when runtime resuming

2019-07-23 Thread Ulf Hansson
On Tue, 23 Jul 2019 at 05:05, Baolin Wang wrote: > > Hi Ulf, > > On Mon, 22 Jul 2019 at 19:54, Ulf Hansson wrote: > > > > On Wed, 17 Jul 2019 at 04:29, Baolin Wang wrote: > > > > > > In sdhci_runtime_resume_host() function, we will always do software reset > > > for all, which will cause

HELLO! PLEASE TRY AND RESPOND SOONEST

2019-07-23 Thread Abdoul Moussa
My Dear Friend, Before I introduce myself, I wish to inform you that this letter is not a hoax mail and I urge you to treat it serious. This letter must come to you as a big surprise, but I believe it is only a day that people meet and become great friends and business partners. Please I

Re: [PATCH] RDMA/hns: Fix build error for hip08

2019-07-23 Thread Jason Gunthorpe
On Tue, Jul 23, 2019 at 10:43:39AM +0300, Leon Romanovsky wrote: > On Tue, Jul 23, 2019 at 10:49:08AM +0800, YueHaibing wrote: > > If INFINIBAND_HNS_HIP08 is selected and HNS3 is m, > > but INFINIBAND_HNS is y, building fails: > > > > drivers/infiniband/hw/hns/hns_roce_hw_v2.o: In function > >

Re: Issue with sequence to switch to HS400

2019-07-23 Thread Alan Cooper
On Tue, Jul 23, 2019 at 1:21 AM Adrian Hunter wrote: > > On 23/07/19 1:31 AM, Alan Cooper wrote: > > I'm having a problem with a new SD/MMC controller and PHY in our > > latest SoC's. The issue I'm seeing is that I can't switch into HS400 > > mode. This looks like something the driver is doing

Re: [PATCH][next] clk: Si5341/Si5340: remove redundant assignment to n_den

2019-07-23 Thread Mike Looijmans
Good catch, thanks. You have my Acked-by: Mike Looijmans On 22-07-19 23:24, Stephen Boyd wrote: > Please Cc authors of drivers so they can ack/review. > > Adding Mike to take a look. > > Quoting Colin King (2019-07-01 09:50:20) >> From: Colin Ian King >> >> The variable n_den is initialized

Re: [PATCH RFT] regulator: lp87565: Fix probe failure for "ti,lp87565"

2019-07-23 Thread Axel Lin
Mark Brown 於 2019年7月23日 週二 下午7:26寫道: > > On Thu, Jul 11, 2019 at 07:35:17PM +0800, Axel Lin wrote: > > The "ti,lp87565" compatible string is still in of_lp87565_match_table, > > but current code will return -EINVAL because lp87565->dev_type is unknown. > > This was working in earlier kernel

Re: [PATCH] misc: Use dev_get_drvdata where possible

2019-07-23 Thread Greg Kroah-Hartman
On Tue, Jul 23, 2019 at 08:19:49PM +0800, Chuhong Yuan wrote: > Instead of using to_pci_dev + pci_get_drvdata, > use dev_get_drvdata to make code simpler. > > Signed-off-by: Chuhong Yuan > --- > drivers/misc/cardreader/alcor_pci.c | 6 ++ > drivers/misc/habanalabs/habanalabs_drv.c |

[PATCH] fs: afs: Fix a possible null-pointer dereference in afs_put_read()

2019-07-23 Thread Jia-Ju Bai
In afs_read_dir(), there is an if statement on line 255 to check whether req->pages is NULL: if (!req->pages) goto error; If req->pages is NULL, afs_put_read() on line 337 is executed. In afs_put_read(), req->pages[i] is used on line 195. Thus, a possible null-pointer

[RFC PATCH 00/11] Simple QoS for exynos-bus driver using interconnect

2019-07-23 Thread Artur Świgoń
The following patchset adds interconnect[1][2] framework support to the exynos-bus devfreq driver. Extending the devfreq driver with interconnect capabilities started as a response to the issue referenced in [3]. The patches can be subdivided into four logical groups: (a) Refactoring the existing

[PATCH] misc: Use dev_get_drvdata where possible

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- drivers/misc/cardreader/alcor_pci.c | 6 ++ drivers/misc/habanalabs/habanalabs_drv.c | 6 ++ drivers/misc/mei/pci-me.c| 19 ---

Re: [PATCH] ALSA: ac97: Fix double free of ac97_codec_device

2019-07-23 Thread Takashi Iwai
On Tue, 23 Jul 2019 09:44:41 +0200, Ding Xiang wrote: > > put_device will call ac97_codec_release to free > ac97_codec_device and other resources, so remove the kfree > and other redundant code. > > Signed-off-by: Ding Xiang Applied, thanks. Takashi

[PATCH] ARM: dts: da850-evm: Use generic jedec, spi-nor for flash

2019-07-23 Thread Adam Ford
Logic PD re-spun the L138 and AM1808 SOM's with larger flash. The m25p80 driver has a generic 'jedec,spi-nor' compatible option which is requests to use whenever possible since it will read the JEDEC READ ID opcode. Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/da850-evm.dts

Re: [PATCH] regulator: act8865: support regulator-pull-down property

2019-07-23 Thread Michał Mirosław
On Tue, Jul 23, 2019 at 11:54:32AM +0100, Mark Brown wrote: > On Mon, Jul 22, 2019 at 08:13:29PM +0200, Michał Mirosław wrote: > > AC8865 has internal 1.5k pull-down resistor that can be enabled when LDO > > is shut down. > > This changelog... > > > static const struct regulator_ops

Re: [PATCH net-next 3/3] net: stmmac: Introducing support for Page Pool

2019-07-23 Thread Jon Hunter
On 23/07/2019 11:29, Robin Murphy wrote: > On 23/07/2019 11:07, Jose Abreu wrote: >> From: Jon Hunter >> Date: Jul/23/2019, 11:01:24 (UTC+00:00) >> >>> This appears to be a winner and by disabling the SMMU for the ethernet >>> controller and reverting commit

Re: [PATCH v1 27/50] ARM: dts: exynos: align bus_wcore OPPs in Exynos5420

2019-07-23 Thread Krzysztof Kozlowski
On Wed, 17 Jul 2019 at 18:58, Lukasz Luba wrote: > > Hi Krzysztof, > > On 7/17/19 12:15 PM, Krzysztof Kozlowski wrote: > > On Mon, 15 Jul 2019 at 14:44, Lukasz Luba > > wrote: > >> > >> This is the most important bus in the Exynos5x SoC. The whole communication > >> inside SoC does through that

[PATCH bpf] libbpf: fix using uninitialized ioctl results

2019-07-23 Thread Ilya Maximets
'channels.max_combined' initialized only on ioctl success and errno is only valid on ioctl failure. The code doesn't produce any runtime issues, but makes memory sanitizers angry: Conditional jump or move depends on uninitialised value(s) at 0x55C056F: xsk_get_max_queues (xsk.c:336) by

Re: [PATCH v1 37/50] ARM: dts: exynos: change parent and rate of bus_fsys in Exynos5422

2019-07-23 Thread Krzysztof Kozlowski
On Wed, 17 Jul 2019 at 14:56, Lukasz Luba wrote: > > > On 7/17/19 1:11 PM, Krzysztof Kozlowski wrote: > > On Wed, 17 Jul 2019 at 13:06, Lukasz Luba > > wrote: > >> > >> > >> > >> On 7/17/19 12:45 PM, Krzysztof Kozlowski wrote: > >>> On Wed, 17 Jul 2019 at 12:39, Lukasz Luba > >>> wrote: >

<    1   2   3   4   5   6   7   8   9   >