[PATCH net-next 07/12] net: hns3: fix incorrect type in assignment.

2019-08-28 Thread Huazhong Tan
From: Guojia Liao This patch fixes some incorrect type in assignment reported by sparse. Those sparse warning as below: - warning : restricted __le16 degrades to integer - warning : cast from restricted __le32 - warning : expected restricted __le32 - warning : cast from restricted __be32 - warnin

[PATCH net-next 08/12] net: hns3: optimize waiting time for TQP reset

2019-08-28 Thread Huazhong Tan
From: Zhongzhu Liu This patch optimizes the waiting time for TQP reset. Signed-off-by: Zhongzhu Liu Reviewed-by: Yunsheng Lin Reviewed-by: Peng Li Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 10 ++ drivers/net/ethernet/hisilicon/hns3/hns

[PATCH net-next 09/12] net: hns3: implement .process_hw_error for hns3 client

2019-08-28 Thread Huazhong Tan
From: Weihang Li When hardware or IMP get specified error it may need the client to take some special operations. This patch implements the hns3 client's process_hw_errorx. Signed-off-by: Weihang Li Signed-off-by: Huazhong Tan Reviewed-by: Peng Li --- drivers/net/ethernet/hisilicon/hns3/hna

[PATCH net-next 12/12] net: hns3: not allow SSU loopback while execute ethtool -t dev

2019-08-28 Thread Huazhong Tan
From: Yufeng Mo The current loopback mode is to add 0x1F to the SMAC address as the DMAC address and enable the promiscuous mode. However, if the VF address is the same as the DMAC address, the loopback test fails. Loopback can be enabled in three places: SSU, MAC, and serdes. By default, SSU lo

[PATCH net-next 05/12] net: hns3: optimize some log printings

2019-08-28 Thread Huazhong Tan
From: Yufeng Mo To better identify abnormal conditions, this patch modifies or adds some logs to show driver status more accurately. Signed-off-by: Yufeng Mo Signed-off-by: Zhongzhu Liu Signed-off-by: Guangbin Huang Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3_de

[PATCH v3 1/2] dt-binding: spi: add NPCM FIU controller

2019-08-28 Thread Tomer Maimon
Added device tree binding documentation for Nuvoton BMC NPCM Flash Interface Unit(FIU) SPI master controller using SPI-MEM interface. Signed-off-by: Tomer Maimon --- .../bindings/spi/nuvoton,npcm-fiu.txt | 47 +++ 1 file changed, 47 insertions(+) create mode 100644 Docum

[PATCH v3 0/2] spi: add NPCM FIU controller driver

2019-08-28 Thread Tomer Maimon
This patch set adds Flash Interface Unit(FIU) SPI master support for the Nuvoton NPCM Baseboard Management Controller (BMC). The FIU supports single, dual or quad communication interface. the FIU controller can operate in following modes: - User Mode Access(UMA): provides flash access by using

[PATCH v3 2/2] spi: npcm-fiu: add NPCM FIU controller driver

2019-08-28 Thread Tomer Maimon
Add Nuvoton NPCM BMC Flash Interface Unit(FIU) SPI master controller driver using SPI-MEM interface. The FIU supports single, dual or quad communication interface. the FIU controller can operate in following modes: - User Mode Access(UMA): provides flash access by using an indirect address/data

[PATCH net-next 04/12] net: hns3: reduce the parameters of some functions

2019-08-28 Thread Huazhong Tan
From: Guojia Liao This patch simplifies parameters of some functions by deleting unused parameter. Signed-off-by: Guojia Liao Signed-off-by: Yufeng Mo Signed-off-by: Guangbin Huang Signed-off-by: Huazhong Tan --- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c| 28 +++---

[PATCH net-next 10/12] net: hns3: add phy selftest function

2019-08-28 Thread Huazhong Tan
From: Yufeng Mo Currently, the loopback test supports only mac selftest and serdes selftest. This patch adds phy selftest. Signed-off-by: Yufeng Mo Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 7 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c|

[PATCH net-next 03/12] net: hns3: modify base parameter of kstrtouint in hclge_dbg_dump_tm_map

2019-08-28 Thread Huazhong Tan
This patch replaces kstrtouint()'s patameter base with 0 in the hclge_dbg_dump_tm_mac(), which makes it more flexible. Also uses a macro to replace string "dump tm map", since it has been used multiple times. Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugf

[PATCH net-next 11/12] net: hns3: check reset interrupt status when reset fails

2019-08-28 Thread Huazhong Tan
Currently, the reset interrupt will be cleared firstly, so when reset fails, if interrupt status register has reset interrupt, it means there is a new coming reset. Fixes: 72e2fb07997c ("net: hns3: clear reset interrupt status in hclge_irq_handle()") Signed-off-by: Huazhong Tan Reviewed-by: Peng

[PATCH net-next 01/12] net: hns3: code optimization for debugfs related to "dump reg"

2019-08-28 Thread Huazhong Tan
From: Zhongzhu Liu For making the code more readable, this patch uses a array to keep the information about the dumping register, and then uses it to parse the parameter cmd_buf which passing into hclge_dbg_dump_reg_cmd(). Also replaces parameter "base" of kstrtouint with 0 in the hclge_dbg_dump

[PATCH net-next 02/12] net: hns3: use macro instead of magic number

2019-08-28 Thread Huazhong Tan
This patch uses macro to replace some magic number. Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 6 -- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/ne

Re: [PATCH v2 3/4] powerpc/64: make buildable without CONFIG_COMPAT

2019-08-28 Thread Michal Suchánek
On Wed, 28 Aug 2019 14:49:16 +0200 Christophe Leroy wrote: > Le 28/08/2019 à 12:30, Michal Suchanek a écrit : > > There are numerous references to 32bit functions in generic and 64bit > > code so ifdef them out. > > As far as possible, avoid opting things out with ifdefs. Ref > https://www.ke

[patch 1/2] x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()

2019-08-28 Thread Thomas Gleixner
From: Song Liu pti_clone_pmds() assumes that the supplied address is either: - properly PUD/PMD aligned or - the address is actually mapped which means that independent of the mapping level (PUD/PMD/PTE) the next higher mapping exist. If that's not the case the unaligned address can be

[patch 0/2] x86/mm/pti: Robustness updates

2019-08-28 Thread Thomas Gleixner
Following up on the discussions around the patch Song submitted to 'cure' a iTLB related performance regression, I picked up Song's patch which makes clone_page_tables() more robust by handling unaligned addresses proper and added one which prevents calling into the PTI code when PTI is enabled com

[patch 2/2] x86/mm/pti: Do not invoke PTI functions when PTI is disabled

2019-08-28 Thread Thomas Gleixner
When PTI is disabled at boot time either because the CPU is not affected or PTI has been disabled on the command line, the boot code still calls into pti_finalize() which then unconditionally invokes: pti_clone_entry_text() pti_clone_kernel_text() pti_clone_kernel_text() was called unco

Re: [PATCH 2/2] perf top: Fix event group with more than two events

2019-08-28 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 28, 2019 at 08:15:55AM +0900, Namhyung Kim escreveu: > The event group feature links relevant hist entries among events so > that they can be displayed together. During the link process, each > hist entry in non-leader events is connected to a hist entry in the > leader event. This is

Re: [PATCH v2 0/4] Disable compat cruft on ppc64le v2

2019-08-28 Thread Michal Suchánek
On Wed, 28 Aug 2019 13:08:48 + Christophe Leroy wrote: > On 08/28/2019 10:30 AM, Michal Suchanek wrote: > > With endian switch disabled by default the ppc64le compat supports > > ppc32le only which is something next to nobody has binaries for. > > > > Less code means less bugs so drop the co

Re: [PATCH] cpuidle-haltpoll: Enable kvm guest polling when dedicated physical CPUs are available

2019-08-28 Thread Marcelo Tosatti
On Wed, Aug 28, 2019 at 10:45:44AM +0200, Rafael J. Wysocki wrote: > On Wed, Aug 28, 2019 at 10:34 AM Wanpeng Li wrote: > > > > On Tue, 27 Aug 2019 at 08:43, Wanpeng Li wrote: > > > > > > Cc Michael S. Tsirkin, > > > On Tue, 27 Aug 2019 at 04:42, Marcelo Tosatti wrote: > > > > > > > > On Tue, Au

Re: [PATCH] csky: use generic free_initrd_mem()

2019-08-28 Thread Mike Rapoport
Hi, On Wed, Aug 28, 2019 at 10:12:52PM +0800, Guo Ren wrote: > Acked-by: Guo Ren Do you mind taking it via csky tree? > On Wed, Aug 28, 2019 at 9:35 PM Mike Rapoport wrote: > > > > The csky implementation of free_initrd_mem() is an open-coded version of > > free_reserved_area() without poison

Re: [PATCH] mm: remove the __mmu_notifier_invalidate_range_start/end exports

2019-08-28 Thread Jason Gunthorpe
On Wed, Aug 28, 2019 at 04:21:09PM +0200, Christoph Hellwig wrote: > Bo modular code uses these, which makes a lot of sense given the > wrappers around them are only called by core mm code. /Bo/No/ > Also remove the recently added __mmu_notifier_invalidate_range_start_map > export for which the s

Re: [PATCH v2 0/4] Disable compat cruft on ppc64le v2

2019-08-28 Thread Michal Suchánek
On Wed, 28 Aug 2019 20:57:48 +1000 Nicholas Piggin wrote: > Michal Suchanek's on August 28, 2019 8:30 pm: > > With endian switch disabled by default the ppc64le compat supports > > ppc32le only which is something next to nobody has binaries for. > > > > Less code means less bugs so drop the comp

Re: Alps touchpad generates IRQ storm after S3

2019-08-28 Thread Kai-Heng Feng
Hi Mario, at 21:25, wrote: KH, Just make sure I understand details. Commit "HID: i2c-hid: Don't reset device upon system resume If you revert this it's fixed on this system? Yes. Once reset is used instead of the issue is gone. In that commit you had mentioned if this causes proble

Re: [PATCH] sefltest/ima: support appended signatures (modsig)

2019-08-28 Thread shuah
Hi Mimi, On 8/28/19 6:39 AM, Mimi Zohar wrote: Detect and allow appended signatures. Can you please add a couple of more sentences on the feature and what happens without it? I know this is a test for the feature, however, it will be useful for users and testers to know more about this test a

Re: [v2 PATCH -mm] mm: account deferred split THPs into MemAvailable

2019-08-28 Thread Kirill A. Shutemov
On Wed, Aug 28, 2019 at 02:12:53PM +, Michal Hocko wrote: > On Wed 28-08-19 17:03:29, Kirill A. Shutemov wrote: > > On Wed, Aug 28, 2019 at 09:57:08AM +0200, Michal Hocko wrote: > > > On Tue 27-08-19 10:06:20, Yang Shi wrote: > > > > > > > > > > > > On 8/27/19 5:59 AM, Kirill A. Shutemov wrot

Re: [PATCH] mm: remove the __mmu_notifier_invalidate_range_start/end exports

2019-08-28 Thread Christoph Hellwig
On Wed, Aug 28, 2019 at 02:40:25PM +, Jason Gunthorpe wrote: > EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range); > > elixir suggest this is not called outside mm/ either? Yes, it seems like that one should go away as well.

Re: [PATCH 03/15] sched,fair: redefine runnable_load_avg as the sum of task_h_load

2019-08-28 Thread Rik van Riel
On Wed, 2019-08-28 at 15:50 +0200, Vincent Guittot wrote: > Hi Rik, > > On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > The runnable_load magic is used to quickly propagate information > > about > > runnable tasks up the hierarchy of runqueues. The runnable_load_avg > > is > > mostly used f

Re: [PATCH 1/9] perf/core: Add PERF_RECORD_CGROUP event

2019-08-28 Thread Tejun Heo
Hello, Namhyung. On Wed, Aug 28, 2019 at 04:31:22PM +0900, Namhyung Kim wrote: > + * struct { > + * struct perf_event_headerheader; > + * u64 ino; > + * u64 path_len; > + * char

Re: [PATCH] mm: remove the __mmu_notifier_invalidate_range_start/end exports

2019-08-28 Thread Jason Gunthorpe
On Wed, Aug 28, 2019 at 04:47:28PM +0200, Christoph Hellwig wrote: > On Wed, Aug 28, 2019 at 02:40:25PM +, Jason Gunthorpe wrote: > > EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range); > > > > elixir suggest this is not called outside mm/ either? > > Yes, it seems like that one should go awa

Re: [PATCH 2/9] perf/core: Add PERF_SAMPLE_CGROUP feature

2019-08-28 Thread Tejun Heo
On Wed, Aug 28, 2019 at 04:31:23PM +0900, Namhyung Kim wrote: > @@ -958,6 +958,7 @@ struct perf_sample_data { > u64 stack_user_size; > > u64 phys_addr; > + u64 cgroup; Ditto, please use fhandle as

Re: [PATCH] cpuidle-haltpoll: Enable kvm guest polling when dedicated physical CPUs are available

2019-08-28 Thread Marcelo Tosatti
On Tue, Aug 27, 2019 at 08:43:13AM +0800, Wanpeng Li wrote: > > > kvm adaptive halt-polling will compete with > > > vhost-kthreads, however, poll in guest unaware other runnable tasks in > > > the host which will defeat vhost-kthreads. > > > > It depends on how much work vhost-kthreads needs to do,

Re: objtool warning "uses BP as a scratch register" with clang-9

2019-08-28 Thread Josh Poimboeuf
On Wed, Aug 28, 2019 at 11:00:04AM +0200, Arnd Bergmann wrote: > On Tue, Aug 27, 2019 at 11:22 PM 'Nick Desaulniers' via Clang Built > Linux wrote: > > On Tue, Aug 27, 2019 at 12:47 PM Arnd Bergmann wrote: > > > On Tue, Aug 27, 2019 at 9:23 PM Josh Poimboeuf > > > wrote: > > > > On Tue, Aug 27,

Re: [PATCH] cpuidle-haltpoll: Enable kvm guest polling when dedicated physical CPUs are available

2019-08-28 Thread Marcelo Tosatti
On Wed, Aug 28, 2019 at 11:48:58AM -0300, Marcelo Tosatti wrote: > On Tue, Aug 27, 2019 at 08:43:13AM +0800, Wanpeng Li wrote: > > > > kvm adaptive halt-polling will compete with > > > > vhost-kthreads, however, poll in guest unaware other runnable tasks in > > > > the host which will defeat vhost-

Re: [PATCH V1 1/6] USB: serial: f81232: Add F81534A support

2019-08-28 Thread Johan Hovold
On Thu, Jun 06, 2019 at 10:54:11AM +0800, Ji-Ze Hong (Peter Hong) wrote: > The Fintek F81532A/534A/535/536 is USB-to-2/4/8/12 serial ports device. > It's most same with F81232, the UART device is difference as follow: > 1. TX/RX bulk size is 128/512bytes > 2. RX bulk layout change: >

Re: [PATCH V1 2/6] USB: serial: f81232: Force F81534A with RS232 mode

2019-08-28 Thread Johan Hovold
On Thu, Jun 06, 2019 at 10:54:12AM +0800, Ji-Ze Hong (Peter Hong) wrote: > Force F81534A series UARTs with RS232 mode in port_probe(). Please expand on why you need this here. > Signed-off-by: Ji-Ze Hong (Peter Hong) > --- > drivers/usb/serial/f81232.c | 15 +++ > 1 file changed, 15

[RFC] ARM: omap3: Enable HWMODS for HW Random Number Generator

2019-08-28 Thread Adam Ford
The datasheet for the AM3517 shows the RNG is connected to L4. It shows the module address for the RNG is 0x480A, and it matches the omap2.dtsi description. Since the driver can support omap2 and omap4, it seems reasonable to assume the omap3 would use the same core for the RNG. This RFC, mim

KASAN: slab-out-of-bounds Write in usb_hcd_poll_rh_status

2019-08-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:a55aa89a Linux 5.3-rc6 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12899ca260 kernel config: https://syzkaller.appspot.com/x/.config?x=2a6a2b9826fdadf9 dashboard link: https://syzkaller.appspo

Re: [PATCH V1 3/6] USB: serial: f81232: Add generator for F81534A

2019-08-28 Thread Johan Hovold
On Thu, Jun 06, 2019 at 10:54:13AM +0800, Ji-Ze Hong (Peter Hong) wrote: > The Fintek F81534A series is contains 1 HUB / 1 GPIO device / n UARTs, > but the UART is default disable and need enabled by GPIO device(2c42/16F8). > When F81534A plug to host, we can only see 1 HUB & 1 GPIO device, add > G

Re: [PATCH 03/15] sched,fair: redefine runnable_load_avg as the sum of task_h_load

2019-08-28 Thread Vincent Guittot
On Wed, 28 Aug 2019 at 16:48, Rik van Riel wrote: > > On Wed, 2019-08-28 at 15:50 +0200, Vincent Guittot wrote: > > Hi Rik, > > > > On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > > The runnable_load magic is used to quickly propagate information > > > about > > > runnable tasks up the hier

Re: [PATCH -v2 0/5] Further sanitize INTEL_FAM6 naming

2019-08-28 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Aug 28, 2019 at 11:33:01AM +0200, Peter Zijlstra wrote: > > On Tue, Aug 27, 2019 at 11:51:35PM +0200, Peter Zijlstra wrote: > > > On Tue, Aug 27, 2019 at 08:44:23PM +, Luck, Tony wrote: > > > > > I'm reposting because the version Ingo applied and partially

Re: [PATCH 0/2] arm64: dts: meson: g12a: add tdm resets

2019-08-28 Thread Kevin Hilman
Jerome Brunet writes: > On Tue 27 Aug 2019 at 16:42, Kevin Hilman wrote: > >> Jerome Brunet writes: >> >>> This patchset adds the dedicated reset of the tdm formatters which >>> have been added on the g12a SoC family. Using these help with the channel >>> mapping when the formatter uses more th

Re: [PATCH 2/3] pagewalk: separate function pointers from iterator data

2019-08-28 Thread Jason Gunthorpe
On Wed, Aug 28, 2019 at 04:19:54PM +0200, Christoph Hellwig wrote: > @@ -2546,7 +2542,7 @@ int s390_enable_sie(void) > mm->context.has_pgste = 1; > /* split thp mappings and disable thp for future mappings */ > thp_split_mm(mm); > - zap_zero_pages(mm); > + walk_page_range(

Re: [PATCH v2 0/2] ASoC: meson: axg-tdm-formatter: add g12a reset

2019-08-28 Thread Kevin Hilman
Jerome Brunet writes: > This patchset add the possibility to provide a reset to the tdm formatter. > Such reset is available on the g12a SoC family and helps solve a random > channel output shift when using more than one output lane. > > Changes since v1 [0]: > - Rebased on kevin's tree Queued f

Re: cleanup the walk_page_range interface v2

2019-08-28 Thread Jason Gunthorpe
On Wed, Aug 28, 2019 at 04:19:52PM +0200, Christoph Hellwig wrote: > Hi all, > > this series is based on a patch from Linus to split the callbacks > passed to walk_page_range and walk_page_vma into a separate structure > that can be marked const, with various cleanups from me on top. > > This ser

Re: /proc/vmcore and wrong PAGE_OFFSET

2019-08-28 Thread Donald Buczek
On 8/20/19 11:21 PM, Donald Buczek wrote: Dear Linux folks, I'm investigating a problem, that the crash utility fails to work with our crash dumps:     buczek@kreios:/mnt$ crash vmlinux crash.vmcore     crash 7.2.6     Copyright (C) 2002-2019  Red Hat, Inc.     Copyright (C) 2004, 2005, 20

Re: [PATCH V2 3/6] PCI: tegra: Add support to configure sideband pins

2019-08-28 Thread Andrew Murray
On Wed, Aug 28, 2019 at 06:45:02PM +0530, Vidya Sagar wrote: > Add support to configure sideband signal pins when information is present > in respective controller's device-tree node. > > Signed-off-by: Vidya Sagar > --- > V2: > * Addressed review comment from Andrew Murray > * Handled failure ca

Re: [PATCH v1 1/2] clk: intel: Add CGU clock driver for a new SoC

2019-08-28 Thread Andy Shevchenko
On Wed, Aug 28, 2019 at 03:00:17PM +0800, Rahul Tanwar wrote: > From: rtanwar > > Clock Generation Unit(CGU) is a new clock controller IP of a forthcoming > Intel network processor SoC. It provides programming interfaces to control > & configure all CPU & peripheral clocks. Add common clock frame

Re: next-20190826 - objtool fails to build.

2019-08-28 Thread Josh Poimboeuf
On Wed, Aug 28, 2019 at 12:15:15AM -0400, Valdis Klētnieks wrote: > OK. I'm mystified. next-20190806 built fine. -0818 and -0826 died a > glorious death indeed. All 3 were build using the same Fedora Rawhide 9.1.1 > compiler (installed on July 30). 'git log -- tools/objtool' comes up empty. >

Re: [PATCH 0/2] arm64: dts: meson: g12a: add tdm resets

2019-08-28 Thread Jerome Brunet
On Wed 28 Aug 2019 at 08:05, Kevin Hilman wrote: > Jerome Brunet writes: > >> On Tue 27 Aug 2019 at 16:42, Kevin Hilman wrote: >> >>> Jerome Brunet writes: >>> This patchset adds the dedicated reset of the tdm formatters which have been added on the g12a SoC family. Using these help

Re: objtool warning "uses BP as a scratch register" with clang-9

2019-08-28 Thread Arnd Bergmann
On Wed, Aug 28, 2019 at 11:00 AM Arnd Bergmann wrote: > On Tue, Aug 27, 2019 at 11:22 PM 'Nick Desaulniers' via Clang Built Linux > wrote: I figured this one out as well: > http://paste.ubuntu.com/p/XjdDsypRxX/ > 0x5BA1B7A1:arch/x86/ia32/ia32_signal.o: warning: objtool: > ia32_setup_rt_frame()+

[PATCH v1] sefltest/ima: support appended signatures (modsig)

2019-08-28 Thread Mimi Zohar
In addition to the PE/COFF and IMA xattr signatures, the kexec kernel image can be signed with an appended signature, using the same scripts/sign-file tool that is used to sign kernel modules. This patch adds support for detecting a kernel image signed with an appended signature and updates the ex

Re: [PATCH] xfs: Use WARN_ON rather than BUG() for bailout mount-operation

2019-08-28 Thread Darrick J. Wong
On Wed, Aug 28, 2019 at 03:47:49PM +0900, Austin Kim wrote: > If the CONFIG_BUG is enabled, BUG() is executed and then system is crashed. > However, the bailout for mount is no longer proceeding. > > For this reason, using WARN_ON rather than BUG() could prevent this situation. > --- > fs/xfs/xfs

Re: Latest kernel version no NOT reflecting on kernel.org

2019-08-28 Thread Greg KH
On Wed, Aug 28, 2019 at 07:27:53PM +0530, Bhaskar Chowdhury wrote: > Am I the only one, who is not seeing it getting reflected on > kernel.org??? > > Well, I have tried it 2 different browsers.cleared caches several > times(heck) .3 different devices .and importantly 3 different > netw

Re: [PATCH 0/2] drm/meson: add resume/suspend hooks

2019-08-28 Thread Neil Armstrong
On 28/08/2019 17:12, Kevin Hilman wrote: > Neil Armstrong writes: > >> On 27/08/2019 21:17, Kevin Hilman wrote: >>> Neil Armstrong writes: >>> This serie adds the resume/suspend hooks in the Amlogic Meson VPU main driver and the DW-HDMI Glue driver to correctly save state and dis

Re: Patch "x86/pm: Introduce quirk framework to save/restore extra MSR registers around suspend/resume" has been added to the 4.4-stable tree

2019-08-28 Thread Greg KH
On Wed, Aug 28, 2019 at 07:13:23AM -0400, Sasha Levin wrote: > On Wed, Aug 28, 2019 at 11:11:55AM +0200, Greg KH wrote: > > On Wed, Aug 28, 2019 at 05:00:44PM +0800, Yu Chen wrote: > > > On Wed, Aug 28, 2019 at 10:43:51AM +0200, Greg KH wrote: > > > > On Wed, Aug 28, 2019 at 12:12:39AM -0400, Sasha

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-28 Thread Greg Kroah-Hartman
On Wed, Aug 28, 2019 at 10:30:09AM +0530, Naresh Kamboju wrote: > On Tue, 27 Aug 2019 at 13:30, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.2.11 release. > > There are 162 patches in this series, all will be posted as a response > > to this one. If a

Re: [PATCH 1/4] fs: always build llseek.

2019-08-28 Thread Christoph Hellwig
On Tue, Aug 27, 2019 at 10:21:06PM +0200, Michal Suchanek wrote: > 64bit !COMPAT does not build because the llseek syscall is in the tables. Well, this will bloat thinkgs like 64-bit RISC-V for no good reason. Please introduce a WANT_LSEEK like symbol that ppc64 can select instead.

Re: [PATCH V1 4/6] USB: serial: f81232: Add tx_empty function

2019-08-28 Thread Johan Hovold
On Thu, Jun 06, 2019 at 10:54:14AM +0800, Ji-Ze Hong (Peter Hong) wrote: > Add tx_empty() function for F81232 & F81534A series. > > Signed-off-by: Ji-Ze Hong (Peter Hong) > --- > drivers/usb/serial/f81232.c | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git a/drivers/us

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-28 Thread Greg Kroah-Hartman
On Tue, Aug 27, 2019 at 10:25:50AM -0700, Guenter Roeck wrote: > On Tue, Aug 27, 2019 at 09:48:48AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.2.11 release. > > There are 162 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-28 Thread Greg Kroah-Hartman
On Tue, Aug 27, 2019 at 01:09:21PM -0600, shuah wrote: > On 8/27/19 1:48 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.2.11 release. > > There are 162 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with

Re: Kernel 5.3.x, 5.2.2+: VMware player suspend on 64/32 bit guests

2019-08-28 Thread Woody Suwalski
I have tried to "bisect" the config changes, and builds working/not working between rc3-rc4-rc5, and come out with the same frustrating result, that building a "clean" kernel is not producing the same behavoir as incremental building while bisecting. For some reason even after getting to the same

Re: [PATCH v2 11/15] svm: Temporary deactivate AVIC during ExtINT handling

2019-08-28 Thread Suthikulpanit, Suravee
Alex, On 8/19/19 5:35 AM, Alexander Graf wrote: > > > On 15.08.19 18:25, Suthikulpanit, Suravee wrote: >> AMD AVIC does not support ExtINT. Therefore, AVIC must be temporary >> deactivated and fall back to using legacy interrupt injection via vINTR >> and interrupt window. >> >> Signed-off-by: S

Re: [PATCH V2 4/6] PCI: tegra: Add support to enable slot regulators

2019-08-28 Thread Andrew Murray
On Wed, Aug 28, 2019 at 06:45:03PM +0530, Vidya Sagar wrote: > Add support to get regulator information of 3.3V and 12V supplies of a PCIe > slot from the respective controller's device-tree node and enable those > supplies. This is required in platforms like p2972- where the supplies > to x16

[PATCH v5 0/2] TTY: add rpmsg tty driver

2019-08-28 Thread Arnaud Pouliquen
This patch set introduces a TTY console on top of the RPMsg framework which enables the following use cases: - Provide a console to communicate easily with the remote processor application. - Provide an interface to get the remote processor log traces without ring buffer limitation. - Ease the

Re: [PATCH] sefltest/ima: support appended signatures (modsig)

2019-08-28 Thread Mimi Zohar
On Wed, 2019-08-28 at 08:45 -0600, shuah wrote: > Hi Mimi, > > On 8/28/19 6:39 AM, Mimi Zohar wrote: > > Detect and allow appended signatures. > > > > Can you please add a couple of more sentences on the feature > and what happens without it? I know this is a test for the > feature, however, it

Re: [GIT pull] x86/urgent for 5.3-rc5

2019-08-28 Thread David Sterba
On Tue, Aug 27, 2019 at 07:39:55PM +0200, Borislav Petkov wrote: > @@ -42,5 +43,24 @@ void x86_init_rdrand(struct cpuinfo_x86 *c) > return; > } > } > + > + /* > + * Stupid sanity-check whether RDRAND does *actually* generate > + * some at leas

[PATCH v5 1/2] rpmsg: core: add API to get message length

2019-08-28 Thread Arnaud Pouliquen
Return the rpmsg buffer size for sending message, so rpmsg users can split a long message in several sub rpmsg buffers. Signed-off-by: Arnaud Pouliquen --- V4 to V5 : - rename rpmsg_get_buf_payload_size to rpmsg_get_mtu drivers/rpmsg/rpmsg_core.c | 21 + drivers/rpms

[PATCH v5 2/2] tty: add rpmsg driver

2019-08-28 Thread Arnaud Pouliquen
This driver exposes a standard tty interface on top of the rpmsg framework through a rpmsg service. This driver supports multi-instances, offering a /dev/ttyRPMSGx entry per rpmsg endpoint. Signed-off-by: Arnaud Pouliquen --- V4 to V5 : - suppress the use of the first byte of the message to di

Re: [PATCH v2] ext4: use percpu_counters for extent_status cache hits/misses

2019-08-28 Thread Theodore Y. Ts'o
On Wed, Aug 28, 2019 at 05:19:17PM +0800, Shaokun Zhang wrote: > From: Yang Guo > > @es_stats_cache_hits and @es_stats_cache_misses are accessed frequently in > ext4_es_lookup_extent function, it would influence the ext4 read/write > performance in NUMA system. Let's optimize it using percpu_coun

Re: [linux-next][BUG][driver/scsi/lpfc][10541f] Kernel panics when booting next kernel on my Power 9 box

2019-08-28 Thread James Smart
On 8/27/2019 10:02 PM, Abdul Haleem wrote: Greetings, linux-next kernel 5.3.0-rc1 failed to boot with kernel Oops on Power 9 box I see a recent changes to lpfc code was from commit 10541f03 scsi: lpfc: Update lpfc version to 12.4.0.0 Recent boot logs: [..snip..] see https://www.spinics.net

[PATCH v2] leds: ti-lmu-common: Fix coccinelle issue in TI LMU

2019-08-28 Thread Dan Murphy
Fix the coccinelle issues found in the TI LMU common code drivers/leds/leds-ti-lmu-common.c:97:20-29: WARNING: Unsigned expression compared with zero: ramp_down < 0 drivers/leds/leds-ti-lmu-common.c:97:5-12: WARNING: Unsigned expression compared with zero: ramp_up < 0 Fixes: f717460ba4d7 ("leds

Re: [PATCH v2 2/2] uacce: add uacce driver

2019-08-28 Thread Greg Kroah-Hartman
On Wed, Aug 28, 2019 at 09:27:56PM +0800, Zhangfei Gao wrote: > +struct uacce { > + const char *drv_name; > + const char *algs; > + const char *api_ver; > + unsigned int flags; > + unsigned long qf_pg_start[UACCE_QFRT_MAX]; > + struct uacce_ops *ops; > + struct device *p

Re: objtool warning "uses BP as a scratch register" with clang-9

2019-08-28 Thread Josh Poimboeuf
On Wed, Aug 28, 2019 at 05:13:59PM +0200, Arnd Bergmann wrote: > On Wed, Aug 28, 2019 at 11:00 AM Arnd Bergmann wrote: > > On Tue, Aug 27, 2019 at 11:22 PM 'Nick Desaulniers' via Clang Built Linux > > wrote: > I figured this one out as well: > > > http://paste.ubuntu.com/p/XjdDsypRxX/ > > 0x5BA

Re: [GIT PULL v1 0/4] stm class/intel_th: Fixes for v5.3

2019-08-28 Thread Alexander Shishkin
Alexander Shishkin writes: > Hi Greg, > > These are the fixes that I have for v5.3. One is an actual bugfix that's > copied to stable, one SPDX header fix and two new PCI IDs, copied to > stable as well. Signed tag below, individual patches follow. Please > consider applying or pulling. Thanks!

Re: [PATCH 06/15] sched,cfs: use explicit cfs_rq of parent se helper

2019-08-28 Thread Rik van Riel
On Wed, 2019-08-28 at 15:53 +0200, Vincent Guittot wrote: > On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > Use an explicit "cfs_rq of parent sched_entity" helper in a few > > strategic places, where cfs_rq_of(se) may no longer point at the > > The only case is the sched_entity of a task wh

Re: [PATCH v3 1/5] leds: lm3532: Fix brightness control for i2c mode

2019-08-28 Thread Dan Murphy
Jacek On 8/27/19 4:14 PM, Jacek Anaszewski wrote: Dan, On 8/27/19 2:44 PM, Dan Murphy wrote: Tony On 8/27/19 7:18 AM, Pavel Machek wrote: On Mon 2019-08-26 15:44:37, Tony Lindgren wrote: * Pavel Machek [190826 22:14]: On Mon 2019-08-26 14:58:22, Tony Lindgren wrote: Hi, * Dan Murphy [1

Re: objtool warning "uses BP as a scratch register" with clang-9

2019-08-28 Thread Arnd Bergmann
On Wed, Aug 28, 2019 at 5:22 PM Josh Poimboeuf wrote: > On Wed, Aug 28, 2019 at 05:13:59PM +0200, Arnd Bergmann wrote: > > On Wed, Aug 28, 2019 at 11:00 AM Arnd Bergmann wrote: > > > On Tue, Aug 27, 2019 at 11:22 PM 'Nick Desaulniers' via Clang Built Linux > > > wrote: > > I figured this one ou

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-08-28 Thread Phil Auld
On Tue, Aug 27, 2019 at 11:50:35PM +0200 Peter Zijlstra wrote: > On Tue, Aug 27, 2019 at 10:14:17PM +0100, Matthew Garrett wrote: > > Apple have provided a sysctl that allows applications to indicate that > > specific threads should make use of core isolation while allowing > > the rest of the sy

Re: [RESEND PATCH V3 3/8] perf/x86/intel: Support hardware TopDown metrics

2019-08-28 Thread Peter Zijlstra
On Mon, Aug 26, 2019 at 07:47:35AM -0700, kan.li...@linux.intel.com wrote: > Groups > == > > To avoid reading the METRICS register multiple times, the metrics and > slots value can only be updated by the first slots/metrics event in a > group. All active slots and metrics events will be updat

Re: [PATCH 04/13] irqchip: Add driver for Loongson-3 I/O interrupt controller

2019-08-28 Thread Jiaxun Yang
On 2019/8/28 下午2:59, Marc Zyngier wrote: On Wed, 28 Aug 2019 08:27:05 +0800 Jiaxun Yang wrote: On 2019/8/28 上午12:45, Marc Zyngier wrote: On 27/08/2019 09:52, Jiaxun Yang wrote: + chained_irq_enter(chip, desc); + + pending = readl(priv->intc_base + LS3_REG_INTC_EN_STATUS) & +

Re: [RESEND PATCH V3 3/8] perf/x86/intel: Support hardware TopDown metrics

2019-08-28 Thread Peter Zijlstra
On Mon, Aug 26, 2019 at 07:47:35AM -0700, kan.li...@linux.intel.com wrote: > diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c > index 54534ff00940..1ae23db5c2d7 100644 > --- a/arch/x86/events/core.c > +++ b/arch/x86/events/core.c > @@ -76,6 +76,8 @@ u64 x86_perf_event_update(struct perf

Re: Why the edge-triggered mode doesn't work for epoll file descriptor?

2019-08-28 Thread Heiher
Hello, Thank you reply. On Mon, Aug 26, 2019 at 2:22 PM Eric Wong wrote: > > Heiher wrote: > > Hello, > > > > I've added a pipe file descriptor (fd1) to an epoll (fd3) with > > EPOLLOUT in edge-triggered mode, and then added the fd3 to another > > epoll (fd4) with EPOLLIN in edge-triggered too.

Re: [PATCH v2] checkpatch: check for nested unlikely calls

2019-08-28 Thread Denis Efremov
On 8/28/19 4:32 PM, Denis Efremov wrote: > IS_ERR, IS_ERR_OR_NULL, IS_ERR_VALUE already contain unlikely optimization > internally. Thus, there is no point in calling these functions under > likely/unlikely. It looks like this rule could be extended with this list: CHECK_DATA_CORRUPTION GLOCK_BUG_

RE: [PATCH v2 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY

2019-08-28 Thread Langer, Thomas
Hi Vadivel, > +... > diff --git a/Documentation/devicetree/bindings/phy/intel,syscon.yaml > b/Documentation/devicetree/bindings/phy/intel,syscon.yaml > new file mode 100644 > index ..d0b78805e49f > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/intel,syscon.yaml > @@ -0,0

Re: [PATCH V1 6/6] USB: serial: f81232: Add gpiolib to GPIO device

2019-08-28 Thread Johan Hovold
On Thu, Jun 06, 2019 at 10:54:16AM +0800, Ji-Ze Hong (Peter Hong) wrote: > The Fintek F81534A series contains 3 GPIOs per UART and The max GPIOs > is 12x3 = 36 GPIOs. How does this relate to the GPIOs used for transceiver setup? Are these really general purpose? Side note: Please explain the rela

Re: objtool warning "uses BP as a scratch register" with clang-9

2019-08-28 Thread Arnd Bergmann
On Wed, Aug 28, 2019 at 5:28 PM Arnd Bergmann wrote: > On Wed, Aug 28, 2019 at 5:22 PM Josh Poimboeuf wrote: > > On Wed, Aug 28, 2019 at 05:13:59PM +0200, Arnd Bergmann wrote: > > > > > > When CONFIG_KASAN is set, clang decides to use memset() to set > > > the first two struct members in this fun

Re: [PATCH 2/5] misc: fastrpc: Don't reference rpmsg_device after remove

2019-08-28 Thread Stephen Boyd
Quoting Srinivas Kandagatla (2019-08-23 03:06:19) > From: Bjorn Andersson > > As fastrpc_rpmsg_remove() returns the rpdev of the channel context is no > longer a valid object, so ensure to update the channel context to no > longer reference the old object and guard in the invoke code path > again

RE: [PATCH v1 net-next] net: phy: mdio_bus: make mdiobus_scan also cover PHY that only talks C45

2019-08-28 Thread Ong, Boon Leong
>On Tue, Aug 27, 2019 at 03:23:34PM +, Voon, Weifeng wrote: >> > > > Make mdiobus_scan() to try harder to look for any PHY that only >> > talks C45. >> > > If you are not using Device Tree or ACPI, and you are letting the MDIO >> > > bus be scanned, it sounds like there should be a way for you

Re: [PATCH v2 14/15] drivers: thermal: tsens: Create function to return sign-extended temperature

2019-08-28 Thread Stephen Boyd
Quoting Amit Kucheria (2019-08-28 03:35:28) > (Resending, replied only to Stephen by mistake) > > On Wed, Aug 28, 2019 at 6:08 AM Stephen Boyd wrote: > > > > Quoting Amit Kucheria (2019-08-27 05:14:10) > > > @@ -310,6 +328,10 @@ int __init init_common(struct tsens_priv *priv) > > >              

Re: [patch 1/2] x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()

2019-08-28 Thread Dave Hansen
On 8/28/19 7:24 AM, Thomas Gleixner wrote: > From: Song Liu > > pti_clone_pmds() assumes that the supplied address is either: > > - properly PUD/PMD aligned > or > - the address is actually mapped which means that independent >of the mapping level (PUD/PMD/PTE) the next higher mapping >

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-28 Thread Dan Rue
On Wed, Aug 28, 2019 at 05:16:08PM +0200, Greg Kroah-Hartman wrote: > On Wed, Aug 28, 2019 at 10:30:09AM +0530, Naresh Kamboju wrote: > > On Tue, 27 Aug 2019 at 13:30, Greg Kroah-Hartman > > wrote: > > > > > > This is the start of the stable review cycle for the 5.2.11 release. > > > There are 162

Re: [patch 2/2] x86/mm/pti: Do not invoke PTI functions when PTI is disabled

2019-08-28 Thread Dave Hansen
On 8/28/19 7:24 AM, Thomas Gleixner wrote: > Neither function should be called when PTI is runtime disabled. Make the > invocation conditional. Thanks for sending that out. My impressions from a look through it matched your changelog. Reviewed-by: Dave Hansen

Re: Kernel 5.3.x, 5.2.2+: VMware player suspend on 64/32 bit guests

2019-08-28 Thread Thomas Gleixner
Woody, On Wed, 28 Aug 2019, Woody Suwalski wrote: > I have tried to "bisect" the config changes, and builds working/not > working between > rc3-rc4-rc5, and come out with the same frustrating result, that > building a "clean" kernel is not producing the same behavoir as > incremental building wh

Re: [PATCH RT v2 2/3] sched: migrate_enable: Use sleeping_lock to indicate involuntary sleep

2019-08-28 Thread Paul E. McKenney
On Wed, Aug 28, 2019 at 03:14:33PM +0200, Sebastian Andrzej Siewior wrote: > On 2019-08-28 05:54:26 [-0700], Paul E. McKenney wrote: > > On Wed, Aug 28, 2019 at 11:27:39AM +0200, Sebastian Andrzej Siewior wrote: > > > On 2019-08-27 08:53:06 [-0700], Paul E. McKenney wrote: > > > > Am I understandin

Re: [patch 1/2] x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()

2019-08-28 Thread Thomas Gleixner
On Wed, 28 Aug 2019, Dave Hansen wrote: > On 8/28/19 7:24 AM, Thomas Gleixner wrote: > > From: Song Liu > > > > pti_clone_pmds() assumes that the supplied address is either: > > > > - properly PUD/PMD aligned > > or > > - the address is actually mapped which means that independent > >of th

Re: [PATCH RT v2 2/3] sched: migrate_enable: Use sleeping_lock to indicate involuntary sleep

2019-08-28 Thread Paul E. McKenney
On Wed, Aug 28, 2019 at 09:59:38AM -0400, Joel Fernandes wrote: > On Wed, Aug 28, 2019 at 03:14:33PM +0200, Sebastian Andrzej Siewior wrote: > > On 2019-08-28 05:54:26 [-0700], Paul E. McKenney wrote: > > > On Wed, Aug 28, 2019 at 11:27:39AM +0200, Sebastian Andrzej Siewior wrote: > > > > On 2019-0

Re: linux-next: Tree for Aug 27 (objtool)

2019-08-28 Thread Josh Poimboeuf
On Tue, Aug 27, 2019 at 12:05:42PM -0700, Randy Dunlap wrote: > On 8/27/19 8:59 AM, Josh Poimboeuf wrote: > > On Tue, Aug 27, 2019 at 08:40:07AM -0700, Randy Dunlap wrote: > >> On 8/27/19 2:05 AM, Stephen Rothwell wrote: > >>> Hi all, > >>> > >>> Changes since 20190826: > >>> > >> > >> on x86_64: >

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-28 Thread Greg Kroah-Hartman
On Wed, Aug 28, 2019 at 10:47:18AM -0500, Dan Rue wrote: > On Wed, Aug 28, 2019 at 05:16:08PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Aug 28, 2019 at 10:30:09AM +0530, Naresh Kamboju wrote: > > > On Tue, 27 Aug 2019 at 13:30, Greg Kroah-Hartman > > > wrote: > > > > > > > > This is the start o

<    3   4   5   6   7   8   9   10   11   12   >