[PATCH 3/3] KVM: arm/arm64: prefix header search paths with $(srctree)/

2019-01-24 Thread Masahiro Yamada
Currently, the Kbuild core manipulates header search paths in a crazy way [1]. To fix this mess, I want all Makefiles to add explicit $(srctree)/ to the search paths in the srctree. Some Makefiles are already written in that way, but not all. The goal of this work is to make the notation

patch "tools/firmware/ihex2fw: Simplify next record offset calculation" added to driver-core-next

2019-01-24 Thread gregkh
This is a note to let you know that I've just added the patch titled tools/firmware/ihex2fw: Simplify next record offset calculation to my driver-core git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git in the driver-core-next branch.

patch "ihex: Simplify next record offset calculation" added to driver-core-next

2019-01-24 Thread gregkh
This is a note to let you know that I've just added the patch titled ihex: Simplify next record offset calculation to my driver-core git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git in the driver-core-next branch. The patch will show

patch "tools/firmware/ihex2fw: Replace explicit alignment with ALIGN" added to driver-core-next

2019-01-24 Thread gregkh
This is a note to let you know that I've just added the patch titled tools/firmware/ihex2fw: Replace explicit alignment with ALIGN to my driver-core git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git in the driver-core-next branch. The

patch "ihex: Share code between ihex_validate_fw() and ihex_next_binrec()" added to driver-core-next

2019-01-24 Thread gregkh
This is a note to let you know that I've just added the patch titled ihex: Share code between ihex_validate_fw() and ihex_next_binrec() to my driver-core git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git in the driver-core-next branch.

[PATCH 0/3] KVM: arm/arm64: trivial header path sanitization

2019-01-24 Thread Masahiro Yamada
My main motivation is to get rid of crappy header search path manipulation from Kbuild core. Before that, I want to finish as many cleanup works as possible. If you are interested in the big picture of this work, the full patch set is available at:

patch "ihex: Check if zero-length record is at the end of the blob" added to driver-core-next

2019-01-24 Thread gregkh
This is a note to let you know that I've just added the patch titled ihex: Check if zero-length record is at the end of the blob to my driver-core git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git in the driver-core-next branch. The

[PATCH 1/3] KVM: arm/arm64: fix TRACE_INCLUDE_PATH

2019-01-24 Thread Masahiro Yamada
As the comment block in include/trace/define_trace.h says, TRACE_INCLUDE_PATH should be a relative path to the define_trace.h ../../virt/kvm/arm is the correct relative path. ../../../virt/kvm/arm is working by coincidence because the top Makefile adds -I$(srctree)/arch/$(SRCARCH)/include as a

[PATCH 2/3] KVM: arm/arm64: remove -I. header search paths

2019-01-24 Thread Masahiro Yamada
The header search path -I. in kernel Makefiles is very suspicious; it allows the compiler to search for headers in the top of $(srctree), where obviously no header file exists. I was able to build without these extra header search paths. Signed-off-by: Masahiro Yamada ---

Re: [PATCH] mm,memory_hotplug: Fix scan_movable_pages for gigantic hugepages

2019-01-24 Thread Oscar Salvador
On Wed, Jan 23, 2019 at 11:33:56AM +0100, David Hildenbrand wrote: > If you use {} for the else case, please also do so for the if case. Diff on top: diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 25aee4f04a72..d5810e522b72 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c

[PATCH] watchdog: dw: remove useless pr_fmt

2019-01-24 Thread Jisheng Zhang
When switch to watchdog infrastructure, pr_* usage is removed, so there's no any users of the pr_fmt, remove it. Signed-off-by: Jisheng Zhang --- drivers/watchdog/dw_wdt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c index

Re: [PATCH 1/2] Bluetooth: Annotate implicit fall through in l2cap_config_rsp

2019-01-24 Thread Marcel Holtmann
Hi Mathieu, > There is a plan to build the kernel with -Wimplicit-fallthrough and > this place in the code produced a warning (W=1). > > This commit removes the following warning: > > net/bluetooth/l2cap_core.c:4223:6: warning: this statement may fall through > [-Wimplicit-fallthrough=] > >

Re: [PATCH v3] arm64: dts: sdm845: add video nodes

2019-01-24 Thread Malathi Gottam
On 2019-01-25 13:16, Alexandre Courbot wrote: On Thu, Jan 17, 2019 at 8:58 PM Stanimir Varbanov wrote: Hi Malathi, On 12/20/18 9:47 AM, Malathi Gottam wrote: > This adds video nodes to sdm845 based on the examples > in the bindings. > > Signed-off-by: Malathi Gottam > --- >

Re: [PATCH 09/15] habanalabs: add sysfs and hwmon support

2019-01-24 Thread Mike Rapoport
On Wed, Jan 23, 2019 at 02:00:51AM +0200, Oded Gabbay wrote: > This patch add the sysfs and hwmon entries that are exposed by the driver. > > Goya has several sensors, from various categories such as temperature, > voltage, current, etc. The driver exposes those sensors in the standard > hwmon

Re: [PATCH RFC 07/24] userfaultfd: wp: add the writeprotect API to userfaultfd ioctl

2019-01-24 Thread Mike Rapoport
On Thu, Jan 24, 2019 at 05:28:48PM +0800, Peter Xu wrote: > On Thu, Jan 24, 2019 at 09:27:07AM +0200, Mike Rapoport wrote: > > On Thu, Jan 24, 2019 at 12:56:15PM +0800, Peter Xu wrote: > > > On Mon, Jan 21, 2019 at 12:42:33PM +0200, Mike Rapoport wrote: > > > > > > [...] > > > > > > > > @@

Re: [PATCH] Bluetooth: make hw_err static, reduces object code size

2019-01-24 Thread Marcel Holtmann
Hi Colin, > Don't populate the const array hw_err on the stack but instead make > it static. Makes the object code smaller by 45 bytes: > > Before: > text data bss dec hex filename > 100880 210901088 123058 1e0b2 linux/net/bluetooth/hci_core.o > > After:

DEAREST ONE

2019-01-24 Thread Miss Alizata Aron
-- My name is Miss Alizata Aron. It give me a great pleasure to write you,it attracts me to write to you so that we can be friends if you will have the desire as me. i will be very happy to be in communication with you so that we can get to know each other better and see what happens in future. I

RE: [v4] dt-bindings: ahci-fsl-qoriq: add lx2160a chip name to the list

2019-01-24 Thread Peng Ma
>-Original Message- >From: Sergei Shtylyov >Sent: 2019年1月25日 15:46 >To: Peng Ma ; shawn...@kernel.org; ax...@kernel.dk >Cc: robh...@kernel.org; mark.rutl...@arm.com; Leo Li >; linux-...@vger.kernel.org; devicet...@vger.kernel.org; >linux-kernel@vger.kernel.org;

[PATCH] watchdog: dw: use devm_watchdog_register_device()

2019-01-24 Thread Jisheng Zhang
Use devm_watchdog_register_device() to simplify the code. Signed-off-by: Jisheng Zhang --- drivers/watchdog/dw_wdt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c index 501aebb5b81f..c053c2de5c2f 100644 ---

Re: [PATCH v6 2/4] usb: assign ACPI companions for embedded USB devices

2019-01-24 Thread Marcel Holtmann
Hi Rajat, > USB devices permanently connected to USB ports may be described in ACPI > tables and share ACPI devices with ports they are connected to. See [1] > for details. > > This will allow us to describe sideband resources for devices, such as, > for example, hard reset line for BT USB

Re: [PATCH 07/15] habanalabs: add h/w queues module

2019-01-24 Thread Mike Rapoport
On Wed, Jan 23, 2019 at 02:00:49AM +0200, Oded Gabbay wrote: > This patch adds the H/W queues module and the code to initialize Goya's > various compute and DMA engines and their queues. > > Goya has 5 DMA channels, 8 TPC engines and a single MME engine. For each > channel/engine, there is a H/W

Re: pids.current with invalid value for hours [5.0.0 rc3 git]

2019-01-24 Thread Arkadiusz Miśkiewicz
On 24/01/2019 12:21, Arkadiusz Miśkiewicz wrote: > On 17/01/2019 14:17, Arkadiusz Miśkiewicz wrote: >> On 17/01/2019 13:25, Aleksa Sarai wrote: >>> On 2019-01-17, Arkadiusz Miśkiewicz wrote: Using kernel 4.19.13. For one cgroup I noticed weird behaviour: # cat

Re: [PATCH 08/15] habanalabs: add event queue and interrupts

2019-01-24 Thread Mike Rapoport
On Wed, Jan 23, 2019 at 02:00:50AM +0200, Oded Gabbay wrote: > This patch adds support for receiving events from Goya's control CPU and > for receiving MSI-X interrupts from Goya's DMA engines and CPU. > > Goya's PCI controller supports up to 8 MSI-X interrupts, which only 6 of > them are

Re: [PATCH v6 1/4] usb: split code locating ACPI companion into port and device

2019-01-24 Thread Marcel Holtmann
Hi Rajat, > In preparation for handling embedded USB devices let's split > usb_acpi_find_companion() into usb_acpi_find_companion_for_device() and > usb_acpi_find_companion_for_port(). > > Signed-off-by: Dmitry Torokhov > Signed-off-by: Rajat Jain > Acked-by: Greg Kroah-Hartman > Tested-by:

Re: [PATCH v6 3/4] Bluetooth: Allow driver specific cmd timeout handling

2019-01-24 Thread Marcel Holtmann
Hi Rajat, > Add a hook to allow the BT driver to do device or command specific > handling in case of timeouts. This is to be used by Intel driver to > reset the device after certain number of timeouts. > > Signed-off-by: Rajat Jain > --- > v6: Dropped the "sent command" parameter from

Re: [PATCH v6 4/4] Bluetooth: btusb: Use the cmd_timeout method to reset the Intel BT chip

2019-01-24 Thread Marcel Holtmann
Hi Rajat, > If the platform provides it, use the reset gpio to reset the Intel BT > chip, as part of cmd_timeout handling. This has been found helpful on > Intel bluetooth controllers where the firmware gets stuck and the only > way out is a hard reset pin provided by the platform. > >

Re: [PATCH 06/15] habanalabs: add basic Goya h/w initialization

2019-01-24 Thread Mike Rapoport
Hi, This starts the 6-9 review :) These were more difficult to review because small pieces of code are interleaved with large sequences of register writes. Probably making these register data rather than code can help. On Wed, Jan 23, 2019 at 02:00:48AM +0200, Oded Gabbay wrote: > This patch

Re: [v4] dt-bindings: ahci-fsl-qoriq: add lx2160a chip name to the list

2019-01-24 Thread Sergei Shtylyov
Hello! On 25.01.2019 6:32, Peng Ma wrote: Add lxx2160a compatible to bindings documentation. lx2160a? Signed-off-by: Peng Ma --- changed for V4: - add lx2160a compatible to bindings doc .../devicetree/bindings/ata/ahci-fsl-qoriq.txt |2 +- 1 files changed, 1

[PATCH] pinctrl: berlin: as370: use generic "pwm" as pwm function name

2019-01-24 Thread Jisheng Zhang
So that we could use the generic "pwm" for two or more pins, e.g pwm0_pmux: pwm0-pmux { groups = "PWM0", "PWM1"; function = "pwm"; }; Signed-off-by: Jisheng Zhang --- drivers/pinctrl/berlin/pinctrl-as370.c | 58 +- 1 file

Re: [PATCH 00/15] Habana Labs kernel driver

2019-01-24 Thread Daniel Vetter
On Fri, Jan 25, 2019 at 1:14 AM Olof Johansson wrote: > > On Thu, Jan 24, 2019 at 2:23 AM Dave Airlie wrote: > > > > > I know I won't be able to convince you but I want to say that I think > > > your arguments for full userspace open source are not really > > > technical. > > > > There is more

Re: [PATCH] Bluetooth: hci_ldisc: Fix for pty driver

2019-01-24 Thread Marcel Holtmann
Hi Myungho, > tty_set_termios() should be called with slave side of pty driver. So, If > tty driver is pty master, it needs to be switched to ->link. Also, > tiocmget() and tiocmset() operations are optional so we need NULL check > for some drivers missing the operations like pty. these are two

[PATCH] i3c: fix missing detach if failed to retrieve i3c dev

2019-01-24 Thread Jisheng Zhang
If we failed to retrieve the i3c dev, we should detach the i3c dev I.E i3c_master_detach_i3c_dev(). Signed-off-by: Jisheng Zhang --- drivers/i3c/master.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c index

Re: [PATCH 00/15] Habana Labs kernel driver

2019-01-24 Thread Greg Kroah-Hartman
On Thu, Jan 24, 2019 at 07:57:11AM +1000, Dave Airlie wrote: > On Wed, 23 Jan 2019 at 10:01, Oded Gabbay wrote: > > > > Hello, > > > > For those who don't know me, my name is Oded Gabbay (Kernel Maintainer > > for AMD's amdkfd driver, worked at RedHat's Desktop group) and I work at > > Habana

Re: kernel panic due to https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2830bf6f05fb3e05bc4743274b806c821807a684

2019-01-24 Thread Michal Hocko
On Fri 25-01-19 17:48:32, Linus Torvalds wrote: > [ Just adding a lot of other people to the cc ] > > Robert, could you add a dmesg of a successful boot to that bugzilla, > or just as an attachement in email to this group of people.. > > This looks to be with the Fedora kernel config. Two people

[PATCH] f2fs: fix typos in code comments

2019-01-24 Thread Geliang Tang
lengh -> length Signed-off-by: Geliang Tang --- include/linux/f2fs_fs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h index d7711048ef93..624b8a47d3c6 100644 --- a/include/linux/f2fs_fs.h +++ b/include/linux/f2fs_fs.h

[PATCH] KVM: x86: fix TRACE_INCLUDE_PATH and remove -I. header search paths

2019-01-24 Thread Masahiro Yamada
The header search path -I. in kernel Makefiles is very suspicious; it allows the compiler to search for headers in the top of $(srctree), where obviously no header file exists. The reason of having -I. here is to make the incorrectly set TRACE_INCLUDE_PATH working. As the comment block in

[PATCH] i3c: master: dw: fix deadlock

2019-01-24 Thread Jisheng Zhang
In dw_i3c_master_irq_handler(), we already have gotten >xferqueue.lock, if we try to get the same lock again in dw_i3c_master_dequeue_xfer(), deadlock happens. We fix this issue by introduing dw_i3c_master_dequeue_xfer_locked() which does all what dw_i3c_master_dequeue_xfer() does without trying

Re: [PATCH 1/2] mm: Create mem_cgroup_from_seq

2019-01-24 Thread Michal Hocko
On Thu 24-01-19 14:40:50, Chris Down wrote: > This is the start of a series of patches similar to my earlier > DEFINE_MEMCG_MAX_OR_VAL work, but with less Macro Magic(tm). > > There are a bunch of places we go from seq_file to mem_cgroup, which > currently requires manually getting the css, then

Re: [PATCH 2/2] mm: Extract memcg maxable seq_file logic to seq_show_memcg_tunable

2019-01-24 Thread Michal Hocko
On Thu 24-01-19 14:41:00, Chris Down wrote: > memcg has a significant number of files exposed to kernfs where their > value is either exposed directly or is "max" in the case of > PAGE_COUNTER_MAX. > > This patch makes this generic by providing a single function to do this > work. In combination

[PATCH] lightnvm: pblk: fix TRACE_INCLUDE_PATH

2019-01-24 Thread Masahiro Yamada
As the comment block in include/trace/define_trace.h says, TRACE_INCLUDE_PATH should be a relative path to the define_trace.h ../../drivers/lightnvm is the correct relative path. ../../../drivers/lightnvm is working by coincidence because the top Makefile adds

[PATCH] cpufreq: Use struct kobj_attribute instead of struct global_attr

2019-01-24 Thread Viresh Kumar
The cpufreq_global_kobject is created using kobject_create_and_add() helper, which assigns the kobj_type as dynamic_kobj_ktype and show/store routines are set to kobj_attr_show() and kobj_attr_store(). These routines pass struct kobj_attribute as an argument to the show/store callbacks. But all

Re: [RESEND PATCH v3 1/2] drivers: amba: Updates to component identification for driver matching.

2019-01-24 Thread Sai Prakash Ranjan
Hi Mike, Thanks for the patch. BTW somehow I can't find the latest series in my inbox, so commenting on this here. Mathieu pointed me to this patch series.This solves CPU debug module sharing same PID as ETM on MSM8996. I will be posting patch for CPU debug UCI table soon. But please find my

[PATCH] ia64: prefix header search path with $(srctree)/

2019-01-24 Thread Masahiro Yamada
Currently, the Kbuild core manipulates header search paths in a crazy way [1]. To fix this mess, I want all Makefiles to add explicit $(srctree)/ to the search paths in the srctree. Some Makefiles are already written in that way, but not all. The goal of this work is to make the notation

RE: [PATCH v8 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2019-01-24 Thread Ashish Kumar
> -Original Message- > From: linux-mtd On Behalf Of Yogesh > Narayan Gaur > Sent: Tuesday, January 15, 2019 5:30 PM > To: linux-...@lists.infradead.org; bbrezil...@kernel.org; > marek.va...@gmail.com; broo...@kernel.org; linux-...@vger.kernel.org; > devicet...@vger.kernel.org > Cc:

[PATCH] security: keys: add NULL checking for key->type->instantiate

2019-01-24 Thread Geliang Tang
key->type->instantiate can be NULL, add NULL checking to prevent NULL pointer dereference in __key_instantiate_and_link(). Signed-off-by: Geliang Tang --- security/keys/key.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/security/keys/key.c b/security/keys/key.c index

Re: [PATCH] staging: rtlwifi: replace ---help--- with help in Kconfig

2019-01-24 Thread Greg KH
On Thu, Jan 24, 2019 at 08:57:19PM +, Cezary Kierzyk wrote: > This patch fixes the checkpatch.pl warning: > > WARNING: prefer 'help' over '---help---' for new help texts > > Signed-off-by: Cezary Kierzyk > --- > drivers/staging/rtlwifi/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH 0/2] scsi: trivial header search path fixups

2019-01-24 Thread Masahiro Yamada
My main motivation is to get rid of crappy header search path manipulation from Kbuild core. Before that, I want to do as many treewide cleanups as possible. The full work of this is available at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git build-test Masahiro

[PATCH 2/2] scsi: prefix header search paths with $(srctree)/

2019-01-24 Thread Masahiro Yamada
Currently, the Kbuild core manipulates header search paths in a crazy way [1]. To fix this mess, I want all Makefiles to add explicit $(srctree)/ to the search paths in the srctree. Some Makefiles are already written in that way, but not all. The goal of this work is to make the notation

[PATCH 1/2] scsi: remove unneeded header search paths

2019-01-24 Thread Masahiro Yamada
I was able to build without these extra header search paths. Especially, the header search path -I. in kernel Makefiles is always suspicious; it allows the compiler to search for headers in the top of $(srctree), where obviously no header file exists. Signed-off-by: Masahiro Yamada ---

Re: [PATCH] ALSA: hda/tegra: enable clock during probe

2019-01-24 Thread Sameer Pujar
On 1/25/2019 12:38 AM, Takashi Iwai wrote: On Thu, 24 Jan 2019 18:36:43 +0100, Sameer Pujar wrote: If CONFIG_PM is disabled or runtime PM calls are forbidden, the clocks will not be ON. This could cause issue during probe, where hda init setup is done. This patch checks whether runtime PM is

Re: [RFC PATCH] cpufreq / cppc: Work around for Hisilicon CPPC cpufreq

2019-01-24 Thread George Cherian
Hi Wang, On Thu, Jan 24, 2019 at 12:27 PM Viresh Kumar wrote: > > +George/Prashanth. > > Guys please see if you have any objections to this patch. I am not > very familiar with this stuff and it would be good to get some > feedback from you guys. > > @Rafael: Do you have any comments on this ? >

Re: [PATCH v13 00/10] powerpc: Switch to CONFIG_THREAD_INFO_IN_TASK

2019-01-24 Thread Gabriel Paubert
On Thu, Jan 24, 2019 at 04:58:41PM +0100, Christophe Leroy wrote: > > > Le 24/01/2019 à 16:01, Christophe Leroy a écrit : > > > > > > Le 24/01/2019 à 10:43, Christophe Leroy a écrit : > > > > > > > > > On 01/24/2019 01:06 AM, Michael Ellerman wrote: > > > > Christophe Leroy writes: > > > >

[PATCHv3 9/9] cpufreq: scpi: Use auto-registration of thermal cooling device

2019-01-24 Thread Amit Kucheria
Use the CPUFREQ_AUTO_REGISTER_COOLING_DEV flag to allow cpufreq core to automatically register as a thermal cooling device. This allows removal of boiler plate code from the driver. Signed-off-by: Amit Kucheria Acked-by: Sudeep Holla --- drivers/cpufreq/scpi-cpufreq.c | 14 ++ 1

Re: [PATCH RFC 1/1] arm64: Use PSCI calls for CPU stop when hotplug is supported

2019-01-24 Thread Pramod Kumar
On Wed, Jan 23, 2019 at 11:03 PM Mark Rutland wrote: > > On Wed, Jan 23, 2019 at 09:05:26AM -0800, Scott Branden wrote: > > Hi Mark, > > > > Hopefully I can shed some light on the use case inline. > > > > On 2019-01-23 8:48 a.m., Mark Rutland wrote: > > > On Mon, Jan 21, 2019 at 11:30:02AM +0530,

[PATCHv3 3/9] cpufreq: qcom-hw: Register as a cpufreq cooling device

2019-01-24 Thread Amit Kucheria
Add the CPUFREQ_AUTO_REGISTER_COOLING_DEV flag to allow the cpufreq core to auto-register the driver as a cooling device. Signed-off-by: Amit Kucheria Reviewed-by: Matthias Kaehlcke Tested-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd --- drivers/cpufreq/qcom-cpufreq-hw.c | 3 ++- 1 file

[PATCHv3 4/9] cpufreq: imx6q: Use auto-registration of thermal cooling device

2019-01-24 Thread Amit Kucheria
Use the CPUFREQ_AUTO_REGISTER_COOLING_DEV flag to allow cpufreq core to automatically register as a thermal cooling device. This allows removal of boiler plate code from the driver. Signed-off-by: Amit Kucheria --- drivers/cpufreq/imx6q-cpufreq.c | 24 ++-- 1 file changed,

[PATCHv3 8/9] cpufreq: scmi: Use auto-registration of thermal cooling device

2019-01-24 Thread Amit Kucheria
Use the CPUFREQ_AUTO_REGISTER_COOLING_DEV flag to allow cpufreq core to automatically register as a thermal cooling device. This allows removal of boiler plate code from the driver. Signed-off-by: Amit Kucheria Acked-by: Sudeep Holla --- drivers/cpufreq/scmi-cpufreq.c | 14 ++ 1

[PATCHv3 7/9] cpufreq: qoriq: Use auto-registration of thermal cooling device

2019-01-24 Thread Amit Kucheria
Use the CPUFREQ_AUTO_REGISTER_COOLING_DEV flag to allow cpufreq core to automatically register as a thermal cooling device. This allows removal of boiler plate code from the driver. Signed-off-by: Amit Kucheria --- drivers/cpufreq/qoriq-cpufreq.c | 15 ++- 1 file changed, 2

[PATCHv3 5/9] cpufreq: cpufreq-dt: Use auto-registration of thermal cooling device

2019-01-24 Thread Amit Kucheria
Use the CPUFREQ_AUTO_REGISTER_COOLING_DEV flag to allow cpufreq core to automatically register as a thermal cooling device. This allows removal of boiler plate code from the driver. Signed-off-by: Amit Kucheria --- drivers/cpufreq/cpufreq-dt.c | 14 ++ 1 file changed, 2

[PATCHv3 1/9] thermal: cpu_cooling: Require thermal core to be compiled in

2019-01-24 Thread Amit Kucheria
The CPU cooling driver (cpu_cooling.c) allows the platform's cpufreq driver to register as a cooling device and cool down the platform by throttling the CPU frequency. In order to be able to auto-register a cpufreq driver as a cooling device from the cpufreq core, we need access to code inside

[PATCHv3 6/9] cpufreq: mediatek: Use auto-registration of thermal cooling device

2019-01-24 Thread Amit Kucheria
Use the CPUFREQ_AUTO_REGISTER_COOLING_DEV flag to allow cpufreq core to automatically register as a thermal cooling device. This allows removal of boiler plate code from the driver. Signed-off-by: Amit Kucheria --- drivers/cpufreq/mediatek-cpufreq.c | 14 ++ 1 file changed, 2

[PATCHv3 2/9] cpufreq: Auto-register the driver as a thermal cooling device if asked

2019-01-24 Thread Amit Kucheria
All cpufreq drivers do similar things to register as a cooling device. Provide a cpufreq driver flag so drivers can just ask the cpufreq core to register the cooling device on their behalf. This allows us to get rid of duplicated code in the drivers. In order to allow this, we add a struct

[PATCHv3 0/9] cpufreq: Add flag to auto-register as cooling device

2019-01-24 Thread Amit Kucheria
Add a flag for cpufreq drivers to tell cpufreq core to auto-register themselves as a thermal cooling device. There series converts over all the drivers except arm_big_little.c. Tested on SDM845 with the qcom-cpufreq-hw driver. Only compile-tested the others. Things needing fixing (but not a

INQUIRIES ORDER

2019-01-24 Thread Mr Giovanni
Dear Supplier, Please kindly confirm back in reply if am onto the right contact person in your company responsible for inquiries & orders. Please can you as well send your updated 2019 product catalog/price listing to our Import Department desk. Thanking You, Yours truly, Carrino

[PATCH 0/3] media: clean-up header search paths and add $(srctree)/ prefix

2019-01-24 Thread Masahiro Yamada
My main motivation is to get rid of crappy header search path manipulation from Kbuild core. Before that, I want to do as many treewide cleanups as possible. If you are interested in the big picture of this work, the full patch set is available at:

Re: [PATCH] security: mark expected switch fall-throughs

2019-01-24 Thread John Johansen
On 1/24/19 6:56 PM, 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 warnings: > > security/integrity/ima/ima_appraise.c:116:26: warning: this statement may > fall

[PATCH 3/3] media: prefix header search paths with $(srctree)/

2019-01-24 Thread Masahiro Yamada
Currently, the Kbuild core manipulates header search paths in a crazy way [1]. To fix this mess, I want all Makefiles to add explicit $(srctree)/ to the search paths in the srctree. Some Makefiles are already written in that way, but not all. The goal of this work is to make the notation

Re: [PATCH] drivers: iio: industrialio-core: add check when kzalloc fails

2019-01-24 Thread Alexandru Ardelean
On Thu, Jan 24, 2019 at 4:28 PM Bharath Vedartham wrote: > > add code to handle the case when kzalloc fails to allocate memory to dev > > Signed-off-by: Bharath Vedartham > --- > drivers/iio/industrialio-core.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

[PATCH 1/3] media: coda: remove -I$(src) header search path

2019-01-24 Thread Masahiro Yamada
Remove the header search path to the current directory. The compiler will search headers in the current directory by using #include "..." instead of #include <...> Also, change TRACE_INCLUDE_PATH to point to the location of trace.h. Signed-off-by: Masahiro Yamada ---

[PATCH 2/3] media: remove unneeded header search paths

2019-01-24 Thread Masahiro Yamada
I was able to build without these extra header search paths. Signed-off-by: Masahiro Yamada --- drivers/media/dvb-frontends/cxd2880/Makefile | 2 -- drivers/media/pci/bt8xx/Makefile | 1 - drivers/media/platform/sti/c8sectpfe/Makefile | 1 - drivers/media/radio/Makefile

Re: [PATCH net-next] bridge: remove duplicated include from br_multicast.c

2019-01-24 Thread David Miller
From: YueHaibing Date: Fri, 25 Jan 2019 10:59:09 +0800 > Remove duplicated include. > > Signed-off-by: YueHaibing Applied.

RE: [PATCH] arm64 memory accesses may cause undefined fault on Fujitsu-A64FX

2019-01-24 Thread Zhang, Lei
Hi, Mark, James > -Original Message- > From: linux-arm-kernel > [mailto:linux-arm-kernel-boun...@lists.infradead.org] On Behalf Of > Zhang, Lei > Sent: Wednesday, January 23, 2019 9:51 PM > To: 'Mark Rutland'; 'james.mo...@arm.com' > Cc: 'catalin.mari...@arm.com'; 'will.dea...@arm.com'; >

Re: [PATCH] net: dev_is_mac_header_xmit() true for ARPHRD_RAWIP

2019-01-24 Thread David Miller
From: Maciej Żenczykowski Date: Thu, 24 Jan 2019 03:07:02 -0800 > From: Maciej Żenczykowski > > __bpf_redirect() and act_mirred checks this boolean > to determine whether to prefix an ethernet header. > > Signed-off-by: Maciej Żenczykowski Applied.

Request for Quotation

2019-01-24 Thread Sasha Kelley
Nice day to you! My Names Sasha Kelley from Earthlink, Inc. Moscow Russia There is an available invitation to tender suitable for your  products and I would like to inquire if your company will be  interested to submit offer for your products in Moscow Russia. Please confirm interest by sending

Re: [PATCH] net: usb: asix: ax88772_bind return error when hw_reset fail

2019-01-24 Thread David Miller
From: Zhang Run Date: Thu, 24 Jan 2019 13:48:49 +0800 > The ax88772_bind() should return error code immediately when the PHY > was not reset properly through ax88772a_hw_reset(). > Otherwise, The asix_get_phyid() will block when get the PHY > Identifier from the PHYSID1 MII registers through

Re: [PATCH] tipc: remove dead code in struct tipc_topsrv

2019-01-24 Thread David Miller
From: Zhaolong Zhang Date: Thu, 24 Jan 2019 10:06:41 +0800 > max_rcvbuf_size is no longer used since commit "414574a0af36". > > Signed-off-by: Zhaolong Zhang Applied.

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-24 Thread Dan Williams
On Thu, Jan 24, 2019 at 10:13 PM Jane Chu wrote: > > Hi, Dave, > > While chatting with my colleague Erwin about the patchset, it occurred > that we're not clear about the error handling part. Specifically, > > 1. If an uncorrectable error is detected during a 'load' in the hot > plugged pmem

Re: [PATCH 3/9] drivers/firewire/core-iso.c: Convert to use vm_insert_range_buggy

2019-01-24 Thread Souptick Joarder
On Fri, Jan 11, 2019 at 8:34 PM Souptick Joarder wrote: > > Convert to use vm_insert_range_buggy to map range of kernel memory > to user vma. > > This driver has ignored vm_pgoff and mapped the entire pages. We > could later "fix" these drivers to behave according to the normal > vm_pgoff

Re: [PATCH 2/9] arch/arm/mm/dma-mapping.c: Convert to use vm_insert_range

2019-01-24 Thread Souptick Joarder
On Fri, Jan 11, 2019 at 8:33 PM Souptick Joarder wrote: > > Convert to use vm_insert_range() to map range of kernel > memory to user vma. > > Signed-off-by: Souptick Joarder Any comment on this patch ? > --- > arch/arm/mm/dma-mapping.c | 22 ++ > 1 file changed, 6

Re: [GIT PULL] Hyper-V hv_netvsc commits for 5.0

2019-01-24 Thread David Miller
From: Sasha Levin Date: Wed, 23 Jan 2019 13:30:29 -0500 > Three patches from Haiyang Zhang to fix settings hash key using ethtool, > and Adrian Vladu's first patch fixing a few spelling mistakes. Pulled, thanks.

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-24 Thread Jane Chu
Hi, Dave, While chatting with my colleague Erwin about the patchset, it occurred that we're not clear about the error handling part. Specifically, 1. If an uncorrectable error is detected during a 'load' in the hot plugged pmem region, how will the error be handled? will it be handled like

[PATCH] crypto: bcm: remove -I. header search path and unused macro define

2019-01-24 Thread Masahiro Yamada
The header search path -I. in kernel Makefiles is very suspicious; it allows the compiler to search for headers in the top of $(srctree), where obviously no header file exists. 'git grep BCMDRIVER' has no hit. So, this macro is not referenced. I was able to build this driver without the extra

Re: [PATCH] net: amd8111e: clean up two minor indentation issues

2019-01-24 Thread David Miller
From: Colin King Date: Tue, 22 Jan 2019 14:37:55 + > From: Colin Ian King > > Two statements are incorrecly indented, fix these by removing a space. > > Signed-off-by: Colin Ian King Applied.

[PATCH v4 2/5] usb: phy: Workaround for USB erratum-A005728

2019-01-24 Thread Yinbo Zhu
From: Suresh Gupta PHY_CLK_VALID bit for UTMI PHY in USBDR does not set even if PHY is providing valid clock. Workaround for this involves resetting of PHY and check PHY_CLK_VALID bit multiple times. If PHY_CLK_VALID bit is still not set even after 5 retries, it would be safe to deaclare that

[PATCH v4 4/5] usb: host: Stops USB controller init if PLL fails to lock

2019-01-24 Thread Yinbo Zhu
From: Ramneek Mehresh USB erratum-A006918 workaround tries to start internal PHY inside uboot (when PLL fails to lock). However, if the workaround also fails, then USB initialization is also stopped inside Linux. Erratum-A006918 workaround failure creates "fsl,erratum_a006918" node in

[PATCH v4 3/5] usb: linux/fsl_device: Add platform member has_fsl_erratum_a006918

2019-01-24 Thread Yinbo Zhu
From: Yinbo Zhu This patch is to add member has_fsl_erratum_a006918 in platform data Signed-off-by: Yinbo Zhu --- include/linux/fsl_devices.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index

[PATCH v4 5/5] usb :fsl: Change string format for errata property

2019-01-24 Thread Yinbo Zhu
From: Nikhil Badola Remove USB errata checking code from driver. Applicability of erratum is retrieved by reading corresponding property in device tree. This property is written during device tree fixup. Signed-off-by: Ramneek Mehresh Signed-off-by: Nikhil Badola Signed-off-by: Yinbo Zhu ---

[PATCH v4 1/5] usb: fsl: Set USB_EN bit to select ULPI phy

2019-01-24 Thread Yinbo Zhu
From: Nikhil Badola Set USB_EN bit to select ULPI phy for USB controller version 2.5 Signed-off-by: Nikhil Badola Signed-off-by: Yinbo Zhu --- Change in v4: Incorrect indentation of the continuation line drivers/usb/host/ehci-fsl.c |6 ++ 1 files changed, 6

Re: [PATCH] iio: adc: ti-ads7950: inconsistency with spi msg

2019-01-24 Thread Justin Chen
Hello Florian On Thu, Jan 24, 2019 at 8:30 PM Florian Fainelli wrote: > > > Hi Justin, > > On 1/24/19 5:56 PM, justinpo...@gmail.com wrote: > > From: Justin Chen > > > > To read a channel we require 3 cycles to send, process, and receive > > the data. The transfer buffer for the third

Re: [PATCH 07/10] venus: helpers: add three more helper functions

2019-01-24 Thread Alexandre Courbot
On Thu, Jan 24, 2019 at 5:54 PM Stanimir Varbanov wrote: > > Hi Alex, > > Thanks for the review! > > On 1/24/19 10:43 AM, Alexandre Courbot wrote: > > On Fri, Jan 18, 2019 at 1:21 AM Stanimir Varbanov > > wrote: > >> > >> This adds three more helper functions: > >> * for internal buffers

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

2019-01-24 Thread Alexandre Courbot
On Thu, Jan 24, 2019 at 9:34 PM Stanimir Varbanov wrote: > > Hi Alex, > > Thanks for the comments! > > On 1/24/19 10:44 AM, Alexandre Courbot wrote: > > On Fri, Jan 18, 2019 at 1:21 AM Stanimir Varbanov > > wrote: > >> > >> This refactored code for start/stop streaming vb2 operations and > > > >

Re: [PATCH 09/10] venus: vdec: allow bigger sizeimage set by clients

2019-01-24 Thread Alexandre Courbot
On Thu, Jan 24, 2019 at 7:05 PM Stanimir Varbanov wrote: > > Hi Alex, > > Thanks for the comments! > > On 1/24/19 10:43 AM, Alexandre Courbot wrote: > > On Fri, Jan 18, 2019 at 1:21 AM Stanimir Varbanov > > wrote: > >> > >> In most of the cases the client will know better what could be > >> the

Re: [PATCH 00/10] Venus stateful Codec API

2019-01-24 Thread Alexandre Courbot
On Thu, Jan 24, 2019 at 7:13 PM Stanimir Varbanov wrote: > > Hi Alex, > > Thank you for review and valuable comments! > > On 1/24/19 10:43 AM, Alexandre Courbot wrote: > > Hi Stanimir, > > > > On Fri, Jan 18, 2019 at 1:20 AM Stanimir Varbanov > > wrote: > >> > >> Hello, > >> > >> This aims to

Re: [PATCH 1/2] infiniband: remove unneeded header search paths

2019-01-24 Thread Bart Van Assche
On 1/24/19 8:39 PM, Masahiro Yamada wrote: The included headers are located in include/target/. I was able to build these drivers without the extra header search paths. Signed-off-by: Masahiro Yamada --- drivers/infiniband/ulp/isert/Makefile | 1 - drivers/infiniband/ulp/srpt/Makefile | 1

Re: Regression found (Stop-marking-clocks-as-CLK_IS_CRITICAL)

2019-01-24 Thread Mogens Jensen
‐‐‐ Original Message ‐‐‐ On Tuesday, January 22, 2019 7:27 PM, Pierre-Louis Bossart wrote: > On 1/20/19 11:55 PM, Mogens Jensen wrote: > > > The only minor annoyance I'm experiencing now, is a large amount of debug > > output from something in kernel log when audio is played on the

Re: [PATCH] of: Make of_node_name_eq() case insensitive

2019-01-24 Thread Florian Fainelli
On 1/24/19 6:06 PM, Frank Rowand wrote: > On 1/24/19 5:20 PM, Florian Fainelli wrote: >> >> >> On 1/24/19 3:45 PM, Frank Rowand wrote: >>> On 1/24/19 12:08 PM, Florian Fainelli wrote: Since c32569e358ad ("regulator: Use of_node_name_eq for node name comparisons") Vivien reported the

Re: [PATCH 7/9] videobuf2/videobuf2-dma-sg.c: Convert to use vm_insert_range_buggy

2019-01-24 Thread Souptick Joarder
Hi Marek, On Tue, Jan 22, 2019 at 8:37 PM Marek Szyprowski wrote: > > Hi Souptick, > > On 2019-01-11 16:11, Souptick Joarder wrote: > > Convert to use vm_insert_range_buggy to map range of kernel memory > > to user vma. > > > > This driver has ignored vm_pgoff. We could later "fix" these drivers

Re: kernel panic due to https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2830bf6f05fb3e05bc4743274b806c821807a684

2019-01-24 Thread Linus Torvalds
[ Just adding a lot of other people to the cc ] Robert, could you add a dmesg of a successful boot to that bugzilla, or just as an attachement in email to this group of people.. This looks to be with the Fedora kernel config. Two people reporting it, it looks like similar machines. I assume

test

2019-01-24 Thread SHANNAN Syrjala
test

[PATCH 2/2] infiniband: prefix header search paths with $(srctree)/

2019-01-24 Thread Masahiro Yamada
Currently, the Kbuild core manipulates header search paths in a crazy way [1]. To fix this mess, I want all Makefiles to add explicit $(srctree)/ to the search paths in the srctree. Some Makefiles are already written in that way, but not all. The goal of this work is to make the notation

  1   2   3   4   5   6   7   8   9   10   >