Re: KASAN: use-after-free Read in snd_timer_process_callbacks

2019-04-09 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:cfd24a53 Add linux-next specific files for 20190409 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=111d56af20 kernel config: https://syzkaller.appspot.com/x/.config?x

RE: linux-next: Tree for Apr 9 (spi/spi-zynq-qspi.c)

2019-04-09 Thread Naga Sureshkumar Relli
Hi Randy, I have sent the patch on top of the patch sent by yuehaib...@huawei.com. Thanks, Naga Sureshkumar Relli > -Original Message- > From: Randy Dunlap > Sent: Tuesday, April 9, 2019 8:52 PM > To: Stephen Rothwell ; Linux Next Mailing List n...@vger.kernel.org> > Cc: Linux Kernel

Re: [PATCH 3/3] thermal: cpu_cooling: Migrate to using the EM framework

2019-04-09 Thread Viresh Kumar
On 28-03-19, 10:13, Quentin Perret wrote: > +static unsigned int get_state_freq(struct cpufreq_cooling_device > *cpufreq_cdev, > + unsigned long state) > +{ > + struct cpufreq_policy *policy; > + unsigned long idx; > + > + /* Use the Energy Model table if

[LINUX PATCH v2] spi: spi-mem: Fix build error without CONFIG_SPI_MEM

2019-04-09 Thread Naga Sureshkumar Relli
When building with CONFIG_SPI_MEM is not set gc warns this: drivers/spi/spi-zynq-qspi.o: In function `zynq_qspi_supports_op': spi-zynq-qspi.c:(.text+0x1da): undefined reference to `spi_mem_default_supports_op' Fixes: 67dca5e580f1 ("spi: spi-mem: Add support for Zynq QSPI controller")

RE: [PATCH] spi: spi-mem: Fix build error without CONFIG_SPI_MEM

2019-04-09 Thread Naga Sureshkumar Relli
Hi Vignesh, > -Original Message- > From: linux-spi-ow...@vger.kernel.org On > Behalf Of > Naga Sureshkumar Relli > Sent: Wednesday, April 10, 2019 10:53 AM > To: YueHaibing ; Vignesh Raghavendra ; > broo...@kernel.org > Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org >

Re: [RFC PATCH 0/3] Add support of busfreq

2019-04-09 Thread Viresh Kumar
On 15-03-19, 17:17, Leonard Crestez wrote: > On 3/15/19 11:31 AM, Alexandre Bailon wrote: > >>> This series is sent as RFC mostly because the current support of i.MX SoC > >>> won't > >>> benefit of busfreq framework, because the clocks' driver don't support > >>> interconnect / dram frequency

RE: [PATCH] spi: spi-mem: Fix build error without CONFIG_SPI_MEM

2019-04-09 Thread Naga Sureshkumar Relli
Hi Vignesh, > -Original Message- > From: linux-spi-ow...@vger.kernel.org On > Behalf Of > YueHaibing > Sent: Wednesday, April 10, 2019 9:03 AM > To: Vignesh Raghavendra ; broo...@kernel.org; Naga > Sureshkumar Relli > > Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org >

[PATCH] staging: pi433: add dependency to PA0,1,2 setting for output power level

2019-04-09 Thread Sidong Yang
When setting output power level called, the power level should be checked by power amplifier level register and high power option. There was todo about it. Add some variables for checking power level range. The values that used for checking high power or minimum power are from rf69 datasheets. The

Re: linux-next: build failure after merge of the scsi-mkp tree

2019-04-09 Thread Stephen Rothwell
Hi all, On Wed, 10 Apr 2019 06:04:19 +0200 James Bottomley wrote: > > On Tue, 2019-04-09 at 21:33 -0400, Martin K. Petersen wrote: > > > > > > I have reverted that commit for today. > > > > > > This has now migrated to the scsi tree. > > > > I have a fix in my tree but I haven't pushed

[PATCH] MAINTAINERS: Update email for Qualcomm SoC maintainer

2019-04-09 Thread Andy Gross
This patch changes the email for Andy Gross to agr...@kernel.org. Signed-off-by: Andy Gross --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index e17ebf7..cf39fb06 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1984,7 +1984,7 @@ W:

Re: [RFC][PATCH 13/16] sched: Add core wide task selection and scheduling.

2019-04-09 Thread Aaron Lu
On Tue, Apr 09, 2019 at 11:09:45AM -0700, Tim Chen wrote: > Now that we have accumulated quite a number of different fixes to your orginal > posted patches. Would you like to post a v2 of the core scheduler with the > fixes? One more question I'm not sure: should a task with cookie=0, i.e.

Re: [PATCH 2/2] module: Make srcu_struct ptr array as read-only post init

2019-04-09 Thread Mathieu Desnoyers
- On Apr 9, 2019, at 11:38 PM, Joel Fernandes joe...@google.com wrote: > On Tue, Apr 9, 2019 at 10:48 PM Steven Rostedt wrote: >> >> On Tue, 9 Apr 2019 22:41:03 -0400 >> Joel Fernandes wrote: >> >> > > Other than that, the two patches look fine to me. >> > >> > Could I add your Reviewed-by

Re: rseq/x86: choosing rseq code signature

2019-04-09 Thread Mathieu Desnoyers
- On Apr 9, 2019, at 9:57 PM, Andy Lutomirski l...@kernel.org wrote: > On Tue, Apr 9, 2019 at 5:51 PM Zack Weinberg wrote: >> >> On Tue, Apr 9, 2019 at 4:43 PM Mathieu Desnoyers >> wrote: >> > - On Apr 9, 2019, at 3:32 PM, Mathieu Desnoyers >> > mathieu.desnoy...@efficios.com wrote: >>

[PATCH v6 12/12] soc: ti: am6: Enable interrupt controller driver

2019-04-09 Thread Lokesh Vutla
Select the TISCI Interrupt Router, Aggregator drivers and all its dependencies for AM6 SoC. Suggested-by: Marc Zyngier Signed-off-by: Lokesh Vutla --- Changes since v5: - None drivers/soc/ti/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/soc/ti/Kconfig

[PATCH v6 10/12] soc: ti: Add MSI domain bus support for Interrupt Aggregator

2019-04-09 Thread Lokesh Vutla
With the system coprocessor managing the range allocation of the inputs to Interrupt Aggregator, it is difficult to represent the device IRQs from DT. The suggestion is to use MSI in such cases where devices wants to allocate and group interrupts dynamically. Create a MSI domain bus layer that

[PATCH v6 09/12] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2019-04-09 Thread Lokesh Vutla
Texas Instruments' K3 generation SoCs has an IP Interrupt Aggregator which is an interrupt controller that does the following: - Converts events to interrupts that can be understood by an interrupt router. - Allows for multiplexing of events to interrupts. Configuration of the interrupt

[PATCH v6 08/12] dt-bindings: irqchip: Introduce TISCI Interrupt Aggregator bindings

2019-04-09 Thread Lokesh Vutla
Add the DT binding documentation for Interrupt Aggregator driver. Signed-off-by: Lokesh Vutla --- Changes since v5: - Dropped interrupt-cells property - Added msi controller property .../interrupt-controller/ti,sci-inta.txt | 66 +++ MAINTAINERS

[PATCH v6 11/12] irqchip: ti-sci-inta: Add msi domain support

2019-04-09 Thread Lokesh Vutla
Add a msi domain that is child to the INTA domain. Clients uses the INTA msi bus layer to allocate irqs in this msi domain. Signed-off-by: Lokesh Vutla --- Changes since v5: - New patch. Seperated out msi domain part from the intial patch. Marc, I feel this is too simple to be a

[PATCH v6 05/12] firmware: ti_sci: Add helper apis to manage resources

2019-04-09 Thread Lokesh Vutla
Each resource with in the device can be uniquely identified as defined by TISCI. Since this is generic across the devices, resource allocation also can be made generic instead of each client driver handling the resource. So add helper apis to manage the resource. Signed-off-by: Lokesh Vutla ---

[PATCH v6 01/12] firmware: ti_sci: Add support to get TISCI handle using of_phandle

2019-04-09 Thread Lokesh Vutla
From: Grygorii Strashko TISCI has been updated to have support for Resource management(likes interrupts etc..). And there can be multiple device instances of a resource type in a SoC. So every driver corresponding to a resource type should get a TISCI handle so that it can make TISCI calls. And

[PATCH v6 06/12] dt-bindings: irqchip: Introduce TISCI Interrupt router bindings

2019-04-09 Thread Lokesh Vutla
Add the DT binding documentation for Interrupt router driver. Signed-off-by: Lokesh Vutla --- Changes since v5: - Introduced a new property for specifying router trigger type. - Dropped the trigger type from interrupt cells property. Marc, Firmware change to not differentiate INTA

[PATCH v6 07/12] irqchip: ti-sci-intr: Add support for Interrupt Router driver

2019-04-09 Thread Lokesh Vutla
Texas Instruments' K3 generation SoCs has an IP Interrupt Router that does allows for redirection of input interrupts to host interrupt controller. Interrupt Router inputs are either from a peripheral or from an Interrupt Aggregator which is another interrupt controller. Configuration of the

[PATCH v6 03/12] firmware: ti_sci: Add support for IRQ management

2019-04-09 Thread Lokesh Vutla
TISCI abstracts the handling of IRQ routes where interrupt sources are not directly connected to host interrupt controller. Add support for the set of TISCI commands for requesting and releasing IRQs. Signed-off-by: Lokesh Vutla --- Changes since v5: - None drivers/firmware/ti_sci.c

[PATCH v6 04/12] firmware: ti_sci: Add RM mapping table for am654

2019-04-09 Thread Lokesh Vutla
From: Peter Ujfalusi Add the resource mapping table for AM654 SoC as defined in http://downloads.ti.com/tisci/esd/latest/5_soc_doc/am6x/resasg_types.html Introduce a new compatible for AM654 "ti,am654-sci" for using this resource map table. Reviewed-by: Rob Herring Signed-off-by: Peter

[PATCH v6 02/12] firmware: ti_sci: Add support for RM core ops

2019-04-09 Thread Lokesh Vutla
TISCI provides support for getting the resources(IRQ, RING etc..) assigned to a specific device. These resources can be handled by the client and in turn sends TISCI cmd to configure the resources. It is very important that client should keep track on usage of these resources. Add support for

[PATCH v6 00/12] Add support for TISCI Interrupt controller drivers

2019-04-09 Thread Lokesh Vutla
TI AM65x SoC based on K3 architecture introduced support for Events which are message based interrupts with minimal latency. These events are not compatible with regular interrupts and are valid only through an event transport lane. An Interrupt Aggregator(INTA) is introduced to convert these

[PATCH v5 4/6] dax: check synchronous mapping is supported

2019-04-09 Thread Pankaj Gupta
This patch introduces 'daxdev_mapping_supported' helper which checks if 'MAP_SYNC' is supported with filesystem mapping. It also checks if corresponding dax_device is synchronous. Virtio pmem device is asynchronous and does not not support VM_SYNC. Suggested-by: Jan Kara Signed-off-by: Pankaj

Re: [PATCH 2/3] RISC-V: Make setup_vm() independent of GCC code model

2019-04-09 Thread Anup Patel
On Tue, Apr 9, 2019 at 10:17 PM Palmer Dabbelt wrote: > > On Tue, 12 Mar 2019 15:08:16 PDT (-0700), Anup Patel wrote: > > The setup_vm() must access kernel symbols in a position independent way > > because it will be called from head.S with MMU off. > > > > If we compile kernel with cmodel=medany

[PATCH v5 5/6] ext4: disable map_sync for async flush

2019-04-09 Thread Pankaj Gupta
Dont support 'MAP_SYNC' with non-DAX files and DAX files with asynchronous dax_device. Virtio pmem provides asynchronous host page cache flush mechanism. We don't support 'MAP_SYNC' with virtio pmem and ext4. Signed-off-by: Pankaj Gupta --- fs/ext4/file.c | 11 ++- 1 file changed, 6

Re: [PATCH 1/4] dt-bindings: opp: Introduce opp-bw-MBs bindings

2019-04-09 Thread Viresh Kumar
On 09-04-19, 17:36, Georgi Djakov wrote: > Hi Viresh, > > On 3/14/19 08:23, Viresh Kumar wrote: > > On 13-03-19, 11:00, Georgi Djakov wrote: > >> In addition to frequency and voltage, some devices may have bandwidth > >> requirements for their interconnect throughput - for example a CPU > >> or

Re: linux-next: build failure after merge of the scsi-mkp tree

2019-04-09 Thread James Bottomley
On Tue, 2019-04-09 at 21:33 -0400, Martin K. Petersen wrote: > Stephen, > > > > I have reverted that commit for today. > > > > This has now migrated to the scsi tree. > > I have a fix in my tree but I haven't pushed it yet. It's upstream in both trees now. James

Re: [PATCH 2/4] OPP: Add support for parsing the interconnect bandwidth

2019-04-09 Thread Viresh Kumar
On 09-04-19, 17:37, Georgi Djakov wrote: > Hi Viresh, > > On 3/14/19 08:30, Viresh Kumar wrote: > > On 13-03-19, 11:00, Georgi Djakov wrote: > >> The OPP bindings now support bandwidth values, so add support to parse it > >> from device tree and store it into the new dev_pm_opp_icc_bw struct,

Re: [PULL -- 5.1 REGRESSION] Bluetooth: btusb: request wake pin with NOAUTOEN

2019-04-09 Thread Linus Torvalds
On Tue, Apr 9, 2019 at 5:26 PM Brian Norris wrote: > > So, I think the problem is still potentially present no matter when we > request the IRQ. The "uninitialized" state of the hardware (or, > firmware) just exposes the issue extremely clearly. Well, I think that as long as you don't request

Re: [PATCH v14 1/3] /proc/pid/status: Add support for architecture specific output

2019-04-09 Thread Li, Aubrey
On 2019/4/10 10:36, Li, Aubrey wrote: > On 2019/4/10 10:25, Andy Lutomirski wrote: >> On Tue, Apr 9, 2019 at 7:20 PM Li, Aubrey wrote: >>> >>> On 2019/4/10 9:58, Andy Lutomirski wrote: On Tue, Apr 9, 2019 at 6:55 PM Aubrey Li wrote: > > The architecture specific information of the

Re: [PATCH 2/2] module: Make srcu_struct ptr array as read-only post init

2019-04-09 Thread Joel Fernandes
On Tue, Apr 9, 2019 at 10:48 PM Steven Rostedt wrote: > > On Tue, 9 Apr 2019 22:41:03 -0400 > Joel Fernandes wrote: > > > > Other than that, the two patches look fine to me. > > > > Could I add your Reviewed-by in the respin? > > You can add an Acked-by, as I haven't spent enough time to offer a

Re: [PATCH 0/6] objtool: Add support for Arm64

2019-04-09 Thread Josh Poimboeuf
On Tue, Apr 09, 2019 at 10:43:18AM -0700, Ard Biesheuvel wrote: > On Tue, 9 Apr 2019 at 06:53, Raphael Gault wrote: > > > > Hi, > > > > As of now, objtool only supports the x86_64 architecture but the > > groundwork has already been done in order to add support for other > > architecture without

Re: [PATCH] spi: spi-mem: Fix build error without CONFIG_SPI_MEM

2019-04-09 Thread YueHaibing
On 2019/4/10 0:30, Vignesh Raghavendra wrote: > On 08/04/19 8:09 PM, Yue Haibing wrote: >> From: YueHaibing >> >> When building with CONFIG_SPI_MEM is not set >> gc warns this: >> >> drivers/spi/spi-zynq-qspi.o: In function `zynq_qspi_supports_op': >> spi-zynq-qspi.c:(.text+0x1da): undefined

Re: [PULL -- 5.1 REGRESSION] Bluetooth: btusb: request wake pin with NOAUTOEN

2019-04-09 Thread Brian Norris
Hi Linus, Thanks for the reply! It's amusing that you're the only one (well, besides the gentleman who sits a few feet from me and kindly provided his Reviewed-by) to review my patch. On Tue, Apr 9, 2019 at 7:20 PM Linus Torvalds wrote: > On Tue, Apr 9, 2019 at 8:49 AM Brian Norris wrote: > >

Re: [PATCH v2 2/2] dt-bindings: cpufreq: Document operating-points-v2-sunxi-cpu

2019-04-09 Thread Viresh Kumar
On 09-04-19, 13:25, Yangtao Li wrote: > Allwinner Process Voltage Scaling Tables defines the voltage and > frequency value based on the speedbin blown in the efuse combination. > The sunxi-cpufreq-nvmem driver reads the efuse value from the SoC to > provide the OPP framework with required

Re: [PATCH v2 1/2] cpufreq: Add sunxi nvmem based CPU scaling driver

2019-04-09 Thread Viresh Kumar
On 09-04-19, 13:25, Yangtao Li wrote: > +static const struct sunxi_cpufreq_soc_data sun50i_h6_data = { > + .efuse_xlate = sun50i_efuse_xlate, > + .nvmem_mask = 0x7, > + .nvmem_shift = 5, > +}; > + > +static const struct of_device_id sunxi_cpufreq_match_list[] = { > + { .compatible

Re: [PATCH 2/2] module: Make srcu_struct ptr array as read-only post init

2019-04-09 Thread Steven Rostedt
On Tue, 9 Apr 2019 22:41:03 -0400 Joel Fernandes wrote: > > Other than that, the two patches look fine to me. > > Could I add your Reviewed-by in the respin? You can add an Acked-by, as I haven't spent enough time to offer a Reviewed-by tag. ;-) Maybe I'll get some time to vet it a bit more

[PATCH 0/1] mm: Remove the SLAB allocator

2019-04-09 Thread Tobin C. Harding
Recently a 2 year old bug was found in the SLAB allocator that crashes the kernel. This seems to imply that not that many people are using the SLAB allocator. Currently we have 3 slab allocators. Two is company three is a crowd - let's get rid of one. - The SLUB allocator has been the

[PATCH 1/1] mm: Remove SLAB allocator

2019-04-09 Thread Tobin C. Harding
We have SLOB for embedded devices and SLUB for everyone else. Signed-off-by: Tobin C. Harding --- include/linux/slab.h | 26 - kernel/cpu.c |5 - mm/slab.c| 4493 -- mm/slab.h| 31 +- mm/slab_common.c | 20 +-

Re: [PATCH 2/2] module: Make srcu_struct ptr array as read-only post init

2019-04-09 Thread Joel Fernandes
On Tue, Apr 09, 2019 at 10:38:20PM -0400, Steven Rostedt wrote: > On Tue, 9 Apr 2019 21:14:18 -0400 > "Joel Fernandes (Google)" wrote: > > > /* > > - * Mark ro_after_init section with SHF_RO_AFTER_INIT so that > > + * These are section names marked with SHF_RO_AFTER_INIT so that > > I'm

Re: [PATCH 2/2] module: Make srcu_struct ptr array as read-only post init

2019-04-09 Thread Steven Rostedt
On Tue, 9 Apr 2019 21:14:18 -0400 "Joel Fernandes (Google)" wrote: > /* > - * Mark ro_after_init section with SHF_RO_AFTER_INIT so that > + * These are section names marked with SHF_RO_AFTER_INIT so that I'm curious to this much of a change. Wouldn't just making "section" plural also work?

Re: [PATCH v14 1/3] /proc/pid/status: Add support for architecture specific output

2019-04-09 Thread Li, Aubrey
On 2019/4/10 10:25, Andy Lutomirski wrote: > On Tue, Apr 9, 2019 at 7:20 PM Li, Aubrey wrote: >> >> On 2019/4/10 9:58, Andy Lutomirski wrote: >>> On Tue, Apr 9, 2019 at 6:55 PM Aubrey Li wrote: The architecture specific information of the running processes could be useful to the

RE: [EXT] Re: [v7 3/3] ahci: qoriq: add lx2160 platforms support

2019-04-09 Thread Peng Ma
Hi Axboe, Thanks very much. Best Regards, Peng >-Original Message- >From: Jens Axboe >Sent: 2019年4月9日 22:17 >To: Peng Ma ; robh...@kernel.org; >mark.rutl...@arm.com; shawn...@kernel.org; Leo Li >Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; >linux-kernel@vger.kernel.org;

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-04-09 Thread Tomasz Figa
On Wed, Apr 10, 2019 at 1:31 AM Nicolas Dufresne wrote: > > Le mardi 09 avril 2019 à 18:59 +0900, Tomasz Figa a écrit : > > On Thu, Feb 7, 2019 at 4:33 PM Tomasz Figa wrote: > > > On Tue, Feb 5, 2019 at 7:35 PM Hans Verkuil wrote: > > > > On 2/5/19 10:31 AM, Tomasz Figa wrote: > > > > > On Tue,

Re: [PATCH v3 0/4] perf: Support a new 'percore' event qualifier

2019-04-09 Thread Jin, Yao
Hi Arnaldo, Can this patch be accepted? Thanks Jin Yao On 3/19/2019 6:20 PM, Jiri Olsa wrote: On Tue, Mar 19, 2019 at 04:56:52PM +0800, Jin Yao wrote: The 'percore' event qualifier which sums up the event counts for both hardware threads in a core. For example, perf stat -e

Re: [GIT PULL] MIPS fixes

2019-04-09 Thread pr-tracker-bot
The pull request you sent on Tue, 9 Apr 2019 23:26:36 +: > git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git > tags/mips_fixes_5.1_2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0ee7fb36f988539f52f83ce6048d696bd540066f Thank you! -- Deet-doot-dot,

Re: [git pull] several fixes

2019-04-09 Thread pr-tracker-bot
The pull request you sent on Wed, 10 Apr 2019 00:12:03 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/972acfb49446b30a3533ceb5682bf8350c786bc8 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH 4/4] locking/lockdep: Test all incompatible scenario at once in check_irq_usage()

2019-04-09 Thread Frederic Weisbecker
On Tue, Apr 09, 2019 at 03:03:52PM +0200, Peter Zijlstra wrote: > On Tue, Apr 02, 2019 at 06:02:44PM +0200, Frederic Weisbecker wrote: > > @@ -1988,45 +1961,151 @@ static int exclusive_bit(int new_bit) > > return state | (dir ^ LOCK_USAGE_DIR_MASK); > > } > > > > +static unsigned long

Re: [PATCH v14 1/3] /proc/pid/status: Add support for architecture specific output

2019-04-09 Thread Andy Lutomirski
On Tue, Apr 9, 2019 at 7:20 PM Li, Aubrey wrote: > > On 2019/4/10 9:58, Andy Lutomirski wrote: > > On Tue, Apr 9, 2019 at 6:55 PM Aubrey Li wrote: > >> > >> The architecture specific information of the running processes could > >> be useful to the userland. Add support to examine process

Re: [PULL -- 5.1 REGRESSION] Bluetooth: btusb: request wake pin with NOAUTOEN

2019-04-09 Thread Linus Torvalds
On Tue, Apr 9, 2019 at 8:49 AM Brian Norris wrote: > > Badly-designed systems might have (for example) active-high wake pins > that default to high (e.g., because of external pull ups) until they > have an active firmware which starts driving it low. This can cause an > interrupt storm in the

Re: [PATCH v14 1/3] /proc/pid/status: Add support for architecture specific output

2019-04-09 Thread Li, Aubrey
On 2019/4/10 9:58, Andy Lutomirski wrote: > On Tue, Apr 9, 2019 at 6:55 PM Aubrey Li wrote: >> >> The architecture specific information of the running processes could >> be useful to the userland. Add support to examine process architecture >> specific information externally. >> >> Signed-off-by:

Re: [PATCH 1/2] printk: Add an option to flush all messages on panic

2019-04-09 Thread Feng Tang
Hi Petr and Sergey, On Wed, Apr 10, 2019 at 10:47:05AM +0900, Sergey Senozhatsky wrote: > On (04/09/19 15:41), Petr Mladek wrote: > > I suggest to merge the two patches into one. It will > > still be rather small and easier to review. > > Agreed, was going to suggest the same. Ok, will merge.

[PATCH -next v2] acpi/hmat: fix memory leaks in hmat_init()

2019-04-09 Thread Qian Cai
The commit 665ac7e92757 ("acpi/hmat: Register processor domain to its memory") introduced some memory leaks below due to it fails to release the heap memory in an error path, and then those statically-allocated __initdata memory which reference them get freed during boot renders those heap memory

RE: [EXT] Re: [PATCH V11 5/5] ARM: dts: imx7ulp-evk: Add backlight support

2019-04-09 Thread Anson Huang
Hi, Fabio Best Regards! Anson Huang > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2019年4月10日 10:03 > To: Anson Huang > Cc: thierry.red...@gmail.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; s.ha...@pengutronix.de;

Re: [PATCH V11 5/5] ARM: dts: imx7ulp-evk: Add backlight support

2019-04-09 Thread Fabio Estevam
On Tue, Apr 9, 2019 at 10:47 PM Anson Huang wrote: > #include "imx7ulp.dtsi" > +#include This inclusion is not needed here as PWM_POLARITY_INVERTED is not used in this dts.

Re: [PATCH 11/17] fpga: dfl: afu: add error reporting support.

2019-04-09 Thread Wu Hao
On Tue, Apr 09, 2019 at 03:57:37PM -0500, Alan Tull wrote: > On Sun, Mar 24, 2019 at 10:24 PM Wu Hao wrote: > > Hi Hao, > > > > > Error reporting is one important private feature, it reports error > > detected on port and accelerated function unit (AFU). It introduces > > several sysfs

Re: [PATCH v14 1/3] /proc/pid/status: Add support for architecture specific output

2019-04-09 Thread Andy Lutomirski
On Tue, Apr 9, 2019 at 6:55 PM Aubrey Li wrote: > > The architecture specific information of the running processes could > be useful to the userland. Add support to examine process architecture > specific information externally. > > Signed-off-by: Aubrey Li > Cc: Peter Zijlstra > Cc: Andi Kleen

Re: [PATCH 2/2] panic: Enable to print out all printk msg in buffer

2019-04-09 Thread Sergey Senozhatsky
On (04/09/19 16:14), Petr Mladek wrote: > We should: > >+ Flush the latest messages before we replay the log. Do you mean the pending messages? When we replay the log we also should print "header line" and panic-cpu backtrace. So we will print panic-cpu oops twice // from panic-cpu

Re: rseq/x86: choosing rseq code signature

2019-04-09 Thread Andy Lutomirski
On Tue, Apr 9, 2019 at 5:51 PM Zack Weinberg wrote: > > On Tue, Apr 9, 2019 at 4:43 PM Mathieu Desnoyers > wrote: > > - On Apr 9, 2019, at 3:32 PM, Mathieu Desnoyers > > mathieu.desnoy...@efficios.com wrote: > > > > > > We are about to include the code signature required prior to

[PATCH v14 1/3] /proc/pid/status: Add support for architecture specific output

2019-04-09 Thread Aubrey Li
The architecture specific information of the running processes could be useful to the userland. Add support to examine process architecture specific information externally. Signed-off-by: Aubrey Li Cc: Peter Zijlstra Cc: Andi Kleen Cc: Tim Chen Cc: Dave Hansen Cc: Arjan van de Ven Cc: Linux

[PATCH v14 3/3] Documentation/filesystems/proc.txt: add AVX512_elapsed_ms

2019-04-09 Thread Aubrey Li
Added AVX512_elapsed_ms in /proc//status. Report it in Documentation/filesystems/proc.txt Signed-off-by: Aubrey Li Cc: Peter Zijlstra Cc: Andi Kleen Cc: Tim Chen Cc: Dave Hansen Cc: Arjan van de Ven Cc: Linux API Cc: Alexey Dobriyan Cc: Andrew Morton ---

[PATCH v14 2/3] x86,/proc/pid/status: Add AVX-512 usage elapsed time

2019-04-09 Thread Aubrey Li
AVX-512 components use could cause core turbo frequency drop. So it's useful to expose AVX-512 usage elapsed time as a heuristic hint for the user space job scheduler to cluster the AVX-512 using tasks together. Tensorflow example: $ while [ 1 ]; do cat /proc/tid/status | grep AVX; sleep 1; done

Re: [PATCH 16/17] fpga: dfl: fme: add global error reporting support

2019-04-09 Thread Wu Hao
On Tue, Apr 09, 2019 at 04:35:25PM -0500, Alan Tull wrote: > On Sun, Mar 24, 2019 at 10:24 PM Wu Hao wrote: > > Hi Hao, > > > > > This patch adds support for global error reporting for FPGA > > Management Engine (FME), it introduces sysfs interfaces to > > report different error detected by the

[PATCH V11 5/5] ARM: dts: imx7ulp-evk: Add backlight support

2019-04-09 Thread Anson Huang
This patch adds i.MX7ULP EVK board MIPI-DSI backlight support. Signed-off-by: Anson Huang --- No changes. --- arch/arm/boot/dts/imx7ulp-evk.dts | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts b/arch/arm/boot/dts/imx7ulp-evk.dts index

[PATCH V11 4/5] ARM: dts: imx7ulp: Add tpm pwm support

2019-04-09 Thread Anson Huang
Add i.MX7ULP EVK board PWM support. Signed-off-by: Anson Huang --- No changes. --- arch/arm/boot/dts/imx7ulp.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi index d6b7110..8fb9559 100644 ---

[PATCH V11 0/5] Add i.MX7ULP EVK PWM backlight support

2019-04-09 Thread Anson Huang
i.MX7ULP EVK board has MIPI-DSI display, its backlight is supplied by TPM PWM module, this patch set enables i.MX7ULP TPM PWM driver support and also add backlight support for MIPI-DSI display. Changes since V10: - ONLY change the pwm driver patch. Anson Huang (5): dt-bindings: pwm:

[PATCH V11 2/5] pwm: Add i.MX TPM PWM driver support

2019-04-09 Thread Anson Huang
i.MX7ULP has TPM(Low Power Timer/Pulse Width Modulation Module) inside, it can support multiple PWM channels, all the channels share same counter and period setting, but each channel can configure its duty and polarity independently. There are several TPM modules in i.MX7ULP, the number of

[PATCH V11 3/5] ARM: imx_v6_v7_defconfig: Add TPM PWM support by default

2019-04-09 Thread Anson Huang
Select CONFIG_PWM_IMX_TPM by default to support i.MX7ULP TPM PWM. Signed-off-by: Anson Huang --- No changes. --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

[PATCH V11 1/5] dt-bindings: pwm: Add i.MX TPM PWM binding

2019-04-09 Thread Anson Huang
Add i.MX TPM(Low Power Timer/Pulse Width Modulation Module) PWM binding. Signed-off-by: Anson Huang Reviewed-by: Rob Herring --- No changes. --- .../devicetree/bindings/pwm/imx-tpm-pwm.txt| 22 ++ 1 file changed, 22 insertions(+) create mode 100644

Re: [PATCH 1/2] printk: Add an option to flush all messages on panic

2019-04-09 Thread Sergey Senozhatsky
On (04/09/19 15:41), Petr Mladek wrote: > I suggest to merge the two patches into one. It will > still be rather small and easier to review. Agreed, was going to suggest the same. -ss

Re: linux-next: build failure after merge of the scsi-mkp tree

2019-04-09 Thread Martin K. Petersen
Stephen, >> I have reverted that commit for today. > > This has now migrated to the scsi tree. I have a fix in my tree but I haven't pushed it yet. -- Martin K. Petersen Oracle Linux Engineering

[rcu:dev.2019.04.09a 55/55] htmldocs: include/linux/rcupdate.h:837: warning: Function parameter or member 'rhf' not described in 'kfree_rcu'

2019-04-09 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.04.09a head: 108210466eaf3f9e0e18e250c3af4f2525963a60 commit: 108210466eaf3f9e0e18e250c3af4f2525963a60 [55/55] rcu: Make kfree_rcu() ignore NULL pointers reproduce: make htmldocs All warnings (new ones

Re: linux-next: build failure after merge of the scsi-mkp tree

2019-04-09 Thread Stephen Rothwell
Hi all, On Tue, 9 Apr 2019 16:27:49 +1000 Stephen Rothwell wrote: > > After merging the scsi-mkp tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > drivers/scsi/qla2xxx/tcm_qla2xxx.c: In function 'tcm_qla2xxx_init_lport': > drivers/scsi/qla2xxx/tcm_qla2xxx.c:1614:3:

Re: [RFC PATCH v2 12/14] x86/watchdog/hardlockup/hpet: Determine if HPET timer caused NMI

2019-04-09 Thread Ricardo Neri
On Tue, Apr 09, 2019 at 01:28:17PM +0200, Peter Zijlstra wrote: > On Wed, Feb 27, 2019 at 08:05:16AM -0800, Ricardo Neri wrote: > > @@ -62,7 +67,18 @@ static inline void set_comparator(struct hpet_hld_data > > *hdata, > > static void kick_timer(struct hpet_hld_data *hdata, bool force) > > { > >

Re: [PATCH 1/2] mm/gup.c: fix the wrong comments

2019-04-09 Thread Huang Shijie
On Tue, Apr 09, 2019 at 02:55:31PM +, Weiny, Ira wrote: > > On Tue, Apr 09, 2019 at 11:04:18AM +0800, Huang Shijie wrote: > > > On Mon, Apr 08, 2019 at 07:49:29PM -0700, Matthew Wilcox wrote: > > > > On Tue, Apr 09, 2019 at 09:08:33AM +0800, Huang Shijie wrote: > > > > > On Mon, Apr 08, 2019

Re: [PATCH 1/2] mm/gup.c: fix the wrong comments

2019-04-09 Thread Huang Shijie
On Tue, Apr 09, 2019 at 01:23:16PM -0700, Ira Weiny wrote: > On Tue, Apr 09, 2019 at 09:08:33AM +0800, Huang Shijie wrote: > > On Mon, Apr 08, 2019 at 07:13:13AM -0700, Matthew Wilcox wrote: > > > On Mon, Apr 08, 2019 at 10:37:45AM +0800, Huang Shijie wrote: > > > > When CONFIG_HAVE_GENERIC_GUP is

Re: [PATCH 2/2] module: Make srcu_struct ptr array as read-only post init

2019-04-09 Thread Joel Fernandes
On Tue, Apr 09, 2019 at 09:14:18PM -0400, Joel Fernandes (Google) wrote: > Since commit title ("srcu: Allocate per-CPU data for DEFINE_SRCU() in > modules"), modules that call DEFINE_{STATIC,}SRCU will have a new array > of srcu_struct pointers which is used by srcu code to initialize and > clean

[PATCH 2/2] module: Make srcu_struct ptr array as read-only post init

2019-04-09 Thread Joel Fernandes (Google)
Since commit title ("srcu: Allocate per-CPU data for DEFINE_SRCU() in modules"), modules that call DEFINE_{STATIC,}SRCU will have a new array of srcu_struct pointers which is used by srcu code to initialize and clean up these structures. There is no reason for this array of pointers to be

Re: [RFC PATCH v2 11/14] x86/watchdog/hardlockup: Add an HPET-based hardlockup detector

2019-04-09 Thread Ricardo Neri
On Tue, Apr 09, 2019 at 12:59:46PM +0200, Peter Zijlstra wrote: > On Tue, Mar 26, 2019 at 09:49:13PM +0100, Thomas Gleixner wrote: > > So way you should handle this is: > > > > cpumask_set_cpu(cpu, hld_data->cpu_monitored_mask); > > > > if (!hld_data->enabled_cpus++) { > >

[PATCH 1/2] module: Prepare for addition of new ro_after_init sections

2019-04-09 Thread Joel Fernandes (Google)
For the purposes of hardening modules by adding sections to ro_after_init sections, prepare for addition of new ro_after_init entries which we do in future patches. Create a table to which new entries could be added later. This makes it less error prone and reduce code duplication. Cc:

[PATCH 0/2] perf: Add Tremont support

2019-04-09 Thread kan . liang
From: Kan Liang The patch series intends to add Tremont support for Linux perf. The patch series is on top of Icelake V5 patch series (with Peter's cleanup patch). https://lkml.org/lkml/2019/4/8/630 PATCH 1: The feature is for both Icelake and Tremont. It missed the Icelake patch

[PATCH 1/2] perf/x86/intel: Support adaptive PEBS for fixed counters

2019-04-09 Thread kan . liang
From: Kan Liang Fixed counters can also generate adaptive PEBS record, if the corresponding bit in IA32_FIXED_CTR_CTRL is set. Otherwise, only basic record is generated. Unconditionally set the bit when PEBS is enabled on fixed counters. Let MSR_PEBS_CFG decide which format of PEBS record

[PATCH 2/2] perf/x86/intel: Add Tremont core PMU support

2019-04-09 Thread kan . liang
From: Kan Liang Add perf core PMU support for Intel Tremont CPU. The init code is based on Goldmont plus. The generic purpose counter 0 and fixed counter 0 have less skid. Force :ppp events on generic purpose counter 0. Force instruction:ppp always on fixed counter 0. Updates LLC cache event

Re: [RFC PATCH v2 11/14] x86/watchdog/hardlockup: Add an HPET-based hardlockup detector

2019-04-09 Thread Ricardo Neri
On Tue, Apr 09, 2019 at 01:03:40PM +0200, Peter Zijlstra wrote: > On Wed, Feb 27, 2019 at 08:05:15AM -0800, Ricardo Neri wrote: > > diff --git a/arch/x86/include/asm/hpet.h b/arch/x86/include/asm/hpet.h > > index 4d559e0c746f..15dc3b576496 100644 > > --- a/arch/x86/include/asm/hpet.h > > +++

[PATCH v2 net-next 02/22] net: dsa: Fix pharse -> phase typo

2019-04-09 Thread Vladimir Oltean
Signed-off-by: Vladimir Oltean Reviewed-by: Andrew Lunn --- Changes in v2: None net/dsa/switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dsa/switch.c b/net/dsa/switch.c index e1fae969aa73..fde4e9195709 100644 --- a/net/dsa/switch.c +++ b/net/dsa/switch.c @@

[PATCH 2/2] ARM: dts: imx6ul-pico: Add support for the nymph baseboard

2019-04-09 Thread Otavio Salvador
From: Fabio Estevam Add support for the imx6ul pico board with nymph baseboard combination. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6ul-pico-nymph.dts | 77 + 2 files

[PATCH 1/2] dt-bindings: arm: fsl: Add support for imx6ul-pico-nymph

2019-04-09 Thread Otavio Salvador
From: Fabio Estevam Add support for TechNexion's imx6ul-pico-nymph board. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml

Dear Friend 27/03/2019

2019-04-09 Thread Mrs Kath-leen Jacob
Dear Friend, I am Mrs. Kath-leen Jacob. an aging widow suffering from Cancer illness.I have some funds Which I have inherited from my late husband, the sum of (US$5.5 Million Dollars) And I needed a very honest and sincere Individual or co-operate organization that will use the fund for work

mmotm 2019-04-09-17-51 uploaded

2019-04-09 Thread akpm
The mm-of-the-moment snapshot 2019-04-09-17-51 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: rseq/x86: choosing rseq code signature

2019-04-09 Thread Zack Weinberg
On Tue, Apr 9, 2019 at 4:43 PM Mathieu Desnoyers wrote: > - On Apr 9, 2019, at 3:32 PM, Mathieu Desnoyers > mathieu.desnoy...@efficios.com wrote: > > > > We are about to include the code signature required prior to restartable > > sequences abort handlers into glibc, which will make this ABI

[PATCH] staging: rtl8192e: remove a blank line

2019-04-09 Thread Daniel Junho
Fix the checkpath error: CHECK: Blank lines aren't necessary after an open brace '{' Signed-off-by: Daniel Junho --- drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c

Re: kernel BUG at fs/inode.c:LINE!

2019-04-09 Thread Al Viro
On Tue, Apr 09, 2019 at 07:36:00AM -0700, syzbot wrote: > Bisection is inconclusive: the first bad commit could be any of: [snip the useless pile] > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=15e1fc2b20 > start commit: [unknown > git tree: linux-next > dashboard

Re: [PATCH v2 17/21] drivers: Remove explicit invocations of mmiowb()

2019-04-09 Thread Nicholas Piggin
Will Deacon's on April 9, 2019 11:46 pm: > Hi Nick, > > On Tue, Apr 09, 2019 at 07:00:52PM +1000, Nicholas Piggin wrote: >> Linus Torvalds's on April 6, 2019 1:50 am: >> > On Fri, Apr 5, 2019 at 4:01 AM Will Deacon wrote: >> >> >> >> mmiowb() is now implied by spin_unlock() on architectures that

Collaboration

2019-04-09 Thread djohnsto
Good day. I am D C Johnston, a broker working with Sikhombo Wealth Services. We are a wealth management company based in South Africa. I am contacting you because one of my high profile clients is interested in investing in your country and has asked me to look for individuals and companies

linux-next: manual merge of the printk tree with Linus' tree

2019-04-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the printk tree got a conflict in: include/trace/events/sunrpc.h between commit: 6f701383368d ("SUNRPC: Display symbolic flag names in RPC trace events") from Linus' tree and commit: d75f773c86a2 ("treewide: Switch printk users from %pf and %pF to

Re: [PATCH 1/1] Smack: Create smack_rule cache to optimize memory usage

2019-04-09 Thread Casey Schaufler
On 3/14/2019 2:06 AM, Vishal Goel wrote: This patch allows for small memory optimization by creating the kmem cache for "struct smack_rule" instead of using kzalloc. For adding new smack rule, kzalloc is used to allocate the memory for "struct smack_rule". kzalloc will always allocate 32 or 64

  1   2   3   4   5   6   >