linux-next: Signed-off-by missing for commit in the ext4 tree

2017-12-17 Thread Stephen Rothwell
Hi Ted, Commit 9d5afec6b8bd ("ext4: fix crash when a directory's i_size is too small") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell

linux-next: Signed-off-by missing for commit in the ext4 tree

2017-12-17 Thread Stephen Rothwell
Hi Ted, Commit 9d5afec6b8bd ("ext4: fix crash when a directory's i_size is too small") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell

[PATCH] bq24190-charger: Delete an error message for a failed memory allocation in bq24190_probe()

2017-12-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 17 Dec 2017 21:38:55 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH] bq24190-charger: Delete an error message for a failed memory allocation in bq24190_probe()

2017-12-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 17 Dec 2017 21:38:55 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/power/supply/bq24190_charger.c | 4 +--- 1 file changed, 1

linux-next: Signed-off-by missing for commit in the mvebu tree

2017-12-17 Thread Stephen Rothwell
Hi all, Commit a2e2a5860be3 ("arm64: dts: marvell: add NAND support on the 8040-DB board") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell

linux-next: Signed-off-by missing for commit in the mvebu tree

2017-12-17 Thread Stephen Rothwell
Hi all, Commit a2e2a5860be3 ("arm64: dts: marvell: add NAND support on the 8040-DB board") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell

[PATCH v2 5/9] ARM: dts: imx7-colibri: specify cpu-supply

2017-12-17 Thread Stefan Agner
Specify CPU supply using the "cpu-supply" property instead of the invalid "arm-supply" property. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 4/9] ARM: dts: imx7-colibri: use NAND_CE1 as GPIO

2017-12-17 Thread Stefan Agner
All Colibri iMX7 SKUs use either single-die NAND or eMMC, hence NAND_CE1 is not used on the module and can be used as a GPIO by carrier boards. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file

[PATCH v2 5/9] ARM: dts: imx7-colibri: specify cpu-supply

2017-12-17 Thread Stefan Agner
Specify CPU supply using the "cpu-supply" property instead of the invalid "arm-supply" property. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 4/9] ARM: dts: imx7-colibri: use NAND_CE1 as GPIO

2017-12-17 Thread Stefan Agner
All Colibri iMX7 SKUs use either single-die NAND or eMMC, hence NAND_CE1 is not used on the module and can be used as a GPIO by carrier boards. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v2 7/9] ARM: dts: imx7-colibri: specify backlight GPIO

2017-12-17 Thread Stefan Agner
The Colibri standard defines SODIMM 71 as backlight enable GPIO. Assign the GPIO to the backlight node in the module level device tree. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 10 +- 1 file

[PATCH v2 7/9] ARM: dts: imx7-colibri: specify backlight GPIO

2017-12-17 Thread Stefan Agner
The Colibri standard defines SODIMM 71 as backlight enable GPIO. Assign the GPIO to the backlight node in the module level device tree. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-)

[PATCH v2 6/9] ARM: dts: imx7-colibri: specify usdhc1 supplies

2017-12-17 Thread Stefan Agner
The usdhc1 controller instance is used to provide the default SD/MMC capabilities of the Colibri standard. The IO pins are supplied to the SoC on the module whereas the SD-card is powered by the Carrier Board supply. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam

[PATCH v2 1/9] ARM: dts: imx7-colibri: move and rename USB Host power regulator

2017-12-17 Thread Stefan Agner
The Colibri default which enables USB Host power is not necessarily tied to the OTG2 controller, some carrier board use the pin to control USB power for both controllers. Hence name the pinctrl group more generic. Also move the regulator to the generic eval-v3 device tree since the regulator is

[PATCH v2 6/9] ARM: dts: imx7-colibri: specify usdhc1 supplies

2017-12-17 Thread Stefan Agner
The usdhc1 controller instance is used to provide the default SD/MMC capabilities of the Colibri standard. The IO pins are supplied to the SoC on the module whereas the SD-card is powered by the Carrier Board supply. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam ---

[PATCH v2 1/9] ARM: dts: imx7-colibri: move and rename USB Host power regulator

2017-12-17 Thread Stefan Agner
The Colibri default which enables USB Host power is not necessarily tied to the OTG2 controller, some carrier board use the pin to control USB power for both controllers. Hence name the pinctrl group more generic. Also move the regulator to the generic eval-v3 device tree since the regulator is

linux-next: Signed-off-by missing for commit in the amlogic tree

2017-12-17 Thread Stephen Rothwell
Hi all, Commit 43b9f617b5f9 ("arm64: dts: meson-axg: add new reset DT node") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell

linux-next: Signed-off-by missing for commit in the amlogic tree

2017-12-17 Thread Stephen Rothwell
Hi all, Commit 43b9f617b5f9 ("arm64: dts: meson-axg: add new reset DT node") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell

[PATCH v2 3/9] ARM: dts: imx7-colibri: mux pull-ups where appropriate

2017-12-17 Thread Stefan Agner
Use pull-ups instead of pull-downs for the pins which are already pulled-up externally. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 20 ++-- 1 file changed, 10 insertions(+), 10

[PATCH v2 3/9] ARM: dts: imx7-colibri: mux pull-ups where appropriate

2017-12-17 Thread Stefan Agner
Use pull-ups instead of pull-downs for the pins which are already pulled-up externally. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git

[PATCH v2 8/9] ARM: dts: imx7-colibri: add MCP2515 CAN controller

2017-12-17 Thread Stefan Agner
The Colibri Evaluation Carrier Board provides a MCP2515 CAN controller connected via SPI. Note that the i.MX 7 provides an internal CAN controller which is much better suited for CAN operations. Using the MCP2515 with a Colibri iMX7 module is mainly useful to test the SPI interface.

[PATCH v2 9/9] ARM: dts: imx7: add Toradex Colibri iMX7D 1GB (eMMC) support

2017-12-17 Thread Stefan Agner
Add support for the Computer on Module Colibri iMX7D 1GB along with the Colibri Evaluation Board device trees. Follow the usual hierarchic include model, maintaining shared configuration in imx7-colibri.dtsi and imx7-colibri-eval-v3.dtsi respectively. Signed-off-by: Stefan Agner

[PATCH v2 8/9] ARM: dts: imx7-colibri: add MCP2515 CAN controller

2017-12-17 Thread Stefan Agner
The Colibri Evaluation Carrier Board provides a MCP2515 CAN controller connected via SPI. Note that the i.MX 7 provides an internal CAN controller which is much better suited for CAN operations. Using the MCP2515 with a Colibri iMX7 module is mainly useful to test the SPI interface.

[PATCH v2 9/9] ARM: dts: imx7: add Toradex Colibri iMX7D 1GB (eMMC) support

2017-12-17 Thread Stefan Agner
Add support for the Computer on Module Colibri iMX7D 1GB along with the Colibri Evaluation Board device trees. Follow the usual hierarchic include model, maintaining shared configuration in imx7-colibri.dtsi and imx7-colibri-eval-v3.dtsi respectively. Signed-off-by: Stefan Agner --- Changes

[PATCH v2 2/9] ARM: dts: imx7-colibri: make sure multiplexed pins are not active

2017-12-17 Thread Stefan Agner
The Colibri pins PWM and are multiplexed on the module, make sure the secondary SoC pin is not active. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 2/9] ARM: dts: imx7-colibri: make sure multiplexed pins are not active

2017-12-17 Thread Stefan Agner
The Colibri pins PWM and are multiplexed on the module, make sure the secondary SoC pin is not active. Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi

Re: [PATCH] mtd: cfi: convert inline functions to macros

2017-12-17 Thread Richard Weinberger
Am Mittwoch, 11. Oktober 2017, 15:54:10 CET schrieb Arnd Bergmann: > The map_word_() functions, dating back to linux-2.6.8, try to perform > bitwise operations on a 'map_word' structure. This may have worked > with compilers that were current then (gcc-3.4 or earlier), but end > up being rather

Re: [PATCH] mtd: cfi: convert inline functions to macros

2017-12-17 Thread Richard Weinberger
Am Mittwoch, 11. Oktober 2017, 15:54:10 CET schrieb Arnd Bergmann: > The map_word_() functions, dating back to linux-2.6.8, try to perform > bitwise operations on a 'map_word' structure. This may have worked > with compilers that were current then (gcc-3.4 or earlier), but end > up being rather

Re: [GIT PULL REQUEST] watchdog - v4.15 Fixes

2017-12-17 Thread Guenter Roeck
On 12/17/2017 12:12 PM, Linus Torvalds wrote: Once more, gmail hated you. No real indication why, apart from: Why is this message in Spam? We've found that lots of messages from iguana.be are spam. I have no idea why that site is so hated, but one option that your upstream ISP is some

Re: [GIT PULL REQUEST] watchdog - v4.15 Fixes

2017-12-17 Thread Guenter Roeck
On 12/17/2017 12:12 PM, Linus Torvalds wrote: Once more, gmail hated you. No real indication why, apart from: Why is this message in Spam? We've found that lots of messages from iguana.be are spam. I have no idea why that site is so hated, but one option that your upstream ISP is some

[PATCH] bq24735-charger: Delete an error message for a failed memory allocation in two functions

2017-12-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 17 Dec 2017 21:23:23 +0100 Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH] bq24735-charger: Delete an error message for a failed memory allocation in two functions

2017-12-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 17 Dec 2017 21:23:23 +0100 Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/power/supply/bq24735-charger.c | 9 ++--- 1 file

Re: [linus:master] BUILD REGRESSION f3b5ad89de16f5d42e8ad36fbdf85f705c1ae051

2017-12-17 Thread Linus Torvalds
On Sun, Dec 17, 2017 at 7:25 AM, Al Viro wrote: > > Linus, would you take that directly or should I include it into vfs.git > pull request? I just took it directly, since you had in the meantime already generated the pull request for the other issues, and I had a lazy

Re: [linus:master] BUILD REGRESSION f3b5ad89de16f5d42e8ad36fbdf85f705c1ae051

2017-12-17 Thread Linus Torvalds
On Sun, Dec 17, 2017 at 7:25 AM, Al Viro wrote: > > Linus, would you take that directly or should I include it into vfs.git > pull request? I just took it directly, since you had in the meantime already generated the pull request for the other issues, and I had a lazy late Saturday morning..

[PATCH] generic-adc-battery: Delete an error message for a failed memory allocation in gab_probe()

2017-12-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 17 Dec 2017 21:10:51 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH] generic-adc-battery: Delete an error message for a failed memory allocation in gab_probe()

2017-12-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 17 Dec 2017 21:10:51 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/power/supply/generic-adc-battery.c | 4 +--- 1 file changed,

Re: [GIT PULL REQUEST] watchdog - v4.15 Fixes

2017-12-17 Thread Linus Torvalds
Once more, gmail hated you. No real indication why, apart from: Why is this message in Spam? We've found that lots of messages from iguana.be are spam. I have no idea why that site is so hated, but one option that your upstream ISP is some scumbag place that allows spammers and scammers and

Re: [GIT PULL REQUEST] watchdog - v4.15 Fixes

2017-12-17 Thread Linus Torvalds
Once more, gmail hated you. No real indication why, apart from: Why is this message in Spam? We've found that lots of messages from iguana.be are spam. I have no idea why that site is so hated, but one option that your upstream ISP is some scumbag place that allows spammers and scammers and

Re: [PATCH 2/9] ARM: dts: imx7-colibri: make sure multiplexed pins are not active

2017-12-17 Thread Stefan Agner
On 2017-12-16 15:01, Fabio Estevam wrote: > On Wed, Dec 6, 2017 at 1:29 PM, Stefan Agner wrote: >> The Colibri pins PWM and are multiplexed on the module, make >> sure the secondary SoC pin is not active. >> >> Signed-off-by: Stefan Agner > > I haven't really

Re: [PATCH 2/9] ARM: dts: imx7-colibri: make sure multiplexed pins are not active

2017-12-17 Thread Stefan Agner
On 2017-12-16 15:01, Fabio Estevam wrote: > On Wed, Dec 6, 2017 at 1:29 PM, Stefan Agner wrote: >> The Colibri pins PWM and are multiplexed on the module, make >> sure the secondary SoC pin is not active. >> >> Signed-off-by: Stefan Agner > > I haven't really understood the commit message, but

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-17 Thread Arnd Bergmann
On Sun, Dec 17, 2017 at 8:41 PM, Lukasz Majewski wrote: >> >> We also need to think about upholding support in GCC for >> >> ARMv4(t) for the foreseeable future if there is a big web of >> >> random deeply embedded systems out there that will need >> >> updates. >> > >> > But we

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-17 Thread Arnd Bergmann
On Sun, Dec 17, 2017 at 8:41 PM, Lukasz Majewski wrote: >> >> We also need to think about upholding support in GCC for >> >> ARMv4(t) for the foreseeable future if there is a big web of >> >> random deeply embedded systems out there that will need >> >> updates. >> > >> > But we should definitely

[PATCH] gpio-charger: Delete an error message for a failed memory allocation in gpio_charger_probe()

2017-12-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 17 Dec 2017 20:50:04 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH] gpio-charger: Delete an error message for a failed memory allocation in gpio_charger_probe()

2017-12-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 17 Dec 2017 20:50:04 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/power/supply/gpio-charger.c | 4 +--- 1 file changed, 1

Re: [PATCH] trace: reenable preemption if we modify the ip

2017-12-17 Thread Daniel Borkmann
On 12/16/2017 03:42 AM, Josef Bacik wrote: > From: Josef Bacik > > Things got moved around between the original bpf_override_return patches > and the final version, and now the ftrace kprobe dispatcher assumes if > you modified the ip that you also enabled preemption. Make a

Re: [PATCH] trace: reenable preemption if we modify the ip

2017-12-17 Thread Daniel Borkmann
On 12/16/2017 03:42 AM, Josef Bacik wrote: > From: Josef Bacik > > Things got moved around between the original bpf_override_return patches > and the final version, and now the ftrace kprobe dispatcher assumes if > you modified the ip that you also enabled preemption. Make a comment of > this

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-17 Thread Lukasz Majewski
Hi Arnd, > On Wed, Dec 13, 2017 at 9:26 AM, Alexander Sverdlin > wrote: > > On Wed Dec 13 08:34:22 2017 Linus Walleij > > wrote: > >> Arnd has been nudging me to do DT conversion for EP93xx > >> so if there are many active industrial

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-17 Thread Lukasz Majewski
Hi Arnd, > On Wed, Dec 13, 2017 at 9:26 AM, Alexander Sverdlin > wrote: > > On Wed Dec 13 08:34:22 2017 Linus Walleij > > wrote: > >> Arnd has been nudging me to do DT conversion for EP93xx > >> so if there are many active industrial users of these > >> I should prioritize it, because these

Re: [PATCH] mtd: cfi: convert inline functions to macros

2017-12-17 Thread Marek Vasut
On 12/17/2017 09:43 AM, Boris Brezillon wrote: > Hi Marek, > > On Wed, 11 Oct 2017 23:34:33 +0200 > Marek Vasut wrote: > >> On 10/11/2017 03:54 PM, Arnd Bergmann wrote: >>> The map_word_() functions, dating back to linux-2.6.8, try to perform >>> bitwise operations on a

Re: [PATCH] mtd: cfi: convert inline functions to macros

2017-12-17 Thread Marek Vasut
On 12/17/2017 09:43 AM, Boris Brezillon wrote: > Hi Marek, > > On Wed, 11 Oct 2017 23:34:33 +0200 > Marek Vasut wrote: > >> On 10/11/2017 03:54 PM, Arnd Bergmann wrote: >>> The map_word_() functions, dating back to linux-2.6.8, try to perform >>> bitwise operations on a 'map_word' structure.

[PATCH] jz4740-battery: Delete an error message for a failed memory allocation in jz_battery_probe()

2017-12-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 17 Dec 2017 20:23:28 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH] jz4740-battery: Delete an error message for a failed memory allocation in jz_battery_probe()

2017-12-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 17 Dec 2017 20:23:28 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/power/supply/jz4740-battery.c | 4 +--- 1 file changed, 1

Re: [alsa-devel] [PATCH v5] ASoC: TSCS42xx: Add support for Tempo Semiconductor's TSCS42xx audio CODEC

2017-12-17 Thread Steven Eckhoff
On Thu, Dec 14, 2017 at 09:32:44AM +, Charles Keepax wrote: > Not sure what you mean here but setting up CODEC registers > directly from the machine driver is probably not ideal. You > should probably be looking into regmap_register_patch this lets > you apply a bunch of register settings to

Re: [alsa-devel] [PATCH v5] ASoC: TSCS42xx: Add support for Tempo Semiconductor's TSCS42xx audio CODEC

2017-12-17 Thread Steven Eckhoff
On Thu, Dec 14, 2017 at 09:32:44AM +, Charles Keepax wrote: > Not sure what you mean here but setting up CODEC registers > directly from the machine driver is probably not ideal. You > should probably be looking into regmap_register_patch this lets > you apply a bunch of register settings to

Re: [PATCH v4 0/6] [media] Add analog mode support for Medion MD95700

2017-12-17 Thread Philippe Ombredanne
On Sun, Dec 17, 2017 at 7:46 PM, Maciej S. Szmigiero wrote: > This series adds support for analog part of Medion 95700 in the cxusb > driver. > Changes from v3: > Add SPDX tag to a newly added "cxusb-analog.c" file. Thank you. -- Cordially Philippe Ombredanne

Re: [PATCH v4 0/6] [media] Add analog mode support for Medion MD95700

2017-12-17 Thread Philippe Ombredanne
On Sun, Dec 17, 2017 at 7:46 PM, Maciej S. Szmigiero wrote: > This series adds support for analog part of Medion 95700 in the cxusb > driver. > Changes from v3: > Add SPDX tag to a newly added "cxusb-analog.c" file. Thank you. -- Cordially Philippe Ombredanne

Re: pxa3xx_nand times out in 4.14 with JFFS2

2017-12-17 Thread Willy Tarreau
On Sun, Dec 17, 2017 at 07:07:46PM +0100, Boris Brezillon wrote: > > > This would guarantee that devices with factory bad blocks, > > > (and no BBT), would be OK with this patch. > > > > I see. I'm fine with trying provided I have reasonably good assurance > > that I won't have to go through

Re: pxa3xx_nand times out in 4.14 with JFFS2

2017-12-17 Thread Willy Tarreau
On Sun, Dec 17, 2017 at 07:07:46PM +0100, Boris Brezillon wrote: > > > This would guarantee that devices with factory bad blocks, > > > (and no BBT), would be OK with this patch. > > > > I see. I'm fine with trying provided I have reasonably good assurance > > that I won't have to go through

Re: [PATCH 17/17] memremap: merge find_dev_pagemap into get_dev_pagemap

2017-12-17 Thread Dan Williams
On Fri, Dec 15, 2017 at 6:09 AM, Christoph Hellwig wrote: > There is only one caller of the trivial function find_dev_pagemap left, > so just merge it into the caller. > > Signed-off-by: Christoph Hellwig Looks good, Reviewed-by: Dan Williams

Re: [PATCH 17/17] memremap: merge find_dev_pagemap into get_dev_pagemap

2017-12-17 Thread Dan Williams
On Fri, Dec 15, 2017 at 6:09 AM, Christoph Hellwig wrote: > There is only one caller of the trivial function find_dev_pagemap left, > so just merge it into the caller. > > Signed-off-by: Christoph Hellwig Looks good, Reviewed-by: Dan Williams ...and all of these pass the nvdimm unit tests,

Re: [PATCH 16/17] memremap: change devm_memremap_pages interface to use struct dev_pagemap

2017-12-17 Thread Dan Williams
On Fri, Dec 15, 2017 at 6:09 AM, Christoph Hellwig wrote: > From: Logan Gunthorpe > > This new interface is similar to how struct device (and many others) > work. The caller initializes a 'struct dev_pagemap' as required > and calls 'devm_memremap_pages'. This

Re: [PATCH 16/17] memremap: change devm_memremap_pages interface to use struct dev_pagemap

2017-12-17 Thread Dan Williams
On Fri, Dec 15, 2017 at 6:09 AM, Christoph Hellwig wrote: > From: Logan Gunthorpe > > This new interface is similar to how struct device (and many others) > work. The caller initializes a 'struct dev_pagemap' as required > and calls 'devm_memremap_pages'. This allows the pagemap structure to >

Re: PROBLEM: NULL pointer dereference in kernel 4.14.6

2017-12-17 Thread Bronek Kozicki
FWIW, I can do "cat" . I get a single number seemingly followed by an infinite stream of 0s (I tried wc -l, but did not want to wait very long and killed it). Here is what it looks like, if limited by "head": root@gdansk ~ # cat

Re: PROBLEM: NULL pointer dereference in kernel 4.14.6

2017-12-17 Thread Bronek Kozicki
FWIW, I can do "cat" . I get a single number seemingly followed by an infinite stream of 0s (I tried wc -l, but did not want to wait very long and killed it). Here is what it looks like, if limited by "head": root@gdansk ~ # cat

[PATCH v4 4/6] tuner-simple: allow setting mono radio mode

2017-12-17 Thread Maciej S. Szmigiero
For some types of tuners (Philips FMD1216ME(X) MK3 currently) we know that letting TDA9887 output port 1 remain high (inactive) will switch FM radio to mono mode. Let's make use of this functionality - nothing changes for the default stereo radio mode. Tested on a Medion 95700 board which has a

[PATCH v4 6/6] [media] cxusb: add analog mode support for Medion MD95700

2017-12-17 Thread Maciej S. Szmigiero
This patch adds support for analog part of Medion 95700 in the cxusb driver. What works: * Video capture at various sizes with sequential fields, * Input switching (TV Tuner, Composite, S-Video), * TV and radio tuning, * Video standard switching and auto detection, * Radio mode switching (stereo

[PATCH v4 5/6] [media] cxusb: implement Medion MD95700 digital / analog coexistence

2017-12-17 Thread Maciej S. Szmigiero
This patch prepares cxusb driver for supporting the analog part of Medion 95700 (previously only the digital - DVB - mode was supported). Specifically, it adds support for: * switching the device between analog and digital modes of operation, * enforcing that only one mode is active at the same

[PATCH v4 4/6] tuner-simple: allow setting mono radio mode

2017-12-17 Thread Maciej S. Szmigiero
For some types of tuners (Philips FMD1216ME(X) MK3 currently) we know that letting TDA9887 output port 1 remain high (inactive) will switch FM radio to mono mode. Let's make use of this functionality - nothing changes for the default stereo radio mode. Tested on a Medion 95700 board which has a

[PATCH v4 6/6] [media] cxusb: add analog mode support for Medion MD95700

2017-12-17 Thread Maciej S. Szmigiero
This patch adds support for analog part of Medion 95700 in the cxusb driver. What works: * Video capture at various sizes with sequential fields, * Input switching (TV Tuner, Composite, S-Video), * TV and radio tuning, * Video standard switching and auto detection, * Radio mode switching (stereo

[PATCH v4 5/6] [media] cxusb: implement Medion MD95700 digital / analog coexistence

2017-12-17 Thread Maciej S. Szmigiero
This patch prepares cxusb driver for supporting the analog part of Medion 95700 (previously only the digital - DVB - mode was supported). Specifically, it adds support for: * switching the device between analog and digital modes of operation, * enforcing that only one mode is active at the same

[PATCH v4 3/6] cx25840: add pin to pad mapping and output format configuration

2017-12-17 Thread Maciej S. Szmigiero
This commit adds pin to pad mapping and output format configuration support in CX2584x-series chips to cx25840 driver. This functionality is then used to allow disabling ivtv-specific hacks (called a "generic mode"), so cx25840 driver can be used for other devices not needing them without risking

[PATCH v4 3/6] cx25840: add pin to pad mapping and output format configuration

2017-12-17 Thread Maciej S. Szmigiero
This commit adds pin to pad mapping and output format configuration support in CX2584x-series chips to cx25840 driver. This functionality is then used to allow disabling ivtv-specific hacks (called a "generic mode"), so cx25840 driver can be used for other devices not needing them without risking

[PATCH v4 2/6] cx25840: add kernel-doc description of struct cx25840_state

2017-12-17 Thread Maciej S. Szmigiero
This commit describes a device instance private data of the driver (struct cx25840_state) in a kernel-doc style comment. Signed-off-by: Maciej S. Szmigiero --- drivers/media/i2c/cx25840/cx25840-core.h | 33 ++-- 1 file changed, 31

[PATCH v4 0/6] [media] Add analog mode support for Medion MD95700

2017-12-17 Thread Maciej S. Szmigiero
This series adds support for analog part of Medion 95700 in the cxusb driver. What works: * Video capture at various sizes with sequential fields, * Input switching (TV Tuner, Composite, S-Video), * TV and radio tuning, * Video standard switching and auto detection, * Radio mode switching (stereo

[PATCH v4 1/6] ivtv: zero-initialize cx25840 platform data

2017-12-17 Thread Maciej S. Szmigiero
We need to zero-initialize cx25840 platform data structure to make sure that its future members do not contain random stack garbage. Signed-off-by: Maciej S. Szmigiero --- drivers/media/pci/ivtv/ivtv-i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v4 1/6] ivtv: zero-initialize cx25840 platform data

2017-12-17 Thread Maciej S. Szmigiero
We need to zero-initialize cx25840 platform data structure to make sure that its future members do not contain random stack garbage. Signed-off-by: Maciej S. Szmigiero --- drivers/media/pci/ivtv/ivtv-i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/pci/ivtv/ivtv-i2c.c

[PATCH v4 2/6] cx25840: add kernel-doc description of struct cx25840_state

2017-12-17 Thread Maciej S. Szmigiero
This commit describes a device instance private data of the driver (struct cx25840_state) in a kernel-doc style comment. Signed-off-by: Maciej S. Szmigiero --- drivers/media/i2c/cx25840/cx25840-core.h | 33 ++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff

[PATCH v4 0/6] [media] Add analog mode support for Medion MD95700

2017-12-17 Thread Maciej S. Szmigiero
This series adds support for analog part of Medion 95700 in the cxusb driver. What works: * Video capture at various sizes with sequential fields, * Input switching (TV Tuner, Composite, S-Video), * TV and radio tuning, * Video standard switching and auto detection, * Radio mode switching (stereo

Re: [PATCH 15/17] memremap: drop private struct page_map

2017-12-17 Thread Dan Williams
On Fri, Dec 15, 2017 at 6:09 AM, Christoph Hellwig wrote: > From: Logan Gunthorpe > > 'struct page_map' is a private structure of 'struct dev_pagemap' but the > latter replicates all the same fields as the former so there isn't much > value in it. Thus drop it

Re: [PATCH 15/17] memremap: drop private struct page_map

2017-12-17 Thread Dan Williams
On Fri, Dec 15, 2017 at 6:09 AM, Christoph Hellwig wrote: > From: Logan Gunthorpe > > 'struct page_map' is a private structure of 'struct dev_pagemap' but the > latter replicates all the same fields as the former so there isn't much > value in it. Thus drop it in favour of a completely public

Re: [PATCH v3 6/6] [media] cxusb: add analog mode support for Medion MD95700

2017-12-17 Thread Maciej S. Szmigiero
On 17.12.2017 19:24, Philippe Ombredanne wrote: > Maciej, > > On Sun, Dec 17, 2017 at 6:37 PM, Maciej S. Szmigiero > wrote: >> This patch adds support for analog part of Medion 95700 in the cxusb >> driver. > > >> --- /dev/null >> +++

Re: [PATCH v3 6/6] [media] cxusb: add analog mode support for Medion MD95700

2017-12-17 Thread Maciej S. Szmigiero
On 17.12.2017 19:24, Philippe Ombredanne wrote: > Maciej, > > On Sun, Dec 17, 2017 at 6:37 PM, Maciej S. Szmigiero > wrote: >> This patch adds support for analog part of Medion 95700 in the cxusb >> driver. > > >> --- /dev/null >> +++ b/drivers/media/usb/dvb-usb/cxusb-analog.c >> @@ -0,0

Re: PROBLEM: NULL pointer dereference in kernel 4.14.6

2017-12-17 Thread Randy Dunlap
On 12/17/2017 10:30 AM, Bronek Kozicki wrote: > On 17/12/2017 18:25, Randy Dunlap wrote: >> On 12/17/2017 09:49 AM, Bronek Kozicki wrote: >>> I just upgraded to 4.14.7 and tried to reproduce this error, this time >>> under strace. As you can see this happens when systemctl tries to read a >>>

Re: PROBLEM: NULL pointer dereference in kernel 4.14.6

2017-12-17 Thread Randy Dunlap
On 12/17/2017 10:30 AM, Bronek Kozicki wrote: > On 17/12/2017 18:25, Randy Dunlap wrote: >> On 12/17/2017 09:49 AM, Bronek Kozicki wrote: >>> I just upgraded to 4.14.7 and tried to reproduce this error, this time >>> under strace. As you can see this happens when systemctl tries to read a >>>

Re: PROBLEM: NULL pointer dereference in kernel 4.14.6

2017-12-17 Thread Bronek Kozicki
On 17/12/2017 18:25, Randy Dunlap wrote: On 12/17/2017 09:49 AM, Bronek Kozicki wrote: I just upgraded to 4.14.7 and tried to reproduce this error, this time under strace. As you can see this happens when systemctl tries to read a specific entry under /sys/fs . In case this matters, the entry

Re: PROBLEM: NULL pointer dereference in kernel 4.14.6

2017-12-17 Thread Bronek Kozicki
On 17/12/2017 18:25, Randy Dunlap wrote: On 12/17/2017 09:49 AM, Bronek Kozicki wrote: I just upgraded to 4.14.7 and tried to reproduce this error, this time under strace. As you can see this happens when systemctl tries to read a specific entry under /sys/fs . In case this matters, the entry

Re: PROBLEM: NULL pointer dereference in kernel 4.14.6

2017-12-17 Thread Randy Dunlap
On 12/17/2017 09:49 AM, Bronek Kozicki wrote: > I just upgraded to 4.14.7 and tried to reproduce this error, this time under > strace. As you can see this happens when systemctl tries to read a specific > entry under /sys/fs . In case this matters, the entry is for a small virtual > machine

Re: PROBLEM: NULL pointer dereference in kernel 4.14.6

2017-12-17 Thread Randy Dunlap
On 12/17/2017 09:49 AM, Bronek Kozicki wrote: > I just upgraded to 4.14.7 and tried to reproduce this error, this time under > strace. As you can see this happens when systemctl tries to read a specific > entry under /sys/fs . In case this matters, the entry is for a small virtual > machine

Re: [PATCH v3 6/6] [media] cxusb: add analog mode support for Medion MD95700

2017-12-17 Thread Philippe Ombredanne
Maciej, On Sun, Dec 17, 2017 at 6:37 PM, Maciej S. Szmigiero wrote: > This patch adds support for analog part of Medion 95700 in the cxusb > driver. > --- /dev/null > +++ b/drivers/media/usb/dvb-usb/cxusb-analog.c > @@ -0,0 +1,1927 @@ > +/* DVB USB compliant linux

Re: [PATCH v3 6/6] [media] cxusb: add analog mode support for Medion MD95700

2017-12-17 Thread Philippe Ombredanne
Maciej, On Sun, Dec 17, 2017 at 6:37 PM, Maciej S. Szmigiero wrote: > This patch adds support for analog part of Medion 95700 in the cxusb > driver. > --- /dev/null > +++ b/drivers/media/usb/dvb-usb/cxusb-analog.c > @@ -0,0 +1,1927 @@ > +/* DVB USB compliant linux driver for Conexant USB

Re: [PATCH] tpm: remove type and name fields from the I2C Infineon OF table entries

2017-12-17 Thread Javier Martinez Canillas
Hello Jarkko, On 12/17/2017 05:27 PM, Jarkko Sakkinen wrote: [snip] > > Thank you for the lessons :-) > You are welcome :) > Reviewed-by: Jarkko Sakkinen > Thanks! > /Jarkko > Best regards, -- Javier Martinez Canillas Software Engineer - Desktop

Re: [PATCH] tpm: remove type and name fields from the I2C Infineon OF table entries

2017-12-17 Thread Javier Martinez Canillas
Hello Jarkko, On 12/17/2017 05:27 PM, Jarkko Sakkinen wrote: [snip] > > Thank you for the lessons :-) > You are welcome :) > Reviewed-by: Jarkko Sakkinen > Thanks! > /Jarkko > Best regards, -- Javier Martinez Canillas Software Engineer - Desktop Hardware Enablement Red Hat

Re: pxa3xx_nand times out in 4.14 with JFFS2

2017-12-17 Thread Boris Brezillon
On Sun, 17 Dec 2017 17:23:42 +0100 Willy Tarreau wrote: > On Sun, Dec 17, 2017 at 12:53:36PM -0300, Ezequiel Garcia wrote: > > If not too much to ask, this is the test that I believe is needed. > > You seem to have a setup ready, hence why I'm asking you, if > > possible, to give it

Re: pxa3xx_nand times out in 4.14 with JFFS2

2017-12-17 Thread Boris Brezillon
On Sun, 17 Dec 2017 17:23:42 +0100 Willy Tarreau wrote: > On Sun, Dec 17, 2017 at 12:53:36PM -0300, Ezequiel Garcia wrote: > > If not too much to ask, this is the test that I believe is needed. > > You seem to have a setup ready, hence why I'm asking you, if > > possible, to give it a shot. > >

Re: [PATCH v1 4/4] arm64: dts: mediatek: add mt2712 cpufreq related device nodes

2017-12-17 Thread Rafael J. Wysocki
On Tuesday, December 12, 2017 10:34:42 AM CET Matthias Brugger wrote: > Hi, > > On 12/12/2017 08:26 AM, Viresh Kumar wrote: > > On 12-12-17, 02:17, Rafael J. Wysocki wrote: > >> On Monday, December 11, 2017 8:57:19 AM CET Viresh Kumar wrote: > >>> On 08-12-17, 14:07, Andrew-sh Cheng wrote: >

Re: [PATCH v1 4/4] arm64: dts: mediatek: add mt2712 cpufreq related device nodes

2017-12-17 Thread Rafael J. Wysocki
On Tuesday, December 12, 2017 10:34:42 AM CET Matthias Brugger wrote: > Hi, > > On 12/12/2017 08:26 AM, Viresh Kumar wrote: > > On 12-12-17, 02:17, Rafael J. Wysocki wrote: > >> On Monday, December 11, 2017 8:57:19 AM CET Viresh Kumar wrote: > >>> On 08-12-17, 14:07, Andrew-sh Cheng wrote: >

Re: [PATCH 5/9] pnp: remove unneeded kallsyms include

2017-12-17 Thread Rafael J. Wysocki
On Friday, December 8, 2017 3:49:09 PM CET Sergey Senozhatsky wrote: > On (12/08/17 15:02), Rafael J. Wysocki wrote: > > On Fri, Dec 8, 2017 at 3:56 AM, Sergey Senozhatsky > > wrote: > > > The file was converted from print_fn_descriptor_symbol() > > > to %pF

Re: [PATCH 5/9] pnp: remove unneeded kallsyms include

2017-12-17 Thread Rafael J. Wysocki
On Friday, December 8, 2017 3:49:09 PM CET Sergey Senozhatsky wrote: > On (12/08/17 15:02), Rafael J. Wysocki wrote: > > On Fri, Dec 8, 2017 at 3:56 AM, Sergey Senozhatsky > > wrote: > > > The file was converted from print_fn_descriptor_symbol() > > > to %pF some time ago (2e532d68a2b3e2aa

Re: [PATCH 3/9] power: remove unneeded kallsyms include

2017-12-17 Thread Rafael J. Wysocki
On Friday, December 8, 2017 3:48:44 PM CET Sergey Senozhatsky wrote: > On (12/08/17 15:01), Rafael J. Wysocki wrote: > > On Fri, Dec 8, 2017 at 3:56 AM, Sergey Senozhatsky > > wrote: > > > The file was converted from print_fn_descriptor_symbol() > > > to %pF

Re: [PATCH 3/9] power: remove unneeded kallsyms include

2017-12-17 Thread Rafael J. Wysocki
On Friday, December 8, 2017 3:48:44 PM CET Sergey Senozhatsky wrote: > On (12/08/17 15:01), Rafael J. Wysocki wrote: > > On Fri, Dec 8, 2017 at 3:56 AM, Sergey Senozhatsky > > wrote: > > > The file was converted from print_fn_descriptor_symbol() > > > to %pF some time ago (c80cfb0406c01bb

<    1   2   3   4   5   6   7   8   9   >