Re: [PATCH] iio: humidity: Support acpi probe for hts211

2016-11-27 Thread Jonathan Cameron
On 24/11/16 09:07, Shrirang Bagul wrote: > Support driver probe by reading unique HID on systems based on ACPI instead > of DT compatible strings. > > Signed-off-by: Shrirang Bagul Applied to the togreg branch of iio.git and pushed out as testing for the

Re: [RFC PATCH v2 5/7] iio: multiplexer: new iio category and iio-mux driver

2016-11-27 Thread Jonathan Cameron
On 19/11/16 22:08, Peter Rosin wrote: > On 2016-11-19 16:49, Jonathan Cameron wrote: >> On 17/11/16 21:48, Peter Rosin wrote: >>> When a multiplexer changes how an iio device behaves (for example >>> by feeding different signals to an ADC), this driver can be used >>> create one virtual iio

Re: [HMM v13 08/18] mm/hmm: heterogeneous memory management (HMM for short)

2016-11-27 Thread Jerome Glisse
On Wed, Nov 23, 2016 at 09:33:35AM +0530, Anshuman Khandual wrote: > On 11/18/2016 11:48 PM, Jérôme Glisse wrote: [...] > > + * > > + * hmm_vma_migrate(vma, start, end, ops); > > + * > > + * With ops struct providing 2 callback alloc_and_copy() which allocated > > the > > + * destination

Re: [PATCH v2 1/7] MFD: add bindings for stm32 general purpose timer driver

2016-11-27 Thread Jonathan Cameron
On 24/11/16 15:14, Benjamin Gaignard wrote: > Add bindings information for stm32 general purpose timer > > version 2: > - rename stm32-mfd-timer to stm32-gptimer > - only keep one compatible string > > Signed-off-by: Benjamin Gaignard > --- >

Re: [PATCH 13/39] mtd: nand: denali: increment ecc_stats->corrected

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:05:59 +0900 Masahiro Yamada wrote: > Update the number of corrected bit flips when read_page() succeeds. > > Signed-off-by: Masahiro Yamada > --- > > drivers/mtd/nand/denali.c | 3 +++ > 1 file changed, 3

Re: [PATCH v2 6/7] IIO: add STM32 IIO timer driver

2016-11-27 Thread Jonathan Cameron
I delved into the datasheet after trying to figure this out, so I think I now sort of understand your intent, but please do answer the questions inline. On 24/11/16 15:14, Benjamin Gaignard wrote: > Timers IPs can be used to generate triggers for other IPs like > DAC, ADC or other timers. > Each

Re: [PATCH 15/39] mtd: nand: denali: improve readability of handle_ecc()

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:06:01 +0900 Masahiro Yamada wrote: > This function is unreadable due to the deep nesting. Note this > function does a job only when INTR_STATUS__ECC_ERR is set. > So, if the flag is not set, let it bail-out. > > Signed-off-by: Masahiro

Re: [PATCH 21/39] mtd: nand: denali: support 64bit capable DMA engine

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:06:07 +0900 Masahiro Yamada wrote: > The current driver only supports the DMA engine up to 32 bit > physical address, but there also exists 64 bit capable DMA engine > for this IP. > > The data DMA setup sequence is completely different, so

Re: [PATCH 1/2] iio: adis1620x: Fix mixed up device descriptions

2016-11-27 Thread Jonathan Cameron
On 22/11/16 00:40, Reto Schneider wrote: > From: Reto Schneider > Date: Sun, 20 Nov 2016 22:11:24 +0100 > Subject: [PATCH 1/2] iio: adis1620x: Fix mixed up device descriptions > > The module descriptions for the ADIS 16201, 16203 and 16209 drivers do not > match the

Re: [PATCH 1/3] hwmon: Add Texas Instruments TMP108 temperature sensor driver.

2016-11-27 Thread Guenter Roeck
On 11/26/2016 09:15 PM, John Muir wrote: Add support for the TI TMP108 temperature sensor with some device configuration parameters. Signed-off-by: John Muir --- Documentation/devicetree/bindings/hwmon/tmp108.txt | 27 ++ Documentation/hwmon/tmp108 |

Re: [PATCH v3 3/3] zram: support BDI_CAP_STABLE_WRITES

2016-11-27 Thread Sergey Senozhatsky
On (11/26/16 23:41), Minchan Kim wrote: [..] > > > mutex_lock(>bd_mutex); > > > > why not set it just once, when we allocate queue/disk and configure both > > of them: in zram_add() > > I should have mentioned the reason. > The revalidate_disk reset the BDI_CAP_STABLE_WRITES. aha. either

Re: [PATCH v2 3/7] PWM: add pwm-stm32 DT bindings

2016-11-27 Thread Jonathan Cameron
On 24/11/16 15:14, Benjamin Gaignard wrote: > Define bindings for pwm-stm32 > > version 2: > - use parameters instead of compatible of handle the hardware configuration > > Signed-off-by: Benjamin Gaignard > --- > .../devicetree/bindings/pwm/pwm-stm32.txt |

Re: [PATCH 09/39] mtd: nand: denali: fix erased page check code

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:05:55 +0900 Masahiro Yamada wrote: > Currently, is_erased() is called against "buf" twice, so the second > call is meaningless. The second one should be checked against > chip->oob_poi. > IMO, patch 9 to 12 should be squashed in a single

Re: Enabling peer to peer device transactions for PCIe devices

2016-11-27 Thread Haggai Eran
On 11/25/2016 9:32 PM, Jason Gunthorpe wrote: > On Fri, Nov 25, 2016 at 02:22:17PM +0100, Christian König wrote: > >>> Like you say below we have to handle short lived in the usual way, and >>> that covers basically every device except IB MRs, including the >>> command queue on a NVMe drive. >> >>

Re: [PATCH v8 3/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2016-11-27 Thread H. Nikolaus Schaller
Hi Jonathan, > Am 27.11.2016 um 12:02 schrieb Jonathan Cameron : > > On 24/11/16 18:05, H. Nikolaus Schaller wrote: >> >>> Am 24.11.2016 um 18:38 schrieb Jonathan Cameron >>> : >>> >>> >>> >>> On 22 November 2016 14:02:30 GMT+00:00, "H.

Re: [PATCH 1/2] dt-bindings: usb: add DT binding for s3c2410 USB OHCI controller

2016-11-27 Thread Krzysztof Kozlowski
On Fri, Nov 25, 2016 at 12:47:28PM -0200, Sergio Prado wrote: > Adds the device tree bindings description for Samsung S3C2410 and > compatible USB OHCI controller. > > Signed-off-by: Sergio Prado > --- > .../devicetree/bindings/usb/s3c2410-usb.txt| 22 >

[PATCH] md/raid5: limit request size according to implementation limits

2016-11-27 Thread Konstantin Khlebnikov
Current implementation employ 16bit counter of active stripes in lower bits of bio->bi_phys_segments. If request is big enough to overflow this counter bio will be completed and freed too early. Fortunately this not happens in default configuration because several other limits prevent that:

[PATCH] fs: xfs: libxfs: constify xfs_nameops structures

2016-11-27 Thread Bhumika Goyal
Declare the structure xfs_nameops as const as it is only stored in the m_dirnameops field of a xfs_mount structure. This field is of type const struct xfs_nameops *, so xfs_nameops structures having this property can be declared as const. Done using Coccinelle: @r1 disable optional_qualifier @

Re: [PATCH] iio: accel: mma8452: define unsigned return values where appropriate

2016-11-27 Thread Jonathan Cameron
On 21/11/16 19:53, Martin Kepplinger wrote: > smatch warned: > sval_binop_signed: invalid divide LLONG_MIN/-1 > > and this fixes it. It's actually good to have, in order to avoid accidental > checking for negative return values here. > > Signed-off-by: Martin Kepplinger

Re: [PATCH 2/3] hwmon: tmp108: Use devm variants of registration interfaces.

2016-11-27 Thread Guenter Roeck
On 11/26/2016 09:15 PM, John Muir wrote: From: John Muir Use the devm hwmon and thermal zone registration functions to clean up the code and remove the need for an i2c_driver.remove callback. Signed-off-by: John Muir --- drivers/hwmon/tmp108.c | 28

Re: [PATCH 01/39] mtd: nand: allow to set only one of ECC size and ECC strength from DT

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:05:47 +0900 Masahiro Yamada wrote: > Currently, it is valid to specify both "nand-ecc-step-size" and > "nand-ecc-strength", but not allowed to set only one of them. > > This requirement has a conflict with "nand-ecc-maximize"; this flag > is

Re: [PATCH] USB: EHCI: ehci-w90x900: remove unuseful functions

2016-11-27 Thread Alan Stern
On Thu, 24 Nov 2016 csmanjuvi...@gmail.com wrote: > From: Manjunath Goudar > > The ehci_w90x900_probe function is not doing anything other than > calling usb_w90x900_probe function so ehci_w90x900_probe function > is unuseful that is why removed ehci_w90x900_probe

Re: [PATCH 00/39] mtd: nand: denali: 2nd round of Denali NAND IP patch bomb

2016-11-27 Thread Boris Brezillon
+Andy Hi Masahiro, On Sun, 27 Nov 2016 03:05:46 +0900 Masahiro Yamada wrote: > As I said in the 1st round series, I am tackling on this driver > to use it for my SoCs. > > The previous series was just cosmetic things, but this series > includes *real* changes. >

Re: [PATCH v2 1/7] MFD: add bindings for stm32 general purpose timer driver

2016-11-27 Thread Jonathan Cameron
On 27/11/16 14:10, Jonathan Cameron wrote: > On 24/11/16 15:14, Benjamin Gaignard wrote: >> Add bindings information for stm32 general purpose timer >> >> version 2: >> - rename stm32-mfd-timer to stm32-gptimer >> - only keep one compatible string >> >> Signed-off-by: Benjamin Gaignard

Re: [PATCH v2 5/7] IIO: add bindings for stm32 IIO timer driver

2016-11-27 Thread Jonathan Cameron
On 27/11/16 15:45, Benjamin Gaignard wrote: > 2016-11-27 15:25 GMT+01:00 Jonathan Cameron : >> On 24/11/16 15:14, Benjamin Gaignard wrote: >>> Define bindings for stm32 IIO timer >>> >>> version 2: >>> - only keep one compatible >>> - add DT parameters to set lists of the

Re: [PATCH 17/39] mtd: nand: denali: support HW_ECC_FIXUP capability

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:06:03 +0900 Masahiro Yamada wrote: > Some old versions of the Denali IP (perhaps used only for Intel?) > detects ECC errors and provides correct data via a register, but > does not touch the transferred data. So, the software must fixup >

Re: [PATCH 18/39] mtd: nand: denali: move denali_read_page_raw() above denali_read_page()

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:06:04 +0900 Masahiro Yamada wrote: > This will be needed in the next commit to call denali_read_page_raw() > from denali_read_page(). Please squash this change into patch 19. It's clearly useless to dissociate them. > > Signed-off-by:

Re: [PATCH 38/39] mtd: nand: denali: remove Toshiba, Hynix specific fixup code

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:06:24 +0900 Masahiro Yamada wrote: > The Denali IP can automatically detect device parameters such as > page size, device width, etc. and this driver currently relies on it. > However, this hardware function is problematic. > > [1] Due to a

Re: [PATCH v3] iio: adc: New driver for TI ADS7950 chips

2016-11-27 Thread Jonathan Cameron
On 22/11/16 00:40, David Lechner wrote: > This adds a new driver for the TI ADS7950 family of ADC chips. These > communicate using SPI and come in 8/10/12-bit and 4/8/12/16 channel > varieties. > > Signed-off-by: David Lechner I raised a few late comments in reponse to V2.

Re: [PATCH 1/3] iio: st_sensors: match sensors using ACPI handle

2016-11-27 Thread Jonathan Cameron
On 24/11/16 05:33, Shrirang Bagul wrote: > Add support to match st sensors using information passed from ACPI DST > tables. > > Signed-off-by: Shrirang Bagul Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.

Re: [PATCH v3 0/7] mux controller abstraction and iio/i2c muxes

2016-11-27 Thread Jonathan Cameron
On 23/11/16 11:47, Peter Rosin wrote: > On 2016-11-22 21:58, Lars-Peter Clausen wrote: >> On 11/21/2016 02:17 PM, Peter Rosin wrote: >> [...] >>> I have a piece of hardware that is using the same 3 GPIO pins >>> to control four 8-way muxes. Three of them control ADC lines >>> to an ADS1015 chip

[PATCH] mm: page_alloc: High-order per-cpu page allocator v3

2016-11-27 Thread Mel Gorman
Changelog since v2 o Correct initialisation to avoid -Woverflow warning SLUB has been the default small kernel object allocator for quite some time but it is not universally used due to performance concerns and a reliance on high-order pages. The high-order concerns has two major components --

Re: [PATCH v3 1/3] mm: support anonymous stable page

2016-11-27 Thread Sergey Senozhatsky
Hi, On (11/25/16 17:35), Minchan Kim wrote: [..] > Unfortunately, zram has used per-cpu stream feature from v4.7. > It aims for increasing cache hit ratio of scratch buffer for > compressing. Downside of that approach is that zram should ask > memory space for compressed page in per-cpu context

Re: Enabling peer to peer device transactions for PCIe devices

2016-11-27 Thread Christian König
Am 27.11.2016 um 15:02 schrieb Haggai Eran: On 11/25/2016 9:32 PM, Jason Gunthorpe wrote: On Fri, Nov 25, 2016 at 02:22:17PM +0100, Christian König wrote: Like you say below we have to handle short lived in the usual way, and that covers basically every device except IB MRs, including the

Re: [PATCH v2 5/7] IIO: add bindings for stm32 IIO timer driver

2016-11-27 Thread Jonathan Cameron
On 24/11/16 15:14, Benjamin Gaignard wrote: > Define bindings for stm32 IIO timer > > version 2: > - only keep one compatible > - add DT parameters to set lists of the triggers: > one list describe the triggers created by the device > another one give the triggers accepted by the device > >

Re: [PATCH v3 2/4] Documentation/atomic_ops.txt: convert to ReST markup

2016-11-27 Thread S. Fricke
Hi Peter, > On Fri, Nov 25, 2016 at 03:59:45PM +0100, Silvio Fricke wrote: > > ... and move to core-api folder. > > > > Signed-off-by: Silvio Fricke > > --- > > Documentation/atomic_ops.txt => Documentation/core-api/atomic_ops.rst | > > 777

Re: [PATCH v2 5/7] IIO: add bindings for stm32 IIO timer driver

2016-11-27 Thread Benjamin Gaignard
2016-11-27 15:25 GMT+01:00 Jonathan Cameron : > On 24/11/16 15:14, Benjamin Gaignard wrote: >> Define bindings for stm32 IIO timer >> >> version 2: >> - only keep one compatible >> - add DT parameters to set lists of the triggers: >> one list describe the triggers created by

Re: [PATCH] Fix objtool with clang

2016-11-27 Thread Jiri Olsa
On Sat, Nov 26, 2016 at 05:20:35PM -0500, Peter Foley wrote: > Clang doesn't support multiple arguments being passed to -Wp, so split > them. > > Fixes this error: > HOSTCC tools/objtool/fixdep.o > cat: tools/objtool/.fixdep.o.d: No such file or directory > > Signed-off-by: Peter Foley

Re: [PATCH 20/39] mtd: nand: denali_dt: enable HW_ECC_FIXUP capability for DT platform

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:06:06 +0900 Masahiro Yamada wrote: > The denali_dt.c was split out by Altera for the SOCFPGA port. The > Denali IP on SOCFPGA incorporates the hardware ECC fixup feature. > Newer versions are very likely to support it. So, it should be OK >

Re: [PATCH 00/39] mtd: nand: denali: 2nd round of Denali NAND IP patch bomb

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:05:46 +0900 Masahiro Yamada wrote: > As I said in the 1st round series, I am tackling on this driver > to use it for my SoCs. > > The previous series was just cosmetic things, but this series > includes *real* changes. > > After some more

[PATCH] Scripts: kconfig: nconf: fix _GNU_SOURCE redefined warning

2016-11-27 Thread Cheah Kok Cheong
Fix below warning when make nconfig is run initially or after make clean. HOSTCC scripts/kconfig/nconf.o scripts/kconfig/nconf.c:8:0: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE ^ :0:0: note: this is the location of the previous definition Signed-off-by: Cheah Kok Cheong

[PATCH v7 3/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-27 Thread Manuel Schölling
Add a scrollback buffers for each VGA console. The benefit is that the scrollback history is not flushed when switching between consoles but is persistent. The buffers are allocated on demand when a new console is opened. This breaks tools like clear_console that rely on flushing the scrollback

[PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-27 Thread Manuel Schölling
Changes in v7: - Add new callback to consw struct for flushing video console driver's scrollback buffer. Fixes issues with escape sequence '\e[3J' reported by Adam Borowski (kilob...@angband.pl). - Fix style issues Changes in v6: - Change of check if feature is enabled in

[PATCH v7 2/3] console: Add callback to flush scrollback buffer to consw struct

2016-11-27 Thread Manuel Schölling
This new callback is in preparation for persistent scrollback buffer support for VGA consoles. With a single scrollback buffer for all consoles, we could flush the buffer just by invocating consw->con_switch(). But when each VGA console has its own scrollback buffer, we need a new callback to tell

[PATCH v7 1/3] console: Move scrollback data into its own struct

2016-11-27 Thread Manuel Schölling
This refactoring is in preparation for persistent scrollback support for VGA console. Signed-off-by: Manuel Schölling --- drivers/video/console/vgacon.c | 91 ++ 1 file changed, 47 insertions(+), 44 deletions(-) diff --git

Re: [PATCH 2/3] iio: st_accel: Support sensor i2c probe using acpi

2016-11-27 Thread Jonathan Cameron
On 24/11/16 14:26, Linus Walleij wrote: > On Thu, Nov 24, 2016 at 6:33 AM, Shrirang Bagul > wrote: > >> Add support to probe st_accel sensors on i2c bus using ACPI. Compatible >> strings are not avaialable on ACPI based systems. >> >> Signed-off-by: Shrirang Bagul

Re: [PATCH 2/2] iio: adis16203: Fix copyright year

2016-11-27 Thread Jonathan Cameron
On 22/11/16 00:42, Reto Schneider wrote: > From: Reto Schneider > Date: Mon, 12 Oct 2015 01:44:51 +0200 > Subject: [PATCH 2/2] iio: adis16203: Fix copyright year > > The copyright year can not be in the future. > > Signed-off-by: Reto Schneider

[PATCH] vfio/pci: Support error recovery

2016-11-27 Thread Cao jin
It is user space driver's or device-specific driver's(in guest) responsbility to do a serious recovery when error happened. Link-reset is one part of recovery, when pci device is assigned to VM via vfio, link-reset will do twice in host & guest separately, which will cause many trouble for a

Re: Enabling peer to peer device transactions for PCIe devices

2016-11-27 Thread Haggai Eran
On 11/25/2016 9:32 PM, Jason Gunthorpe wrote: > On Fri, Nov 25, 2016 at 02:22:17PM +0100, Christian König wrote: > >>> Like you say below we have to handle short lived in the usual way, and >>> that covers basically every device except IB MRs, including the >>> command queue on a NVMe drive. >>

Re: [PATCH 04/39] mtd: nand: denali: remove more unused struct members

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:05:50 +0900 Masahiro Yamada wrote: Please add a description here. Also, this commit tends to validate my fears: you should have wait for the full rework/cleanup to be done before submitting the first round of cleanups. Indeed, commit

Re: [PATCH 15/39] mtd: nand: denali: improve readability of handle_ecc()

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:06:01 +0900 Masahiro Yamada wrote: > This function is unreadable due to the deep nesting. Note this > function does a job only when INTR_STATUS__ECC_ERR is set. > So, if the flag is not set, let it bail-out. > > Signed-off-by: Masahiro

Re: [HMM v13 00/18] HMM (Heterogeneous Memory Management) v13

2016-11-27 Thread Haggai Eran
On 11/25/2016 6:16 PM, Jerome Glisse wrote: > Yes this is something i have work on with NVidia, idea is that you will > see the hmm_pfn_t with the device flag set you can then retrive the struct > device from it. Issue is now to figure out how from that you can know that > this is a device with

Re: [PATCH 19/39] mtd: nand: denali: perform erased check against raw transferred page

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:06:05 +0900 Masahiro Yamada wrote: > The erased page check must be done against the raw transferred data. > The current first call of is_erase() is against the data after ECC > correction. I saw cases where not all of the data in the page

Re: [PATCH 28/39] mtd: nand: denali: move multi NAND fixup code to a helper function

2016-11-27 Thread Boris Brezillon
On Sun, 27 Nov 2016 03:06:14 +0900 Masahiro Yamada wrote: > Collect multi NAND fixups into a helper function instead of > scattering them in denali_init(). Can you tell me more about this multi-NAND feature? The core is already able to detect multi-die NAND chips

Re: [PATCH 2/2] usb: ohci: s3c2410: allow probing from device tree

2016-11-27 Thread Krzysztof Kozlowski
On Fri, Nov 25, 2016 at 12:47:29PM -0200, Sergio Prado wrote: > Allows configuring Samsung's s3c2410 USB OHCI controller using a > devicetree. > > Signed-off-by: Sergio Prado > --- > drivers/usb/host/ohci-s3c2410.c | 8 > 1 file changed, 8 insertions(+) >

[PATCH] wireless: ath: ath9k: constify ath_bus_ops structure

2016-11-27 Thread Bhumika Goyal
Declare the structure ath_bus_ops as const as it is only passed as an argument to the function ath9k_init_device. This argument is of type const struct ath_bus_ops *, so ath_bus_ops structures with this property can be declared as const. Done using Coccinelle: @r1 disable optional_qualifier @

Re: [PATCH 3/3] iio: st_pressure: Support i2c probe using acpi

2016-11-27 Thread Jonathan Cameron
On 24/11/16 14:28, Linus Walleij wrote: > On Thu, Nov 24, 2016 at 6:33 AM, Shrirang Bagul > wrote: > >> Compatible strings are not available on ACPI based systems. This patch adds >> support to use DSDT information read from platform BIOS instead for probing >> st

Re: [PATCH] ARM: dts: mvebu: Add Armada 38x labels and clean up Turris Omnia

2016-11-27 Thread Andreas Färber
Am 27.11.2016 um 19:51 schrieb Andreas Färber: > To more consistently reference nodes by label, add labels for sata, > usb2, sdhci and usb3 nodes. s/usb2/usb/ to be fully correct. > > Convert all other 38x boards for consistency. Add labels for nfc and rtc. > > Signed-off-by: Andreas Färber

Re: Question: goal of twice disabling of preemption in exception handlers

2016-11-27 Thread Andy Lutomirski
On Sun, Nov 20, 2016 at 9:52 AM, Alexnader Kuleshov wrote: > Hello everyone, > > Exception handlers which may run on IST stack disable and enable preemption > twice. For example do_int3() [1]. This one calls ist_enter() which > disables preemption with preempt_disable()

[PATCH v3 1/2] of: Fix issue where code would fall through to error case.

2016-11-27 Thread Moritz Fischer
No longer fall through into the error case that prints out an error if no error (err = 0) occurred. Rework error handling to print error where it occured instead of having a global catch-all at the end of the function. Fixes d9181b20a83(of: Add back an error message, restructured) Signed-off-by:

[PATCH v3 2/2] of: resolver: Fix checkpatch warnings

2016-11-27 Thread Moritz Fischer
Fix two line over 80 character warnings that checkpatch spit out: Before: total: 0 errors, 2 warnings, 374 lines checked drivers/of/resolver.c has style problems, please review. After: total: 0 errors, 0 warnings, 376 lines checked Signed-off-by: Moritz Fischer ---

Re: [PATCH v2] ipv6:ipv6_pinfo dereferenced after NULL check

2016-11-27 Thread David Miller
From: Manjeet Pawar Date: Thu, 24 Nov 2016 16:11:57 +0530 > From: Rohit Thapliyal > > np checked for NULL and then dereferenced. It should be modified > for NULL case. > > Signed-off-by: Rohit Thapliyal > Signed-off-by:

Re: RFC: documentation of the autogroup feature

2016-11-27 Thread Michael Kerrisk (man-pages)
Hi Mike, On 11/23/2016 04:33 PM, Mike Galbraith wrote: > On Wed, 2016-11-23 at 14:54 +0100, Michael Kerrisk (man-pages) wrote: >> Hi Mike, [...] >> Actually, can you define for me what the root task group is, and >> why it exists? That may be worth some words in this man page. > > I don't

Re: [PATCH v2] MAINTAINERS: Add device tree bindings to mv88e6xx section

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 10:07:30PM +0100, Andreas Färber wrote: > Also include the netdev list for convenience, as done elsewhere. Please indicate which maintainer you expect to accept this. And if that is David Miller, please fix the Subject: line. > Cc: Andrew Lunn > Cc:

Re: [PATCH] mv88e6xxx: Fix mv88e6xxx_g1_irq_free() interrupt count

2016-11-27 Thread Andreas Färber
Hi Andrew, Am 27.11.2016 um 22:22 schrieb Andrew Lunn: > On Sun, Nov 27, 2016 at 09:43:44PM +0100, Andreas Färber wrote: >> mv88e6xxx_g1_irq_setup() sets up chip->g1_irq.nirqs interrupt mappings, >> so free the same amount. This will be 8 or 9 in practice, less than 16. > > Hi Andreas > > The

Re: [PATCH 2/2] net: dsa: mv88e6xxx: Add 88E6176 device tree support

2016-11-27 Thread Andreas Färber
Am 27.11.2016 um 22:27 schrieb Andrew Lunn: > On Sun, Nov 27, 2016 at 09:57:59PM +0100, Andreas Färber wrote: >> This model is found on the Turris Omnia. > > This driver already supports nearly 30 different Marvell switch > models. Please document why the marvell,mv88e6176 is special and why > it

[PATCH net-next] net: dsa: mv88e6xxx: Fix mv88e6xxx_g1_irq_free() interrupt count

2016-11-27 Thread Andreas Färber
mv88e6xxx_g1_irq_setup() sets up chip->g1_irq.nirqs interrupt mappings, so free the same amount. This will be 8 or 9 in practice, less than 16. Fixes: dc30c35be720 ("net: dsa: mv88e6xxx: Implement interrupt support.") Cc: Andrew Lunn Signed-off-by: Andreas Färber

[PATCH net-next v2] MAINTAINERS: Add device tree bindings to mv88e6xx section

2016-11-27 Thread Andreas Färber
Also include the netdev list for convenience, as done elsewhere. Cc: Andrew Lunn Cc: Vivien Didelot Signed-off-by: Andreas Färber --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS

[GIT PULL] tpmdd updates for Linux 4.10

2016-11-27 Thread Jarkko Sakkinen
Hi James, This pull request contains tpmdd updates for Linux 4.10. This release contains two major changes: power gating support tpm_crb and precursory cleanup work for the event log so that in a future release we will be able to add event log for TPM 2.0. /Jarkko The following changes since

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-27 Thread Adam Borowski
\e[3J works well now, thanks! I haven't found any more problems; your changes also appear to make no regressions in at least nouveau fb (which obviously doesn't have this goodie yet). Patch 2 doesn't apply cleanly on current Linus' tree but it's just a matter of more fuzz than "git am" allows.

linux-next: build warning after merge of the btrfs-kdave tree

2016-11-27 Thread Stephen Rothwell
Hi David, After merging the btrfs-kdave tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: fs/btrfs/inode.c: In function 'run_delalloc_range': fs/btrfs/inode.c:1219:9: warning: 'cur_end' may be used uninitialized in this function [-Wmaybe-uninitialized] start =

Re: [PATCH 00/29] UBIFS File Encryption v1

2016-11-27 Thread Theodore Ts'o
On Sun, Nov 27, 2016 at 11:21:56PM +0100, Richard Weinberger wrote: > > Okay. Then I'll queue UBIFS encryption for the v4.10 merge window. > Just to be sure, I base my UBIFS next tree on your fscrypt tree such that > it will build fine and Linus won't see same commits with a different sha1? Yep,

Re: [PATCH 2/2] bcache: remove unused parameter

2016-11-27 Thread wangyijing
在 2016/11/27 16:00, Coly Li 写道: > On 2016/11/25 上午9:40, Yijing Wang wrote: >> Parameter bio is no longer used, clean it. >> >> Signed-off-by: Yijing Wang >> --- >> drivers/md/bcache/request.c | 12 ++-- >> 1 file changed, 6 insertions(+), 6 deletions(-) >> >>

Re: [PATCH 1/2] bcache: Remove redundant set_capacity

2016-11-27 Thread wangyijing
在 2016/11/27 15:57, Coly Li 写道: > On 2016/11/25 上午9:39, Yijing Wang wrote: >> set_capacity() has been called in bcache_device_init(), >> remove the redundant one. >> >> Signed-off-by: Yijing Wang >> --- >> drivers/md/bcache/super.c | 3 --- >> 1 file changed, 3

Re: [PATCH 3/6] dax: add tracepoint infrastructure, PMD tracing

2016-11-27 Thread Linus Torvalds
On Sun, Nov 27, 2016 at 2:42 PM, Dave Chinner wrote: > > And that's exactly why we need a method of marking tracepoints as > stable. How else are we going to know whether a specific tracepoint > is stable if the kernel code doesn't document that it's stable? You are living

Re: [PATCH] irda: fix overly long udelay()

2016-11-27 Thread David Miller
From: Arnd Bergmann Date: Thu, 24 Nov 2016 17:26:22 +0100 > irda_get_mtt() returns a hardcoded '1' in some cases, > and with gcc-7, we get a build error because this triggers a > compile-time check in udelay(): > > drivers/net/irda/w83977af_ir.o: In function

Re: [PATCH 1/1] net: macb: fix the RX queue reset in macb_rx()

2016-11-27 Thread David Miller
From: Cyrille Pitchen Date: Fri, 25 Nov 2016 09:49:32 +0100 > On macb only (not gem), when a RX queue corruption was detected from > macb_rx(), the RX queue was reset: during this process the RX ring > buffer descriptor was initialized by macb_init_rx_ring() but we

Re: [PATCH] net: fec: turn on device when extracting statistics

2016-11-27 Thread David Miller
From: Nikita Yushchenko Date: Fri, 25 Nov 2016 13:02:00 +0300 > + int i, ret; > + > + ret = pm_runtime_get_sync(>pdev->dev); > + if (IS_ERR_VALUE(ret)) { > + memset(data, 0, sizeof(*data) * ARRAY_SIZE(fec_stats)); > + return; >

Re: [PATCH 3/6] dax: add tracepoint infrastructure, PMD tracing

2016-11-27 Thread Al Viro
On Sun, Nov 27, 2016 at 04:58:43PM -0800, Linus Torvalds wrote: > You are living in some unrealistic dream-world where you think you can > get the right tracepoint on the first try. > > So there is no way in hell I would ever mark any tracepoint "stable" > until it has had a fair amount of use,

Re: [PATCH net v2 0/5] net: fix phydev reference leaks

2016-11-27 Thread Timur Tabi
David Miller wrote: Series applied, thanks. I was really hoping you'd give me the chance to test the patches before applying them. -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux

[PATCH 1/7] vfs - merge path_is_mountpoint() and path_is_mountpoint_rcu()

2016-11-27 Thread Ian Kent
From: Ian Kent Forgetting that the rcu lock allows nesting I added a superfluous rcu version of path_is_mountpoint(). Merge it and the rcu version, make the common case (d_mountpoint() returning true) inline and change the path parameter to a const. Also move the function

Re: [PATCH 3/3] hwmon: tmp108: Update driver to use hwmon_chip_info.

2016-11-27 Thread John Muir
> On 2016.11.27, at 15:00 , Guenter Roeck wrote: > > On Sat, Nov 26, 2016 at 09:15:37PM -0800, John Muir wrote: >> Move the tmp108 driver from hwmon attribute groups to >> hwmon_chip_info. >> >> Signed-off-by: John Muir >> --- > > Hi John, > > please have

4.9.0-rc6+ boot problem

2016-11-27 Thread Kui Zhang
Hello, I am having problem booting 4.9.0-rc6+ on my laptop. 4.9.0-rc5+ works, so not likely hardware issues. Ubuntu Zesty Zapus ### gcc-6 with CONFIG_PCI_QUIRKS=y CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y After grub, screen turns off. No pre modeset messages. Then system reboot itself.

Re: [PATCH 00/29] UBIFS File Encryption v1

2016-11-27 Thread Richard Weinberger
Ted, On 27.11.2016 18:52, Theodore Ts'o wrote: > On Fri, Nov 25, 2016 at 09:18:12AM +0100, Richard Weinberger wrote: >> >> Do you want us to address Eric's review comments on top of the fscrypt >> branch or shall we rebase? >> I'd suggest the former. > > Yes, let's address them on top of the

Re: [PATCH] ARM: dts: mvebu: Fix armada-385-turris-omnia stdout-path

2016-11-27 Thread Uwe Kleine-König
Hello, On Sun, Nov 27, 2016 at 11:14:37PM +0100, Andreas Färber wrote: > Am 27.11.2016 um 22:25 schrieb Uwe Kleine-König: > > On Sun, Nov 27, 2016 at 08:37:24PM +0100, Andreas Färber wrote: > >> Specify the baudrate. > >> > >> Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") > >>

Re: [PATCH net-next] net: dsa: mv88e6xxx: Fix mv88e6xxx_g1_irq_free() interrupt count

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 11:26:28PM +0100, Andreas Färber wrote: > mv88e6xxx_g1_irq_setup() sets up chip->g1_irq.nirqs interrupt mappings, > so free the same amount. This will be 8 or 9 in practice, less than 16. > > Fixes: dc30c35be720 ("net: dsa: mv88e6xxx: Implement interrupt support.") > Cc:

Re: [PATCH 2/2] net: dsa: mv88e6xxx: Add 88E6176 device tree support

2016-11-27 Thread Andreas Färber
Andrew, Am 27.11.2016 um 23:08 schrieb Andrew Lunn: >>> This driver already supports nearly 30 different Marvell switch >>> models. Please document why the marvell,mv88e6176 is special and why >>> it needs its own compatible string when the others don't. >> >> I don't understand. > > Think about

Re: [PATCH 3/6] dax: add tracepoint infrastructure, PMD tracing

2016-11-27 Thread Dave Chinner
On Fri, Nov 25, 2016 at 11:51:26AM -0800, Linus Torvalds wrote: > On Thu, Nov 24, 2016 at 11:37 PM, Al Viro wrote: > > > > My impression is that nobody (at least kernel-side) wants them to be > > a stable ABI, so long as nobody in userland screams about their code > >

[PATCH net-next] MAINTAINERS: Add device tree bindings to DSA section

2016-11-27 Thread Andreas Färber
Cc: Andrew Lunn Cc: Vivien Didelot Cc: Florian Fainelli Signed-off-by: Andreas Färber --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH net-next v3] MAINTAINERS: Add device tree bindings to mv88e6xx section

2016-11-27 Thread Andreas Färber
Also include the netdev list for convenience, as done elsewhere. Reviewed-by: Andrew Lunn Cc: Vivien Didelot Signed-off-by: Andreas Färber --- v3: Pick up Reviewed-by from previous v2 (sorry) MAINTAINERS | 2 ++ 1 file

Re: [PATCH net-next v2] MAINTAINERS: Add device tree bindings to mv88e6xx section

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 11:46:16PM +0100, Andreas Färber wrote: > Also include the netdev list for convenience, as done elsewhere. > > Cc: Andrew Lunn > Cc: Vivien Didelot > Signed-off-by: Andreas Färber Hi Andreas In

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-27 Thread Adam Borowski
On Sun, Nov 27, 2016 at 09:37:30PM +, Andrey Utkin wrote: > I've just patched next-20161125 with this set and given it a run. > > Scrollback persistence works fine, just as in earlier versions. > > This time I didn't forget to test clear operation. > > The only important concern is that

Re: [PATCH net-next v2] MAINTAINERS: Add device tree bindings to mv88e6xx section

2016-11-27 Thread Andreas Färber
Am 28.11.2016 um 00:14 schrieb Andrew Lunn: > On Sun, Nov 27, 2016 at 11:46:16PM +0100, Andreas Färber wrote: >> Also include the netdev list for convenience, as done elsewhere. >> >> Cc: Andrew Lunn >> Cc: Vivien Didelot >> Signed-off-by:

Re: [PATCH v3 2/4] Documentation/atomic_ops.txt: convert to ReST markup

2016-11-27 Thread Jonathan Corbet
On Fri, 25 Nov 2016 22:58:14 +0100 Peter Zijlstra wrote: > Not a fan of this. The atomic_ops.txt file needs a lot of love, and I > wouldn't want to edit a .rst file. > > Then again, I probably won't actually get around to fixing this document > any time soon either. > >

Re: module: extend 'rodata=off' boot cmdline parameter to module mappings

2016-11-27 Thread Rusty Russell
Jessica Yu writes: > +++ AKASHI Takahiro [14/11/16 15:15 +0900]: >>The current "rodata=off" parameter disables read-only kernel mappings >>under CONFIG_DEBUG_RODATA: >>commit d2aa1acad22f ("mm/init: Add 'rodata=off' boot cmdline parameter >>to disable read-only kernel

Re: [GIT PULL] tpmdd updates for Linux 4.10

2016-11-27 Thread James Morris
On Mon, 28 Nov 2016, Jarkko Sakkinen wrote: > Hi James, > > This pull request contains tpmdd updates for Linux 4.10. This release > contains two major changes: power gating support tpm_crb and precursory > cleanup work for the event log so that in a future release we will be > able to add event

Re: [PATCH v2 2/3] ARM: dts: sunxi: add support for Orange Pi Zero board

2016-11-27 Thread André Przywara
On 27/11/16 09:36, Icenowy Zheng wrote: Hi, > 22.11.2016, 00:26, "Icenowy Zheng" : >> Orange Pi Zero is a board that came with the new Allwinner H2+ SoC. >> >> Add a device tree file for it. >> >> Signed-off-by: Icenowy Zheng >> --- >> Changes since v2: >> -

linux-next: build warning after merge of the wireless-drivers-next tree

2016-11-27 Thread Stephen Rothwell
Hi all, After merging the wireless-drivers-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from include/linux/usb/ch9.h:35:0, from include/linux/usb.h:5, from

RE: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Gonglei (Arei)
Hi Michael, Thanks for your feedback firstly! > -Original Message- > From: virtio-...@lists.oasis-open.org [mailto:virtio-...@lists.oasis-open.org] > On Behalf Of Michael S. Tsirkin > Sent: Sunday, November 27, 2016 11:33 AM > To: Gonglei (Arei) > Subject: [virtio-dev] Re: [PATCH v2 1/2]

Re: [PATCH 3/3] hwmon: tmp108: Update driver to use hwmon_chip_info.

2016-11-27 Thread Guenter Roeck
On Sat, Nov 26, 2016 at 09:15:37PM -0800, John Muir wrote: > Move the tmp108 driver from hwmon attribute groups to > hwmon_chip_info. > > Signed-off-by: John Muir > --- Hi John, please have a look at the following patch. Something else: Symbolic permissions are out of favor

  1   2   3   4   5   6   >