Re: [PATCH v2 1/3] linkage.h: Align weak symbols.

2018-10-29 Thread Will Deacon
On Thu, Sep 20, 2018 at 04:56:29PM +0300, Andrey Ryabinin wrote: > Since WEAK() supposed to be used instead of ENTRY() to define weak > symbols, but unlike ENTRY() it doesn't have ALIGN directive. > It seems there is no actual reason to not have, so let's add > ALIGN to WEAK() too. > >

Re: [PATCH v2 2/3] arm64: lib: use C string functions with KASAN enabled.

2018-10-29 Thread Will Deacon
On Thu, Sep 20, 2018 at 04:56:30PM +0300, Andrey Ryabinin wrote: > ARM64 has asm implementation of memchr(), memcmp(), str[r]chr(), > str[n]cmp(), str[n]len(). KASAN don't see memory accesses in asm > code, thus it can potentially miss many bugs. > > Ifdef out __HAVE_ARCH_* defines of these

Re: [GIT PULL] C-SKY(csky) Port for Linux 4.20

2018-10-29 Thread Geert Uytterhoeven
On Mon, Oct 29, 2018 at 10:45 AM Arnd Bergmann wrote: > One more general comment: I think this may well be the last new CPU > architecture we ever add to the kernel. Both nds32 and c-sky are made > by companies that also work on risc-v, and generally speaking risc-v > seems to be killing off any

Re: [GIT PULL] C-SKY(csky) Port for Linux 4.20

2018-10-29 Thread Geert Uytterhoeven
On Mon, Oct 29, 2018 at 10:45 AM Arnd Bergmann wrote: > One more general comment: I think this may well be the last new CPU > architecture we ever add to the kernel. Both nds32 and c-sky are made > by companies that also work on risc-v, and generally speaking risc-v > seems to be killing off any

Re: [PATCH v2] thermal: qoriq: add multiple sensors support

2018-10-29 Thread Daniel Lezcano
On 29/10/2018 10:31, andy.t...@nxp.com wrote: > From: Yuantian Tang > > The QorIQ Layerscape SoC has several thermal sensors but the current > driver only supports one. > > Massage the code to be sensor oriented and allow the support for > multiple sensors. > > Signed-off-by: Yuantian Tang >

Re: [PATCH v2] thermal: qoriq: add multiple sensors support

2018-10-29 Thread Daniel Lezcano
On 29/10/2018 10:31, andy.t...@nxp.com wrote: > From: Yuantian Tang > > The QorIQ Layerscape SoC has several thermal sensors but the current > driver only supports one. > > Massage the code to be sensor oriented and allow the support for > multiple sensors. > > Signed-off-by: Yuantian Tang >

Re: [RFC PATCH 1/7] compiler_attributes.h: add __attribute__((format_arg)) shorthand

2018-10-29 Thread Rasmus Villemoes
On 2018-10-27 14:06, Miguel Ojeda wrote: > Hi Rasmus, > > On Sat, Oct 27, 2018 at 1:24 AM Rasmus Villemoes > wrote: >> >> +/* >> + * Optional > > I did quick check and gcc >= 4.1, clang >= 3.0, icc >= 13 compilers > seem to support it (or at least recognize it, even if they just ignore > it),

Re: [RFC PATCH 1/7] compiler_attributes.h: add __attribute__((format_arg)) shorthand

2018-10-29 Thread Rasmus Villemoes
On 2018-10-27 14:06, Miguel Ojeda wrote: > Hi Rasmus, > > On Sat, Oct 27, 2018 at 1:24 AM Rasmus Villemoes > wrote: >> >> +/* >> + * Optional > > I did quick check and gcc >= 4.1, clang >= 3.0, icc >= 13 compilers > seem to support it (or at least recognize it, even if they just ignore > it),

Re: [PATCH 2/2] i2c: Clear client->irq in i2c_device_remove

2018-10-29 Thread Benjamin Tissoires
On Sun, Oct 28, 2018 at 11:31 PM Wolfram Sang wrote: > > On Fri, Oct 19, 2018 at 09:59:58AM +0100, Charles Keepax wrote: > > The IRQ will be mapped in i2c_device_probe only if client->irq is zero and > > i2c_device_remove does not clear this. When rebinding an I2C device, > > whos IRQ provider

[PATCH v2 2/2] efi/fdt: Simplify get_fdt flow

2018-10-29 Thread Julien Thierry
Reorganize get_fdt lookup loop, clearly showing that: - Nothing is done for table entries that do not have fdt_guid - Once an entry with fdt_guid is found, break out of the loop No functional changes. Signed-off-by: Julien Thierry Suggested-by: Joe Perches Cc: Ard Biesheuvel ---

Re: [PATCH 2/2] i2c: Clear client->irq in i2c_device_remove

2018-10-29 Thread Benjamin Tissoires
On Sun, Oct 28, 2018 at 11:31 PM Wolfram Sang wrote: > > On Fri, Oct 19, 2018 at 09:59:58AM +0100, Charles Keepax wrote: > > The IRQ will be mapped in i2c_device_probe only if client->irq is zero and > > i2c_device_remove does not clear this. When rebinding an I2C device, > > whos IRQ provider

[PATCH v2 2/2] efi/fdt: Simplify get_fdt flow

2018-10-29 Thread Julien Thierry
Reorganize get_fdt lookup loop, clearly showing that: - Nothing is done for table entries that do not have fdt_guid - Once an entry with fdt_guid is found, break out of the loop No functional changes. Signed-off-by: Julien Thierry Suggested-by: Joe Perches Cc: Ard Biesheuvel ---

My Dear Beloved please i need your help

2018-10-29 Thread Mrs. Sharon Smith
My Beloved, I am writing this mail to you with heavy tears in my eyes and great sorrow in my heart. As I informed you earlier, I am (Mrs.) Sharon Smith from Uzbekistan and a widow to late Martin Smith; I am 63 years old, suffering from long time Cancer of the breast. From all indications

My Dear Beloved please i need your help

2018-10-29 Thread Mrs. Sharon Smith
My Beloved, I am writing this mail to you with heavy tears in my eyes and great sorrow in my heart. As I informed you earlier, I am (Mrs.) Sharon Smith from Uzbekistan and a widow to late Martin Smith; I am 63 years old, suffering from long time Cancer of the breast. From all indications

Re: [PATCH 1/2] i2c: Remove unnecessary call to irq_find_mapping

2018-10-29 Thread Benjamin Tissoires
On Sun, Oct 28, 2018 at 11:30 PM Wolfram Sang wrote: > > On Fri, Oct 19, 2018 at 09:59:57AM +0100, Charles Keepax wrote: > > irq_create_mapping calls irq_find_mapping internally and will use the > > found mapping if one exists, so there is no need to manually call this > > from

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

2018-10-29 Thread Tomasz Figa
On Mon, Oct 29, 2018 at 7:06 PM Tomasz Figa wrote: > > Hi Stanimir, > > On Mon, Oct 29, 2018 at 6:45 PM Stanimir Varbanov > wrote: > > > > Hi Tomasz, > > > > On 10/22/2018 05:48 PM, Tomasz Figa wrote: > > > Due to complexity of the video decoding process, the V4L2 drivers of > > > stateful

Re: [PATCH 1/2] i2c: Remove unnecessary call to irq_find_mapping

2018-10-29 Thread Benjamin Tissoires
On Sun, Oct 28, 2018 at 11:30 PM Wolfram Sang wrote: > > On Fri, Oct 19, 2018 at 09:59:57AM +0100, Charles Keepax wrote: > > irq_create_mapping calls irq_find_mapping internally and will use the > > found mapping if one exists, so there is no need to manually call this > > from

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

2018-10-29 Thread Tomasz Figa
On Mon, Oct 29, 2018 at 7:06 PM Tomasz Figa wrote: > > Hi Stanimir, > > On Mon, Oct 29, 2018 at 6:45 PM Stanimir Varbanov > wrote: > > > > Hi Tomasz, > > > > On 10/22/2018 05:48 PM, Tomasz Figa wrote: > > > Due to complexity of the video decoding process, the V4L2 drivers of > > > stateful

Re: [PATCH 0/9] serial: Add Tegra Combined UART driver

2018-10-29 Thread Thierry Reding
On Mon, Oct 29, 2018 at 11:04:06AM +0200, Pekka Pessi wrote: > Hi Thierry, > > What is the use case for the mailbox driver? What kind of entity will be > there consuming sent messages and sending messages to kernel? This is currently only used for the TCU. I'm sure there could be other cases,

Re: [PATCH 0/9] serial: Add Tegra Combined UART driver

2018-10-29 Thread Thierry Reding
On Mon, Oct 29, 2018 at 11:04:06AM +0200, Pekka Pessi wrote: > Hi Thierry, > > What is the use case for the mailbox driver? What kind of entity will be > there consuming sent messages and sending messages to kernel? This is currently only used for the TCU. I'm sure there could be other cases,

[PATCH 2/2] ASoC: pcm3060: Rename output widgets

2018-10-29 Thread Kirill Marinushkin
In the initial commit [1], I added differential outputs of the codec as separate `+` and `-` widgets: OUTL+ OUTR+ OUTL- OUTR- Later, in the commit [2], I added a control to switch the outputs between differential and single-ended modes. Having this control, the `+` and `-` separation in widgets

[PATCH 2/2] ASoC: pcm3060: Rename output widgets

2018-10-29 Thread Kirill Marinushkin
In the initial commit [1], I added differential outputs of the codec as separate `+` and `-` widgets: OUTL+ OUTR+ OUTL- OUTR- Later, in the commit [2], I added a control to switch the outputs between differential and single-ended modes. Having this control, the `+` and `-` separation in widgets

[PATCH 1/2] ASoC: pcm3060: Add control for differential output

2018-10-29 Thread Kirill Marinushkin
DAC may be switched between differential and single-ended output. Signed-off-by: Kirill Marinushkin --- sound/soc/codecs/pcm3060.c | 9 + sound/soc/codecs/pcm3060.h | 1 + 2 files changed, 10 insertions(+) diff --git a/sound/soc/codecs/pcm3060.c b/sound/soc/codecs/pcm3060.c index

[PATCH 1/2] ASoC: pcm3060: Add control for differential output

2018-10-29 Thread Kirill Marinushkin
DAC may be switched between differential and single-ended output. Signed-off-by: Kirill Marinushkin --- sound/soc/codecs/pcm3060.c | 9 + sound/soc/codecs/pcm3060.h | 1 + 2 files changed, 10 insertions(+) diff --git a/sound/soc/codecs/pcm3060.c b/sound/soc/codecs/pcm3060.c index

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-29 Thread Michal Hocko
On Mon 29-10-18 20:42:53, Balbir Singh wrote: > On Mon, Oct 29, 2018 at 10:00:35AM +0100, Michal Hocko wrote: [...] > > These hugetlb allocations might be disruptive and that is an expected > > behavior because this is an explicit requirement from an admin to > > pre-allocate large pages for the

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-29 Thread Michal Hocko
On Mon 29-10-18 20:42:53, Balbir Singh wrote: > On Mon, Oct 29, 2018 at 10:00:35AM +0100, Michal Hocko wrote: [...] > > These hugetlb allocations might be disruptive and that is an expected > > behavior because this is an explicit requirement from an admin to > > pre-allocate large pages for the

Re: [PATCH] RDMA/hns: Use 64-bit arithmetic instead of 32-bit

2018-10-29 Thread Leon Romanovsky
On Thu, Oct 18, 2018 at 08:17:10PM -0400, Doug Ledford wrote: > On Thu, 2018-10-18 at 14:01 +0300, Leon Romanovsky wrote: > > On Thu, Oct 18, 2018 at 10:02:58AM +0200, Gustavo A. R. Silva wrote: > > > Cast *max_num_sg* to u64 in order to give the compiler complete > > > information about the

Re: [PATCH] RDMA/hns: Use 64-bit arithmetic instead of 32-bit

2018-10-29 Thread Leon Romanovsky
On Thu, Oct 18, 2018 at 08:17:10PM -0400, Doug Ledford wrote: > On Thu, 2018-10-18 at 14:01 +0300, Leon Romanovsky wrote: > > On Thu, Oct 18, 2018 at 10:02:58AM +0200, Gustavo A. R. Silva wrote: > > > Cast *max_num_sg* to u64 in order to give the compiler complete > > > information about the

Re: [PATCH 4/9] mailbox: tegra-hsp: Add support for shared mailboxes

2018-10-29 Thread Pekka Pessi
Hi Thierry, There is typically one entity (aux cpu or a VM running on CCPLEX) owning the "empty" or producer side of mailbox (iow, waking up on empty) and another entity owning the "full" or consumer side of mailbox (waking up on full). An entity should not muck with the interrupts used by

Re: [PATCH 4/9] mailbox: tegra-hsp: Add support for shared mailboxes

2018-10-29 Thread Pekka Pessi
Hi Thierry, There is typically one entity (aux cpu or a VM running on CCPLEX) owning the "empty" or producer side of mailbox (iow, waking up on empty) and another entity owning the "full" or consumer side of mailbox (waking up on full). An entity should not muck with the interrupts used by

Re: [PATCH V3] arm64: Don't flush tlb while clearing the accessed bit

2018-10-29 Thread Jon Hunter
On 29/10/2018 09:25, Ashish Mhetre wrote: > From: Alex Van Brunt > > Accessed bit is used to age a page and in generic implementation there is > flush_tlb while clearing the accessed bit. > Flushing a TLB is overhead on ARM64 as access flag faults don't get > translation table entries cached

Re: [PATCH V3] arm64: Don't flush tlb while clearing the accessed bit

2018-10-29 Thread Jon Hunter
On 29/10/2018 09:25, Ashish Mhetre wrote: > From: Alex Van Brunt > > Accessed bit is used to age a page and in generic implementation there is > flush_tlb while clearing the accessed bit. > Flushing a TLB is overhead on ARM64 as access flag faults don't get > translation table entries cached

Re: [PATCH] mfd: tps6586x: Handle interrupts on suspend

2018-10-29 Thread Thierry Reding
On Fri, Oct 19, 2018 at 02:22:53PM +0100, Jon Hunter wrote: > From: Jonathan Hunter > > The tps6586x driver creates an irqchip that is used by its various child > devices for managing interrupts. The tps6586x-rtc device is one of its > children that uses the tps6586x irqchip. When using the

Re: [PATCH] mfd: tps6586x: Handle interrupts on suspend

2018-10-29 Thread Thierry Reding
On Fri, Oct 19, 2018 at 02:22:53PM +0100, Jon Hunter wrote: > From: Jonathan Hunter > > The tps6586x driver creates an irqchip that is used by its various child > devices for managing interrupts. The tps6586x-rtc device is one of its > children that uses the tps6586x irqchip. When using the

Re: [LINUX PATCH v11 0/3] Add support for Arasan NAND Flash controller

2018-10-29 Thread Miquel Raynal
Hi Naga, Naga Sureshkumar Relli wrote on Tue, 25 Sep 2018 17:50:28 +0530: > This patch series adds the basic driver support for Arasan NAND Flash > controller. > We are reinitiating the patch series by fixing the comments given by Miquel > and Boris. > Major changes are exec_op()

Re: [LINUX PATCH v11 0/3] Add support for Arasan NAND Flash controller

2018-10-29 Thread Miquel Raynal
Hi Naga, Naga Sureshkumar Relli wrote on Tue, 25 Sep 2018 17:50:28 +0530: > This patch series adds the basic driver support for Arasan NAND Flash > controller. > We are reinitiating the patch series by fixing the comments given by Miquel > and Boris. > Major changes are exec_op()

urgent

2018-10-29 Thread Les Scadding
Hello Dear Do you have the passion for humanitarian welfare? Can you devote your time and be totally committed and devoted to run multi-million pounds humanitarian charity project sponsored totally by me; with an incentive/compensation accrual to you for your time and effort and at no cost to

urgent

2018-10-29 Thread Les Scadding
Hello Dear Do you have the passion for humanitarian welfare? Can you devote your time and be totally committed and devoted to run multi-million pounds humanitarian charity project sponsored totally by me; with an incentive/compensation accrual to you for your time and effort and at no cost to

Re: [PATCH v2 01/17] compat_ioctl: add generic_compat_ioctl_ptrarg()

2018-10-29 Thread Arnd Bergmann
On Sun, Oct 28, 2018 at 6:07 PM Al Viro wrote: > > On Thu, Sep 13, 2018 at 12:29:02PM +0200, Arnd Bergmann wrote: > > > I was hoping that the _ptrarg suffix gives enough warning here, > > but maybe not. I was careful to only use it in cases that I > > checked are safe, either using only pointer

Re: [PATCH v2 01/17] compat_ioctl: add generic_compat_ioctl_ptrarg()

2018-10-29 Thread Arnd Bergmann
On Sun, Oct 28, 2018 at 6:07 PM Al Viro wrote: > > On Thu, Sep 13, 2018 at 12:29:02PM +0200, Arnd Bergmann wrote: > > > I was hoping that the _ptrarg suffix gives enough warning here, > > but maybe not. I was careful to only use it in cases that I > > checked are safe, either using only pointer

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

2018-10-29 Thread Miquel Raynal
Hi Jianxin, Jianxin Pan wrote on Thu, 20 Sep 2018 16:50:49 +0800: > From: Liang Yang > > Add initial support for the Amlogic NAND flash controller which found > in the Meson-GXBB/GXL/AXG SoCs. > > Signed-off-by: Liang Yang > Signed-off-by: Yixun Lan > Signed-off-by: Jianxin Pan > --- I

Re: [PATCH] mtd: sa1100: avoid VLA in sa1100_setup_mtd

2018-10-29 Thread Arnd Bergmann
On Mon, Oct 29, 2018 at 8:30 AM Boris Brezillon wrote: > On Sun, 28 Oct 2018 19:13:26 -0700 Kees Cook wrote: > > On Fri, Oct 12, 2018 at 2:22 AM, Boris Brezillon > > wrote: > > > On Fri, 12 Oct 2018 11:19:52 +0200 Arnd Bergmann wrote: > > > > On Fri, Oct 12, 2018 at 11:16 AM Boris Brezillon

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

2018-10-29 Thread Miquel Raynal
Hi Jianxin, Jianxin Pan wrote on Thu, 20 Sep 2018 16:50:49 +0800: > From: Liang Yang > > Add initial support for the Amlogic NAND flash controller which found > in the Meson-GXBB/GXL/AXG SoCs. > > Signed-off-by: Liang Yang > Signed-off-by: Yixun Lan > Signed-off-by: Jianxin Pan > --- I

Re: [PATCH] mtd: sa1100: avoid VLA in sa1100_setup_mtd

2018-10-29 Thread Arnd Bergmann
On Mon, Oct 29, 2018 at 8:30 AM Boris Brezillon wrote: > On Sun, 28 Oct 2018 19:13:26 -0700 Kees Cook wrote: > > On Fri, Oct 12, 2018 at 2:22 AM, Boris Brezillon > > wrote: > > > On Fri, 12 Oct 2018 11:19:52 +0200 Arnd Bergmann wrote: > > > > On Fri, Oct 12, 2018 at 11:16 AM Boris Brezillon

Re: [PATCH] regulator: bd718x7: add missing linux/of.h inclusion

2018-10-29 Thread Mark Brown
On Mon, Oct 29, 2018 at 11:40:41AM +0200, Matti Vaittinen wrote: > Should I just create another patch to you where this inclusion is done again > or is there some better way to handle this? Can you cherry pick or > re-apply the commit Just send another patch, it's easiest. signature.asc

Re: [PATCH] regulator: bd718x7: add missing linux/of.h inclusion

2018-10-29 Thread Mark Brown
On Mon, Oct 29, 2018 at 11:40:41AM +0200, Matti Vaittinen wrote: > Should I just create another patch to you where this inclusion is done again > or is there some better way to handle this? Can you cherry pick or > re-apply the commit Just send another patch, it's easiest. signature.asc

Re: [GIT PULL] C-SKY(csky) Port for Linux 4.20

2018-10-29 Thread Arnd Bergmann
On Sun, Oct 28, 2018 at 10:11 PM Linus Torvalds wrote: > > Arnd, > I was kind of hoping/expecting to get an explicit ack for this from > you, since it's a new architecture. > > Good to merge? Yes. For the pull request (in case you want to add it to the merge changelog): I did a thorough

Re: [GIT PULL] C-SKY(csky) Port for Linux 4.20

2018-10-29 Thread Arnd Bergmann
On Sun, Oct 28, 2018 at 10:11 PM Linus Torvalds wrote: > > Arnd, > I was kind of hoping/expecting to get an explicit ack for this from > you, since it's a new architecture. > > Good to merge? Yes. For the pull request (in case you want to add it to the merge changelog): I did a thorough

[PATCH v3 5/7] arm64: dts: hisilicon: poplar: Standardize LED labels and triggers

2018-10-29 Thread Manivannan Sadhasivam
For all 96Boards, the following standard is used for onboard LEDs. green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none, panic-indicator yellow:wlan

[PATCH v3 5/7] arm64: dts: hisilicon: poplar: Standardize LED labels and triggers

2018-10-29 Thread Manivannan Sadhasivam
For all 96Boards, the following standard is used for onboard LEDs. green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none, panic-indicator yellow:wlan

[PATCH v3 7/7] arm64: dts: qcom: apq8016-sbc: Standardize LED labels

2018-10-29 Thread Manivannan Sadhasivam
For all 96Boards, the following standard is used for onboard LEDs. green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none, panic-indicator yellow:wlan

[PATCH v3 6/7] arm64: dts: xilinx: ultra96: Standardize LED labels and triggers

2018-10-29 Thread Manivannan Sadhasivam
For all 96Boards, the following standard is used for onboard LEDs. green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none, panic-indicator yellow:wlan

[PATCH v3 7/7] arm64: dts: qcom: apq8016-sbc: Standardize LED labels

2018-10-29 Thread Manivannan Sadhasivam
For all 96Boards, the following standard is used for onboard LEDs. green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none, panic-indicator yellow:wlan

[PATCH v3 6/7] arm64: dts: xilinx: ultra96: Standardize LED labels and triggers

2018-10-29 Thread Manivannan Sadhasivam
For all 96Boards, the following standard is used for onboard LEDs. green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none, panic-indicator yellow:wlan

[PATCH v3 4/7] arm64: dts: hisilicon: hikey960: Standardize LED labels and triggers

2018-10-29 Thread Manivannan Sadhasivam
For all 96Boards, the following standard is used for onboard LEDs. green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none, panic-indicator yellow:wlan

[PATCH v3 0/7] Standardize onboard LED support for 96Boards

2018-10-29 Thread Manivannan Sadhasivam
This patchset standardizes the onboard LEDs on 96Boards by maintaining common labels and triggers as below: green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity (onboard-storage) green:user3 default-trigger: mmc1 (SD card) green:user4 default-trigger: none,

[PATCH v3 2/7] arm64: dts: rockchip: rock960: Add on-board LED support

2018-10-29 Thread Manivannan Sadhasivam
Add on-board LED support for Rock960 board based on the following standard used by rest of the 96Boards: green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none,

[PATCH v3 0/7] Standardize onboard LED support for 96Boards

2018-10-29 Thread Manivannan Sadhasivam
This patchset standardizes the onboard LEDs on 96Boards by maintaining common labels and triggers as below: green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity (onboard-storage) green:user3 default-trigger: mmc1 (SD card) green:user4 default-trigger: none,

[PATCH v3 2/7] arm64: dts: rockchip: rock960: Add on-board LED support

2018-10-29 Thread Manivannan Sadhasivam
Add on-board LED support for Rock960 board based on the following standard used by rest of the 96Boards: green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none,

[PATCH v3 4/7] arm64: dts: hisilicon: hikey960: Standardize LED labels and triggers

2018-10-29 Thread Manivannan Sadhasivam
For all 96Boards, the following standard is used for onboard LEDs. green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none, panic-indicator yellow:wlan

[PATCH V2] dt-bindings: arm: Explain capacities-dmips-mhz calculations in example

2018-10-29 Thread Viresh Kumar
The example contains two values for the capacity currently, 446 in text and 578 in code. The numbers are all correct but can confuse some of the readers. This patch tries to explain how the numbers are calculated to avoid same confusion going forward. Acked-by: Daniel Lezcano Signed-off-by:

[PATCH v3 3/7] arm64: dts: hisilicon: hikey: Standardize LED labels and triggers

2018-10-29 Thread Manivannan Sadhasivam
For all 96Boards, the following standard is used for onboard LEDs. green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none, panic-indicator yellow:wlan

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-29 Thread Balbir Singh
On Mon, Oct 29, 2018 at 10:00:35AM +0100, Michal Hocko wrote: > On Mon 29-10-18 16:17:52, Balbir Singh wrote: > [...] > > I wonder if alloc_pool_huge_page() should also trim out it's logic > > of __GFP_THISNODE for the same reasons as mentioned here. I like > > that we round robin to alloc the

[PATCH v3 1/7] arm64: dts: rockchip: ficus: Add on-board LED support

2018-10-29 Thread Manivannan Sadhasivam
Add on-board LED support for Ficus board based on the following standard used by other 96Boards: red:user1 default-trigger: heartbeat red:user2 default-trigger: mmc0/disk-activity (onboard-storage) red:user3 default-trigger: mmc1 (SD-card) red:user4 default-trigger: none, panic-indicator

[PATCH V2] dt-bindings: arm: Explain capacities-dmips-mhz calculations in example

2018-10-29 Thread Viresh Kumar
The example contains two values for the capacity currently, 446 in text and 578 in code. The numbers are all correct but can confuse some of the readers. This patch tries to explain how the numbers are calculated to avoid same confusion going forward. Acked-by: Daniel Lezcano Signed-off-by:

[PATCH v3 3/7] arm64: dts: hisilicon: hikey: Standardize LED labels and triggers

2018-10-29 Thread Manivannan Sadhasivam
For all 96Boards, the following standard is used for onboard LEDs. green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none, panic-indicator yellow:wlan

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-29 Thread Balbir Singh
On Mon, Oct 29, 2018 at 10:00:35AM +0100, Michal Hocko wrote: > On Mon 29-10-18 16:17:52, Balbir Singh wrote: > [...] > > I wonder if alloc_pool_huge_page() should also trim out it's logic > > of __GFP_THISNODE for the same reasons as mentioned here. I like > > that we round robin to alloc the

[PATCH v3 1/7] arm64: dts: rockchip: ficus: Add on-board LED support

2018-10-29 Thread Manivannan Sadhasivam
Add on-board LED support for Ficus board based on the following standard used by other 96Boards: red:user1 default-trigger: heartbeat red:user2 default-trigger: mmc0/disk-activity (onboard-storage) red:user3 default-trigger: mmc1 (SD-card) red:user4 default-trigger: none, panic-indicator

Re: linux-next: Tree for Oct 29

2018-10-29 Thread Stephen Rothwell
Hi Damian, On Mon, 29 Oct 2018 07:33:19 +0100 Damian Tometzki wrote: > > on the site isnt available the new linux-next ? > Only the old one. > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git It seems to be there now (at least for me). Maybe just mirroring delays? --

Re: linux-next: Tree for Oct 29

2018-10-29 Thread Stephen Rothwell
Hi Damian, On Mon, 29 Oct 2018 07:33:19 +0100 Damian Tometzki wrote: > > on the site isnt available the new linux-next ? > Only the old one. > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git It seems to be there now (at least for me). Maybe just mirroring delays? --

Re: [PATCH] regulator: bd718x7: add missing linux/of.h inclusion

2018-10-29 Thread Matti Vaittinen
Hello Mark, I see we got build warning from 0-Day tests. It seems to me the bd718x7.c file lacks of inclusion. I am not sure what has happened as this include was added to bd71837.c file with commit

Re: [PATCH] regulator: bd718x7: add missing linux/of.h inclusion

2018-10-29 Thread Matti Vaittinen
Hello Mark, I see we got build warning from 0-Day tests. It seems to me the bd718x7.c file lacks of inclusion. I am not sure what has happened as this include was added to bd71837.c file with commit

Re: linux-next: manual merge of the drivers-x86 tree with Linus' tree

2018-10-29 Thread Andy Shevchenko
On Mon, Oct 29, 2018 at 5:29 AM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the drivers-x86 tree got a conflict in: > > drivers/platform/x86/intel_telemetry_debugfs.c > > between commit: > > f2c4db1bd807 ("x86/cpu: Sanitize FAM6_ATOM naming") > > from Linus' tree and

[PATCH v2] thermal: qoriq: add multiple sensors support

2018-10-29 Thread andy . tang
From: Yuantian Tang The QorIQ Layerscape SoC has several thermal sensors but the current driver only supports one. Massage the code to be sensor oriented and allow the support for multiple sensors. Signed-off-by: Yuantian Tang --- v2: - update the commit message - refine the

[PATCH v2] thermal: qoriq: add multiple sensors support

2018-10-29 Thread andy . tang
From: Yuantian Tang The QorIQ Layerscape SoC has several thermal sensors but the current driver only supports one. Massage the code to be sensor oriented and allow the support for multiple sensors. Signed-off-by: Yuantian Tang --- v2: - update the commit message - refine the

Re: linux-next: manual merge of the drivers-x86 tree with Linus' tree

2018-10-29 Thread Andy Shevchenko
On Mon, Oct 29, 2018 at 5:29 AM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the drivers-x86 tree got a conflict in: > > drivers/platform/x86/intel_telemetry_debugfs.c > > between commit: > > f2c4db1bd807 ("x86/cpu: Sanitize FAM6_ATOM naming") > > from Linus' tree and

Re: [PATCH 2/8] ARM: vexpress/spc: constify clk_ops structure

2018-10-29 Thread Julia Lawall
On Mon, 29 Oct 2018, Liviu Dudau wrote: > On Sat, Oct 27, 2018 at 07:47:36AM +0200, Julia Lawall wrote: > > The clk_ops structure is only stored in the ops field of a > > clk_init_data structure. This field is const, so the clk_ops > > structure can be const as well. > > > > Identified and

Re: [PATCH 2/8] ARM: vexpress/spc: constify clk_ops structure

2018-10-29 Thread Julia Lawall
On Mon, 29 Oct 2018, Liviu Dudau wrote: > On Sat, Oct 27, 2018 at 07:47:36AM +0200, Julia Lawall wrote: > > The clk_ops structure is only stored in the ops field of a > > clk_init_data structure. This field is const, so the clk_ops > > structure can be const as well. > > > > Identified and

Re: [PATCH v2 7/7] arm64: dts: qcom: apq8016-sbc: Standardize LED labels

2018-10-29 Thread Manivannan Sadhasivam
On Mon, Oct 29, 2018 at 02:47:11PM +0530, Amit Kucheria wrote: > On Mon, Oct 29, 2018 at 2:31 PM Manivannan Sadhasivam > wrote: > > > > For all 96Boards, the following standard is used for onboard LEDs. > > > > green:user1 default-trigger: heartbeat > > green:user2 default-trigger:

Re: [PATCH] arm64: dts: qcom: sdm845: Add SCM DT node

2018-10-29 Thread Stanimir Varbanov
Hi Sibi, On 10/26/2018 03:25 PM, Sibi Sankar wrote: > Add SCM DT node to enable SCM functionality on SDM845. > > Signed-off-by: Sibi Sankar > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi >

Re: [PATCH v2 7/7] arm64: dts: qcom: apq8016-sbc: Standardize LED labels

2018-10-29 Thread Manivannan Sadhasivam
On Mon, Oct 29, 2018 at 02:47:11PM +0530, Amit Kucheria wrote: > On Mon, Oct 29, 2018 at 2:31 PM Manivannan Sadhasivam > wrote: > > > > For all 96Boards, the following standard is used for onboard LEDs. > > > > green:user1 default-trigger: heartbeat > > green:user2 default-trigger:

Re: [PATCH] arm64: dts: qcom: sdm845: Add SCM DT node

2018-10-29 Thread Stanimir Varbanov
Hi Sibi, On 10/26/2018 03:25 PM, Sibi Sankar wrote: > Add SCM DT node to enable SCM functionality on SDM845. > > Signed-off-by: Sibi Sankar > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi >

Re: [PATCH v4 3/3] arm64: reliable stacktraces

2018-10-29 Thread Mark Rutland
Hi Josh, I also have a few concerns here, as it is not clear to me precisely what is required from arch code. Is there any documentation I should look at? On Fri, Oct 26, 2018 at 10:37:04AM -0500, Josh Poimboeuf wrote: > On Fri, Oct 26, 2018 at 04:21:57PM +0200, Torsten Duwe wrote: > > Enhance

Re: [PATCH v4 3/3] arm64: reliable stacktraces

2018-10-29 Thread Mark Rutland
Hi Josh, I also have a few concerns here, as it is not clear to me precisely what is required from arch code. Is there any documentation I should look at? On Fri, Oct 26, 2018 at 10:37:04AM -0500, Josh Poimboeuf wrote: > On Fri, Oct 26, 2018 at 04:21:57PM +0200, Torsten Duwe wrote: > > Enhance

[PATCH V3] arm64: Don't flush tlb while clearing the accessed bit

2018-10-29 Thread Ashish Mhetre
From: Alex Van Brunt Accessed bit is used to age a page and in generic implementation there is flush_tlb while clearing the accessed bit. Flushing a TLB is overhead on ARM64 as access flag faults don't get translation table entries cached into TLB's. Flushing TLB is not necessary for this.

Re: [PATCH] dt-bindings: arm: Fix cpu capacity mismatch in example

2018-10-29 Thread Daniel Lezcano
On 29/10/2018 07:34, Viresh Kumar wrote: > On 26-10-18, 10:30, Daniel Lezcano wrote: >> On 26/10/2018 06:11, Viresh Kumar wrote: >>> On 25-10-18, 14:04, Daniel Lezcano wrote: I think it is actually correct. The example is confusing on what the numbers are. IIUC, it is: (after

[PATCH V3] arm64: Don't flush tlb while clearing the accessed bit

2018-10-29 Thread Ashish Mhetre
From: Alex Van Brunt Accessed bit is used to age a page and in generic implementation there is flush_tlb while clearing the accessed bit. Flushing a TLB is overhead on ARM64 as access flag faults don't get translation table entries cached into TLB's. Flushing TLB is not necessary for this.

Re: [PATCH] dt-bindings: arm: Fix cpu capacity mismatch in example

2018-10-29 Thread Daniel Lezcano
On 29/10/2018 07:34, Viresh Kumar wrote: > On 26-10-18, 10:30, Daniel Lezcano wrote: >> On 26/10/2018 06:11, Viresh Kumar wrote: >>> On 25-10-18, 14:04, Daniel Lezcano wrote: I think it is actually correct. The example is confusing on what the numbers are. IIUC, it is: (after

Re: [PATCH] ubifs: Handle re-linking of inodes correctly while recovery

2018-10-29 Thread Russell Senior
UBIFS's recovery code strictly assumes that a deleted inode will never come back, therefore it removes all data which belongs to that inode as soon it faces an inode with link count 0 in the replay list. Before O_TMPFILE this assumption was perfectly fine. With O_TMPFILE it can lead to data loss

Re: [PATCH] ubifs: Handle re-linking of inodes correctly while recovery

2018-10-29 Thread Russell Senior
UBIFS's recovery code strictly assumes that a deleted inode will never come back, therefore it removes all data which belongs to that inode as soon it faces an inode with link count 0 in the replay list. Before O_TMPFILE this assumption was perfectly fine. With O_TMPFILE it can lead to data loss

Re: [RFR] Store tearing

2018-10-29 Thread Arnd Bergmann
On Mon, Oct 29, 2018 at 2:21 AM Paul E. McKenney wrote: > > On Mon, Oct 29, 2018 at 12:10:03AM +0100, Andrea Parri wrote: > > Hopefully, with Paul's proper email address this time, > > > > Andrea > > > > On Mon, Oct 29, 2018 at 12:06:27AM +0100, Andrea Parri wrote: > > > Hi, > > > > > >

Re: [RFR] Store tearing

2018-10-29 Thread Arnd Bergmann
On Mon, Oct 29, 2018 at 2:21 AM Paul E. McKenney wrote: > > On Mon, Oct 29, 2018 at 12:10:03AM +0100, Andrea Parri wrote: > > Hopefully, with Paul's proper email address this time, > > > > Andrea > > > > On Mon, Oct 29, 2018 at 12:06:27AM +0100, Andrea Parri wrote: > > > Hi, > > > > > >

Re: [PATCH 2/3] mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver

2018-10-29 Thread Miquel Raynal
Hi Christophe, Sorry for the delay, here are some answers from my previous comments. Maybe you already addressed them, in this case please ignore them. Also, please run and correct 'checkpatch.pl --strict' issues (mostly uses of uint8_t instead of u8 but also a warning about the compatible).

Re: [PATCH 2/3] mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver

2018-10-29 Thread Miquel Raynal
Hi Christophe, Sorry for the delay, here are some answers from my previous comments. Maybe you already addressed them, in this case please ignore them. Also, please run and correct 'checkpatch.pl --strict' issues (mostly uses of uint8_t instead of u8 but also a warning about the compatible).

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

2018-10-29 Thread David Howells
I think these changes should cover them all. David --- diff --git a/samples/vfs/test-fs-query.c b/samples/vfs/test-fs-query.c index 511541d12b9e..4635bf1eb3d4 100644 --- a/samples/vfs/test-fs-query.c +++ b/samples/vfs/test-fs-query.c @@ -27,6 +27,13 @@ #include #include +#ifndef __NR_fsopen

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

2018-10-29 Thread David Howells
I think these changes should cover them all. David --- diff --git a/samples/vfs/test-fs-query.c b/samples/vfs/test-fs-query.c index 511541d12b9e..4635bf1eb3d4 100644 --- a/samples/vfs/test-fs-query.c +++ b/samples/vfs/test-fs-query.c @@ -27,6 +27,13 @@ #include #include +#ifndef __NR_fsopen

Re: [PATCH 2/8] ARM: vexpress/spc: constify clk_ops structure

2018-10-29 Thread Liviu Dudau
On Sat, Oct 27, 2018 at 07:47:36AM +0200, Julia Lawall wrote: > The clk_ops structure is only stored in the ops field of a > clk_init_data structure. This field is const, so the clk_ops > structure can be const as well. > > Identified and transformed using Coccinelle. > > Signed-off-by: Julia

Re: [PATCH 2/8] ARM: vexpress/spc: constify clk_ops structure

2018-10-29 Thread Liviu Dudau
On Sat, Oct 27, 2018 at 07:47:36AM +0200, Julia Lawall wrote: > The clk_ops structure is only stored in the ops field of a > clk_init_data structure. This field is const, so the clk_ops > structure can be const as well. > > Identified and transformed using Coccinelle. > > Signed-off-by: Julia

Re: [PATCH v2 7/7] arm64: dts: qcom: apq8016-sbc: Standardize LED labels

2018-10-29 Thread Amit Kucheria
On Mon, Oct 29, 2018 at 2:31 PM Manivannan Sadhasivam wrote: > > For all 96Boards, the following standard is used for onboard LEDs. > > green:user1 default-trigger: heartbeat > green:user2 default-trigger: mmc0/disk-activity(onboard-storage) > green:user3 default-trigger: mmc1 (SD-card) >

Re: [PATCH v2 7/7] arm64: dts: qcom: apq8016-sbc: Standardize LED labels

2018-10-29 Thread Amit Kucheria
On Mon, Oct 29, 2018 at 2:31 PM Manivannan Sadhasivam wrote: > > For all 96Boards, the following standard is used for onboard LEDs. > > green:user1 default-trigger: heartbeat > green:user2 default-trigger: mmc0/disk-activity(onboard-storage) > green:user3 default-trigger: mmc1 (SD-card) >

<    5   6   7   8   9   10   11   12   >