Re: [PATCH v2 06/16] arm64: dts: mt7622: add cpufreq related device nodes

2018-02-07 Thread Sean Wang
On Wed, 2018-02-07 at 11:48 +0530, Viresh Kumar wrote: > On 07-02-18, 14:16, Sean Wang wrote: > > On Wed, 2018-02-07 at 09:03 +0530, Viresh Kumar wrote: > > > On 06-02-18, 17:52, sean.w...@mediatek.com wrote: > > > > cpus { > > > > #address-cells = <2>; > > > >

Re: [RESEND RFC PATCH V3] sched: Improve scalability of select_idle_sibling using SMT balance

2018-02-07 Thread Peter Zijlstra
On Tue, Feb 06, 2018 at 04:30:03PM -0800, Subhra Mazumdar wrote: > I meant the SMT balance patch. That does comparison with only one other > random core and takes the decision in O(1). Any potential scan of all cores > or cpus is O(n) and doesn't scale and will only get worse in future. That > app

Re: WARNING: proc registration bug in clusterip_tg_check

2018-02-07 Thread Paolo Abeni
On Tue, 2018-02-06 at 22:42 -0800, Cong Wang wrote: > On Tue, Feb 6, 2018 at 6:27 AM, syzbot > wrote: > > Hello, > > > > syzbot hit the following crash on net-next commit > > 617aebe6a97efa539cc4b8a52adccd89596e6be0 (Sun Feb 4 00:25:42 2018 +) > > Merge tag 'usercopy-v4.16-rc1' of > > git://g

Re: [PATCH v5 4/4] irqchip/gic-v3-its: add ability to resend MAPC on resume

2018-02-07 Thread Marc Zyngier
On 07/02/18 01:41, Derek Basehore wrote: > This adds functionality to resend the MAPC command to an ITS node on > resume. If the ITS is powered down during suspend and the collections > are not backed by memory, the ITS will lose that state. This just sets > up the known state for the collections a

Re: [PATCH v3 01/11] regulator: core: add API to get voltage constraints

2018-02-07 Thread Peter De Schrijver
On Tue, Feb 06, 2018 at 04:35:44PM +, Mark Brown wrote: > * PGP Signed by an unknown key > > On Tue, Feb 06, 2018 at 06:34:02PM +0200, Peter De Schrijver wrote: > > From: Laxman Dewangan > > > > Add API to get min/max rail voltage configured from platform for > > given rails. > > because...

Re: [PATCH v2 1/6] pinctrl: sunxi: support pin controllers with holes among IRQ banks

2018-02-07 Thread Maxime Ripard
Hi, On Sat, Feb 03, 2018 at 11:49:37PM +0800, Icenowy Zheng wrote: > diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.h > b/drivers/pinctrl/sunxi/pinctrl-sunxi.h > index 11b128f54ed2..fae732c8c548 100644 > --- a/drivers/pinctrl/sunxi/pinctrl-sunxi.h > +++ b/drivers/pinctrl/sunxi/pinctrl-sunxi.h >

Re: [PATCH] bluetooth: btmrvl_main: Replace GFP_ATOMIC with GFP_KERNEL in btmrvl_send_sync_cmd

2018-02-07 Thread Marcel Holtmann
Hi Jia-Ju, > After checking all possible call chains to btmrvl_send_sync_cmd(), > my tool finds that this function is never called in atomic context, > namely never in an interrupt handler or holding a spinlock. > And it calls wait_event_interruptible_timeout() after bt_skb_alloc(), > so it in

Re: [PATCH] bluetooth: hci_ath: Replace mdelay with msleep in ath_wakeup_ar3k

2018-02-07 Thread Marcel Holtmann
Hi Jia-Ju, > ath_wakeup_ar3k() is never called from atomic context. > > It is only called by ath_hci_uart_work() that is only called in > ath_open() via INIT_WORK(). > All of the above functions do not enter atomic context along the way. > > Despite never getting called from atomic context, ath

Re: [PATCH] bluetooth: hci_ll: Replace mdelay with msleep in download_firmware

2018-02-07 Thread Marcel Holtmann
Hi Jia-Ju, > download_firmware() is never called from atomic context. > > It is only called by ll_setup() that is called only via function pointer > "->setup" used in hci_uart_setup() in drivers/bluetooth/hci_serdev.c and > drivers/bluetooth/hci_ldisc.c. hci_uart_setup() is called only > via fu

Re: [PATCH v2 0/5] lite fixes for ath3k

2018-02-07 Thread Marcel Holtmann
Hi Maxim, > Sorry for the last series of patches > > Maxim Zhukov (5): > drivers: bluetooth: ath3k: replace hardcode numbers with define > drivers: bluetooth: ath3k: do not init variables > drivers: bluetooth: ath3k: remove blank line after if > drivers: bluetooth: ath3k: Fix warning: quoted

Re: [PATCH v5 1/4] cpu_pm: add syscore_suspend error handling

2018-02-07 Thread Marc Zyngier
On 07/02/18 01:41, Derek Basehore wrote: > If cpu_cluster_pm_enter() fails, cpu_pm_exit() should be called. This > will put the CPU in the correct state to resume from the failure. > > Signed-off-by: Derek Basehore > --- > kernel/cpu_pm.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --gi

Re: [PATCH] spi: kconfig: Remove AVR32 dep. from SPI_ATMEL

2018-02-07 Thread Matthias Brugger
On 02/06/2018 11:55 PM, Ulf Magnusson wrote: > The AVR32 symbol was removed in commit 26202873bb51 ("avr32: remove > support for AVR32 architecture"). > > Signed-off-by: Ulf Magnusson > --- Reviewed-by: Matthias Brugger > drivers/spi/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 delet

Re: [PATCH] spi: kconfig: Remove AVR32 dep. from SPI_ATMEL

2018-02-07 Thread Matthias Brugger
On 02/07/2018 09:58 AM, Matthias Brugger wrote: > > > On 02/06/2018 11:55 PM, Ulf Magnusson wrote: >> The AVR32 symbol was removed in commit 26202873bb51 ("avr32: remove >> support for AVR32 architecture"). >> >> Signed-off-by: Ulf Magnusson >> --- > > Reviewed-by: Matthias Brugger > Sigh,

Re: [PATCH v2 4/6] clk: sunxi-ng: add support for the Allwinner H6 CCU

2018-02-07 Thread Maxime Ripard
Hi, On Sat, Feb 03, 2018 at 11:49:40PM +0800, Icenowy Zheng wrote: > + /* Force the output divider of video PLLs to 0 */ > + for (i = 0; i < ARRAY_SIZE(pll_video_regs); i++) { > + val = readl(reg + pll_video_regs[i]); > + val &= ~BIT(0); > + writel(val,

Re: [PATCH 4/8] thermal/drivers/Kconfig: Convert the CPU cooling device to a choice

2018-02-07 Thread Viresh Kumar
On 23-01-18, 16:34, Daniel Lezcano wrote: > The next changes will add new way to cool down a CPU. In order to > sanitize and make the overall cpu cooling code consistent and robust > we must prevent the cpu cooling devices to co-exists with the same > purpose at the same time in the kernel. > > Ma

FROM Mr USMAN ABU

2018-02-07 Thread usman abu
FROM Mr USMAN ABU BILLS AND EXCHANGE MANAGER, In BANK OF AFRICA (B.O.A) Ouagadougou Burkina Faso, IN WEST AFRCA Please i want you to read this later very carefully and please do not joke with this message. I am Mr USMAN AU, the bill and exchange manager in the boa bank of Africa Ouagadougou Bur

Re: possible deadlock in rtnl_lock (3)

2018-02-07 Thread Paolo Abeni
On Tue, 2018-02-06 at 19:00 +0100, Dmitry Vyukov wrote: > On Tue, Feb 6, 2018 at 6:58 PM, syzbot > wrote: > > Hello, > > > > syzbot hit the following crash on net-next commit > > 617aebe6a97efa539cc4b8a52adccd89596e6be0 (Sun Feb 4 00:25:42 2018 +) > > Merge tag 'usercopy-v4.16-rc1' of > > git

Re: [PATCH v8 0/7] TDA1997x HDMI video reciver

2018-02-07 Thread Hans Verkuil
On 02/07/18 09:22, Hans Verkuil wrote: > On 02/07/2018 12:29 AM, Tim Harvey wrote: >> Media Controller ioctls: >> fail: v4l2-test-media.cpp(141): ent.function == >> MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN > > Weird, this shouldn't happen. I'll look into this a bit more. Can you run 'mc_ne

Re: [PATCH] pps-gpio: implement echo pulses

2018-02-07 Thread Rodolfo Giometti
On 06/02/18 16:58, Lukas Senger wrote: pps-gpio reports as having echo capability via sysfs, which is not actually the case. This patch implements it. The output pin is hardcoded as 17. This should probably be configurable via the dtoverlay in the same way as the input pin. No hardcoded stuff

Re: [PATCH BUGFIX 1/1] block, bfq: add requeue-request hook

2018-02-07 Thread Paolo Valente
> Il giorno 06 feb 2018, alle ore 19:35, Oleksandr Natalenko > ha scritto: > > Hi. > > 06.02.2018 15:50, Paolo Valente wrote: >> Could you please do a >> gdb /block/bfq-iosched.o # or vmlinux.o if bfq is builtin >> list *(bfq_finish_requeue_request+0x54) >> list *(bfq_put_queue+0x10b) >> for

[RESEND PATCH v2 1/9] ASoC: uniphier: add DT bindings documentation for UniPhier AIO

2018-02-07 Thread Katsuhiro Suzuki
This patch adds DT binding documentation for UniPhier AIO audio subsystem. Acked-by: Rob Herring Signed-off-by: Katsuhiro Suzuki --- .../devicetree/bindings/sound/uniphier,aio.txt | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bind

[RESEND PATCH v2 7/9] arm64: dts: uniphier: add sound node for UniPhier

2018-02-07 Thread Katsuhiro Suzuki
This patch adds audio controller, codec and simple card node of UniPhier AIO sound system for LD11/20 SoCs. Signed-off-by: Katsuhiro Suzuki --- .../boot/dts/socionext/uniphier-ld11-global.dts| 72 ++ arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 31 ++ .../

[RESEND PATCH v2 9/9] arm64: dts: uniphier: add compress audio out for UniPhier LD11/LD20

2018-02-07 Thread Katsuhiro Suzuki
This patch adds compress audio node for S/PDIF on UniPhier LD11/20 global boards. And adds settings of AIO for it. Signed-off-by: Katsuhiro Suzuki --- .../boot/dts/socionext/uniphier-ld11-global.dts| 30 +- .../boot/dts/socionext/uniphier-ld20-global.dts| 30 +

Re: [PATCH v2 4/6] clk: sunxi-ng: add support for the Allwinner H6 CCU

2018-02-07 Thread Icenowy Zheng
于 2018年2月7日 GMT+08:00 下午5:02:10, Maxime Ripard 写到: >Hi, > >On Sat, Feb 03, 2018 at 11:49:40PM +0800, Icenowy Zheng wrote: >> +/* Force the output divider of video PLLs to 0 */ >> +for (i = 0; i < ARRAY_SIZE(pll_video_regs); i++) { >> +val = readl(reg + pll_video_regs[i]); >>

[RESEND PATCH v2 8/9] arm64: dts: uniphier: add speaker out for UniPhier LD11/LD20 boards

2018-02-07 Thread Katsuhiro Suzuki
This patch adds codec node for TI TAS571x on UniPhier LD11/20 global boards. And adds settings of AIO for speaker out. Signed-off-by: Katsuhiro Suzuki --- .../boot/dts/socionext/uniphier-ld11-global.dts | 20 .../boot/dts/socionext/uniphier-ld20-global.dts | 20 +++

Re: [PATCH v2 15/15] ARM: dts: dra7: Add high speed modes capability to MMC1/MMC2 dt node

2018-02-07 Thread Sekhar Nori
Kishon, On Tuesday 06 February 2018 06:28 PM, Kishon Vijay Abraham I wrote: > Add UHS/HS200/DDR speed mode capability to MMC1 and MMC2 dt nodes. > > Signed-off-by: Kishon Vijay Abraham I Along with this, dont we need to have /delete-property/ mmc-hs200-1_8v; for eMMC on Beagle x15 whi

[PATCH] platform/mellanox: mlxreg-hotplug: Fix uninitialized variable

2018-02-07 Thread Geert Uytterhoeven
With gcc-4.1.2: drivers/platform/mellanox/mlxreg-hotplug.c: In function ‘mlxreg_hotplug_health_work_helper’: drivers/platform/mellanox/mlxreg-hotplug.c:347: warning: ‘ret’ is used uninitialized in this function Indeed, if mlxreg_core_item.count is zero, ret is used uninitialized. While

Re: [PATCH 5/8] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-02-07 Thread Viresh Kumar
On 23-01-18, 16:34, Daniel Lezcano wrote: > diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c > +/** > + * cpuidle_cooling_ops - thermal cooling device ops > + */ > +static struct thermal_cooling_device_ops cpuidle_cooling_ops = { > + .get_max_state = cpuidle_cooling_g

[RESEND PATCH v2 5/9] ASoC: uniphier: add support for UniPhier AIO compress audio

2018-02-07 Thread Katsuhiro Suzuki
This patch adds support of UniPhier AIO compress audio. For passing through compress audio to S/PDIF. Signed-off-by: Katsuhiro Suzuki --- sound/soc/uniphier/Kconfig| 1 + sound/soc/uniphier/Makefile | 2 +- sound/soc/uniphier/aio-compress.c | 440 +++

[RESEND PATCH v2 6/9] ASoC: uniphier: add support for UniPhier LD11/LD20 AIO driver

2018-02-07 Thread Katsuhiro Suzuki
This patch adds support for UniPhier AIO sound driver which is included in UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki --- Changes in v2: - Change license comment style to C++ from C - Expose clocking to userspace - Add settings for compress audio --- sound/soc/uniphier/Kcon

[PATCH v2] pwm: mediatek: fix up PWM4 and PWM5 malfunction on MT7623

2018-02-07 Thread sean.wang
From: Sean Wang Since the offset for both registers, PWMDWIDTH and PWMTHRES, used to control PWM4 or PWM5 are distinct from the other PWMs, whose wrong programming on PWM hardware causes waveform cannot be output as expected. Thus, the patch adds the extra condition for fixing up the weird case t

[RESEND PATCH v2 0/9] add UniPhier audio system support

2018-02-07 Thread Katsuhiro Suzuki
Hello Mark, This is the resend of patchset passed 3 weeks. https://lkml.org/lkml/2018/1/19/122 This series adds support for Socionext audio system for UniPhier LD11/LD20 SoCs. This driver supports I2S output for Line-In, Line-Out and S/PDIF output. UniPhier AIO DAI driver provides sound devices

[RESEND PATCH v2 2/9] ASoC: uniphier: add support for UniPhier AIO common driver

2018-02-07 Thread Katsuhiro Suzuki
This patch adds common functions for UniPhier AIO audio sound system. This provides commonly used APIs for input/output control registers for UniPhier AIO. This module provides all sound devices for I2S, S/PDIF and so on. Since the AIO has mixed register map for those I/Os, it is hard to split reg

[RESEND PATCH v2 4/9] ASoC: uniphier: add support for UniPhier AIO CPU DAI driver

2018-02-07 Thread Katsuhiro Suzuki
This patch adds CPU DAI driver for UniPhier AIO audio sound system. This module provides PCM devices for all input/output port of AIO such as I2S, S/PDIF. Signed-off-by: Katsuhiro Suzuki --- Changes in v2: - Change license comment style to C++ from C - Add error checks - Fix typo in erro

[RESEND PATCH v2 3/9] ASoC: uniphier: add support for UniPhier AIO DMA driver

2018-02-07 Thread Katsuhiro Suzuki
This patch adds supports for UniPhier AIO DMA. This module shared register area with all sound devices for I2S, S/PDIF and so on. Since the AIO has mixed register map for those I/Os, it is hard to split register areas for each sound devices. Signed-off-by: Katsuhiro Suzuki --- Changes in v2:

Re: [PATCH net] ptr_ring: fail early if queue occupies more than KMALLOC_MAX_SIZE

2018-02-07 Thread Jason Wang
On 2018年02月07日 16:08, Jason Wang wrote: To avoid slab to warn about exceeded size, fail early if queue occupies more than KMALLOC_MAX_SIZE. Reported-by: syzbot+e4d4f9ddd42955397...@syzkaller.appspotmail.com Signed-off-by: Jason Wang --- include/linux/ptr_ring.h | 2 ++ 1 file changed, 2 in

Re: [PATCH v5 2/4] irqchip/gic-v3-its: add ability to save/restore ITS state

2018-02-07 Thread Marc Zyngier
On 07/02/18 01:41, Derek Basehore wrote: > Some platforms power off GIC logic in suspend, so we need to > save/restore state. The distributor and redistributor registers need > to be handled in platform code due to access permissions on those > registers, but the ITS registers can be restored in th

Re: [PATCH v4 3/3] sched/cpufreq_schedutil: use util_est for OPP selection

2018-02-07 Thread Rafael J. Wysocki
On Tue, Feb 6, 2018 at 3:41 PM, Patrick Bellasi wrote: > When schedutil looks at the CPU utilization, the current PELT value for > that CPU is returned straight away. In certain scenarios this can have > undesired side effects and delays on frequency selection. > > For example, since the task util

Re: [RFC PATCH v4 1/2] fuse: introduce new fs_type flag FS_IMA_NO_CACHE

2018-02-07 Thread Miklos Szeredi
On Tue, Jan 30, 2018 at 7:06 PM, Dongsu Park wrote: > From: Alban Crequy > > This new fs_type flag FS_IMA_NO_CACHE means files should be re-measured, > re-appraised and re-audited each time. Cached integrity results should > not be used. > > It is useful in FUSE because the userspace FUSE process

Re: [PATCH] x86: PM: Make APM idle driver initialize polling state

2018-02-07 Thread Rafael J. Wysocki
On Tuesday, February 6, 2018 7:26:17 PM CET Ville Syrjälä wrote: > On Tue, Feb 06, 2018 at 07:02:58PM +0100, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Update the APM driver overlooked by commit 1b39e3f813b4 (cpuidle: Make > > drivers initialize polling state) to initialize the

Re: [PATCH v2 15/15] ARM: dts: dra7: Add high speed modes capability to MMC1/MMC2 dt node

2018-02-07 Thread Kishon Vijay Abraham I
Hi, On Wednesday 07 February 2018 02:41 PM, Sekhar Nori wrote: > Kishon, > > On Tuesday 06 February 2018 06:28 PM, Kishon Vijay Abraham I wrote: >> Add UHS/HS200/DDR speed mode capability to MMC1 and MMC2 dt nodes. >> >> Signed-off-by: Kishon Vijay Abraham I > > Along with this, dont we need to

Re: [PATCH v5 3/4] DT/arm,gic-v3-its: add reset-on-suspend property

2018-02-07 Thread Marc Zyngier
On 07/02/18 01:41, Derek Basehore wrote: > This adds documentation for the new reset-on-suspend property. This > property enables saving and restoring the ITS for when it loses state > in system suspend. > > Signed-off-by: Derek Basehore > --- > Documentation/devicetree/bindings/interrupt-contro

Re: [PATCH BUGFIX 1/1] block, bfq: add requeue-request hook

2018-02-07 Thread Mike Galbraith
On Wed, 2018-02-07 at 10:08 +0100, Paolo Valente wrote: > > The first piece of information I need is whether this failure happens > even without "BFQ hierarchical scheduling support". I presume you mean BFQ_GROUP_IOSCHED, which I do not have enabled. -Mike 

Re: [PATCH 4.14 023/159] mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y

2018-02-07 Thread Dou Liyang
Hi All, I met the makedumpfile failed in the upstream kernel which contained this patch. Did I missed something else? In fedora27 host: [douly@localhost code]$ ./makedumpfile -d 31 --message-level 31 -x vmlinux_4.15+ vmcore_4.15+_from_cp_command vmcore_4.15+ sadump: does not have partition hea

[PATCH] proc: get rid of task lock/unlock pair to read umask for the "status" file

2018-02-07 Thread Mateusz Guzik
get_task_umask locks/unlocks the task on its own. The only caller does the same thing immediately after. Utilize the fact the task has to be locked anyway and just do it once. Since there are no other users and the code is short, fold it in. Signed-off-by: Mateusz Guzik --- fs/proc/array.c | 23

Re: [PATCH v2 15/15] ARM: dts: dra7: Add high speed modes capability to MMC1/MMC2 dt node

2018-02-07 Thread Sekhar Nori
On Wednesday 07 February 2018 02:51 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 07 February 2018 02:41 PM, Sekhar Nori wrote: >> Kishon, >> >> On Tuesday 06 February 2018 06:28 PM, Kishon Vijay Abraham I wrote: >>> Add UHS/HS200/DDR speed mode capability to MMC1 and MMC2 dt nodes. >>>

Re: [PATCH 00/20] Remove references to undefined symbols and fix two potential bugs

2018-02-07 Thread Robert Jarzmik
Ulf Magnusson writes: > The symbol AC97_BUS_NEW in sound/ac97/Kconfig selects the globally > undefined symbol AC97. > > It doesn't seem to simply be a misspelling of AC97_BUS, because then > the dependencies of AC97_BUS_COMPAT would be impossible to satisfy. You're correct. I don't know what hap

[PATCH 1/2] zsmalloc: introduce zs_huge_object() function

2018-02-07 Thread Sergey Senozhatsky
Not every object can be share its zspage with other objects, e.g. when the object is as big as zspage or nearly as big a zspage. For such objects zsmalloc has a so called huge class - every object which belongs to huge class consumes the entire zspage (which consists of a physical page). On x86_64,

[PATCH 0/2] zsmalloc/zram: drop zram's max_zpage_size

2018-02-07 Thread Sergey Senozhatsky
Hello, ZRAM's max_zpage_size is a bad thing. It forces zsmalloc to store normal objects as huge ones, which results in bigger zsmalloc memory usage. Drop it and use actual zsmalloc huge-class value when decide if the object is huge or not. Sergey Senozhatsky (2): zsmalloc: introduce zs_

[PATCH 2/2] zram: drop max_zpage_size and use zs_huge_object()

2018-02-07 Thread Sergey Senozhatsky
This patch removes ZRAM's enforced "huge object" value and uses zsmalloc huge-class watermark instead, which makes more sense. TEST - I used a 1G zram device, LZO compression back-endi, original data set size was 444MB. Looking at zsmalloc classes stats the test ended up to be pretty fair. BA

Re: [RFC, PATCH v1] platform/x86: intel-vbtn: Convert to pure ACPI driver

2018-02-07 Thread Rafael J. Wysocki
On Tuesday, February 6, 2018 11:37:54 PM CET Andy Shevchenko wrote: > Yeah, that's fixed in the branch. > > P.S. Apologies for top-posting, wrote from phone in order to not waste time > > On Tuesday, February 6, 2018, wrote: > > > > -Original Message- > > > From: platform-driver-x86-ow.

Re: [PATCH] Revert "base: arch_topology: fix section mismatch build warnings"

2018-02-07 Thread Dietmar Eggemann
Hi Inami-san, On 02/07/2018 09:32 AM, Gaku Inami wrote: This reverts commit 452562abb5b7 ("base: arch_topology: fix section mismatch build warnings"). It causes the notifier call hangs in some use-cases. In some cases with using maxcpus, some of cpus are booted first and then the remaining cpus

Re: UDF driver is not able to read UDF filesystem without Terminating Descriptor

2018-02-07 Thread Pali Rohár
On Thursday 25 January 2018 17:38:38 Jan Kara wrote: > Hi! > > [added linux-fsde...@vger.kernel.org to CC since that's more appropriate > than LKML] > > On Sun 21-01-18 13:08:56, Pali Rohár wrote: > > Hi! In attachment you can find two minimalistic UDF filesystem images. > > Strictly speaking the

RE: [PATCH] platform/mellanox: mlxreg-hotplug: Fix uninitialized variable

2018-02-07 Thread Vadim Pasternak
> -Original Message- > From: Geert Uytterhoeven [mailto:ge...@linux-m68k.org] > Sent: Wednesday, February 07, 2018 11:12 AM > To: Andy Shevchenko ; Darren Hart > ; Vadim Pasternak > Cc: Arnd Bergmann ; platform-driver-...@vger.kernel.org; > linux-kernel@vger.kernel.org; Geert Uytterhoeve

Re: dell-smbios makes wireless card unusable on Dell XPS 13 9360

2018-02-07 Thread Paul Menzel
Dear Mario, On 02/06/18 20:51, mario.limoncie...@dell.com wrote: -Original Message- From: platform-driver-x86-ow...@vger.kernel.org [mailto:platform-driver-x86- ow...@vger.kernel.org] On Behalf Of Paul Menzel Sent: Tuesday, February 6, 2018 10:08 AM To: Limonciello, Mario Cc: Pali Rohá

Re: [PATCH] irqchip: mips-gic: Avoid spuriously handling masked interrupts

2018-02-07 Thread Marc Zyngier
On 05/02/18 16:45, Matt Redfearn wrote: > Commit 7778c4b27cbe ("irqchip: mips-gic: Use pcpu_masks to avoid reading > GIC_SH_MASK*") removed the read of the hardware mask register when > handling shared interrupts, instead using the driver's shadow pcpu_masks > entry as the effective mask. Unfortuna

Re: [RFC, PATCH v1] platform/x86: intel-vbtn: Convert to pure ACPI driver

2018-02-07 Thread Rafael J. Wysocki
On Wednesday, January 31, 2018 10:37:26 PM CET Darren Hart wrote: > On Wed, Jan 31, 2018 at 08:26:14PM +0200, Andy Shevchenko wrote: > > Remove code duplication by converting driver to pure ACPI one. > > +Rafael > > I don't see any reason *not* to do this, it seems the acpi driver model > provid

Re: [RFC, PATCH v1] platform/x86: intel-vbtn: Convert to pure ACPI driver

2018-02-07 Thread Rafael J. Wysocki
On Wednesday, February 7, 2018 10:31:01 AM CET Rafael J. Wysocki wrote: > On Tuesday, February 6, 2018 11:37:54 PM CET Andy Shevchenko wrote: > > Yeah, that's fixed in the branch. > > > > P.S. Apologies for top-posting, wrote from phone in order to not waste time > > > > On Tuesday, February 6, 2

Re: [PATCH v3 1/2] drm/virtio: Add window server support

2018-02-07 Thread Tomeu Vizoso
On 02/06/2018 03:23 PM, Gerd Hoffmann wrote: Hi, Hmm? I'm assuming the wayland client (in the guest) talks to the wayland proxy, using the wayland protocol, like it would talk to a wayland display server. Buffers must be passed from client to server/proxy somehow, probably using fd passing

[PATCH] perf annotate: Add missing arguments in Man page

2018-02-07 Thread Jaecheol Shin
From: jcgod413 Some options must require an argument. But input, stdio-color, cpu have no them. So I added it. Cc: Jiri Olsa Cc: Namhyung Kim Cc: Taeung Song Signed-off-by: Jaecheol Shin --- tools/perf/Documentation/perf-annotate.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(

Re: [PATCH v2] pwm: mediatek: fix up PWM4 and PWM5 malfunction on MT7623

2018-02-07 Thread Matthias Brugger
On 02/07/2018 10:14 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > Since the offset for both registers, PWMDWIDTH and PWMTHRES, used to > control PWM4 or PWM5 are distinct from the other PWMs, whose wrong > programming on PWM hardware causes waveform cannot be output as expected. > Thu

Re: [RFC, PATCH v1] platform/x86: intel-vbtn: Convert to pure ACPI driver

2018-02-07 Thread Pali Rohár
On Wednesday 07 February 2018 10:47:57 Rafael J. Wysocki wrote: > BTW, please CC patches with ACPI material to linux-acpi. They are less likely > to be overlooked by me then and the others on that list may have opinions on > them too. Maybe we can update MAINTAINERS file for acpi based platform-x

Re: [PATCH 1/2] sun4i_ss_prng: fix return value of sun4i_ss_prng_generate

2018-02-07 Thread Corentin Labbe
On Tue, Feb 06, 2018 at 10:20:21PM +0100, Artem Savkov wrote: > According to crypto/rng.h generate function should return 0 on success > and < 0 on error. > > Fixes: b8ae5c7387ad ("crypto: sun4i-ss - support the Security System PRNG") > Signed-off-by: Artem Savkov > --- > drivers/crypto/sunxi-ss

Re: [PATCH 3/4] arm64: dts: qcom: msm8916: Add clock properties to the APCS node

2018-02-07 Thread Amit Kucheria
On Mon, Feb 5, 2018 at 8:16 PM, Georgi Djakov wrote: > There are clock controller registers in the APCS block, which purpose If you respin this, s/which/whose > is to control the main CPU mux and divider. Add the clock properties as > part of the APCS device-tree node. > > Signed-off-by: Georgi

Re: [PATCH 4/6] s390: add options to change branch prediction behaviour for the kernel

2018-02-07 Thread Pavel Machek
On Wed 2018-02-07 08:00:09, Martin Schwidefsky wrote: > Add the PPA instruction to the system entry and exit path to switch > the kernel to a different branch prediction behaviour. The instructions > are added via CPU alternatives and can be disabled with the "nospec" > or the "nobp=0" kernel param

Re: [PATCH 4/6] Protectable Memory

2018-02-07 Thread kbuild test robot
system] url: https://github.com/0day-ci/linux/commits/Igor-Stoppa/mm-security-ro-protection-for-dynamic-data/20180207-171252 base: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/pstore config: i386-tinyconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0

Re: [PATCH 8/8] thermal/drivers/cpu_cooling: Add the combo cpu cooling device

2018-02-07 Thread Daniel Lezcano
On 07/02/2018 08:26, Viresh Kumar wrote: > On 06-02-18, 11:48, Daniel Lezcano wrote: >> On 06/02/2018 05:28, Viresh Kumar wrote: > >>> Surely we can do one thing at a time if that's the way we choose to do it. >> >> Easy to say :) >> >> The current code is to introduce the feature without impactin

Re: [PATCH 6/6] s390: introduce execute-trampolines for branches

2018-02-07 Thread Pavel Machek
On Wed 2018-02-07 08:00:11, Martin Schwidefsky wrote: > Add CONFIG_EXPOLINE to enable the use of the new -mindirect-branch= and > -mfunction_return= compiler options to create a kernel fortified against > the specte v2 attack. > > With CONFIG_EXPOLINE=y all indirect branches will be issued with an

Re: possible deadlock in rtnl_lock (3)

2018-02-07 Thread Dmitry Vyukov
On Wed, Feb 7, 2018 at 10:08 AM, Paolo Abeni wrote: > On Tue, 2018-02-06 at 19:00 +0100, Dmitry Vyukov wrote: >> On Tue, Feb 6, 2018 at 6:58 PM, syzbot >> wrote: >> > Hello, >> > >> > syzbot hit the following crash on net-next commit >> > 617aebe6a97efa539cc4b8a52adccd89596e6be0 (Sun Feb 4 00:25:

Re: [PATCH] irqchip: mips-gic: Avoid spuriously handling masked interrupts

2018-02-07 Thread Matt Redfearn
Hi Marc, On 07/02/18 09:41, Marc Zyngier wrote: On 05/02/18 16:45, Matt Redfearn wrote: Commit 7778c4b27cbe ("irqchip: mips-gic: Use pcpu_masks to avoid reading GIC_SH_MASK*") removed the read of the hardware mask register when handling shared interrupts, instead using the driver's shadow pcpu_

Re: [PATCH BUGFIX 1/1] block, bfq: add requeue-request hook

2018-02-07 Thread Mike Galbraith
On Wed, 2018-02-07 at 10:45 +0100, Paolo Valente wrote: > > > Il giorno 07 feb 2018, alle ore 10:23, Mike Galbraith ha > > scritto: > > > > On Wed, 2018-02-07 at 10:08 +0100, Paolo Valente wrote: > >> > >> The first piece of information I need is whether this failure happens > >> even without

Re: [PATCH 4/8] thermal/drivers/Kconfig: Convert the CPU cooling device to a choice

2018-02-07 Thread Daniel Lezcano
On 07/02/2018 10:04, Viresh Kumar wrote: > On 23-01-18, 16:34, Daniel Lezcano wrote: >> The next changes will add new way to cool down a CPU. In order to >> sanitize and make the overall cpu cooling code consistent and robust >> we must prevent the cpu cooling devices to co-exists with the same >>

Re: [PATCH 4/8] thermal/drivers/Kconfig: Convert the CPU cooling device to a choice

2018-02-07 Thread Viresh Kumar
On 07-02-18, 11:15, Daniel Lezcano wrote: > Do you mean s/CPU_THERMAL/CPU_FREQ_THERMAL/ in include/linux/cpu_cooling.h ? Yes, but also in the .c file (which you have done in 5/8 anyway). -- viresh

Re: [PATCH v2 6/7] arm64: tegra: Add Tegra194 chip device tree

2018-02-07 Thread Marc Zyngier
Hi Mikko, On 06/02/18 07:22, Mikko Perttunen wrote: > Add the chip-level device tree, including binding headers, for the > NVIDIA Tegra194 "Xavier" system-on-chip. Only a small subset of devices > are initially available, enough to boot to UART console. > > Signed-off-by: Mikko Perttunen > --- >

[PATCH v2 3/4] soc: mediatek: avoid hardcoded value with bus_prot_mask

2018-02-07 Thread sean.wang
From: Sean Wang use a meaningful definition for bus_prot_mask instead of just hardcoded for it. Signed-off-by: Sean Wang --- drivers/soc/mediatek/mtk-scpsys.c | 5 +++-- include/linux/soc/mediatek/infracfg.h | 4 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/s

[PATCH v2 4/4] soc: mediatek: add SCPSYS power domain driver for MediaTek MT7623A SoC

2018-02-07 Thread sean.wang
From: Sean Wang Add SCPSYS power domain driver for MT7623A SoC. The MT7623A's power domains are the subset of MT7623 SoC's ones. As MT7623 SoC has full features whereas MT7623A is being designed just for router applications. Thus, MT7623A doesn't include those power domains multimedia function be

[PATCH v2 1/4] dt-bindings: soc: add SCPSYS binding for MT7623 and MT7623A SoC

2018-02-07 Thread sean.wang
From: Sean Wang document the binding for enabling SCPSYS on MediaTek MT7623 and MT7623A SoC. Where MT7623 SoC has the same definition about power domains with MT2701, so it's fine to using MT2701 ones as MT7623's fallback. Signed-off-by: Sean Wang Reviewed-by: Rob Herring --- Documentation/de

[PATCH v2 2/4] dt-bindings: soc: add header files required for MT7623A SCPSYS dt-binding

2018-02-07 Thread sean.wang
From: Sean Wang Add relevant header files required for dt-bindings of SCPSYS power domain control for subsystems found on MT7623A SoC. v1 -> v2: fix typos and treat the patch as a dt-binding patch Signed-off-by: Sean Wang Cc: Rob Herring --- include/dt-bindings/power/mt7623a-power.h | 10 +++

Re: [PATCH] [RESEND] x86/smpboot: avoid warning messages while hot-removing physical cpu

2018-02-07 Thread YASUAKI ISHIMATSU
CC:+Andi Kleen Hi Masayoshi, This issue is caused by the following commit: commit 30bb9811856f667042e746d8033883b1091a46ce Author: Andi Kleen Date: Tue Nov 14 07:42:56 2017 -0500 x86/topology: Avoid wasting 128k for package id array So you should add the following "Fixes:" tag in the de

Re: [PATCH] char: rtc: remove unused rtc_control() API

2018-02-07 Thread Arnd Bergmann
On Wed, Feb 7, 2018 at 2:04 AM, Alexandre Belloni wrote: > On 07/02/2018 at 00:24:11 +0100, Arnd Bergmann wrote: >> On Tue, Feb 6, 2018 at 11:12 PM, Alexandre Belloni >> wrote: >> > Since commit 34ce71a96dcb ("ALSA: timer: remove legacy rtctimer"), the >> > rtc_register/rtc_control/rtc_unregister

Re: [PATCH BUGFIX 1/1] block, bfq: add requeue-request hook

2018-02-07 Thread Paolo Valente
> Il giorno 07 feb 2018, alle ore 11:15, Mike Galbraith ha > scritto: > > On Wed, 2018-02-07 at 10:45 +0100, Paolo Valente wrote: >> >>> Il giorno 07 feb 2018, alle ore 10:23, Mike Galbraith ha >>> scritto: >>> >>> On Wed, 2018-02-07 at 10:08 +0100, Paolo Valente wrote: The firs

Re: [PATCH 1/3] clk: exynos5433: Extend list of available AUD_PLL output frequencies

2018-02-07 Thread Sylwester Nawrocki
On 02/06/2018 03:44 AM, Chanwoo Choi wrote: > When I developed the clk-exynos5433.c I referred to the following description. > TRM specified that "Samsung recommends only the values > between 252MH ~ 400MHz in the PMS2460X PMS value" for aud_pll. Thanks, I somehow missed it. There is also another

[PATCH] lockd: make nlm_ntf_refcnt and nlm_ntf_wq static

2018-02-07 Thread Colin King
From: Colin Ian King The variables nlm_ntf_refcnt and nlm_ntf_wq are local to the source and do not need to be in global scope, so make them static. Cleans up sparse warnings: fs/lockd/svc.c:60:10: warning: symbol 'nlm_ntf_refcnt' was not declared. Should it be static? fs/lockd/svc.c:61:1: warni

Re: [PATCH BUGFIX 1/1] block, bfq: add requeue-request hook

2018-02-07 Thread Mike Galbraith
On Wed, 2018-02-07 at 11:27 +0100, Paolo Valente wrote: > > 1. Could you paste a stack trace for this OOPS, just to understand how we > get there? [ 442.421058] kernel BUG at block/bfq-iosched.c:4742! [ 442.421762] invalid opcode: [#1] SMP PTI [ 442.422436] Dumping ftrace buffer: [ 442.4

[PATCH v7 0/6] iommu/arm-smmu: Add runtime pm/sleep support

2018-02-07 Thread Vivek Gautam
This series provides the support for turning on the arm-smmu's clocks/power domains using runtime pm. This is done using the recently introduced device links patches, which lets the smmu's runtime to follow the master's runtime pm, so the smmu remains powered only when the masters use it. It also

[PATCH v7 1/6] base: power: runtime: Export pm_runtime_get/put_suppliers

2018-02-07 Thread Vivek Gautam
The device link allows the pm framework to tie the supplier and consumer. So, whenever the consumer is powered-on the supplier is powered-on first. There are however cases in which the consumer wants to power-on the supplier, but not itself. E.g., A Graphics or multimedia driver wants to power-on

[PATCH v7 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-02-07 Thread Vivek Gautam
From: Sricharan R The smmu device probe/remove and add/remove master device callbacks gets called when the smmu is not linked to its master, that is without the context of the master device. So calling runtime apis in those places separately. Signed-off-by: Sricharan R [vivek: Cleanup pm runtim

[PATCH v7 2/6] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-02-07 Thread Vivek Gautam
From: Sricharan R The smmu needs to be functional only when the respective master's using it are active. The device_link feature helps to track such functional dependencies, so that the iommu gets powered when the master device enables itself using pm_runtime. So by adapting the smmu driver for r

[PATCH v7 5/6] iommu/arm-smmu: Add support for qcom,smmu-v2 variant

2018-02-07 Thread Vivek Gautam
qcom,smmu-v2 is an arm,smmu-v2 implementation with specific clock and power requirements. This smmu core is used with multiple masters on msm8996, viz. mdss, video, etc. Add bindings for the same. Signed-off-by: Vivek Gautam Reviewed-by: Rob Herring --- .../devicetree/bindings/iommu/arm,smmu.tx

[PATCH v7 6/6] drm/msm: iommu: Replace runtime calls with runtime suppliers

2018-02-07 Thread Vivek Gautam
While handling the concerned iommu, there should not be a need to power control the drm devices from iommu interface. If these drm devices need to be powered around this time, the respective drivers should take care of this. Replace the pm_runtime_get/put_sync() with pm_runtime_get/put_suppliers()

Re: [PATCH v5 2/3] GHES: add a notify chain for process memory section

2018-02-07 Thread Borislav Petkov
On Fri, Jan 26, 2018 at 08:31:24PM +0800, Xie XiuQi wrote: > Add a notify chain for process memory section, with > which other modules might do error recovery. > > Signed-off-by: Xie XiuQi > Tested-by: Wang Xiongfeng > Tested-by: Tyler Baicar > --- > drivers/acpi/apei/ghes.c | 10 ++ >

[PATCH v7 4/6] iommu/arm-smmu: Add the device_link between masters and smmu

2018-02-07 Thread Vivek Gautam
From: Sricharan R Finally add the device link between the master device and smmu, so that the smmu gets runtime enabled/disabled only when the master needs it. This is done from add_device callback which gets called once when the master is added to the smmu. Signed-off-by: Sricharan R Signed-of

arch/x86/tools/insn_decoder_test: warning: ffffffff810013fd: 0f ff bf 09 00 00 00 ud0 0x9(%rdi),%edi

2018-02-07 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a2e5790d841658485d642196dbb0927303d6c22f commit: 10c91577d5e631773a6394e14cf60125389b71ae x86/tools: Standardize output format of insn_decode_test date: 8 weeks ago config: x86_64-randconfig-r0-02071059 (a

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Arnd Bergmann
On Wed, Feb 7, 2018 at 2:55 AM, Alexandre Belloni wrote: > On 06/02/2018 at 23:55:02 +0100, Arnd Bergmann wrote: >> * arch/arm/kernel/time.c has this code >> >> #if defined(CONFIG_RTC_DRV_CMOS) || defined(CONFIG_RTC_DRV_CMOS_MODULE) || \ >> defined(CONFIG_NVRAM) || defined(CONFIG_NVRAM_MODULE)

Re: [PATCH 5/8] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-02-07 Thread Daniel Lezcano
Hi Viresh, thanks for reviewing. On 07/02/2018 10:12, Viresh Kumar wrote: > On 23-01-18, 16:34, Daniel Lezcano wrote: >> diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c > >> +/** >> + * cpuidle_cooling_ops - thermal cooling device ops >> + */ >> +static struct thermal

Re: [PATCH v4] Documentation/ABI: update cpuidle sysfs documentation

2018-02-07 Thread Rafael J. Wysocki
On Tue, Feb 6, 2018 at 8:19 PM, Aishwarya Pant wrote: > Update cpuidle documentation using git logs and existing documentation > in Documentation/cpuidle/sysfs.txt. This might be useful for scripting > and tracking changes in the ABI. > > Signed-off-by: Aishwarya Pant > --- > Changes in v4: > - F

Re: [PATCH v2 02/20] arm64: capabilities: Move errata work around check on boot CPU

2018-02-07 Thread Dave Martin
On Wed, Jan 31, 2018 at 06:27:49PM +, Suzuki K Poulose wrote: > We trigger CPU errata work around check on the boot CPU from > smp_prepare_boot_cpu() to make sure that we run the checks only > after the CPU feature infrastructure is initialised. While this > is correct, we can also do this from

Re: [PATCH v2 01/20] arm64: capabilities: Update prototype for enable call back

2018-02-07 Thread Dave Martin
On Wed, Jan 31, 2018 at 06:27:48PM +, Suzuki K Poulose wrote: > From: Dave Martin > > We issue the enable() call back for all CPU hwcaps capabilities > available on the system, on all the CPUs. So far we have ignored > the argument passed to the call back, which had a prototype to > accept a

Re: [PATCH v2 08/20] arm64: capabilities: Group handling of features and errata

2018-02-07 Thread Dave Martin
On Wed, Jan 31, 2018 at 06:27:55PM +, Suzuki K Poulose wrote: > So far we have had separate routes for triggering errata and feature > capability detection. Also, we never allowed "features" based on local > CPU and "errata" based on System wide safe registers. This patch > groups the handling

Re: [PATCH v2 03/20] arm64: capabilities: Move errata processing code

2018-02-07 Thread Dave Martin
On Wed, Jan 31, 2018 at 06:27:50PM +, Suzuki K Poulose wrote: > We have errata work around processing code in cpu_errata.c, > which calls back into helpers defined in cpufeature.c. Now > that we are going to make the handling of capabilities > generic, by adding the information to each capabili

<    1   2   3   4   5   6   7   8   9   >