Re: [PATCH V2] pwm: Add MediaTek MT8183 display PWM driver support

2019-01-22 Thread Jitao Shi
On Tue, 2019-01-22 at 10:16 +0100, Uwe Kleine-König wrote: > On Tue, Jan 22, 2019 at 05:02:43PM +0800, Jitao Shi wrote: > > Use the mtk_pwm_data struction to define different registers > > and add MT8183 specific register operations, such as MT8183 > > doesn't have commit register, needs to disable

Re: [PATCH 3/6] misc/pvpanic: add API for pvpanic driver framework

2019-01-22 Thread Greg KH
On Tue, Jan 22, 2019 at 03:25:08AM +0800, Peng Hao wrote: > Add pvpanic_add/remove_device API. That says what you are doing, but not _why_ you need to do this. Why? > > Signed-off-by: Peng Hao > --- > drivers/misc/pvpanic/pvpanic.c | 32 > drivers/misc/pvpanic

Re: [PATCH RFC 06/24] userfaultfd: wp: support write protection for userfault vma range

2019-01-22 Thread Peter Xu
On Mon, Jan 21, 2019 at 09:05:35AM -0500, Jerome Glisse wrote: [...] > > + change_protection(dst_vma, start, start + len, newprot, > > + !enable_wp, 0); > > So setting dirty_accountable bring us to that code in mprotect.c: > > if (dirty_accountable && pte_dirty(p

Re: [PATCH 4/6] misc/pvpanic : add pvpanic acpi driver

2019-01-22 Thread Greg KH
On Tue, Jan 22, 2019 at 03:25:09AM +0800, Peng Hao wrote: > Add pvpanic acpi driver in pvpanic driver framework. > > Signed-off-by: Peng Hao > --- > drivers/misc/pvpanic/Kconfig| 9 + > drivers/misc/pvpanic/Makefile | 1 + > drivers/misc/pvpanic/pvpanic-acpi.c | 77 > +++

Re: [PATCH 5/6] misc/pvpanic: add pvpanic mmio driver

2019-01-22 Thread Greg KH
On Tue, Jan 22, 2019 at 03:25:10AM +0800, Peng Hao wrote: > Add pvpanic mmio driver to pvpanic driver framework. > > Signed-off-by: Peng Hao > --- > drivers/misc/pvpanic/Kconfig | 4 +++ > drivers/misc/pvpanic/Makefile | 1 + > drivers/misc/pvpanic/pvpanic-of.c | 53 > +++

[RFC PATCH v1 00/13] support ROHM BD70528 PMIC

2019-01-22 Thread Matti Vaittinen
Patch series introducing support for ROHM BD70528 PMIC Please note that patch 2 breaks compilation without patches 3 and 4 ROHM BD70528 is a programmable Power Management IC for battery powered 'ultra low power' systems like the pre-announced NXP i.MX7 ULP. This patch series introduces support fo

[RFC PATCH v1 01/13] regmap: regmap-irq: Add main status register support

2019-01-22 Thread Matti Vaittinen
There is bunch of devices with multiple logical blocks which can generate interrupts. It's not a rare case that the interrupt reason registers are arranged so that there is own status/ack/mask register for each logical block. In some devices there is also a 'main interrupt register(s)' which can in

[RFC PATCH v1 02/13] mfd: bd718x7.h split to ROHM common and bd718x7 specific parts

2019-01-22 Thread Matti Vaittinen
Split the bd718x7.h to ROHM common and bd718x7 specific parts so that we do not need to add same things in every new ROHM PMIC header. Please note that this change requires changes also in bd718x7 sub-device drivers for regulators and clk. Signed-off-by: Matti Vaittinen --- drivers/mfd/rohm-bd71

[RFC PATCH v1 04/13] clk: bd718x7: use chip specific and generic data structs

2019-01-22 Thread Matti Vaittinen
Header rohm-bd718x7.h was split to generic and component specific parts. This changed the struct bd718x7. Adapt the clk driver to these changes. Signed-off-by: Matti Vaittinen --- drivers/clk/clk-bd718x7.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk-

[RFC PATCH v1 03/13] regulator: bd718x7 use chip specific and generic data structs

2019-01-22 Thread Matti Vaittinen
Header rohm-bd718x7.h was split to generic and component specific parts. This changed the struct bd718x7. Adapt the regulator driver to these changes. Signed-off-by: Matti Vaittinen --- drivers/regulator/bd718x7-regulator.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deleti

Re: [PATCH v6 04/16] sched/core: uclamp: Add CPU's clamp buckets refcounting

2019-01-22 Thread Peter Zijlstra
On Mon, Jan 21, 2019 at 04:33:38PM +, Patrick Bellasi wrote: > On 21-Jan 17:12, Peter Zijlstra wrote: > > On Mon, Jan 21, 2019 at 03:23:11PM +, Patrick Bellasi wrote: > > > and keep all > > > the buckets in use at the beginning of a cache line. > > > > That; is that the rationale for all

[RFC PATCH v1 05/13] mfd: bd70528: Support ROHM bd70528 PMIC - core

2019-01-22 Thread Matti Vaittinen
ROHM BD70528MWV is an ultra-low quiescent current general purpose single-chip power management IC for battery-powered portable devices. Add MFD core which enables chip access for following subdevices: - regulators/LED drivers - battery-charger - gpios - 32.768kHz cl

[RFC PATCH v1 06/13] clk: bd718x7: Support ROHM BD70528 clk block

2019-01-22 Thread Matti Vaittinen
ROHM BD70528 is an ultra low power PMIC with similar 32K clk as bd718x7. Only difference (from clk perspective) is register address. Add support for controlling BD70528 clk using bd718x7 driver. Signed-off-by: Matti Vaittinen --- drivers/clk/Kconfig | 6 +++--- drivers/clk/clk-bd718x7.c |

[GIT PULL] HID fixes

2019-01-22 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus to receive HID fixes: = - descriptor parsing regression fix for devices that have more than 16 collections, from Peter Hutterer (and followup cleanup from Philipp Zabel) - quirk for Goodix to

[RFC PATCH v1 07/13] devicetree: bindings: Document first ROHM BD70528 bindings

2019-01-22 Thread Matti Vaittinen
Document bindings for regulators (3 bucks, 3 LDOs and 2 LED drivers) and 4 GPIO pins which can be configured for I/O or as interrupt sources withe configurable trigger levels. Signed-off-by: Matti Vaittinen --- .../devicetree/bindings/mfd/rohm,bd70528-pmic.txt | 104 + 1 fil

[RFC PATCH v1 08/13] regulator: bd70528: Support ROHM BD70528 regulator block

2019-01-22 Thread Matti Vaittinen
BD70528MWV is an ultra-low Iq general purpose single-chip power management IC for battery-powered portable devices. Add support for controlling 3 bucks and 3 LDOs present in ROHM BD70528. Signed-off-by: Matti Vaittinen --- drivers/regulator/Kconfig | 11 ++ drivers/regulator/Makefi

[RFC PATCH v1 10/13] gpio: Initial support for ROHM bd70528 GPIO block

2019-01-22 Thread Matti Vaittinen
ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be controlled by GPIO framework. IRQs are handled by regmap-irq and GPIO driver is not aware of the irq usage. Signed-off-by: Matti Vaittinen --- drivers/gpio/Kconfig| 11 +++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-bd7052

[RFC PATCH v1 09/13] devicetree: bindings: ROHM bd70528 regulator bindings

2019-01-22 Thread Matti Vaittinen
ROHM bd70528 is a ultra low power PMIC which includes 3 bucks, 3 LDOs and 2 LED drivers. Document the bindings for them. Signed-off-by: Matti Vaittinen --- .../bindings/regulator/rohm,bd70528-regulator.txt | 68 ++ 1 file changed, 68 insertions(+) create mode 100644 Docume

[RFC PATCH v1 11/13] rtc: bd70528: Initial support for ROHM bd70528 RTC

2019-01-22 Thread Matti Vaittinen
Support RTC block in ROHM bd70528 power management IC. Support getting and setting the time and date as well as arming an alarm which can also be used to wake the PMIC from standby state. HW supports wake interrupt only for the next 24 hours (sec, minute and hour information only) so we limit also

[RFC PATCH v1 13/13] watchdog: bd70528: Initial support for ROHM BD70528 watchdog block

2019-01-22 Thread Matti Vaittinen
Initial support for watchdog block included in ROHM BD70528 power management IC. Configurations for low power states are still to be checked. Signed-off-by: Matti Vaittinen --- drivers/watchdog/Kconfig | 12 +++ drivers/watchdog/Makefile | 1 + drivers/watchdog/bd70528_wdt.c | 161

[RFC PATCH v1 12/13] power: supply: Initial support for ROHM BD70528 PMIC charger block

2019-01-22 Thread Matti Vaittinen
ROHM BD70528 PMIC includes battery charger block. Support charger staus queries and doing few basic settings like input current limit and charging current. Signed-off-by: Matti Vaittinen --- drivers/power/supply/Kconfig | 9 + drivers/power/supply/Makefile | 1 + drivers/p

Re: [RFC] irq-gic-v3-its: fix occasional VLPI drop

2019-01-22 Thread Marc Zyngier
Hi Heyi, On Mon, 21 Jan 2019 11:51:48 +, Heyi Guo wrote: > > Every VLPI will temporarily be mapped to the first CPU in system > (normally CPU0) and then moved to the real scheduled CPU later. There > is a time window so a VLPI may be sent to CPU0 instead of the real > scheduled vCPU, in a mu

Re: [PATCH] soc: qcom: update config dependencies for QCOM_RPMPD

2019-01-22 Thread Rajendra Nayak
Adding Viresh and Ulf to this thread, On 1/22/2019 10:38 AM, Guenter Roeck wrote: On 1/21/19 6:30 PM, Rajendra Nayak wrote: On 1/18/2019 11:09 PM, Stephen Boyd wrote: Quoting Rajendra Nayak (2019-01-17 20:48:01)   drivers/soc/qcom/Kconfig | 2 +-   1 file changed, 1 insertion(+), 1 deletion(

Re: [PATCH v4 2/2] mtd: spi-nor: cadence-quadspi: Add support for Octal SPI controller

2019-01-22 Thread Tudor.Ambarus
On 01/22/2019 08:41 AM, Vignesh R wrote: > Cadence OSPI controller IP supports Octal IO (x8 IO lines), > It also has an integrated PHY. IP register layout is very > similar to existing QSPI IP except for additional bits to support Octal > and Octal DDR mode. Therefore, extend current driver to su

Re: [PATCH 1/6] mm: make mm->pinned_vm an atomic64 counter

2019-01-22 Thread Jan Kara
On Mon 21-01-19 09:42:15, Davidlohr Bueso wrote: > Taking a sleeping lock to _only_ increment a variable is quite the > overkill, and pretty much all users do this. Furthermore, some drivers > (ie: infiniband and scif) that need pinned semantics can go to quite > some trouble to actually delay via

Re: [PATCH v3 1/2] media: imx: csi: Disable SMFC before disabling IDMA channel

2019-01-22 Thread Philipp Zabel
On Mon, 2019-01-21 at 10:46 -0800, Steve Longerbeam wrote: > > On 1/21/19 10:43 AM, Steve Longerbeam wrote: > > > > > > On 1/21/19 3:49 AM, Philipp Zabel wrote: > > > Also ipu_smfc_disable is refcounted, so if the other CSI is capturing > > > simultaneously, this change has no effect. > > > > S

[PATCH v3 0/3] update infiniband uverbs documentation

2019-01-22 Thread Joel Nider
A small patchset to update the verbs API documentation with some information regarding the ioctl syscall. First patch converts the file format to ReST, since this is the new preferred format, moves the file to Documentation/userspace-api, and updates the index. The 2nd patch adds the new content, d

[PATCH v3 2/3] docs-rst: driver-api: Add infiniband interface documentation

2019-01-22 Thread Joel Nider
A short document regarding the user verbs interface implementation on the kernel side. Also, the corresponding index entry in the documentation tree. Signed-off-by: Joel Nider --- Documentation/driver-api/index.rst | 1 + Documentation/driver-api/infiniband.rst | 73 +++

[PATCH v3 3/3] MAINTAINERS: add new RDMA/Infiniband documentation

2019-01-22 Thread Joel Nider
The RDMA (Infiniband) user verb documentation has been converted to .rst format, and moved to the Documentation/userspace-api directory. In addition, a new file is added to Documentation/driver-api with some details on Infiniband internals. Thus, the MAINTAINERS file must be updated with the respon

[PATCH v3 1/3] docs-rst: Convert user verbs doc to rst

2019-01-22 Thread Joel Nider
Move user_verbs from infiniband to userspace while changing the format. Replace the existing Documentation/infiniband/user_verbs.txt with Documentation/userspace-api/rdma_user_verbs.rst. No substantial changes to the content - just some minor reformatting to have the rendering come out nicely. Sin

Re: possible deadlock in __do_page_fault

2019-01-22 Thread Tetsuo Handa
On 2018/09/22 8:21, Andrew Morton wrote: > On Thu, 20 Sep 2018 19:33:15 -0400 Joel Fernandes > wrote: > >> On Thu, Sep 20, 2018 at 5:12 PM Todd Kjos wrote: >>> >>> +Joel Fernandes >>> >>> On Thu, Sep 20, 2018 at 2:11 PM Andrew Morton >>> wrote: Thanks. Let's cc the ashmem folk

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-22 Thread Tomasz Figa
On Mon, Nov 12, 2018 at 8:37 PM Hans Verkuil wrote: > > Hi Tomasz, > > A general note for the stateful and stateless patches: they describe specific > use-cases of the more generic Codec Interface, and as such should be one > level deeper in the section hierarchy. I wonder what exactly this Codec

Re: [PATCH] media: v4l2-core: expose the device after it was registered.

2019-01-22 Thread Sakari Ailus
Hi Xinwu, On Tue, Jan 22, 2019 at 04:34:44PM +0800, Liu, Xinwu wrote: > device_register exposes the device to userspace. > > Therefore, while the register process is ongoing, the userspace program > will fail to open the device (ENODEV will be set to errno currently). > The program in userspace m

Re: [PATCH v6 04/16] sched/core: uclamp: Add CPU's clamp buckets refcounting

2019-01-22 Thread Peter Zijlstra
On Mon, Jan 21, 2019 at 03:54:07PM +, Patrick Bellasi wrote: > On 21-Jan 16:17, Peter Zijlstra wrote: > > On Tue, Jan 15, 2019 at 10:15:01AM +, Patrick Bellasi wrote: > > > +#ifdef CONFIG_UCLAMP_TASK > > > > > +struct uclamp_bucket { > > > + unsigned long value : bits_per(SCHED_CAPACITY_SC

Re: [PATCH v4 4/4] can: tcan4x5x: Add tcan4x5x driver to the kernel

2019-01-22 Thread Wolfgang Grandegger
Hello, Am 17.01.19 um 21:06 schrieb Dan Murphy: > Add the TCAN4x5x SPI CAN driver. This device > uses the Bosch MCAN IP core along with a SPI > interface map. Leverage the MCAN common core > code to manage the MCAN IP. > > This device has a special method to indicate a > write/read operation on

Re: [PATCH net-next] net: dsa: mv88e6xxx: Add suspend/resume callbacks

2019-01-22 Thread Miquel Raynal
Hi Florian, Florian Fainelli wrote on Thu, 17 Jan 2019 10:00:46 -0800: > On 1/17/19 7:50 AM, Miquel Raynal wrote: > > Hi Andrew, Vivien, > > > > Vivien Didelot wrote on Thu, 17 Jan 2019 > > 10:46:41 -0500: > > > >> Hi, > >> > >> On Wed, 16 Jan 2019 23:23:29 +0100, Andrew Lunn wrote: > >>

Re: [PATCH 4/4] livepatch: Remove the redundant enabled flag in struct klp_patch

2019-01-22 Thread Miroslav Benes
On Wed, 16 Jan 2019, Petr Mladek wrote: > diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c > index 684766d306ad..8e644837e668 100644 > --- a/kernel/livepatch/core.c > +++ b/kernel/livepatch/core.c > @@ -59,6 +59,17 @@ static bool klp_is_module(struct klp_object *obj) > return o

Re: [GIT PULL 00/24] perf/core improvements and fixes

2019-01-22 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > Regards, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit ad07c8ceb6631a83b62d405a61448bba92adac68: > > perf/core: Remove unused perf_flags (201

Re: arch/x86/include/asm/cmpxchg.h:245:2: error: 'asm' operand has impossible constraints

2019-01-22 Thread Borislav Petkov
On Tue, Jan 22, 2019 at 12:53:11PM +0800, kbuild test robot wrote: > Hi Ingo, > > FYI, the error/warning still remains. Guys, we already discussed this: https://lists.01.org/pipermail/kbuild-all/2018-December/056206.html but you keep reporting it. You need to fix your reported issues tracking

proc.c:undefined reference to `strcmp'

2019-01-22 Thread kbuild test robot
Hi Olof, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 47bfa6d9dc8c060bf56554a465c9031e286d2f80 commit: 35004f2e55807a1a1491db24ab512dd2f770a130 lib/genalloc.c: include vmalloc.h date: 2 weeks ag

Re: [PATCH net-next 4/7] net: phy: marvell10g: Add support for 2.5GBASET and 5GBASET

2019-01-22 Thread Maxime Chevallier
Hello Andrew, Russell, On Mon, 21 Jan 2019 21:17:15 +0100 Andrew Lunn wrote: >> @@ -264,8 +265,10 @@ static int mv3310_config_init(struct phy_device *phydev) >> if (ret) >> return ret; >> >> -linkmode_and(phydev->advertising, phydev->advertising, >> - phyd

Re: [PATCH] soc: qcom: update config dependencies for QCOM_RPMPD

2019-01-22 Thread Viresh Kumar
On 22-01-19, 15:24, Rajendra Nayak wrote: > I was doing some quick testing by adding the calls to of_genpd_remove_last() > as > suggested by Ulf for cleaning up the genpd registrations, and I run into this > backtrace when the driver re-probes followed by a remove > > [ 59.204525] kobject ((___

Re: [PATCH RESEND v5 00/23] drm/sun4i: Support for linear and tiled YUV formats with the frontend

2019-01-22 Thread Paul Kocialkowski
Hi, On Fri, 2019-01-18 at 19:20 +0100, Maxime Ripard wrote: > On Fri, Jan 18, 2019 at 03:51:10PM +0100, Paul Kocialkowski wrote: > > This series implements support for YUV formats using the display engine > > frontend in the sun4i DRM driver, with various fixes along the way. > > Scaling is suppor

[tip:perf/core] perf tools: Replace automatic const char[] variables by statics

2019-01-22 Thread tip-bot for Rasmus Villemoes
Commit-ID: 49b8e2beceda79ae25938faf68fad0ad62534852 Gitweb: https://git.kernel.org/tip/49b8e2beceda79ae25938faf68fad0ad62534852 Author: Rasmus Villemoes AuthorDate: Sat, 3 Nov 2018 00:06:23 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 15:15:57 -0300 perf tools

Re: [PATCH] media: docs-rst: Document m2m stateless video decoder interface

2019-01-22 Thread Paul Kocialkowski
Hi, On Tue, 2019-01-22 at 17:19 +0900, Tomasz Figa wrote: > Hi Paul, > > On Fri, Dec 7, 2018 at 5:30 PM Paul Kocialkowski > wrote: > > Hi, > > > > Thanks for this new version! I only have one comment left, see below. > > > > On Wed, 2018-12-05 at 19:01 +0900, Alexandre Courbot wrote: > > > Doc

[tip:perf/core] perf session: Rearrange perf_session__process_events function

2019-01-22 Thread tip-bot for Jiri Olsa
Commit-ID: 7ba4da100261482afcb693a1b39e483c9c03aba2 Gitweb: https://git.kernel.org/tip/7ba4da100261482afcb693a1b39e483c9c03aba2 Author: Jiri Olsa AuthorDate: Thu, 10 Jan 2019 11:12:56 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 15:15:57 -0300 perf session: Re

[tip:perf/core] perf session: Get rid of file_size variable

2019-01-22 Thread tip-bot for Jiri Olsa
Commit-ID: 4f5a473d79c755d2e325c9a8dab01804d5416923 Gitweb: https://git.kernel.org/tip/4f5a473d79c755d2e325c9a8dab01804d5416923 Author: Jiri Olsa AuthorDate: Thu, 10 Jan 2019 11:12:57 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 15:15:57 -0300 perf session: Ge

Re: possible deadlock in __do_page_fault

2019-01-22 Thread Dmitry Vyukov
On Tue, Jan 22, 2019 at 11:02 AM Tetsuo Handa wrote: > > On 2018/09/22 8:21, Andrew Morton wrote: > > On Thu, 20 Sep 2018 19:33:15 -0400 Joel Fernandes > > wrote: > > > >> On Thu, Sep 20, 2018 at 5:12 PM Todd Kjos wrote: > >>> > >>> +Joel Fernandes > >>> > >>> On Thu, Sep 20, 2018 at 2:11 PM An

[tip:perf/core] perf session: Add 'data_size' member to reader object

2019-01-22 Thread tip-bot for Jiri Olsa
Commit-ID: f66f0950527cd070d2949a0133275c30e717ba9b Gitweb: https://git.kernel.org/tip/f66f0950527cd070d2949a0133275c30e717ba9b Author: Jiri Olsa AuthorDate: Thu, 10 Jan 2019 11:12:59 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 15:15:57 -0300 perf session: Ad

[tip:perf/core] perf session: Add reader object

2019-01-22 Thread tip-bot for Jiri Olsa
Commit-ID: 82715eb184c55b5097c8f1022f54303c2ddbc329 Gitweb: https://git.kernel.org/tip/82715eb184c55b5097c8f1022f54303c2ddbc329 Author: Jiri Olsa AuthorDate: Thu, 10 Jan 2019 11:12:58 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 15:15:57 -0300 perf session: Ad

[tip:perf/core] perf session: Add reader__process_events function

2019-01-22 Thread tip-bot for Jiri Olsa
Commit-ID: 3c7b67b23eb317787d113b1e9a6d82250202a1e3 Gitweb: https://git.kernel.org/tip/3c7b67b23eb317787d113b1e9a6d82250202a1e3 Author: Jiri Olsa AuthorDate: Thu, 10 Jan 2019 11:13:01 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 15:15:57 -0300 perf session: Ad

[tip:perf/core] perf session: Add 'data_offset' member to reader object

2019-01-22 Thread tip-bot for Jiri Olsa
Commit-ID: 71002bd214822a15bee0f7bc033a0dbf95cf780b Gitweb: https://git.kernel.org/tip/71002bd214822a15bee0f7bc033a0dbf95cf780b Author: Jiri Olsa AuthorDate: Thu, 10 Jan 2019 11:13:00 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 15:15:57 -0300 perf session: Ad

[tip:perf/core] perf: Remove duplicated workqueue.h include from perf_event.h

2019-01-22 Thread tip-bot for YueHaibing
Commit-ID: cf5c6c211b7e9eb4f4219f83671432c9ef257187 Gitweb: https://git.kernel.org/tip/cf5c6c211b7e9eb4f4219f83671432c9ef257187 Author: YueHaibing AuthorDate: Thu, 17 Jan 2019 15:25:04 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 15:15:57 -0300 perf: Remove du

Re: 4.20.1: BUG: unable to handle kernel paging request at 0000100000000008

2019-01-22 Thread Harald Dunkel
Is this the wrong list to report this problem? I haven't found a "mem" mailing list on vger. Regards Harri - On 1/14/19 2:01 PM, Harald Dunkel wrote: Hi folks, my server stumbled over this last night: Jan 13 19:03:15 sylve

Re: [for next][PATCH] iwlwifi: Fix unmet dependency error for IWLWIFI_LEDS

2019-01-22 Thread Luciano Coelho
On Mon, 2019-01-21 at 23:31 +, Sinan Kaya wrote: > There is an unresolved dependency as follows: > > IWLWIFI_LEDS selects MAC80211_LEDS. > MAC80211_LEDS depends on MAC80211. > > It is possible to choose MAC80211_LEDS (y) but not choose MAC80211 > (n) > > WARNING: unmet direct dependencies de

[PATCH] lightnvm: pblk: stop taking the free lock in in pblk_lines_free

2019-01-22 Thread hans
From: Hans Holmberg pblk_line_meta_free might sleep (it can end up calling vfree, depending on how we allocate lba lists), and this can lead to a BUG() if we wake up on a different cpu and release the lock. As there is no point of grabbing the free lock when pblk has shut down, remove the lock.

[tip:perf/core] perf tools: Remove duplicate headers

2019-01-22 Thread tip-bot for Brajeswar Ghosh
Commit-ID: 3eb03a5208a4eb46443e23e3fa9eb7e4c7ae4885 Gitweb: https://git.kernel.org/tip/3eb03a5208a4eb46443e23e3fa9eb7e4c7ae4885 Author: Brajeswar Ghosh AuthorDate: Tue, 15 Jan 2019 19:29:16 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 15:15:57 -0300 perf tools

[tip:perf/core] perf report: Display names in s390 diagnostic counter sets

2019-01-22 Thread tip-bot for Thomas Richter
Commit-ID: 3e4a1c536b2690cf461e930485b0ab0cdafba73b Gitweb: https://git.kernel.org/tip/3e4a1c536b2690cf461e930485b0ab0cdafba73b Author: Thomas Richter AuthorDate: Thu, 17 Jan 2019 10:30:02 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:00:56 -0300 perf report

Re: [PATCH] dt-bindings: sdhci-omap: Add properties for using external dma

2019-01-22 Thread Faiz Abbas
Hi Chunyan, +Rob Herring On 22/01/19 2:17 PM, Chunyan Zhang wrote: > sdhci-omap can support both external dma controller via dmaengine > framework as well as ADMA which standard SD host controller > provides. > > Signed-off-by: Chunyan Zhang > Signed-off-by: Faiz Abbas > --- Thanks for fixing

[tip:perf/core] perf report: Display arch specific diagnostic counter sets, starting with s390

2019-01-22 Thread tip-bot for Thomas Richter
Commit-ID: 93115d32e814f3578601a0b7b3f4914509f4 Gitweb: https://git.kernel.org/tip/93115d32e814f3578601a0b7b3f4914509f4 Author: Thomas Richter AuthorDate: Thu, 17 Jan 2019 10:37:17 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:00:48 -0300 perf report

[tip:perf/core] perf: Make perf_event_output() propagate the output() return

2019-01-22 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5620196951192f7cd2da0a04e7c0113f40bfc14e Gitweb: https://git.kernel.org/tip/5620196951192f7cd2da0a04e7c0113f40bfc14e Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 11 Jan 2019 13:20:20 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:00:57 -0300 p

[tip:perf/core] perf report: Dump s390 counter set data to file

2019-01-22 Thread tip-bot for Thomas Richter
Commit-ID: 8dabe9c43af7aa78b16ce0d61bc595eca20c7a70 Gitweb: https://git.kernel.org/tip/8dabe9c43af7aa78b16ce0d61bc595eca20c7a70 Author: Thomas Richter AuthorDate: Thu, 17 Jan 2019 10:30:03 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:00:57 -0300 perf report

Re: [PATCH v7 2/3] arm64: implement ftrace with regs

2019-01-22 Thread Julien Thierry
Hi Torsten, A few suggestions below. On 18/01/2019 16:39, Torsten Duwe wrote: > Once gcc8 adds 2 NOPs at the beginning of each function, replace the > first NOP thus generated with a quick LR saver (move it to scratch reg > x9), so the 2nd replacement insn, the call to ftrace, does not clobber >

[PATCH] lightnvm: pblk: use vfree to free metadata on error path

2019-01-22 Thread hans
From: Hans Holmberg As chunk metadata is allocated using vmalloc, we need to free it using vfree. Fixes: 090ee26fd512 ("lightnvm: use internal allocation for chunk log page") Signed-off-by: Hans Holmberg --- drivers/lightnvm/pblk-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[tip:perf/core] perf, bpf: Introduce PERF_RECORD_KSYMBOL

2019-01-22 Thread tip-bot for Song Liu
Commit-ID: 76193a94522f1d4edf2447a536f3f796ce56343b Gitweb: https://git.kernel.org/tip/76193a94522f1d4edf2447a536f3f796ce56343b Author: Song Liu AuthorDate: Thu, 17 Jan 2019 08:15:13 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:00:57 -0300 perf, bpf: Introd

[tip:perf/core] perf, bpf: Introduce PERF_RECORD_BPF_EVENT

2019-01-22 Thread tip-bot for Song Liu
Commit-ID: 6ee52e2a3fe4ea35520720736e6791df1fb67106 Gitweb: https://git.kernel.org/tip/6ee52e2a3fe4ea35520720736e6791df1fb67106 Author: Song Liu AuthorDate: Thu, 17 Jan 2019 08:15:15 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:00:57 -0300 perf, bpf: Introd

[tip:perf/core] tools headers uapi: Sync tools/include/uapi/linux/perf_event.h

2019-01-22 Thread tip-bot for Song Liu
Commit-ID: d764ac6464915523e68e220b6aa4c3c2eb8e3f94 Gitweb: https://git.kernel.org/tip/d764ac6464915523e68e220b6aa4c3c2eb8e3f94 Author: Song Liu AuthorDate: Thu, 17 Jan 2019 08:15:14 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:00:57 -0300 tools headers uap

[tip:perf/core] tools headers uapi: Sync tools/include/uapi/linux/perf_event.h

2019-01-22 Thread tip-bot for Song Liu
Commit-ID: df063c83aa2c58412ddf533ada9aaf25986120ec Gitweb: https://git.kernel.org/tip/df063c83aa2c58412ddf533ada9aaf25986120ec Author: Song Liu AuthorDate: Thu, 17 Jan 2019 08:15:16 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:00:57 -0300 tools headers uap

[tip:perf/core] perf tools: Handle PERF_RECORD_KSYMBOL

2019-01-22 Thread tip-bot for Song Liu
Commit-ID: 9aa0bfa370b278a539077002b3c660468d66b5e7 Gitweb: https://git.kernel.org/tip/9aa0bfa370b278a539077002b3c660468d66b5e7 Author: Song Liu AuthorDate: Thu, 17 Jan 2019 08:15:17 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:00:57 -0300 perf tools: Handl

[tip:perf/core] perf tools: Handle PERF_RECORD_BPF_EVENT

2019-01-22 Thread tip-bot for Song Liu
Commit-ID: 45178a928a4b7c6093f6621e627d09909e81cc13 Gitweb: https://git.kernel.org/tip/45178a928a4b7c6093f6621e627d09909e81cc13 Author: Song Liu AuthorDate: Thu, 17 Jan 2019 08:15:18 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:00:57 -0300 perf tools: Handl

[tip:perf/core] perf tools: Synthesize PERF_RECORD_* for loaded BPF programs

2019-01-22 Thread tip-bot for Song Liu
Commit-ID: 7b612e291a5affb12b9d0b87332c71bcbe9c5db4 Gitweb: https://git.kernel.org/tip/7b612e291a5affb12b9d0b87332c71bcbe9c5db4 Author: Song Liu AuthorDate: Thu, 17 Jan 2019 08:15:19 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:36:39 -0300 perf tools: Synth

[tip:perf/core] perf top: Synthesize BPF events for pre-existing loaded BPF programs

2019-01-22 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a40b95bcd30cf77c6c7a00f879dfecbded47b3bd Gitweb: https://git.kernel.org/tip/a40b95bcd30cf77c6c7a00f879dfecbded47b3bd Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 17 Jan 2019 08:15:20 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:38:56 -0300 p

[tip:perf/core] bpf: Add module name [bpf] to ksymbols for bpf programs

2019-01-22 Thread tip-bot for Song Liu
Commit-ID: 6934058d9fb6c058fb5e5b11cdcb19834e205c91 Gitweb: https://git.kernel.org/tip/6934058d9fb6c058fb5e5b11cdcb19834e205c91 Author: Song Liu AuthorDate: Thu, 17 Jan 2019 08:15:21 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:38:56 -0300 bpf: Add module n

[PATCH] svm: Add warning message for AVIC IPI invalid target

2019-01-22 Thread Suthikulpanit, Suravee
From: Suravee Suthikulpanit Print warning message when IPI target ID is invalid due to one of the following reasons: * In logical mode: cluster > max_cluster (64) * In physical mode: target > max_physical (512) * Address is not present in the physical or logical ID tables Signed-off-by: Su

Re: [PATCH] doc: process: GPL -> GPL-compatible

2019-01-22 Thread Greg KH
On Tue, Jan 22, 2019 at 10:34:08AM +0100, Adam Borowski wrote: > Drivers under MIT, BSD-17-clause, or uncle-Bob's-newest-take-on-PD are > all fine, not just GPL. > > Signed-off-by: Adam Borowski > --- > Not reformatting to fill lines, it'll semi-conflict with another patch > that's been acked but

[tip:perf/core] perf python: Remove -fstack-clash-protection when building with some clang versions

2019-01-22 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a5dcc4ca9129f12a07722f41b6c5e8d7f71f4063 Gitweb: https://git.kernel.org/tip/a5dcc4ca9129f12a07722f41b6c5e8d7f71f4063 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 18 Jan 2019 11:34:15 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:38:56 -0300 p

[tip:perf/core] perf utils: Move perf_config using routines from color.c to separate object

2019-01-22 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 32e9136e37840a62c659259a394ed3735e3b3c84 Gitweb: https://git.kernel.org/tip/32e9136e37840a62c659259a394ed3735e3b3c84 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 21 Jan 2019 15:45:13 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:38:56 -0300 p

[PATCH] svm: Fix AVIC incomplete IPI emulation

2019-01-22 Thread Suthikulpanit, Suravee
From: Suravee Suthikulpanit In case of incomplete IPI with invalid interrupt type, the current SVM driver does not properly emulate the IPI, and fails to boot FreeBSD guests with multiple vcpus when enabling AVIC. Fix this by update APIC ICR high/low registers, which also emulate sending the IPI

Re: [PATCH v2 2/4] dt-bindings: gnss: add mediatek binding

2019-01-22 Thread Sean Wang
On Tue, 2019-01-22 at 09:47 +0100, Loys Ollivier wrote: > On Mon 21 Jan 2019 at 18:44, Sean Wang wrote: > > > On Mon, Jan 21, 2019 at 9:29 AM Loys Ollivier > > wrote: > >> > >> > >> On Mon 21 Jan 2019 at 17:10, Rob Herring wrote: > >> > >> > On Thu, 17 Jan 2019 17:54:32 +0100, Loys Ollivier wrot

Re: [Xen-devel] [PATCH v2] drm/xen-front: Make shmem backed display buffer coherent

2019-01-22 Thread Oleksandr Andrushchenko
Hello, Julien! On 1/21/19 7:09 PM, Julien Grall wrote: > Hello, > > On 21/01/2019 12:43, Oleksandr Andrushchenko wrote: >> On 1/18/19 1:43 PM, Julien Grall wrote: >>> On 18/01/2019 09:40, Oleksandr Andrushchenko wrote: On 1/17/19 11:18 AM, Christoph Hellwig wrote: > On Wed, Jan 16, 2019 a

Re: linux-next: manual merge of the pidfd tree with the y2038 tree

2019-01-22 Thread Christian Brauner
On Tue, Jan 22, 2019 at 10:31:46AM +0100, Christian Brauner wrote: > On Tue, Jan 22, 2019 at 10:26:56AM +0100, Arnd Bergmann wrote: > > On Mon, Jan 21, 2019 at 11:48 PM Christian Brauner > > wrote: > > > > > > On Mon, Jan 21, 2019 at 03:44:17PM -0700, Jens Axboe wrote: > > > > On 1/21/19 1:23 PM,

Re: [PATCH V3] cacheinfo: Keep the old value if of_property_read_u32 fails

2019-01-22 Thread Sudeep Holla
On 22/01/2019 00:51, Huacai Chen wrote: > Ping? > > On Wed, Dec 19, 2018 at 4:15 PM Huacai Chen wrote: >> >> Commit 448a5a552f336bd7b847b1951 ("drivers: base: cacheinfo: use OF >> property_read_u32 instead of get_property,read_number") makes cache >> size and number_of_sets be 0 if DT doesn't p

Re: [PATCH v6 04/16] sched/core: uclamp: Add CPU's clamp buckets refcounting

2019-01-22 Thread Patrick Bellasi
On 22-Jan 10:45, Peter Zijlstra wrote: > On Mon, Jan 21, 2019 at 04:33:38PM +, Patrick Bellasi wrote: > > On 21-Jan 17:12, Peter Zijlstra wrote: > > > On Mon, Jan 21, 2019 at 03:23:11PM +, Patrick Bellasi wrote: > > > > > and keep all > > > > the buckets in use at the beginning of a cache

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

2019-01-22 Thread Greg KH
On Sun, Jan 20, 2019 at 09:40:39PM +0530, Bharath Vedartham wrote: > This patch fixes the checkpatch.pl warning: > > WARNING: prefer 'help' over '---help---' for new help texts > > Signed-off-by: Bharath Vedartham > --- > drivers/staging/netlogic/Kconfig | 2 +- > 1 file changed, 1 insertion(+)

Re: possible deadlock in __do_page_fault

2019-01-22 Thread Tetsuo Handa
On 2019/01/22 19:12, Dmitry Vyukov wrote: > On Tue, Jan 22, 2019 at 11:02 AM Tetsuo Handa > wrote: >> >> On 2018/09/22 8:21, Andrew Morton wrote: >>> On Thu, 20 Sep 2018 19:33:15 -0400 Joel Fernandes >>> wrote: >>> On Thu, Sep 20, 2018 at 5:12 PM Todd Kjos wrote: > > +Joel Fernande

Re: [PATCH 1/1] kernel/ucounts: expose current inotify watch count

2019-01-22 Thread Jan Kara
On Mon 21-01-19 17:45:11, Albert Vaca Cintora wrote: > Adds a readonly 'current_inotify_watches' entry to the user sysctl table. > The handler for this entry is a custom function that ends calling > proc_dointvec. > > Signed-off-by: Albert Vaca Cintora FWIW this makes sense to me. I'd just copy

[PATCH] usb: phy: fix link errors

2019-01-22 Thread Anders Roxell
Fix link errors when CONFIG_FSL_USB2_OTG is enabled and USB_OTG_FSM is set to module then the following link error occurs. aarch64-linux-gnu-ld: drivers/usb/phy/phy-fsl-usb.o: in function `fsl_otg_ioctl': drivers/usb/phy/phy-fsl-usb.c:1083: undefined reference to `otg_statemachine' aarch64-linux-

Re: [PATCH] soc: qcom: update config dependencies for QCOM_RPMPD

2019-01-22 Thread Rajendra Nayak
On 1/22/2019 3:38 PM, Viresh Kumar wrote: On 22-01-19, 15:24, Rajendra Nayak wrote: I was doing some quick testing by adding the calls to of_genpd_remove_last() as suggested by Ulf for cleaning up the genpd registrations, and I run into this backtrace when the driver re-probes followed by a re

Re: [PATCH] cpufreq: Replace open-coded << with BIT()

2019-01-22 Thread Rafael J. Wysocki
On Monday, January 21, 2019 9:47:37 AM CET Amit Kucheria wrote: > Minor clean-up to use BIT() and keep checkpatch happy. Clean up the > comment formatting while we're at it to make it easier to read. > > Signed-off-by: Amit Kucheria > Reviewed-by: Stephen Boyd > --- > include/linux/cpufreq.h |

[RFC PATCH v2 0/4] mm, memory_hotplug: allocate memmap from hotadded memory

2019-01-22 Thread Oscar Salvador
Hi, this is the v2 of the first RFC I sent back then in October [1]. In this new version I tried to reduce the complexity as much as possible, plus some clean ups. [Testing] I have tested it on "x86_64" (small/big memblocks) and on "powerpc". On both architectures hot-add/hot-remove online/offli

[RFC PATCH v2 3/4] mm, memory_hotplug: allocate memmap from the added memory range for sparse-vmemmap

2019-01-22 Thread Oscar Salvador
Physical memory hotadd has to allocate a memmap (struct page array) for the newly added memory section. Currently, alloc_pages_node() is used for those allocations. This has some disadvantages: a) an existing memory is consumed for that purpose (~2MB per 128MB memory section on x86_64) b) if

[RFC PATCH v2 2/4] mm, memory_hotplug: provide a more generic restrictions for memory hotplug

2019-01-22 Thread Oscar Salvador
From: Michal Hocko arch_add_memory, __add_pages take a want_memblock which controls whether the newly added memory should get the sysfs memblock user API (e.g. ZONE_DEVICE users do not want/need this interface). Some callers even want to control where do we allocate the memmap from by configuring

[RFC PATCH v2 1/4] mm, memory_hotplug: cleanup memory offline path

2019-01-22 Thread Oscar Salvador
From: Michal Hocko check_pages_isolated_cb currently accounts the whole pfn range as being offlined if test_pages_isolated suceeds on the range. This is based on the assumption that all pages in the range are freed which is currently the case in most cases but it won't be with later changes. I ha

[RFC PATCH v2 4/4] mm, sparse: rename kmalloc_section_memmap, __kfree_section_memmap

2019-01-22 Thread Oscar Salvador
From: Michal Hocko The sufix "kmalloc" is misleading. Rename it to alloc_section_memmap/free_section_memmap which better reflects the funcionality. Signed-off-by: Michal Hocko Signed-off-by: Oscar Salvador --- mm/sparse.c | 16 1 file changed, 8 insertions(+), 8 deletions(-)

Re: [PATCH] ext2: Remove redundant check on s_inode_size

2019-01-22 Thread Jan Kara
On Tue 15-01-19 22:10:43, Liu Xiang wrote: > The case of (EXT2_INODE_SIZE(sb) == 0) is included in > (sbi->s_inode_size < EXT2_GOOD_OLD_INODE_SIZE). > So there is no need to check again. > > Signed-off-by: Liu Xiang Thanks for the cleanup. I have added it to my tree.

Re: [PATCH v6 08/16] sched/cpufreq: uclamp: Add utilization clamping for FAIR tasks

2019-01-22 Thread Rafael J. Wysocki
On Tuesday, January 15, 2019 11:15:05 AM CET Patrick Bellasi wrote: > Each time a frequency update is required via schedutil, a frequency is > selected to (possibly) satisfy the utilization reported by each > scheduling class. However, when utilization clamping is in use, the > frequency selection

Re: [PATCH] iommu/intel: quirk to disable DMAR for QM57 igfx

2019-01-22 Thread Joerg Roedel
On Fri, Jan 18, 2019 at 12:17:05PM +, Eric Wong wrote: > @@ -5411,6 +5411,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2e20, > quirk_iommu_g4x_gfx); > DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2e30, quirk_iommu_g4x_gfx); > DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2e40, q

RE: [PATCH 4/4] irq: imx: irqsteer: add multi output interrupts support

2019-01-22 Thread Aisheng Dong
> From: Lucas Stach [mailto:l.st...@pengutronix.de] > Sent: Friday, January 18, 2019 6:23 PM [...] > > > This has been discussed when upstreaming the driver. The controller > > > may support multiple output IRQs, but only one them is actually used > > > depending on the CHANCTRL config. There is no

Re: [PATCH 2/8] vop: Cast pointers to uintptr_t

2019-01-22 Thread Greg KH
On Wed, Jan 16, 2019 at 05:32:47PM +0100, Vincent Whitchurch wrote: > Fix these on 32-bit: > > vop_vringh.c:711:13: error: cast from pointer to integer of different > size [-Werror=pointer-to-int-cast] > > Signed-off-by: Vincent Whitchurch > --- > drivers/misc/mic/vop/vop_main.c | 8 ---

[PATCH v3 1/2] dt-bindings: rtc: Add bindings for Cadence RTC

2019-01-22 Thread Jan Kotas
This patch adds a DT binding documentation for Cadence RTC controller. Signed-off-by: Jan Kotas --- Documentation/devicetree/bindings/rtc/cdns,rtc.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/cdns,rtc.txt diff --git

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