[PATCH 02/85] perf data: Document memory topology header: HEADER_MEM_TOPOLOGY

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We forgot to update the perf.data file format document for the HEADER_MEM_TOPOLOGY header, do it now from comments in the patch introducing it. Cc: Adrian Hunter Cc: Andi Kleen Cc: Chong Jiang Cc: Jiri Olsa Cc: Namhyung Kim Cc: Simon Que Fixes: e2091cedd51b

[PATCH 04/85] perf data: Document directory format header: HEADER_DIR_FORMAT

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We forgot to update the perf.data file format document for the HEADER_DIR_FORMAT header, do it now from comments in the patch introducing it. Cc: Adrian Hunter Cc: Alexander Shishkin Cc: Alexey Budankov Cc: Andi Kleen Cc: Chong Jiang Cc: Jiri Olsa Cc:

[PATCH 05/85] perf symbols: Remove unused variable 'err'

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Leo Yan Variable 'err' is defined but never used in function symsrc__init(), remove it and directly return -1 at the end of the function. Signed-off-by: Leo Yan Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 07/85] perf intel-pt: Factor out intel_pt_update_sample_time

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter To eliminate some duplication and make the code more understandable, factor out intel_pt_update_sample_time. Signed-off-by: Adrian Hunter Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190520113728.14389-5-adrian.hun...@intel.com Signed-off-by: Arnaldo Carvalho de Melo

[PATCH 01/85] perf data: Add description of header HEADER_BPF_PROG_INFO and HEADER_BPF_BTF

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Song Liu This patch addes description of HEADER_BPF_PROG_INFO and HEADER_BPF_BTF to perf.data-file-format.txt. Requested-by: Arnaldo Carvalho de Melo Signed-off-by: Song Liu Cc: Jiri Olsa Cc: Peter Zijlstra Fixes: 606f972b1361 ("perf bpf: Save bpf_prog_info information as headers to

Re: [RFC PATCH 0/5]: Removing saved_sigmask

2019-06-11 Thread Oleg Nesterov
On 06/07, Eric W. Biederman wrote: > > Eric W. Biederman (5): > signal: Teach sigsuspend to use set_user_sigmask > signal/kvm: Stop using sigprocmask in kvm_sigset_(activate|deactivate) > signal: Always keep real_blocked in sync with blocked > signal: Remove saved_sigmask

Re: [PATCH] lkdtm: no need to check return value of debugfs_create functions

2019-06-11 Thread Greg Kroah-Hartman
On Tue, Jun 11, 2019 at 11:44:53AM -0700, Kees Cook wrote: > On Tue, Jun 11, 2019 at 08:32:13PM +0200, Greg Kroah-Hartman wrote: > > When calling debugfs functions, there is no need to ever check the > > return value. The function can work or not, but the code logic should > > never do something

[PATCH] vmw_ballon: no need to check return value of debugfs_create functions

2019-06-11 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Julien Freche Cc: Nadav Amit Cc: "VMware, Inc." Cc: Arnd Bergmann Cc: linux-kernel@vger.kernel.org

Re: [RFC PATCH 1/5] signal: Teach sigsuspend to use set_user_sigmask

2019-06-11 Thread Oleg Nesterov
On 06/10, Eric W. Biederman wrote: > > Personally I don't think anyone sane would intentionally depend on this > and I don't think there is a sufficiently reliable way to depend on this > by accident that people would actually be depending on it. Agreed. As I said I like these changes and I see

[PATCH] staging: rtl8723bs: hal: Change return type to void from u8

2019-06-11 Thread Hariprasad Kelam
The function HalQueryTxOQTBufferStatus8723BSdio always returns true and caller functions are not bother about return status. Change return type to void. Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/hal/sdio_ops.c | 3 +-- drivers/staging/rtl8723bs/include/sdio_ops.h | 2 +-

Re: Linux 5.1.9 build failure with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=n

2019-06-11 Thread Sven Joachim
On 2019-06-11 19:33 +0200, Daniel Vetter wrote: > On Tue, Jun 11, 2019 at 5:37 PM Greg Kroah-Hartman > wrote: >> On Tue, Jun 11, 2019 at 03:56:35PM +0200, Sven Joachim wrote: >> > Commit 1e07d63749 ("drm/nouveau: add kconfig option to turn off nouveau >> > legacy contexts. (v3)") has caused a

Re: [PATCH] scsi: mpt3sas: Mark expected switch fall-through

2019-06-11 Thread Kees Cook
On Tue, Jun 11, 2019 at 10:02:19AM -0500, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch fixes the following warning: > > drivers/scsi/mpt3sas/mpt3sas_base.c: In function >

Re: linux-next boot error: WARNING: workqueue cpumask: online intersect > possible intersect

2019-06-11 Thread Tejun Heo
Hello, On Fri, Jun 07, 2019 at 10:45:45AM +0200, Dmitry Vyukov wrote: > +workqueue maintainers and Michael who added this WARNING > > The WARNING was added in 2017, so I guess it's a change somewhere else > that triggered it. > The WARNING message does not seem to give enough info about the

Re: [PATCH] pinctrl: qcom: Clear status bit on irq_unmask

2019-06-11 Thread Stephen Boyd
Quoting tengf...@codeaurora.org (2019-06-11 03:41:26) > On 2019-06-10 22:51, Stephen Boyd wrote: > > Quoting Linus Walleij (2019-06-07 14:08:10) > >> On Fri, May 31, 2019 at 8:52 AM Tengfei Fan > >> wrote: > >> > >> > The gpio interrupt status bit is getting set after the > >> > irq is disabled

Re: [PATCH v7 0/3] add new ima hook ima_kexec_cmdline to measure kexec boot cmdline args

2019-06-11 Thread prakhar srivastava
On Tue, Jun 11, 2019 at 8:37 AM Mimi Zohar wrote: > > Hi Prakhar, > > The patch/patch set title in the Subject line should not explain "how" > you add a new feature. In this case an appropriate patch set title > would be, "Add support for measuring the boot command line". > Similarly, the first

Re: ARC Assembler: bundle_align_mode directive support

2019-06-11 Thread Eugeniy Paltsev
Hi Vineet, On Mon, 2019-06-10 at 15:55 +, Vineet Gupta wrote: > On 6/8/19 11:21 AM, Eugeniy Paltsev wrote: > > Hi Cupertino, > > > > I tried to use ".bundle_align_mode" directive in ARC assembly, but I got > > following error: > > ->8-- > > Assembler messages: >

[PATCH] ti-st: no need to check return value of debugfs_create functions

2019-06-11 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Arnd Bergmann Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman ---

Re: [PATCH] lkdtm: no need to check return value of debugfs_create functions

2019-06-11 Thread Kees Cook
On Tue, Jun 11, 2019 at 08:32:13PM +0200, Greg Kroah-Hartman wrote: > When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. What is the user-visible feedback when,

Re: How to inject fwnode/oftree/acpi data by platform driver ?

2019-06-11 Thread Andy Shevchenko
+Cc: Heikki. Heikki, can you help here with swnodes? On Sat, Jun 1, 2019 at 5:17 PM Enrico Weigelt, metux IT consult wrote: > > Hi folks, > > > I'm looking for a way to inject fwnode data from a platform driver, > in order to initialize generic drivers w/ board specific configuration. > The idea

Re: [PATCH] eeprom: idt_89hpesx: remove unneeded csr_file variable

2019-06-11 Thread Kees Cook
On Tue, Jun 11, 2019 at 08:17:00PM +0200, Greg Kroah-Hartman wrote: > The csr_file variable was only ever set, never read. So remove it from > struct idt_89hpesx_dev as it is pointless to keep around. > > Cc: Arnd Bergmann > Cc: Dan Carpenter > Cc: Kees Cook > Cc: Colin Ian King > Cc:

[PATCH] kbuild: Add -Werror=unknown-warning-option to CLANG_FLAGS

2019-06-11 Thread Nathan Chancellor
In commit ebcc5928c5d9 ("arm64: Silence gcc warnings about arch ABI drift"), the arm64 Makefile added -Wno-psabi to KBUILD_CFLAGS, which is a GCC only option so clang rightfully complains: warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option]

[PATCH] mic: no need to check return value of debugfs_create functions

2019-06-11 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Sudeep Dutt Cc: Ashutosh Dixit Cc: Arnd Bergmann Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg

Re: [PATCH v3 4/8] pinctrl: qcom: sdm845: Provide ACPI support

2019-06-11 Thread Bjorn Andersson
On Mon 10 Jun 01:42 PDT 2019, Lee Jones wrote: > This patch provides basic support for booting with ACPI instead > of the currently supported Device Tree. When doing so there are a > couple of differences which we need to taken into consideration. > > Firstly, the SDM850 ACPI tables omit

Re: [PATCH v3 4/8] pinctrl: qcom: sdm845: Provide ACPI support

2019-06-11 Thread Bjorn Andersson
On Mon 10 Jun 02:22 PDT 2019, Lee Jones wrote: > On Mon, 10 Jun 2019, Ard Biesheuvel wrote: > > > On Mon, 10 Jun 2019 at 10:55, Lee Jones wrote: > > > > > > On Mon, 10 Jun 2019, Ard Biesheuvel wrote: > > > > > > > On Mon, 10 Jun 2019 at 10:42, Lee Jones wrote: > > > > > > > > > > This patch

[PATCH] genwq: no need to check return value of debugfs_create functions

2019-06-11 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Frank Haverkamp Cc: Arnd Bergmann Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman ---

RE: RE: FPO16803

2019-06-11 Thread 'Sujit Kumar M.'
Dear Sir, Please find attached our official Purchase order (SI/FPO/16803 Dated. 11/06/2019) and arrange to supply the requirements in accordance with Mustafa Sultan Science & Industry Co.'s procurements terms & conditions of purchase as per the attachment. Kindly acknowledge the receipt of

[PATCH v2] mei: no need to check return value of debugfs_create functions

2019-06-11 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Tomas Winkler Cc: Arnd Bergmann Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- v2:

RE: [PATCH 4.4 041/241] cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()

2019-06-11 Thread Pavel Shilovskiy
-Original Message- From: Greg Kroah-Hartman Sent: Tuesday, June 11, 2019 12:20 AM To: Pavel Shilovskiy Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; Christoph Probst ; Steven French Subject: Re: [PATCH 4.4 041/241] cifs: fix strcat buffer overflow and reduce raciness in

[GIT PULL] (swiotlb) stable/for-linus-5.2

2019-06-11 Thread Konrad Rzeszutek Wilk
Hey Linus, Please git pull the following tiny fix: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb.git stable/for-linus-5.2 which has one tiny fix for ARM64 where we could allocate the SWIOTLB twice. drivers/xen/swiotlb-xen.c | 12 +++- 1 file changed, 11

[PATCH] mei: no need to check return value of debugfs_create functions

2019-06-11 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Tomas Winkler Cc: Arnd Bergmann Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman ---

Re: linux-next: Tree for Jun 11 (net/dsa/tag_sja1105.c)

2019-06-11 Thread Vladimir Oltean
On Tue, 11 Jun 2019 at 21:30, Randy Dunlap wrote: > > On 6/11/19 2:24 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20190607: > > > > on i386: > > # > # Library routines > # > # CONFIG_PACKING is not set > > ld: net/dsa/tag_sja1105.o: in function `sja1105_rcv': >

Re: [PATCH] mei: no need to check return value of debugfs_create functions

2019-06-11 Thread Greg Kroah-Hartman
On Tue, Jun 11, 2019 at 08:33:57PM +0200, Greg Kroah-Hartman wrote: > When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. > > Cc: Tomas Winkler > Cc: Arnd

[PATCH] lkdtm: no need to check return value of debugfs_create functions

2019-06-11 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Kees Cook Cc: Arnd Bergmann Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman ---

Re: [PATCH net-next] net: dsa: sja1105: Make two functions static

2019-06-11 Thread Vladimir Oltean
On Tue, 11 Jun 2019 at 16:59, YueHaibing wrote: > > Fix sparse warnings: > > drivers/net/dsa/sja1105/sja1105_main.c:1848:6: > warning: symbol 'sja1105_port_rxtstamp' was not declared. Should it be > static? > drivers/net/dsa/sja1105/sja1105_main.c:1869:6: > warning: symbol

Re: linux-next: Tree for Jun 11 (net/dsa/tag_sja1105.c)

2019-06-11 Thread Randy Dunlap
On 6/11/19 2:24 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20190607: > on i386: # # Library routines # # CONFIG_PACKING is not set ld: net/dsa/tag_sja1105.o: in function `sja1105_rcv': tag_sja1105.c:(.text+0x40b): undefined reference to `packing' ld: tag_sja1105.c:(.text+0x423):

Re: [RFC PATCH] x86/cpufeatures: Enumerate new AVX512 bfloat16 instructions

2019-06-11 Thread Fenghua Yu
On Mon, Jun 10, 2019 at 09:20:26PM +0200, Borislav Petkov wrote: > On Mon, Jun 10, 2019 at 10:02:38AM -0700, Fenghua Yu wrote: > > AVX512 Vector Neural Network Instructions (VNNI) in Intel Deep Learning > > Boost support bfloat16 format (BF16). BF16 is a short version of FP32 and > > has several

Re: [PATCH net] net: ethtool: Allow matching on vlan CFI bit

2019-06-11 Thread Jakub Kicinski
On Tue, 11 Jun 2019 17:54:56 +0200, Maxime Chevallier wrote: > Using ethtool, users can specify a classification action matching on the > full vlan tag, which includes the CFI bit. > > However, when converting the ethool_flow_spec to a flow_rule, we use > dissector keys to represent the matching

Re: [PATCH V4 6/6] i2c: tegra: remove BUG, BUG_ON

2019-06-11 Thread Bitan Biswas
On 6/11/19 4:34 AM, Dmitry Osipenko wrote: 11.06.2019 10:38, Bitan Biswas пишет: On 6/10/19 2:00 PM, Dmitry Osipenko wrote: 10.06.2019 22:41, Bitan Biswas пишет: On 6/10/19 11:12 AM, Dmitry Osipenko wrote: 10.06.2019 20:08, Bitan Biswas пишет: Remove redundant BUG_ON calls or replace

[PATCH 3/3] staging: rtl8723bs: hal: sdio_ops: fix braces {} are not necessary for single statement blocks

2019-06-11 Thread Hariprasad Kelam
This patch fixes below issue reported by checkpatch WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/hal/sdio_ops.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git

[PATCH 2/3] staging: rtl8723bs: hal: sdio_ops: fix spaces preferred around unary operator

2019-06-11 Thread Hariprasad Kelam
CHECK: spaces preferred around that '+' (ctx:VxV) CHECK: spaces preferred around that '+' (ctx:VxV) CHECK: spaces preferred around that '+' (ctx:VxV) CHECK: spaces preferred around that '+' (ctx:VxV) Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/hal/sdio_ops.c | 12 ++--

[PATCH 1/3] staging: rtl8723bs: hal: sdio_ops: fix Comparison to NULL

2019-06-11 Thread Hariprasad Kelam
this patch fixes below warning reported by checkpatch CHECK: Comparison to NULL could be written "c2h_evt" Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/hal/sdio_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/sdio_ops.c

Re: [PATCH] arm64: configs: Enable GPIO_DAVINCI

2019-06-11 Thread Tero Kristo
On 05/06/2019 09:14, Keerthy wrote: Enable GPIO_DAVINCI and related configs for TI K3 AM6 platforms. Signed-off-by: Keerthy --- arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index

[PATCH] eeprom: idt_89hpesx: remove unneeded csr_file variable

2019-06-11 Thread Greg Kroah-Hartman
The csr_file variable was only ever set, never read. So remove it from struct idt_89hpesx_dev as it is pointless to keep around. Cc: Arnd Bergmann Cc: Dan Carpenter Cc: Kees Cook Cc: Colin Ian King Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman ---

Re: [PATCH resend] serial: 8250: Add support for using platform_device resources

2019-06-11 Thread Enrico Weigelt, metux IT consult
On 21.05.19 16:45, Esben Haabendal wrote: > It sits here. It is a rather big and clunky mfd driver, not ready for > upstreaming in its current form. I hope to get around to clean it up. > But it is for a very specific hardware that is really available or > usable for anybody else. Does it make

Re: [PATCH] usb: dwc3: meson-g12a: Add support for IRQ based OTG switching

2019-06-11 Thread Martin Blumenstingl
Hi Neil, On Tue, Jun 11, 2019 at 3:58 PM Neil Armstrong wrote: > > Add support for the OTG ID change interrupt to switch between Host > and Device mode. > > Tested on the Hardkernel Odroid-N2 board. > > Signed-off-by: Neil Armstrong with the three questions/comments below answered/addressed:

[PATCH v2 2/5] clk: ingenic: Handle setting the Low-Power Mode bit

2019-06-11 Thread Paul Cercueil
The Low-Power Mode, when enabled, will make the "wait" MIPS instruction suspend the system. This is not really clock-related, but this bit happens to be in the register set of the CGU. Signed-off-by: Paul Cercueil --- Notes: v2: Rebase on v5.2-rc4 drivers/clk/ingenic/Makefile | 2

[PATCH v2 1/5] clk: ingenic: Add missing header in cgu.h

2019-06-11 Thread Paul Cercueil
The cgu.h has structures that contain 'clk_onecell_data' and 'clk_hw' structures (no pointers), so the header should be included. Signed-off-by: Paul Cercueil --- Notes: v2: Rebase on v5.2-rc4 drivers/clk/ingenic/cgu.h | 1 + drivers/clk/ingenic/jz4725b-cgu.c | 1 -

[PATCH v3 7/7] arm64: defconfig: enable cpufreq support for RPi3

2019-06-11 Thread Nicolas Saenz Julienne
This enables both the new firmware clock driver and cpufreq driver available for the RPi3 family of boards. Signed-off-by: Nicolas Saenz Julienne --- Changes since v2: - Build both drivers as modules arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 5/5] MIPS: Remove dead code

2019-06-11 Thread Paul Cercueil
Remove the unused include. Signed-off-by: Paul Cercueil --- Notes: v2: Rebase on v5.2-rc4 arch/mips/include/asm/mach-jz4740/clock.h | 22 -- arch/mips/jz4740/board-qi_lb60.c | 2 -- arch/mips/jz4740/platform.c | 2 -- arch/mips/jz4740/time.c

[PATCH v2 3/5] MIPS: jz4740: PM: Let CGU driver suspend clocks and set sleep mode

2019-06-11 Thread Paul Cercueil
Instead of forcing the jz4740 clocks to suspend here, we let the CGU driver handle it. We also let the CGU driver set the "sleep mode" bit. This has the added benefit that now it is possible to build a kernel on SoCs newer than the JZ4740 with CONFIG_PM. Signed-off-by: Paul Cercueil --- Notes:

[PATCH v2 4/5] clk: ingenic: Remove unused functions

2019-06-11 Thread Paul Cercueil
These functions are not called anywhere anymore, they can safely be removed. Signed-off-by: Paul Cercueil --- Notes: v2: Rebase on v5.2-rc4 drivers/clk/ingenic/jz4740-cgu.c | 73 1 file changed, 73 deletions(-) diff --git

Re: [PATCH] bpf: verifier: avoid fall-through warnings

2019-06-11 Thread Andrii Nakryiko
lease also include which tree > >> (probably bpf-next) you are designating this patch to in subject > >> prefix. > >> > > > > This patch applies cleanly to linux-next (tag next-20190611). > > > > It seems that this commit hasn't been merged into bpf/

[PATCH v3 6/7] ARM: defconfig: enable cpufreq driver for RPi

2019-06-11 Thread Nicolas Saenz Julienne
This enables on both multi_v7_defconfig and bcm2835_defconfig the new firmware based clock and cpufreq drivers for the Raspberry Pi platform. In the case of bcm2835_defconfig, as the cpufreq subsystem was disabled, the conservative governor was selected as default since it better handles the high

Re: [PATCH v1 03/11] dt-bindings: display/bridge: Add config property for ti948

2019-06-11 Thread Laurent Pinchart
Hi Michael, Thank you for the patch. On Tue, Jun 11, 2019 at 03:04:04PM +0100, Michael Drake wrote: > The config property can be used to provide an array of > register addresses and values to be written to configure > the device for the board. Please don't. DT describes the hardware (or more

[PATCH v3 5/7] clk: raspberrypi: register platform device for raspberrypi-cpufreq

2019-06-11 Thread Nicolas Saenz Julienne
As 'clk-raspberrypi' depends on RPi's firmware interface, which might be configured as a module, the cpu clock might not be available for the cpufreq driver during it's init process. So we register the 'raspberrypi-cpufreq' platform device after the probe sequence succeeds. Signed-off-by: Nicolas

[PATCH v3 4/7] cpufreq: add driver for Raspbery Pi

2019-06-11 Thread Nicolas Saenz Julienne
Raspberry Pi's firmware offers and interface though which update it's performance requirements. It allows us to request for specific runtime frequencies, which the firmware might or might not respect, depending on the firmware configuration and thermals. As the maximum and minimum frequencies are

[PATCH v3 3/7] firmware: raspberrypi: register clk device

2019-06-11 Thread Nicolas Saenz Julienne
Since clk-raspberrypi is tied to the VC4 firmware instead of particular hardware it's registration should be performed by the firmware driver. Signed-off-by: Nicolas Saenz Julienne Acked-by: Eric Anholt --- drivers/firmware/raspberrypi.c | 10 ++ 1 file changed, 10 insertions(+) diff

[PATCH v3 2/7] clk: bcm283x: add driver interfacing with Raspberry Pi's firmware

2019-06-11 Thread Nicolas Saenz Julienne
Raspberry Pi's firmware offers an interface though which update it's clock's frequencies. This is specially useful in order to change the CPU clock (pllb_arm) which is 'owned' by the firmware and we're unable to scale using the register interface provided by clk-bcm2835. Signed-off-by: Nicolas

Re: [PATCH 1/2] arm64/mm: check cpu cache line size with non-coherent device

2019-06-11 Thread Catalin Marinas
On Tue, Jun 11, 2019 at 11:17:30AM -0400, Masayoshi Mizuma wrote: > --- a/arch/arm64/mm/dma-mapping.c > +++ b/arch/arm64/mm/dma-mapping.c > @@ -91,10 +91,6 @@ static int __swiotlb_mmap_pfn(struct vm_area_struct *vma, > > static int __init arm64_dma_init(void) > { > -

[PATCH v3 1/7] clk: bcm2835: remove pllb

2019-06-11 Thread Nicolas Saenz Julienne
Raspberry Pi's firmware controls this pll, we should use the firmware interface to access it. Signed-off-by: Nicolas Saenz Julienne Acked-by: Eric Anholt --- Changes since v1: - Add comment to explain why pllb isn't there anymore drivers/clk/bcm/clk-bcm2835.c | 28

[PATCH v3 0/7] cpufreq support for Raspberry Pi

2019-06-11 Thread Nicolas Saenz Julienne
Hi all, this aims at adding cpufreq support to the Raspberry Pi family of boards. The series first factors out 'pllb' from clk-bcm2385 and creates a new clk driver that operates it over RPi's firmware interface[1]. We are forced to do so as the firmware 'owns' the pll and we're not allowed to

Re: [PATCH 1/3] Documentation: dt-bindings: add the Amlogic Meson Temperature Sensor

2019-06-11 Thread Martin Blumenstingl
Hi Neil, On Tue, Jun 11, 2019 at 1:01 PM Neil Armstrong wrote: > > On 06/06/2019 21:16, Martin Blumenstingl wrote: > > Hi Guillaume, > > > > thank you for working on this! > > > > On Tue, Jun 4, 2019 at 4:47 PM Guillaume La Roque > > wrote: > >> > >> This adds the devicetree binding

Re: WARNING: bad unlock balance in ucma_event_handler

2019-06-11 Thread Jason Gunthorpe
On Mon, Jun 10, 2019 at 01:45:24PM -0700, Eric Biggers wrote: > On Mon, Jun 10, 2019 at 04:47:32PM -0300, Jason Gunthorpe wrote: > > > > There are many unfixed syzkaller bugs in rdma_cm, so I'm not surprised > > it is still happening.. > > > > Nobody has stepped forward to work on this code, and

Re: [PATCHv6 3/3] vfio/mdev: Synchronize device create/remove with parent removal

2019-06-11 Thread Alex Williamson
On Tue, 11 Jun 2019 03:22:37 + Parav Pandit wrote: > Hi Alex, > [snip] > Now that we have all 3 patches reviewed and comments addressed, if > there are no more comments, can you please take it forward? Yep, I put it in a branch rolled into linux-next for upstream testing last week and

Re: linux-next: Tree for Jun 11 (kernel/sysctl.c)

2019-06-11 Thread Randy Dunlap
On 6/11/19 2:24 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20190607: > on i386: when CONFIG_SYSCTL is not set/enabled: ../kernel/sysctl.c: In function '_proc_do_string': ../kernel/sysctl.c:2003:7: error: 'sysctl_writes_strict' undeclared (first use in this function); did you

[GIT PULL] VFIO fixes for v5.2-rc5

2019-06-11 Thread Alex Williamson
Hi Linus, The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a: Linux 5.2-rc3 (2019-06-02 13:55:33 -0700) are available in the Git repository at: git://github.com/awilliam/linux-vfio.git tags/vfio-v5.2-rc5 for you to fetch changes up to

[PATCH v1 1/4] dt-bindings: ASoC: Add TDA7802 amplifier

2019-06-11 Thread Thomas Preston
Signed-off-by: Thomas Preston Cc: Patrick Glaser Cc: Rob Duncan Cc: Nate Case --- .../devicetree/bindings/sound/tda7802.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/tda7802.txt diff --git

[PATCH v1 4/4] ASoC: tda7802: Add speaker-test sysfs

2019-06-11 Thread Thomas Preston
Add speaker_test device attribute. When the speaker-test node is read the hardware speaker test is started. $ cat /sys/devices/.../device:00/speaker_test 04 04 04 04 Signed-off-by: Thomas Preston Cc: Patrick Glaser Cc: Rob Duncan Cc: Nate Case --- sound/soc/codecs/tda7802.c

[PATCH v1 0/4] ASoC: Codecs: Add TDA7802 codec

2019-06-11 Thread Thomas Preston
This patch series adds a driver for the ST TDA7802 amplifier. Thanks, Thomas Cc: Patrick Glaser Cc: Rob Duncan Cc: Nate Case Thomas Preston (4): dt-bindings: ASoC: Add TDA7802 amplifier ASoC: Add codec driver for ST TDA7802 ASoC: tda7802: Add enable device attribute ASoC: tda7802:

[PATCH v1 2/4] ASoC: Add codec driver for ST TDA7802

2019-06-11 Thread Thomas Preston
Add an I2C based codec driver for ST TDA7802 amplifier. By default, the amplifier supports 4 audio channels but can support up to 16 with multiple devices. Input is configurable for I2S or TDM. The unified device properties API is used to get board-specific config from device tree / ACPI.

[PATCH v1 3/4] ASoC: tda7802: Add enable device attribute

2019-06-11 Thread Thomas Preston
Add a device attribute to control the enable regulator. Write 1 to enable, 0 to disable (ref-count minus one), or -1 to force disable the physical pin. To disable a set of amplifiers wired to the same enable gpio, each device must be disabled. For example: echo 0 >

Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook

2019-06-11 Thread Andreas Schwab
On Jun 10 2019, Larry Finger wrote: > I do not understand why the if statement returns true as neither of the > values is zero. That's because the format string does not make any sense. You are printing garbage. > diff --git a/kernel/dma/mapping.c b/kernel/dma/mapping.c > index

Re: [PATCH v4 0/5] x86/umwait: Enable user wait instructions

2019-06-11 Thread Fenghua Yu
On Tue, Jun 11, 2019 at 11:01:45AM +0200, Peter Zijlstra wrote: > On Fri, Jun 07, 2019 at 03:00:32PM -0700, Fenghua Yu wrote: > > Today, if an application needs to wait for a very short duration > > they have to have spinloops. Spinloops consume more power and continue > > to use execution

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-11 Thread dmitry.torok...@gmail.com
On Tue, Jun 11, 2019 at 07:38:56PM +0200, Pali Rohár wrote: > On Tuesday 11 June 2019 10:32:28 dmitry.torok...@gmail.com wrote: > > On Tue, Jun 11, 2019 at 07:17:07PM +0200, Pali Rohár wrote: > > > On Tuesday 11 June 2019 10:07:07 dmitry.torok...@gmail.com wrote: > > > > On Tue, Jun 11, 2019 at

Re: [PATCH] bpf: verifier: avoid fall-through warnings

2019-06-11 Thread Gustavo A. R. Silva
>> the following warning: >> >> Your patch doesn't apply cleanly to neither bpf nor bpf-next tree. >> Could you please rebase and re-submit? Please also include which tree >> (probably bpf-next) you are designating this patch to in subject >> prefix. >

Re: [PATCH v2] arm64: dts: ls1028a: Fix CPU idle fail.

2019-06-11 Thread Li Yang
On Thu, May 23, 2019 at 3:52 AM Shawn Guo wrote: > > On Fri, May 17, 2019 at 12:57:53PM +0800, Ran Wang wrote: > > PSCI spec define 1st parameter's bit 16 of function CPU_SUSPEND to > > indicate CPU State Type: 0 for standby, 1 for power down. In this > > case, we want to select standby for CPU

Re: Linux 5.1.9 build failure with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=n

2019-06-11 Thread Greg Kroah-Hartman
On Tue, Jun 11, 2019 at 07:33:16PM +0200, Daniel Vetter wrote: > On Tue, Jun 11, 2019 at 5:37 PM Greg Kroah-Hartman > wrote: > > On Tue, Jun 11, 2019 at 03:56:35PM +0200, Sven Joachim wrote: > > > Commit 1e07d63749 ("drm/nouveau: add kconfig option to turn off nouveau > > > legacy contexts.

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-11 Thread Pali Rohár
On Tuesday 11 June 2019 10:32:28 dmitry.torok...@gmail.com wrote: > On Tue, Jun 11, 2019 at 07:17:07PM +0200, Pali Rohár wrote: > > On Tuesday 11 June 2019 10:07:07 dmitry.torok...@gmail.com wrote: > > > On Tue, Jun 11, 2019 at 09:23:33AM +0200, Pali Rohár wrote: > > > > On Tuesday 11 June 2019

Re: [PATCH] firmware: ti_sci: Add support for processor control

2019-06-11 Thread Tero Kristo
On 10/06/2019 20:16, santosh.shilim...@oracle.com wrote: On 6/10/19 5:19 AM, Tero Kristo wrote: On 08/06/2019 00:35, santosh.shilim...@oracle.com wrote: On 6/5/19 3:33 PM, Suman Anna wrote: Texas Instrument's System Control Interface (TI-SCI) Message Protocol is used in Texas Instrument's

Re: [PATCH v1.1] firmware: ti_sci: Add resource management APIs for ringacc, psi-l and udma

2019-06-11 Thread Tero Kristo
On 10/06/2019 12:41, Lokesh Vutla wrote: On 10/06/19 2:48 PM, Peter Ujfalusi wrote: Configuration of NAVSS resource, like rings, UDMAP channels, flows and PSI-L thread management need to be done via TISCI. Add the needed structures and functions for NAVSS resource configuration of the

Re: [PATCH 1/2] Input: synaptics-rmi4 - clear irqs before set irqs

2019-06-11 Thread Dmitry Torokhov
On Tue, Jun 11, 2019 at 12:55:58AM +0800, Aaron Ma wrote: > > On 6/10/19 12:55 AM, Dmitry Torokhov wrote: > > Hi Aaron, > > > > On Wed, Feb 20, 2019 at 05:41:59PM +0100, Aaron Ma wrote: > >> rmi4 got spam data after S3 resume on some ThinkPads. > >> Then TrackPoint lost when be detected by

Re: Linux 5.1.9 build failure with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=n

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 5:37 PM Greg Kroah-Hartman wrote: > On Tue, Jun 11, 2019 at 03:56:35PM +0200, Sven Joachim wrote: > > Commit 1e07d63749 ("drm/nouveau: add kconfig option to turn off nouveau > > legacy contexts. (v3)") has caused a build failure for me when I > > actually tried that option

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-11 Thread dmitry.torok...@gmail.com
On Tue, Jun 11, 2019 at 07:17:07PM +0200, Pali Rohár wrote: > On Tuesday 11 June 2019 10:07:07 dmitry.torok...@gmail.com wrote: > > On Tue, Jun 11, 2019 at 09:23:33AM +0200, Pali Rohár wrote: > > > On Tuesday 11 June 2019 12:32:33 Hui Wang wrote: > > > > On 2019/6/11 上午11:23, Hui Wang wrote: > > >

Re: [RFC V3] mm: Generalize and rename notify_page_fault() as kprobe_page_fault()

2019-06-11 Thread Leonardo Bras
On Tue, 2019-06-11 at 10:44 +0530, Anshuman Khandual wrote: > > On 06/10/2019 08:57 PM, Leonardo Bras wrote: > > On Mon, 2019-06-10 at 08:09 +0530, Anshuman Khandual wrote: > > > > > +/* > > > > > + * To be potentially processing a kprobe fault and to be allowed > > > > > + * to call

Re: [PATCH v2] firmware: ti_sci: Always request response from firmware

2019-06-11 Thread Tero Kristo
On 28/05/2019 18:55, Andrew F. Davis wrote: TI-SCI firmware will only respond to messages when the TI_SCI_FLAG_REQ_ACK_ON_PROCESSED flag is set. Most messages already do this, set this for the ones that do not. This will be enforced in future firmware that better match the TI-SCI

[PATCH V7 00/11] misc: xilinx sd-fec drive

2019-06-11 Thread Dragan Cvetic
This patchset is adding the full Soft Decision Forward Error Correction (SD-FEC) driver implementation, driver DT binding and driver documentation. Forward Error Correction (FEC) codes such as Low Density Parity Check (LDPC) and turbo codes provide a means to control errors in data transmissions

[PATCH V7 03/11] misc: xilinx_sdfec: Add CCF support

2019-06-11 Thread Dragan Cvetic
Add the support for Linux Clock Control Framework (CCF). Registers and enables clocks with the Clock Control Framework (CCF), to prevent shared clocks from been disabled. Tested-by: Dragan Cvetic Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- drivers/misc/xilinx_sdfec.c | 193

[PATCH V7 02/11] misc: xilinx-sdfec: add core driver

2019-06-11 Thread Dragan Cvetic
Implement a platform driver that matches with xlnx, sd-fec-1.1 device tree node and registers as a character device, including: - SD-FEC driver binds to sdfec DT node. - creates and initialise an initial driver dev structure. - add the driver in Linux build and Kconfig. Tested-by: Dragan Cvetic

[PATCH V7 11/11] MAINTAINERS: add maintainer for SD-FEC

2019-06-11 Thread Dragan Cvetic
support Add maintainer entry for Xilinx SD-FEC driver support. Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bfe48cb..9fde3e8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[PATCH V7 08/11] misc: xilinx_sdfec: Support poll file operation

2019-06-11 Thread Dragan Cvetic
Support monitoring and detecting the SD-FEC error events through IRQ and poll file operation. The SD-FEC device can detect one-error or multi-error events. An error triggers an interrupt which creates and run the ONE_SHOT IRQ thread. The ONE_SHOT IRQ thread detects type of error and pass that

[PATCH V7 05/11] misc: xilinx_sdfec: Add ability to configure turbo

2019-06-11 Thread Dragan Cvetic
Add the capability to configure and retrieve turbo mode via the ioctls XSDFEC_SET_TURBO and XSDFEC_GET_TURBO. Add char device interface per DT node present and support file operations: - open(), - close(), - unlocked_ioctl(), - compat_ioctl(). Tested-by: Dragan Cvetic Signed-off-by: Derek

Re: linux-next: Tree for Jun 11 (drivers/dma/dw-edma/)

2019-06-11 Thread Randy Dunlap
On 6/11/19 2:24 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20190607: > on x86_64 or i386: when CONFIG_PCI is not set/enabled: ../drivers/dma/dw-edma/dw-edma-core.c: In function ‘dw_edma_irq_request’: ../drivers/dma/dw-edma/dw-edma-core.c:784:3: error: implicit declaration of

[PATCH V7 10/11] Docs: misc: xilinx_sdfec: Add documentation

2019-06-11 Thread Dragan Cvetic
Add SD-FEC driver documentation. Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- Documentation/misc-devices/index.rst| 1 + Documentation/misc-devices/xilinx_sdfec.rst | 291 2 files changed, 292 insertions(+) create mode 100644

[PATCH V7 04/11] misc: xilinx_sdfec: Store driver config and state

2019-06-11 Thread Dragan Cvetic
Stores configuration based on parameters from the DT node and values from the SD-FEC core plus reads the default state from the SD-FEC core. To obtain values from the core register read, write capabilities have been added plus related register map details. Tested-by: Dragan Cvetic Signed-off-by:

[PATCH V7 06/11] misc: xilinx_sdfec: Add ability to configure LDPC

2019-06-11 Thread Dragan Cvetic
Add the capability to configure LDPC mode via the ioctl XSDFEC_ADD_LDPC_CODE_PARAMS. Tested-by: Dragan Cvetic Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- drivers/misc/xilinx_sdfec.c | 324 +++ include/uapi/misc/xilinx_sdfec.h | 98

[PATCH V7 07/11] misc: xilinx_sdfec: Add ability to get/set config

2019-06-11 Thread Dragan Cvetic
- Add capability to get SD-FEC config data using ioctl XSDFEC_GET_CONFIG. - Add capability to set SD-FEC data order using ioctl SDFEC_SET_ORDER. - Add capability to set SD-FEC bypass option using ioctl XSDFEC_SET_BYPASS. - Add capability to set SD-FEC active state using ioctl XSDFEC_IS_ACTIVE.

[PATCH V7 09/11] misc: xilinx_sdfec: Add stats & status ioctls

2019-06-11 Thread Dragan Cvetic
SD-FEC statistic data are: - count of data interface errors (isr_err_count) - count of Correctable ECC errors (cecc_count) - count of Uncorrectable ECC errors (uecc_count) Add support: 1. clear stats ioctl callback which clears collected statistic data, 2. get stats ioctl callback which reads a

[PATCH V7 01/11] dt-bindings: xilinx-sdfec: Add SDFEC binding

2019-06-11 Thread Dragan Cvetic
Add the Soft Decision Forward Error Correction (SDFEC) Engine bindings which is available for the Zynq UltraScale+ RFSoC FPGA's. Signed-off-by: Dragan Cvetic Signed-off-by: Derek Kiernan --- .../devicetree/bindings/misc/xlnx,sd-fec.txt | 58 ++ 1 file changed, 58

Re: [PATCHv5 04/20] PCI: mobiveil: Remove the flag MSI_FLAG_MULTI_PCI_MSI

2019-06-11 Thread Marc Zyngier
On 11/06/2019 17:59, Lorenzo Pieralisi wrote: > On Fri, Apr 12, 2019 at 08:35:36AM +, Z.q. Hou wrote: >> From: Hou Zhiqiang >> >> The current code does not support multiple MSIs, so remove >> the corresponding flag from the msi_domain_info structure. > > Please explain me what's the problem

Re: [PATCH 02/21] EDAC: Fixes to use put_device() after device_add() errors

2019-06-11 Thread Borislav Petkov
On Wed, May 29, 2019 at 08:44:05AM +, Robert Richter wrote: > Always use put_device() after device_add() failed. > > Signed-off-by: Robert Richter > --- > drivers/edac/edac_mc_sysfs.c | 36 +++- > 1 file changed, 19 insertions(+), 17 deletions(-) I already

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