[PATCH] uio: dismiss waiters on device unregistration

2018-11-16 Thread Zhaolong Zhang
When the device is unregistered, it should wake up the blocking waiters. Otherwise, they will sleep forever. Signed-off-by: Zhaolong Zhang --- drivers/uio/uio.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index 85

Re: [PATCH] ASoC: imx-audmux: complete dt-bindings for imx6

2018-11-16 Thread Clément Péron
Hi Shawn, On Fri, 16 Nov 2018 at 03:59, Shawn Guo wrote: > > On Mon, Nov 05, 2018 at 02:58:02PM +0100, Clément Péron wrote: > > From: Colin Didier > > > > The MX6 Audmux differs from MX51. > > > > This patch adds the audmux for i.MX6 family. > > > > Signed-off-by: Colin Didier > > Signed-off-by

[PATCH 03/10] arm: perf: add additional validation to set_event_filter

2018-11-16 Thread Andrew Murray
The armv7pmu driver doesn't support host/guest mode exclusion so let's report this when set_event_filter is called with these exclusion flags set. Signed-off-by: Andrew Murray --- arch/arm/kernel/perf_event_v7.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/kernel/perf_event_v7.

[PATCH 02/10] arm: perf/core: generalise event exclusion checking with perf macro

2018-11-16 Thread Andrew Murray
Replace checking of perf event exclusion flags with perf macro. Signed-off-by: Andrew Murray --- arch/arm/mach-imx/mmdc.c | 8 +--- arch/arm/mm/cache-l2x0-pmu.c | 7 +-- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-imx/mmdc.c b/arch/arm/mach-imx/mmdc.

Re: [PATCH] mm: use managed_zone() for more exact check in zone iteration

2018-11-16 Thread Michal Hocko
On Thu 15-11-18 07:50:40, Wei Yang wrote: [...] > @@ -1193,8 +1196,8 @@ static unsigned int count_free_highmem_pages(void) > struct zone *zone; > unsigned int cnt = 0; > > - for_each_populated_zone(zone) > - if (is_highmem(zone)) > + for_each_zone(zone) > +

Re: [resend PATCH 1/3] pwm: mediatek: drop flag 'has_clks'

2018-11-16 Thread Thierry Reding
On Fri, Nov 16, 2018 at 07:47:48AM +0100, Uwe Kleine-König wrote: > On Wed, Nov 14, 2018 at 01:47:52PM +0100, Thierry Reding wrote: > > On Tue, Nov 13, 2018 at 10:08:22AM +0800, Ryder Lee wrote: > > > The flag 'has_clks' and related checks are superfluous as the CCF > > > subsystem does this for yo

Re: [PATCH] clockevents/drivers/tegra20: Remove obsolete inclusion of

2018-11-16 Thread Thierry Reding
On Thu, Nov 15, 2018 at 11:00:37AM +0100, Geert Uytterhoeven wrote: > As of commit da4a686a2cfb077a ("ARM: smp_twd: convert to use CLKSRC_OF > init"), this header file is no longer used. > > Signed-off-by: Geert Uytterhoeven > --- > drivers/clocksource/tegra20_timer.c | 1 - > 1 file changed, 1

[PATCH] drivers/bus/qcom-ebi2.c: Remove duplicate header

2018-11-16 Thread Brajeswar Ghosh
Remove linux/io.h which is included more than once Signed-off-by: Brajeswar Ghosh --- drivers/bus/qcom-ebi2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bus/qcom-ebi2.c b/drivers/bus/qcom-ebi2.c index a6444244c411..56b01e4344d3 100644 --- a/drivers/bus/qcom-ebi2.c +++ b/drivers/b

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

2018-11-16 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 4/4] mm, sparse: rename kmalloc_section_memmap, __kfree_section_memmap

2018-11-16 Thread Oscar Salvador
From: Michal Hocko Both functions will use altmap rather than kmalloc for sparsemem-vmemmap so rename them to alloc_section_memmap/free_section_memmap which better reflect the functionality. Signed-off-by: Michal Hocko Signed-off-by: Oscar Salvador --- mm/sparse.c | 16 1 fil

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

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

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

2018-11-16 Thread Oscar Salvador
Hi, this patchset is based on Michal's patchset [1]. Patch#1, patch#2 and patch#4 are quite the same. They just needed little changes to adapt it to current codestream, so it seemed fair to leave them. - Original cover: This is another step to make the memory hotplug more usable. The pri

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

2018-11-16 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

Re: [PATCH v5 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-11-16 Thread Schrempf Frieder
On 16.11.18 10:46, Yogesh Narayan Gaur wrote: > Hi Frieder, > >> -Original Message- >> From: Schrempf Frieder [mailto:frieder.schre...@kontron.de] >> Sent: Friday, November 16, 2018 3:12 PM >> To: Yogesh Narayan Gaur >> Cc: Boris Brezillon ; >> linux-...@lists.infradead.org; >> linux-...

Re: [PATCH 01/10] ARM64: dts: amlogic: Add all CPUs in cooling maps

2018-11-16 Thread Neil Armstrong
On 16/11/2018 11:04, Viresh Kumar wrote: > Each CPU can (and does) participate in cooling down the system but the > DT only captures a handful of them, normally CPU0, in the cooling maps. > Things work by chance currently as under normal circumstances its the > first CPU of each cluster which is us

[PATCH] drivers/bus/fsl-mc/dpcon.c: Remove duplicate header

2018-11-16 Thread Brajeswar Ghosh
Remove linux/fsl/mc.h which is included more than once Signed-off-by: Brajeswar Ghosh --- drivers/bus/fsl-mc/dpcon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bus/fsl-mc/dpcon.c b/drivers/bus/fsl-mc/dpcon.c index 760555d7946e..97b6fa605e62 100644 --- a/drivers/bus/fsl-mc/dpcon.c

Re: [RFC PATCH v2 0/3] oom: rework oom_reaper vs. exit_mmap handoff

2018-11-16 Thread Tetsuo Handa
On 2018/11/15 20:36, Michal Hocko wrote: > On Thu 15-11-18 18:54:15, Tetsuo Handa wrote: > > On 2018/11/14 19:16, Michal Hocko wrote: > > > On Wed 14-11-18 18:46:13, Tetsuo Handa wrote: > > > [...] > > > > There is always an invisible lock called "scheduling priority". You > > > > can't > > > > le

[PATCH 10/10] ARM64: dts: uniphier: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

[PATCH 09/10] ARM64: dts: rockchip: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

[PATCH 04/10] arm64: dts: hi3660: Add missing cooling device properties for CPUs

2018-11-16 Thread Viresh Kumar
The cooling device properties, like "#cooling-cells" and "dynamic-power-coefficient", should either be present for all the CPUs of a cluster or none. If these are present only for a subset of CPUs of a cluster then things will start falling apart as soon as the CPUs are brought online in a differen

[PATCH 00/10] ARM64: dts: Fix incomplete cooling-maps

2018-11-16 Thread Viresh Kumar
Hello, Now that the below commit are merged in mainline, we can start fixing the ARM64 platform specific DT files: commit d7a4303b8d1f ("dt-bindings: thermal: Allow multiple devices to share cooling map") commit a92bab8919e3 ("of: thermal: Allow multiple devices to share cooling map") Each

[PATCH 05/10] ARM64: dts: hisilicon: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

[PATCH 07/10] ARM64: dts: msm8916: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

[PATCH 01/10] ARM64: dts: amlogic: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

[PATCH 06/10] ARM64: dts: mediatek: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

[PATCH 02/10] ARM64: dts: exynos: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

[PATCH 03/10] ARM64: dts: fsl: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

[PATCH 6/6] ARM: dts: uniphier: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

[PATCH 3/6] ARM: dts: mt7623: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

[PATCH 5/6] ARM: dts: sunxi: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

[PATCH 0/6] ARM: dts: Fix incomplete cooling-maps

2018-11-16 Thread Viresh Kumar
Hello, Now that the below commit are merged in mainline, we can start fixing the platform specific DT files: commit d7a4303b8d1f ("dt-bindings: thermal: Allow multiple devices to share cooling map") commit a92bab8919e3 ("of: thermal: Allow multiple devices to share cooling map") Each CPU can (a

[PATCH 4/6] ARM: dts: rockchip: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

[PATCH 1/6] ARM: dts: exynos: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

[PATCH 2/6] ARM: dts: ls1021a: Add all CPUs in cooling maps

2018-11-16 Thread Viresh Kumar
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling

Re: [PATCH] mm: use managed_zone() for more exact check in zone iteration

2018-11-16 Thread Michal Hocko
On Thu 15-11-18 13:37:35, Andrew Morton wrote: [...] > Worse, the situations in which managed_zone() != populated_zone() are > rare(?), so it will take a long time for problems to be discovered, I > expect. We would basically have to deplete the whole zone by the bootmem allocator or pull out all

Re: [PATCH] x86/cpu/AMD: Fix CPB bit for more processors

2018-11-16 Thread Borislav Petkov
On Fri, Nov 16, 2018 at 01:31:06PM +0800, Jiaxun Yang wrote: > CPUID Fn8000_0007_EDX[CPB] is wrongly 0 on Model 17, > Stepping 0, but revision guide has not been released for > newer Family 17h models. > > Tesed on AMD "Ryzen 7 2700U with Radeon Vega Mobile Gfx" > and "AMD Ryzen 5 2500U with Radeo

Re: [RCF PATCH,v2,2/2] pwm: imx: Configure output to GPIO in disabled state

2018-11-16 Thread Thierry Reding
On Thu, Nov 15, 2018 at 09:37:33PM +0100, Uwe Kleine-König wrote: > Hello Thierry, > > On Thu, Nov 15, 2018 at 04:25:45PM +0100, Thierry Reding wrote: > > On Wed, Nov 14, 2018 at 10:51:20PM +0100, Uwe Kleine-König wrote: > > > On Wed, Nov 14, 2018 at 12:34:49PM +0100, Thierry Reding wrote: > > > >

Re: [PATCH v1 1/4] Bluetooth: hci_qca: use wait_until_sent() for power pulses

2018-11-16 Thread Johan Hovold
On Thu, Nov 15, 2018 at 08:04:29PM +0530, Balakrishna Godavarthi wrote: > Hi Johan, > > On 2018-11-14 20:57, Johan Hovold wrote: > > On Tue, Nov 06, 2018 at 05:35:25PM +0530, Balakrishna Godavarthi wrote: > >> wcn3990 requires a power pulse to turn ON/OFF along with > >> regulators. Sometimes we a

RE: [PATCH v5 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-11-16 Thread Yogesh Narayan Gaur
Hi Frieder, > -Original Message- > From: Schrempf Frieder [mailto:frieder.schre...@kontron.de] > Sent: Friday, November 16, 2018 3:12 PM > To: Yogesh Narayan Gaur > Cc: Boris Brezillon ; > linux-...@lists.infradead.org; > linux-...@vger.kernel.org; Marek Vasut ; Mark > Brown ; Han Xu ; >

Re: [PATCH v5 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-11-16 Thread Schrempf Frieder
Hi Yogesh, On 16.11.18 06:41, Yogesh Narayan Gaur wrote: > Hi Frieder, > >> -Original Message- >> From: Schrempf Frieder [mailto:frieder.schre...@kontron.de] >> Sent: Thursday, November 15, 2018 7:32 PM >> To: Yogesh Narayan Gaur >> Cc: Boris Brezillon ; >> linux-...@lists.infradead.org

[PATCH v2 1/2] dt-bindings: arm: amlogic: add libretech aml-s805x-ac bindings

2018-11-16 Thread Jerome Brunet
Add bindings for the Libretech aml-s805x-ac board, aka 'La Frite'. Signed-off-by: Neil Armstrong Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentat

[PATCH v2 2/2] arm64: dts: meson: add libretech aml-s805x-ac board

2018-11-16 Thread Jerome Brunet
From: Neil Armstrong Add Libretech aml-s805x-ac board (aka 'La Frite') support Signed-off-by: Neil Armstrong Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../amlogic/meson-gxl-s805x-libretech-ac.dts | 248 ++ 2 files changed, 249 ins

[PATCH v2 0/2] arm64: dts: meson: add Libretech aml-s805x-ac support

2018-11-16 Thread Jerome Brunet
This patchset adds support for the libretech aml-s805x-ac, aka 'La Frite' Changes since v1: [0] * Update gpio line names to align on Neil's recent series [1] * fix typo in comment [0]: https://lkml.kernel.org/r/20181114101925.10526-1-jbru...@baylibre.com [1]: https://lkml.kernel.org/r/15415875

[PATCH] ASoC: rt5663: Fix error handling of regulator_set_load

2018-11-16 Thread Cheng-Yi Chiang
The default implementation of regulator_set_load returns REGULATOR_MODE_NORMAL, which is positive. rt5663_i2c_probe should only do error handling when return value of regulator_set_load is negative. In this case, rt5663_i2c_probe should return error. Also, consolidate err_irq into err_enable. Fi

From:Miss:Fatima Yusuf.

2018-11-16 Thread Miss.Fatima Yusuf
From:Miss:Fatima Yusuf. For sure this mail would definitely come to you as a surprise, but do take your good time to go through it, My name is Ms.Fatima Yusuf,i am from Ivory Coast. I lost my parents a year and couple of months ago. My father was a serving director of the Agro-exporting boar

Re: [PATCH 0/9] ARM: SAMSUNG: add Exynos chipid driver

2018-11-16 Thread Markus Reichl
Hi Bartlomiej, Am 15.11.18 um 16:11 schrieb Bartlomiej Zolnierkiewicz: > Hi, > > This patchset adds Exynos chipid driver and converts Exynos platform > code to use it. It is heavily based on "[PATCH v9 00/12] Introducing > Exynos ChipId driver" patchset [1] so most credits go to Pankaj Dubey. >

Re: [alsa-devel] [PATCH v3 1/5] ALSA: soc-compress: add support to snd_compr_set_runtime_buffer()

2018-11-16 Thread Srinivas Kandagatla
Thanks for your comments! On 16/11/18 07:18, Daniel Baluta wrote: One minor comment: struct snd_compr_ops *ops; + struct snd_dma_buffer *dma_buffer_p; I don't think it is necessary to encode the type inside the name variable So, dma_buffer would sounds better to me then dma_b

[v3, PATCH 2/2] dt-binding: mediatek-dwmac: add binding document for MediaTek MT2712 DWMAC

2018-11-16 Thread Biao Huang
The commit adds the device tree binding documentation for the MediaTek DWMAC found on MediaTek MT2712. Change-Id: I3728666bf65927164bd82fa8dddb90df8270bd44 Signed-off-by: Biao Huang --- .../devicetree/bindings/net/mediatek-dwmac.txt | 77 1 file changed, 77 insertions(

Re: [PATCH 1/4] PCI / ACPI: Identify external PCI devices

2018-11-16 Thread Christoph Hellwig
On Thu, Nov 15, 2018 at 09:10:26PM +0200, Mika Westerberg wrote: > FireWire is kind of different but there are connectors such as > ExpressCard and NVMe (over U.2 connector) which carry PCIe and are > relatively easy to access without need for a screwdriver. AFAIK some > eGPUs are also using some o

Re: possible deadlock in acct_pin_kill

2018-11-16 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:da5322e65940 Merge tag 'selinux-pr-20181115' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10152c5d40 kernel config: https://syzkaller.appspot.com/x/.config?x=d86f24

Re: Memory hotplug softlock issue

2018-11-16 Thread Michal Hocko
On Fri 16-11-18 09:24:33, Baoquan He wrote: > On 11/15/18 at 03:32pm, Michal Hocko wrote: > > On Thu 15-11-18 21:38:40, Baoquan He wrote: > > > On 11/15/18 at 02:19pm, Michal Hocko wrote: > > > > On Thu 15-11-18 21:12:11, Baoquan He wrote: > > > > > On 11/15/18 at 09:30am, Michal Hocko wrote: > > >

Re: [PATCH] SelfTest: KVM: Drop Asserts for madvise failures

2018-11-16 Thread Andrew Jones
On Thu, Nov 15, 2018 at 08:09:07PM +0200, Ahmed Abd El Mawgood wrote: > From: Ahmed Abd El Mawgood > > madvise() returns -1 without CONFIG_TRANSPARENT_HUGEPAGE=y. That would > trigger asserts when checking for return value of madvice. Following > similar decision to [1]. I thought it is ok to ass

Re: [PATCH AUTOSEL 3.18 8/9] mm/vmstat.c: assert that vmstat_text is in sync with stat_items_size

2018-11-16 Thread Michal Hocko
On Thu 15-11-18 18:01:18, Sasha Levin wrote: > On Thu, Nov 15, 2018 at 02:47:19PM -0800, Andrew Morton wrote: > > On Thu, 15 Nov 2018 17:37:18 -0500 Sasha Levin wrote: > > > > > On Thu, Nov 15, 2018 at 02:08:10PM -0800, Andrew Morton wrote: > > > >On Tue, 13 Nov 2018 00:52:51 -0500 Sasha Levin w

Re: [PATCH v5 1/3] arm64: dts: meson-gxl: add support for phicomm n1

2018-11-16 Thread Neil Armstrong
On 10/11/2018 04:39, He Yangxuan wrote: > This patch adds support for the Phicomm N1. This device based on P230 > reference design. > And this box doesn't have cvbs, so disable related section in device tree. > > Signed-off-by: He Yangxuan > --- > arch/arm64/boot/dts/amlogic/Makefile

Re: [PATCH v2 0/6] Meson8b: make the CPU clock mutable

2018-11-16 Thread Neil Armstrong
On 15/11/2018 23:40, Martin Blumenstingl wrote: > This allows changing the CPU clock on the 32-bit Amlogic Meson SoCs > (Meson8, Meson8b and Meson8m2). > CPU frequency scaling will be enabled with a separate series by adding > the CPU clock and the OPP tables to meson8.dtsi and meson8b.dtsi. > > W

Re: [PATCH] mm/swap: use nr_node_ids for avail_lists in swap_info_struct

2018-11-16 Thread Michal Hocko
On Thu 15-11-18 16:38:47, Aaron Lu wrote: > Since commit a2468cc9bfdf ("swap: choose swap device according to > numa node"), avail_lists field of swap_info_struct is changed to > an array with MAX_NUMNODES elements. This made swap_info_struct > size increased to 40KiB and needs an order-4 page to h

Re: [PATCH] pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD

2018-11-16 Thread Michal Simek
On 09. 11. 18 16:36, Nathan Chancellor wrote: > On Fri, Nov 09, 2018 at 10:33:00AM +0100, Michal Simek wrote: >> On 08. 11. 18 16:01, Nathan Chancellor wrote: >>> On Thu, Nov 08, 2018 at 07:45:42AM +0100, Michal Simek wrote: On 07. 11. 18 18:48, Nick Desaulniers wrote: > On Wed, Nov 7, 201

Re: [PATCH] slab: fix 'dubious: x & !y' warning from Sparse

2018-11-16 Thread Michal Hocko
On Fri 16-11-18 14:40:29, Masahiro Yamada wrote: > Sparse reports: > ./include/linux/slab.h:332:43: warning: dubious: x & !y JFYI this has been discussed here http://lkml.kernel.org/r/20181105204000.129023-1-bvanass...@acm.org > Signed-off-by: Masahiro Yamada > --- > > include/linux/slab.h |

[PATCH 2/5] mm: lower the printk loglevel for __dump_page messages

2018-11-16 Thread Michal Hocko
From: Michal Hocko __dump_page messages use KERN_EMERG resp. KERN_ALERT loglevel (this is the case since 2004). Most callers of this function are really detecting a critical page state and BUG right after. On the other hand the function is called also from contexts which just want to inform about

[PATCH 4/5] mm, memory_hotplug: print reason for the offlining failure

2018-11-16 Thread Michal Hocko
From: Michal Hocko The memory offlining failure reporting is inconsistent and insufficient. Some error paths simply do not report the failure to the log at all. When we do report there are no details about the reason of the failure and there are several of them which makes memory offlining failur

[PATCH 5/5] mm, memory_hotplug: be more verbose for memory offline failures

2018-11-16 Thread Michal Hocko
From: Michal Hocko There is only very limited information printed when the memory offlining fails: [ 1984.506184] rac1 kernel: memory offlining [mem 0x826-0x8267fff] failed due to signal backoff This tells us that the failure is triggered by the userspace intervention but it doesn't

[PATCH 0/5] mm, memory_hotplug: improve memory offlining failures debugging

2018-11-16 Thread Michal Hocko
Hi, this has been posted as an RFC [1]. I have screwed during rebasing so there were few compilation issues in the previous version. I have also integrated review feedback from Andrew and Anshuman. I have been promissing to improve memory offlining failures debugging for quite some time. As things

[PATCH 3/5] mm, memory_hotplug: drop pointless block alignment checks from __offline_pages

2018-11-16 Thread Michal Hocko
From: Michal Hocko This function is never called from a context which would provide misaligned pfn range so drop the pointless check. Signed-off-by: Michal Hocko --- mm/memory_hotplug.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 2b2

[PATCH 1/5] mm: print more information about mapping in __dump_page

2018-11-16 Thread Michal Hocko
From: Michal Hocko __dump_page prints the mapping pointer but that is quite unhelpful for many reports because the pointer itself only helps to distinguish anon/ksm mappings from other ones (because of lowest bits set). Sometimes it would be much more helpful to know what kind of mapping that is

Re: [PATCH v4 0/3] microblaze: system call table generation support

2018-11-16 Thread Michal Simek
On 13. 11. 18 7:04, Firoz Khan wrote: > The purpose of this patch series is, we can easily > add/modify/delete system call table support by cha- > nging entry in syscall.tbl file instead of manually > changing many files. The other goal is to unify the > system call table generation support impleme

Re: [PATCH v6 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-11-16 Thread Liang Yang
Hi Boris and Miquel, understand. i will move helpers into nfc driver to avoid some errors when sending the patch. On 2018/11/15 21:09, Boris Brezillon wrote: On Thu, 15 Nov 2018 14:04:00 +0100 Miquel Raynal wrote: Hi Liang, Liang Yang wrote on Thu, 15 Nov 2018 19:25:07 +0800: Hi Boris,

Re: [RCF PATCH,v2,2/2] pwm: imx: Configure output to GPIO in disabled state

2018-11-16 Thread Uwe Kleine-König
On Fri, Nov 16, 2018 at 08:34:30AM +0100, Lothar Waßmann wrote: > Uwe Kleine-König wrote: > > > Hello Thierry, > > > > On Thu, Nov 15, 2018 at 04:25:45PM +0100, Thierry Reding wrote: > > > On Wed, Nov 14, 2018 at 10:51:20PM +0100, Uwe Kleine-König wrote: > > > > On Wed, Nov 14, 2018 at 12:34:4

Re: [RCF PATCH,v2,2/2] pwm: imx: Configure output to GPIO in disabled state

2018-11-16 Thread Lothar Waßmann
Uwe Kleine-König wrote: > Hello Thierry, > > On Thu, Nov 15, 2018 at 04:25:45PM +0100, Thierry Reding wrote: > > On Wed, Nov 14, 2018 at 10:51:20PM +0100, Uwe Kleine-König wrote: > > > On Wed, Nov 14, 2018 at 12:34:49PM +0100, Thierry Reding wrote: [...] > > > Also dts writes don't need to l

<    1   2   3   4   5