Re: [PATCH] ia64: tioca: fix spelling mistake in macros CA_APERATURE_{BASE|SIZE}

2019-07-21 Thread Enrico Weigelt, metux IT consult
On 21.07.19 22:59, Colin King wrote: From: Colin Ian King The two macros CA_APERATURE_BASE and CA_APERATURE_SIZE contain a spelling mistake, APERATURE should be APERTURE, so fix these. Signed-off-by: Colin Ian King --- arch/ia64/include/asm/sn/tioca.h | 4 ++-- arch/ia64/sn/pci/tioca_pro

Re: [PATCH] ia64: tioca: fix spelling mistake in macros CA_APERATURE_{BASE|SIZE}

2019-07-21 Thread Enrico Weigelt, metux IT consult
On 21.07.19 22:59, Colin King wrote: From: Colin Ian King The two macros CA_APERATURE_BASE and CA_APERATURE_SIZE contain a spelling mistake, APERATURE should be APERTURE, so fix these. Signed-off-by: Colin Ian King --- arch/ia64/include/asm/sn/tioca.h | 4 ++-- arch/ia64/sn/pci/tioca_pro

Re: [PATCH] staging: unisys: visornic: Update the description of 'poll_for_irq()'

2019-07-21 Thread Enrico Weigelt, metux IT consult
On 21.07.19 19:08, Christophe JAILLET wrote: Commit e99e88a9d2b06 ("treewide: setup_timer() -> timer_setup()") has updated the parameters of 'poll_for_irq()' but not the comment above the function. Update the comment and fix a typo. s/visronic/visornic/ Signed-off-by: Christophe JAILLET ---

Re: [PATCH] staging: unisys: visornic: Update the description of 'poll_for_irq()'

2019-07-21 Thread Enrico Weigelt, metux IT consult
On 21.07.19 19:08, Christophe JAILLET wrote: Commit e99e88a9d2b06 ("treewide: setup_timer() -> timer_setup()") has updated the parameters of 'poll_for_irq()' but not the comment above the function. Update the comment and fix a typo. s/visronic/visornic/ Signed-off-by: Christophe JAILLET ---

Re: [PATCH] ia64: perfmon: Fix a typo

2019-07-21 Thread Enrico Weigelt, metux IT consult
On 21.07.19 18:51, Christophe JAILLET wrote: s/permfon.h/perfmon.h/ Signed-off-by: Christophe JAILLET --- The reference to perfmon.h should maybe be just removed because I've found no information about the increasing order to respect. This is maybe now in another file? --- arch/ia64/kernel/pe

Re: [PATCH] ia64: perfmon: Fix a typo

2019-07-21 Thread Enrico Weigelt, metux IT consult
On 21.07.19 18:51, Christophe JAILLET wrote: s/permfon.h/perfmon.h/ Signed-off-by: Christophe JAILLET --- The reference to perfmon.h should maybe be just removed because I've found no information about the increasing order to respect. This is maybe now in another file? --- arch/ia64/kernel/pe

Re: [PATCH] iio: sca3000: Fix a typo

2019-07-21 Thread Enrico Weigelt, metux IT consult
On 21.07.19 12:53, Christophe JAILLET wrote: All #define are about SCA3000_... except the last one. Make it consistent. s/SAC3000/SCA3000/ This #define is apparently unused up to now. Signed-off-by: Christophe JAILLET --- drivers/iio/accel/sca3000.c | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH V6 14/21] clk: tegra210: Add suspend and resume support

2019-07-21 Thread Sowjanya Komatineni
On 7/21/19 11:10 PM, Dmitry Osipenko wrote: 22.07.2019 1:45, Sowjanya Komatineni пишет: On 7/21/19 2:38 PM, Dmitry Osipenko wrote: 21.07.2019 22:40, Sowjanya Komatineni пишет: This patch adds support for clk: tegra210: suspend-resume. All the CAR controller settings are lost on suspend when

[PATCH] cpufreq: schedutil: Don't skip freq update when limits change

2019-07-21 Thread Viresh Kumar
To avoid reducing the frequency of a CPU prematurely, we skip reducing the frequency if the CPU had been busy recently. This should not be done when the limits of the policy are changed, for example due to thermal throttling. We should always get the frequency within limits as soon as possible. F

Re: [PATCH] Revert "cpufreq: schedutil: Don't set next_freq to UINT_MAX"

2019-07-21 Thread Viresh Kumar
On 18-07-19, 08:46, Doug Smythies wrote: > On 2019.07.18 03:28 Viresh Kumar wrote: > > On 17-07-19, 23:26, Doug Smythies wrote: > >> This reverts commit ecd2884291261e3fddbc7651ee11a20d596bb514. > >> > >> The commit caused a regression whereby reducing the maximum > >> CPU clock frequency is ineff

Re: [PATCH] arm64: dts: imx8mq: Default parents for PCIE1 clocks

2019-07-21 Thread Shawn Guo
On Thu, Jul 04, 2019 at 01:24:24PM +0300, Abel Vesa wrote: > Set default parents for PCIE1_CTRL and PCIE1_PHY clocks. Can you add a few words about why this change is necessary? Shawn > > Signed-off-by: Abel Vesa > --- > arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 4 > 1 file changed,

Re: [PATCH AUTOSEL 4.4 17/35] iio: st_accel: fix iio_triggered_buffer_{pre,post}enable positions

2019-07-21 Thread Ardelean, Alexandru
On Sun, 2019-07-21 at 18:23 +0100, Jonathan Cameron wrote: > [External] > > On Fri, 19 Jul 2019 00:14:05 -0400 > Sasha Levin wrote: > > > From: Alexandru Ardelean > > > > [ Upstream commit 05b8bcc96278c9ef927a6f25a98e233e55de42e1 ] > > > > The iio_triggered_buffer_{predisable,postenable} func

Re: [Question] orphan platform data header

2019-07-21 Thread Enrico Weigelt, metux IT consult
On 21.07.19 16:15, Arnd Bergmann wrote: That is different: the hardware attaches to a serial port and may well be usable, and the user space side just contains a copy of the header, see https://github.com/nwdigitalradio/ax25-tools/tree/master/yamdrv I believe that such header copies in userlan

Re: [PATCH V6 09/21] clk: tegra: clk-super: Fix to enable PLLP branches to CPU

2019-07-21 Thread Dmitry Osipenko
22.07.2019 6:17, Sowjanya Komatineni пишет: > > On 7/21/19 3:39 PM, Sowjanya Komatineni wrote: >> >> On 7/21/19 2:16 PM, Dmitry Osipenko wrote: >>> 21.07.2019 22:40, Sowjanya Komatineni пишет: This patch has a fix to enable PLLP branches to CPU before changing the CPU clusters clock sour

[PATCH] kbuild: clean compressed initramfs image

2019-07-21 Thread Greg Thelen
Since commit 9e3596b0c653 ("kbuild: initramfs cleanup, set target from Kconfig") "make clean" leaves behind compressed initramfs images. Example: $ make defconfig $ sed -i 's|CONFIG_INITRAMFS_SOURCE=""|CONFIG_INITRAMFS_SOURCE="/tmp/ir.cpio"|' .config $ make olddefconfig $ make -s $ make

[PATCH V2 1/1] can: sja1000: f81601: add Fintek F81601 support

2019-07-21 Thread Ji-Ze Hong (Peter Hong)
This patch add support for Fintek PCIE to 2 CAN controller support Signed-off-by: Ji-Ze Hong (Peter Hong) --- Changelog: v2: 1: Fix comment on the spinlock with write access. 2: Use ARRAY_SIZE instead of F81601_PCI_MAX_CHAN. 3: Check the strap pin outside the loop.

Re: [PATCH 0/5] Add Bitmain BM1880 clock driver

2019-07-21 Thread Manivannan Sadhasivam
On Fri, Jul 05, 2019 at 08:44:35PM +0530, Manivannan Sadhasivam wrote: > Hello, > > This patchset adds common clock driver for Bitmain BM1880 SoC clock > controller. The clock controller consists of gate, divider, mux > and pll clocks with different compositions. Hence, the driver uses > composite

Re: [PATCH] unaligned: delete 1-byte accessors

2019-07-21 Thread James Bottomley
On Mon, 2019-07-22 at 09:07 +0300, Alexey Dobriyan wrote: > On Mon, Jul 22, 2019 at 02:48:46PM +0900, James Bottomley wrote: > > On Mon, 2019-07-22 at 08:22 +0300, Alexey Dobriyan wrote: > > > On Mon, Jul 22, 2019 at 08:08:33AM +0900, James Bottomley wrote: > > > > On Mon, 2019-07-22 at 00:52 +0300

Re: [PATCH v2] powerpc: slightly improve cache helpers

2019-07-21 Thread Segher Boessenkool
On Sun, Jul 21, 2019 at 07:41:40PM -0700, Nathan Chancellor wrote: > Hi Segher, > > On Sun, Jul 21, 2019 at 01:01:50PM -0500, Segher Boessenkool wrote: > > On Sun, Jul 21, 2019 at 12:58:46AM -0700, Nathan Chancellor wrote: > > > 017c clear_user_page: > > > 17c: 94 21 ff f0

Re: [PATCH 2/8] scsi: take the DMA max mapping size into account

2019-07-21 Thread Dexuan-Linux Cui
On Sun, Jul 21, 2019 at 11:01 PM Ming Lei wrote: > > On Tue, Jun 18, 2019 at 4:57 AM Bart Van Assche wrote: > > > > On 6/17/19 5:19 AM, Christoph Hellwig wrote: > > > We need to limit the devices max_sectors to what the DMA mapping > > > implementation can support. If not we risk running out of

Re: [PATCH] gpio: don't WARN() on NULL descs if gpiolib is disabled

2019-07-21 Thread Bartosz Golaszewski
sob., 20 lip 2019 o 21:45 Linus Walleij napisał(a): > > On Sat, Jul 20, 2019 at 8:03 PM Bartosz Golaszewski > wrote: > > > I'll apply it to my local tree and send it for v5.3-rc2. > > OK! Do you see it as bug fix so it should go in the rcs? > > It pretty much needs to be a regression to go in the

Re: [PATCH V6 14/21] clk: tegra210: Add suspend and resume support

2019-07-21 Thread Dmitry Osipenko
22.07.2019 1:45, Sowjanya Komatineni пишет: > > On 7/21/19 2:38 PM, Dmitry Osipenko wrote: >> 21.07.2019 22:40, Sowjanya Komatineni пишет: >>> This patch adds support for clk: tegra210: suspend-resume. >>> >>> All the CAR controller settings are lost on suspend when core >>> power goes off. >>> >>

Re: [PATCH] unaligned: delete 1-byte accessors

2019-07-21 Thread Alexey Dobriyan
On Mon, Jul 22, 2019 at 02:48:46PM +0900, James Bottomley wrote: > On Mon, 2019-07-22 at 08:22 +0300, Alexey Dobriyan wrote: > > On Mon, Jul 22, 2019 at 08:08:33AM +0900, James Bottomley wrote: > > > On Mon, 2019-07-22 at 00:52 +0300, Alexey Dobriyan wrote: > > > > Each and every 1-byte access is a

[PATCH net] net: hns: fix LED configuration for marvell phy

2019-07-21 Thread Yonglong Liu
Since commit(net: phy: marvell: change default m88e1510 LED configuration), the active LED of Hip07 devices is always off, because Hip07 just use 2 LEDs. This patch adds a phy_register_fixup_for_uid() for m88e1510 to correct the LED configuration. Fixes: 02468ec1 ("net: phy: marvell: change de

Re: [PATCH 2/8] scsi: take the DMA max mapping size into account

2019-07-21 Thread Ming Lei
On Tue, Jun 18, 2019 at 4:57 AM Bart Van Assche wrote: > > On 6/17/19 5:19 AM, Christoph Hellwig wrote: > > We need to limit the devices max_sectors to what the DMA mapping > > implementation can support. If not we risk running out of swiotlb > > buffers easily. > > > > Signed-off-by: Christoph H

[PATCH 3/8] mtd: nand: create ONFI table parsing instance

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri ONFI table parsing is common, as most of the variables are common between raw and SPI NAND. The parsing function is instantiated in onfi.c, which fills ONFI parameters into nand_memory_organization. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/onfi.c

[PATCH 7/8] mtd: spinand: micron: Fix read failure in Micron M70A flashes

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri M70A series flashes by default enable continuous read feature (BIT0 in configuration register). This feature will not expose the ECC to host and causing read failure. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/spi/micron.c | 10 ++ 1 file changed,

[PATCH 1/8] mtd: nand: move ONFI related functions to onfi.h

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri These functions will be used by both raw NAND and SPI NAND, which supports ONFI like standards. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/raw/internals.h | 1 - include/linux/mtd/onfi.h | 9 + 2 files changed, 9 insertions(+), 1 deletion(

[PATCH 0/8] Introduce generic ONFI support

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Current support to ONFI parameter page is only for raw NAND, this patch series turn ONFI support into generic. So that, other NAND devices like SPI NAND can use this. The series has five parts. 1. Prepare for tunrning ONFI into generic 2. Turn ONFI into generic 3. Turn

[PATCH 5/8] mtd: spinand: micron: prepare for generalizing driver

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Generalize OOB layout structure and function names. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/spi/micron.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/mtd/nand/spi/micron.c b/drivers/mtd/nand

[PATCH 4/8] mtd: spinand: enabled parameter page support

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Some of the SPI NAND devices has parameter page, which is similar to ONFI table. But, it may not be self sufficient to propagate all the required parameters. Fixup function has been added in struct manufacturer to accommodate this. Signed-off-by: Shivamurthy Shastri -

[PATCH 6/8] mtd: spinand: micron: Turn driver implementation generic

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Driver is redesigned using parameter page to support Micron SPI NAND flashes. The reason why spinand_select_op_variant globalized is that the Micron driver no longer calling spinand_match_and_init. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/spi/core.c |

[PATCH 8/8] mtd: spinand: micron: Enable micron flashes with multi-die

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Some of the Micron flashes has multi-die, and need to select the die each time while accessing it. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/spi/micron.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/mtd/nand/spi/micron.c b/

[PATCH 2/8] mtd: nand: move support functions for ONFI to nand/onfi.c

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri These functions are support functions for enabling ONFI standard and common between raw NAND and SPI NAND. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/Makefile| 2 +- drivers/mtd/nand/onfi.c | 89 drivers/

[PATCH] firmware: fix build errors in paged buffer handling code

2019-07-21 Thread Takashi Iwai
From: Mauro Rossi fw_{grow,map}_paged_buf() need to be defined as static inline when CONFIG_FW_LOADER_PAGED_BUF is not enabled, infact fw_free_paged_buf() is also defined as static inline when CONFIG_FW_LOADER_PAGED_BUF is not enabled. Fixes the following mutiple definition building errors for A

Re: [PATCH] of/fdt: Make sure no-map does not remove already reserved regions

2019-07-21 Thread Nicolas Boichat
On Wed, Jul 17, 2019 at 7:17 AM Florian Fainelli wrote: > > On 7/16/19 4:12 PM, Rob Herring wrote: > > On Tue, Jul 16, 2019 at 4:46 PM Florian Fainelli > > wrote: > >> > >> On 7/2/19 10:08 PM, Nicolas Boichat wrote: > >>> If the device tree is incorrectly configured, and attempts to > >>> define

Re: [PATCH] unaligned: delete 1-byte accessors

2019-07-21 Thread James Bottomley
On Mon, 2019-07-22 at 08:22 +0300, Alexey Dobriyan wrote: > On Mon, Jul 22, 2019 at 08:08:33AM +0900, James Bottomley wrote: > > On Mon, 2019-07-22 at 00:52 +0300, Alexey Dobriyan wrote: > > > Each and every 1-byte access is aligned! > > > > The design idea of this is for parsing descriptors. We

Re: [PATCHv8 5/5] coresight: cpu-debug: Add support for Qualcomm Kryo

2019-07-21 Thread Sai Prakash Ranjan
On 7/21/2019 8:05 PM, Leo Yan wrote: On Wed, Jul 17, 2019 at 10:56:02AM -0600, Mathieu Poirier wrote: On Fri, Jul 12, 2019 at 07:46:27PM +0530, Sai Prakash Ranjan wrote: Add support for coresight CPU debug module on Qualcomm Kryo CPUs. This patch adds the UCI entries for Kryo CPUs found on MSM8

Re: [PATCH] scsi: fcoe: fix a typo

2019-07-21 Thread Hannes Reinecke
On 7/21/19 2:50 PM, Christophe JAILLET wrote: > #define relative to FCOE CTLR start with FCOE_CTLR, except > FCOE_CTRL_SOL_TOV. > > This is likely a typo and CTRL should be CTLR here as well. > > Signed-off-by: Christophe JAILLET > --- > drivers/scsi/fcoe/fcoe_ctlr.c | 2 +- > include/scsi/libf

Re: [patch 23/38] mm/sparsemem: introduce struct mem_section_usage

2019-07-21 Thread Michal Hocko
On Fri 19-07-19 09:42:18, Linus Torvalds wrote: > On Thu, Jul 18, 2019 at 11:13 PM Michal Hocko wrote: > > > > Has this been properly reviewed after the last rebase and is this > > actually ready for merging? I have seen some follow up fixes > > http://lkml.kernel.org/r/20190715081549.32577-1-osal

Re: [PATCH] cpufreq: ap806: Add NULL check after kcalloc

2019-07-21 Thread Viresh Kumar
On 21-07-19, 23:38, Hariprasad Kelam wrote: > Add NULL check after kcalloc. > > Fix below issue reported by coccicheck > ./drivers/cpufreq/armada-8k-cpufreq.c:138:1-12: alloc with no test, > possible model on line 151 > > Signed-off-by: Hariprasad Kelam > --- > drivers/cpufreq/armada-8k-cpufre

Re: [PATCH 1/2] [PATCH] gpio: Replace usage of bare 'unsigned' with 'unsigned int'

2019-07-21 Thread Hennie Muller
On Mon, Jul 22, 2019 at 10:05:00AM +0800, Phil Reid wrote: > G'day Hennie, > > patch title should be: > gpio: viperboard: Replace usage of bare 'unsigned' with 'unsigned int' Thanks Phil. I'll go read up a bit on amending commit messages for review. > > On 21/07/2019 20:52, Hennie Muller wrote:

RE: [RFC PATCH v4 2/6] vfio: Introduce vGPU display irq type

2019-07-21 Thread Lu, Kechen
Hi, > -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Saturday, July 20, 2019 12:25 AM > To: Lu, Kechen > Cc: intel-gvt-...@lists.freedesktop.org; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; Zhang, Tina ; > kra...@redhat.com; zhen...@linu

Re: [PATCH RESEND 1/2] KVM: LAPIC: Add pv ipi tracepoint

2019-07-21 Thread Wanpeng Li
ping, On Fri, 12 Jul 2019 at 15:39, Wanpeng Li wrote: > > From: Wanpeng Li > > Add pv ipi tracepoint. > > Cc: Paolo Bonzini > Cc: Radim Krčmář > Signed-off-by: Wanpeng Li > --- > arch/x86/kvm/lapic.c | 2 ++ > arch/x86/kvm/trace.h | 25 + > 2 files changed, 27 inserti

Re: WARNING in __mmdrop

2019-07-21 Thread Jason Wang
On 2019/7/21 下午8:18, Michael S. Tsirkin wrote: On Sun, Jul 21, 2019 at 06:02:52AM -0400, Michael S. Tsirkin wrote: On Sat, Jul 20, 2019 at 03:08:00AM -0700, syzbot wrote: syzbot has bisected this bug to: commit 7f466032dc9e5a61217f22ea34b2df932786bbfc Author: Jason Wang Date: Fri May 24 08

Re: [PATCH] unaligned: delete 1-byte accessors

2019-07-21 Thread Alexey Dobriyan
On Mon, Jul 22, 2019 at 08:08:33AM +0900, James Bottomley wrote: > On Mon, 2019-07-22 at 00:52 +0300, Alexey Dobriyan wrote: > > Each and every 1-byte access is aligned! > > The design idea of this is for parsing descriptors. We simply chunk up > the describing structure using get_unaligned for e

Re: WARNING in __mmdrop

2019-07-21 Thread Jason Wang
On 2019/7/21 下午6:02, Michael S. Tsirkin wrote: On Sat, Jul 20, 2019 at 03:08:00AM -0700, syzbot wrote: syzbot has bisected this bug to: commit 7f466032dc9e5a61217f22ea34b2df932786bbfc Author: Jason Wang Date: Fri May 24 08:12:18 2019 + vhost: access vq metadata through kernel vir

Re: [PATCH v2 1/3] mm: document zone device struct page field usage

2019-07-21 Thread Ira Weiny
On Sun, Jul 21, 2019 at 09:02:04AM -0700, Matthew Wilcox wrote: > On Fri, Jul 19, 2019 at 12:29:53PM -0700, Ralph Campbell wrote: > > Struct page for ZONE_DEVICE private pages uses the page->mapping and > > and page->index fields while the source anonymous pages are migrated to > > device private m

RE: [PATCH v2 00/11] Arasan SDHCI enhancements and ZynqMP Tap Delays Handling

2019-07-21 Thread Manish Narani
Gentle Ping! > -Original Message- > From: Manish Narani > Sent: Monday, July 15, 2019 12:46 PM > To: Manish Narani ; ulf.hans...@linaro.org; > robh...@kernel.org; mark.rutl...@arm.com; he...@sntech.de; Michal Simek > ; adrian.hun...@intel.com; > christoph.muell...@theobroma-systems.com; ph

Re: [PATCH 0/3] sgi-gru: get_user_page changes

2019-07-21 Thread Ira Weiny
On Sun, Jul 21, 2019 at 09:28:02PM +0530, Bharath Vedartham wrote: > This patch series incorporates a few changes in the get_user_page usage > of sgi-gru. > > The main change is the first patch, which is a trivial one line change to > convert put_page to put_user_page to enable tracking of get_u

Re: [PATCH] kbuild: disable compile-test of kernel headers for now

2019-07-21 Thread Masahiro Yamada
Hi Sam, On Fri, Jul 19, 2019 at 9:40 PM Sam Ravnborg wrote: > > Hi Masahiro. > > On Fri, Jul 19, 2019 at 07:08:59PM +0900, Masahiro Yamada wrote: > > This compile-test started from the strong belief that (almost) all > > headers should be able to be compiled as a standalone unit, but this > > r

Re: [PATCH 2/3] macb: Update compatibility string for SiFive FU540-C000

2019-07-21 Thread Yash Shah
On Fri, Jul 19, 2019 at 5:36 PM wrote: > > On 19/07/2019 at 13:10, Yash Shah wrote: > > Update the compatibility string for SiFive FU540-C000 as per the new > > string updated in the binding doc. > > Reference: https://lkml.org/lkml/2019/7/17/200 > > Maybe referring to lore.kernel.org is better: >

Re: [5.2 regression] x86/fpu changes cause crashes in KVM guest

2019-07-21 Thread Wanpeng Li
On Fri, 19 Jul 2019 at 19:09, Paolo Bonzini wrote: > > On 19/07/19 10:59, Wanpeng Li wrote: > > https://lkml.org/lkml/2017/11/14/891, "The scheduler will save the > > guest fpu context when a vCPU thread is preempted, and restore it when > > it is scheduled back in." But I can't find any scheduler

[PATCH 1/2] KVM: X86: Fix fpu state crash in kvm guest

2019-07-21 Thread Wanpeng Li
From: Wanpeng Li The idea before commit 240c35a37 was that we have the following FPU states: userspace (QEMU) guest --- processorvcpu->arch.guest_fpu >>> KVM_RUN:

[PATCH 2/2] KVM: X86: Dynamically allocate user_fpu

2019-07-21 Thread Wanpeng Li
From: Wanpeng Li After reverting commit 240c35a3783a (kvm: x86: Use task structs fpu field for user), struct kvm_vcpu is 19456 bytes on my server, PAGE_ALLOC_COSTLY_ORDER(3) is the order at which allocations are deemed costly to service. In serveless scenario, one host can service hundreds/thoud

[GIT] Networking

2019-07-21 Thread David Miller
1) Several netfilter fixes including a nfnetlink deadlock fix from Florian Westphal and fix for dropping VRF packets from Miaohe Lin. 2) Flow offload fixes from Pablo Neira Ayuso including a fix to restore proper block sharing. 3) Fix r8169 PHY init from Thomas Voegtle. 4) Fix memory lea

Re: [PATCH v2] PCI: rpaphp: Avoid a sometimes-uninitialized warning

2019-07-21 Thread Michael Ellerman
Nathan Chancellor writes: > On Mon, Jun 03, 2019 at 03:11:58PM -0700, Nathan Chancellor wrote: >> When building with -Wsometimes-uninitialized, clang warns: >> >> drivers/pci/hotplug/rpaphp_core.c:243:14: warning: variable 'fndit' is >> used uninitialized whenever 'for' loop exits because its con

linux-next: Tree for Jul 22

2019-07-21 Thread Stephen Rothwell
Hi all, Changes since 20190719: The net tree gained a conflict against Linus' tree. The extcon tree lost its build failure. Non-merge commits (relative to Linus' tree): 732 582 files changed, 19319 insertions(+), 13284 deletions(-) -

Re: [PATCH 4/4] numa: introduce numa cling feature

2019-07-21 Thread 王贇
On 2019/7/12 下午4:58, 王贇 wrote: [snip] > > I see, we should not override the decision of select_idle_sibling(). > > Actually the original design we try to achieve is: > > let wake affine select the target > try find idle sibling of target > if got one > pick it > else if task cli

Re: [PATCH net] hv_netvsc: Fix extra rcu_read_unlock in netvsc_recv_callback()

2019-07-21 Thread David Miller
From: Haiyang Zhang Date: Fri, 19 Jul 2019 17:33:51 + > There is an extra rcu_read_unlock left in netvsc_recv_callback(), > after a previous patch that removes RCU from this function. > This patch removes the extra RCU unlock. > > Fixes: 345ac08990b8 ("hv_netvsc: pass netvsc_device to receiv

Re: [PATCH] clk: imx8: Add DSP related clocks

2019-07-21 Thread Shawn Guo
On Tue, Jul 02, 2019 at 06:20:07PM +0300, Daniel Baluta wrote: > i.MX8QXP contains Hifi4 DSP. There are four clocks > associated with DSP: > * dsp_lpcg_core_clk > * dsp_lpcg_ipg_clk > * dsp_lpcg_adb_aclk > * ocram_lpcg_ipg_clk > > Signed-off-by: Daniel Baluta Applied, thanks.

Re: [PATCH 2/3] sgi-gru: Remove CONFIG_HUGETLB_PAGE ifdef

2019-07-21 Thread William Kucharski
I suspect I'm being massively pedantic here, but the comments for atomic_pte_lookup() note: * Only supports Intel large pages (2MB only) on x86_64. * ZZZ - hugepage support is incomplete That makes me wonder how many systems using this hardware are actually configured with CONFIG_HUGETLB

Re: [External Email] Re: [PATCH v1 0/2] virtio-mmio: support multiple interrupt vectors

2019-07-21 Thread 李菲
On Fri, Jul 19, 2019 at 11:14 PM Michael S. Tsirkin wrote: > > On Fri, Jul 19, 2019 at 09:31:33PM +0800, Fei Li wrote: > > Hi, > > > > This patch series implements multiple interrupt vectors support for > > virtio-mmio device. This is especially useful for multiqueue vhost-net > > device when usin

Re: [PATCH V6 06/21] clk: tegra: pll: Save and restore pll context

2019-07-21 Thread Sowjanya Komatineni
On 7/21/19 3:21 PM, Dmitry Osipenko wrote: 21.07.2019 22:40, Sowjanya Komatineni пишет: This patch implements save and restore of PLL context. During system suspend, core power goes off and looses the settings of the Tegra CAR controller registers. So during suspend entry pll rate is stored

Re: [PATCH 1/4] arm64: Enable TIMER_IMX_SYS_CTR for ARCH_MXC platforms

2019-07-21 Thread Shawn Guo
On Mon, Jul 22, 2019 at 02:15:10AM +, Anson Huang wrote: > Hi, Shawn > > > On Mon, Jun 24, 2019 at 02:35:10AM +, Anson Huang wrote: > > > Hi, Shawn > > > > > > > -Original Message- > > > > From: Shawn Guo > > > > Sent: Monday, June 24, 2019 10:27 AM > > > > To: Anson Huang > > >

Re: [PATCH V6 09/21] clk: tegra: clk-super: Fix to enable PLLP branches to CPU

2019-07-21 Thread Sowjanya Komatineni
On 7/21/19 3:39 PM, Sowjanya Komatineni wrote: On 7/21/19 2:16 PM, Dmitry Osipenko wrote: 21.07.2019 22:40, Sowjanya Komatineni пишет: This patch has a fix to enable PLLP branches to CPU before changing the CPU clusters clock source to PLLP for Gen5 Super clock. During system suspend entry

Re: [PATCH V5 3/5] arm64: dts: imx8mm: Add system counter node

2019-07-21 Thread Shawn Guo
On Wed, Jul 10, 2019 at 02:30:54PM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > Add i.MX8MM system counter node to enable timer-imx-sysctr > broadcast timer driver. > > Signed-off-by: Anson Huang Do I need to wait for patch #1 landing before I apply #3 ~ #5, or can they be applied

[PATCH] platform: x86: Remove acpi_has_method() call in wmi.c

2019-07-21 Thread Kelsey Skunberg
acpi_has_method() is unnecessary within __query_block() and should be removed to avoid extra work. wc_status is initialized to AE_ERROR before the acpi_has_method() call. acpi_has_method() and acpi_execute_simple_method() failing due to the method not existing will result in the same outcome from

Re: [PATCH V5 2/5] arm64: Enable TIMER_IMX_SYS_CTR for ARCH_MXC platforms

2019-07-21 Thread Shawn Guo
On Wed, Jul 10, 2019 at 02:30:53PM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > ARCH_MXC platforms needs system counter as broadcast timer > to support cpuidle, enable it by default. > > Signed-off-by: Anson Huang This one is identical to what I just picked up from v4 series, righ

Re: [GIT PULL v2] updates to soc/fsl drivers for next(v5.3)

2019-07-21 Thread Olof Johansson
On Mon, Jul 08, 2019 at 06:48:17PM +, Leo Li wrote: > > > > -Original Message- > > From: Leo Li > > Sent: Monday, June 17, 2019 8:29 AM > > To: Olof Johansson > > Cc: a...@kernel.org; linux-arm-ker...@lists.infradead.org; linux- > > ker...@vger.kernel.org; shawn...@kernel.org > > Sub

[PATCH] drivers: net: xgene: Remove acpi_has_method() calls

2019-07-21 Thread Kelsey Skunberg
acpi_evaluate_object will already return an error if the needed method does not exist. Remove unnecessary acpi_has_method() calls and check the returned acpi_status for failure instead. Signed-off-by: Kelsey Skunberg --- drivers/net/ethernet/apm/xgene/xgene_enet_hw.c| 7 +++ drivers/net

Re: [PATCH] powerpc/xive: Fix loop exit-condition in xive_find_target_in_mask()

2019-07-21 Thread Michael Ellerman
On Wed, 2019-07-17 at 10:35:24 UTC, "Gautham R. Shenoy" wrote: > From: "Gautham R. Shenoy" > > xive_find_target_in_mask() has the following for(;;) loop which has a > bug when @first == cpumask_first(@mask) and condition 1 fails to hold > for every CPU in @mask. In this case we loop forever in th

Re: [PATCH v2] PCI: rpaphp: Avoid a sometimes-uninitialized warning

2019-07-21 Thread Nathan Chancellor
On Mon, Jun 03, 2019 at 03:11:58PM -0700, Nathan Chancellor wrote: > When building with -Wsometimes-uninitialized, clang warns: > > drivers/pci/hotplug/rpaphp_core.c:243:14: warning: variable 'fndit' is > used uninitialized whenever 'for' loop exits because its condition is > false [-Wsometimes-un

Re: [PATCH v2] powerpc: slightly improve cache helpers

2019-07-21 Thread Nathan Chancellor
Hi Segher, On Sun, Jul 21, 2019 at 01:01:50PM -0500, Segher Boessenkool wrote: > On Sun, Jul 21, 2019 at 12:58:46AM -0700, Nathan Chancellor wrote: > > I have attached the disassembly of arch/powerpc/kernel/mem.o with > > clear_page (working) and broken_clear_page (broken), along with the side > >

[PATCH v5 4/4] numa: introduce numa cling feature

2019-07-21 Thread 王贇
Although we paid so many effort to settle down task on a particular node, there are still chances for a task to leave it's preferred node, that is by wakeup, numa swap migrations or load balance. When we are using cpu cgroup in share way, since all the workloads see all the cpus, it could be reall

Re: [PATCH v2 2/4] numa: append per-node execution time in cpu.numa_stat

2019-07-21 Thread 王贇
On 2019/7/20 上午12:39, Michal Koutný wrote: > On Tue, Jul 16, 2019 at 11:40:35AM +0800, 王贇 > wrote: >> By doing 'cat /sys/fs/cgroup/cpu/CGROUP_PATH/cpu.numa_stat', we see new >> output line heading with 'exectime', like: >> >> exectime 311900 407166 > What you present are times aggregated ov

[PATCH 1/3] ACPI: Remove acpi_has_method() call from acpi_adxl.c

2019-07-21 Thread Kelsey Skunberg
acpi_check_dsm() will already return an error if the DSM method does not exist. Checking if the DSM method exists before the acpi_check_dsm() call is not needed. Remove acpi_has_method() call to avoid additional work. Signed-off-by: Kelsey Skunberg --- drivers/acpi/acpi_adxl.c | 5 - 1 file

[PATCH 0/3] ACPI: Remove unnecessary acpi_has_method() calls

2019-07-21 Thread Kelsey Skunberg
Remove acpi_has_method() calls which return an error a following call will provide anyways. Removing the unnecessary acpi_has_method() calls help to clean up code and remove extra work. Kelsey Skunberg (3): ACPI: Remove acpi_has_method() call from acpi_adxl.c ACPI: Remove acpi_has_method() cal

[PATCH 2/3] ACPI: Remove acpi_has_method() call from scan.c

2019-07-21 Thread Kelsey Skunberg
acpi_evaluate_reference() will return an error if the DEP method does not exist. Checking if the DEP method exists before the acpi_evaluate_reference() call is not needed. Remove acpi_has_method() call to avoid additional work. Signed-off-by: Kelsey Skunberg --- drivers/acpi/scan.c | 3 --- 1 fi

[PATCH 3/3] ACPI: Remove acpi_has_method() calls from thermal.c

2019-07-21 Thread Kelsey Skunberg
The following acpi_has_method() calls are unnecessary since acpi_execute_simple_method() and acpi_evaluate_reference() will return an error if the given method does not exist. Remove acpi_has_method() calls to avoid additional work. Signed-off-by: Kelsey Skunberg --- drivers/acpi/thermal.c | 11

Re: [PATCH 2/3] sgi-gru: Remove CONFIG_HUGETLB_PAGE ifdef

2019-07-21 Thread John Hubbard
On 7/21/19 8:58 AM, Bharath Vedartham wrote: > is_vm_hugetlb_page has checks for whether CONFIG_HUGETLB_PAGE is defined > or not. If CONFIG_HUGETLB_PAGE is not defined is_vm_hugetlb_page will > always return false. There is no need to have an uneccessary > CONFIG_HUGETLB_PAGE check in the code. >

Re: [PATCH 3/3] sgi-gru: Use __get_user_pages_fast in atomic_pte_lookup

2019-07-21 Thread John Hubbard
On 7/21/19 8:58 AM, Bharath Vedartham wrote: > *pte_lookup functions get the physical address for a given virtual > address by getting a physical page using gup and use page_to_phys to get > the physical address. > > Currently, atomic_pte_lookup manually walks the page tables. If this > function f

[PATCH 2/3] remoteproc: Add prepare/unprepare callbacks

2019-07-21 Thread Paul Cercueil
The .prepare() callback is called before the firmware is loaded to memory. This is useful for instance in the case where some setup is required for the memory to be accessible. Signed-off-by: Paul Cercueil --- drivers/remoteproc/remoteproc_core.c | 16 +++- include/linux/remoteproc.h

[PATCH 1/3] dt-bindings: Document JZ47xx VPU auxiliary processor

2019-07-21 Thread Paul Cercueil
Inside the Video Processing Unit (VPU) of the recent JZ47xx SoCs from Ingenic is a second Xburst MIPS CPU very similar to the main core. This document describes the devicetree bindings for this auxiliary processor. Signed-off-by: Paul Cercueil --- .../bindings/remoteproc/ingenic,vpu.txt |

[PATCH 3/3] remoteproc: ingenic: Added remoteproc driver

2019-07-21 Thread Paul Cercueil
This driver is used to boot, communicate with and load firmwares to the MIPS co-processor found in the VPU hardware of the JZ47xx SoCs from Ingenic. Signed-off-by: Paul Cercueil --- drivers/remoteproc/Kconfig | 8 + drivers/remoteproc/Makefile| 1 + drivers/remoteproc/ingenic

Re: [External Email] Re: [PATCH 1/2] virtio-mmio: Process vrings more proactively

2019-07-21 Thread Fam Zheng
On 7/19/19 11:17 PM, Michael S. Tsirkin wrote: On Fri, Jul 19, 2019 at 09:31:34PM +0800, Fei Li wrote: From: Fam Zheng This allows the backend to _not_ trap mmio read of the status register after injecting IRQ in the data path, which can improve the performance significantly by avoiding a vm

Re: [PATCH 1/3] sgi-gru: Convert put_page() to get_user_page*()

2019-07-21 Thread John Hubbard
On 7/21/19 8:58 AM, Bharath Vedartham wrote: > For pages that were retained via get_user_pages*(), release those pages > via the new put_user_page*() routines, instead of via put_page(). > > This is part a tree-wide conversion, as described in commit fc1d8e7cca2d > ("mm: introduce put_user_page*()

RE: [PATCH 1/4] arm64: Enable TIMER_IMX_SYS_CTR for ARCH_MXC platforms

2019-07-21 Thread Anson Huang
Hi, Shawn > On Mon, Jun 24, 2019 at 02:35:10AM +, Anson Huang wrote: > > Hi, Shawn > > > > > -Original Message- > > > From: Shawn Guo > > > Sent: Monday, June 24, 2019 10:27 AM > > > To: Anson Huang > > > Cc: mark.rutl...@arm.com; Aisheng Dong ; > Peng > > > Fan ; feste...@gmail.com;

Re: [PATCH 1/2] [PATCH] gpio: Replace usage of bare 'unsigned' with 'unsigned int'

2019-07-21 Thread Phil Reid
G'day Hennie, patch title should be: gpio: viperboard: Replace usage of bare 'unsigned' with 'unsigned int' On 21/07/2019 20:52, Hennie Muller wrote: Fixes a couple of warnings by checkpatch and sparse. Signed-off-by: Hennie Muller --- drivers/gpio/gpio-viperboard.c | 20 ++-

Re: [PATCH v2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M

2019-07-21 Thread Shawn Guo
On Thu, Jul 18, 2019 at 02:12:10PM +0300, Andra Danciu wrote: ... > > > + pmic: pmic@4b { > > > + reg = <0x4b>; > > > + compatible = "rohm,bd71837"; > > > + /* PMIC BD71837 PMIC_nINT GPIO1_IO12 */ > > > + pinctrl-0 = <&pinctrl_pmic>; > > > +

Re: [PATCH 1/4] arm64: Enable TIMER_IMX_SYS_CTR for ARCH_MXC platforms

2019-07-21 Thread Shawn Guo
On Mon, Jun 24, 2019 at 02:35:10AM +, Anson Huang wrote: > Hi, Shawn > > > -Original Message- > > From: Shawn Guo > > Sent: Monday, June 24, 2019 10:27 AM > > To: Anson Huang > > Cc: mark.rutl...@arm.com; Aisheng Dong ; Peng > > Fan ; feste...@gmail.com; Jacky Bai > > ; devicet...@vg

Re: [PATCH V5 1/5] dt-bindings: imx: Add clock binding doc for i.MX8MN

2019-07-21 Thread Shawn Guo
On Wed, Jun 19, 2019 at 01:52:43PM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > Add the clock binding doc for i.MX8MN. > > Signed-off-by: Anson Huang > Reviewed-by: Maxime Ripard Applied all, thanks.

Re: [TRIVIAL PATCH] of: per-file dtc preprocessor flags

2019-07-21 Thread Masahiro Yamada
On Sun, Jul 21, 2019 at 12:38 AM Eugeniy Paltsev wrote: > > Hi Masahiro, > > On Sat, 2019-07-20 at 11:40 +0900, Masahiro Yamada wrote: > > On Sat, Jul 20, 2019 at 4:28 AM Eugeniy Paltsev > > wrote: > > > As of today we are able to pass custom flags to dtc compiler but not > > > to dtc preprocesso

Re: [v5 1/2] dt-bindings: gpio: aspeed: Add SGPIO support

2019-07-21 Thread Andrew Jeffery
On Sat, 20 Jul 2019, at 17:43, Linus Walleij wrote: > Hi Hongwei, > > after looking close at the driver and bindings I have this feeback: > > On Fri, Jul 19, 2019 at 9:25 PM Hongwei Zhang wrote: > > +- reg : Address and length of the register set for the > device > > This

Re: kernel BUG at mm/swap_state.c:170!

2019-07-21 Thread huang ying
Hi, Mikhail, On Wed, May 29, 2019 at 12:05 PM Mikhail Gavrilov wrote: > > Hi folks. > I am observed kernel panic after update to git tag 5.2-rc2. > This crash happens at memory pressing when swap being used. > > Unfortunately in journalctl saved only this: > > May 29 08:02:02 localhost.localdomai

Re: [LKP] [gpio] f69e00bd21: unixbench.score -24.2% regression

2019-07-21 Thread Feng Tang
Hi Linus, On Wed, Jul 17, 2019 at 05:42:15AM +0800, Linus Walleij wrote: > On Wed, Jul 10, 2019 at 2:15 PM kernel test robot > wrote: > > > FYI, we noticed a -24.2% regression of unixbench.score due to commit: > > commit: f69e00bd21aa6a1961c521b6eb199137fcb8a76a ("gpio: mmio: Support two > > d

Re: [PATCHv2 2/3] fpga: altera-cvp: Preparation for V2 parts.

2019-07-21 Thread Moritz Fischer
Thor, On Tue, Jul 16, 2019 at 05:48:06PM -0500, thor.tha...@linux.intel.com wrote: > From: Thor Thayer > > In preparation for adding newer V2 parts that use a FIFO, > reorganize altera_cvp_chk_error() and change the write > function to block based. > V2 parts have a block size matching the FIFO

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

2019-07-21 Thread Moritz Fischer
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 structure > with function pointers for V1 vs V2 functi

Re: [PATCH] powerpc: Test broken dcbz

2019-07-21 Thread kbuild test robot
Hi Nathan, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc1 next-20190719] [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/Nat

Re: [PATCH v2 6/8] PCI: al: Add support for DW based driver type

2019-07-21 Thread Benjamin Herrenschmidt
On Sun, 2019-07-21 at 15:08 +, Chocron, Jonathan wrote: > > Please sort the variables following the reverse tree order. > > > > Done. > > I'd think that it would make sense to group variables which have a > common characteristic (e.g. resources read from the DT), even if it > mildly breaks

  1   2   3   4   >