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

2016-11-27 Thread 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(-) > > diff --git a/drivers/md/bcache/request.c b/drivers/md/bcache/request.

[LINUX RFC v4 3/4] mtd: spi-nor: add stripe support

2016-11-27 Thread Naga Sureshkumar Relli
This patch adds stripe support and it is needed for GQSPI parallel configuration mode by: - Adding required parameters like stripe and shift to spi_nor structure. - Initializing all added parameters in spi_nor_scan() - Updating read_sr() and read_fsr() for getting status from both flashes - In

[LINUX RFC v4 2/4] mtd: add spi_device instance to spi_nor struct

2016-11-27 Thread Naga Sureshkumar Relli
This patch adds struct spi_device instacne to the spi_nor structure. Signed-off-by: Naga Sureshkumar Relli --- Changes for v4: - No change Changes for v3: - No change Changes for v2: - This is new patch, basically splitted on request of Mark Brown --- drivers/mtd/devices/m25p80.c | 1 + inclu

[LINUX RFC v4 0/4] Add stripe support for ZynqMP SoC GQSPI controller

2016-11-27 Thread Naga Sureshkumar Relli
This patch series is continuation to previous patches mentioned in below link http://marc.info/?l=linux-spi&m=145009963109143&w=2 i am re-initiating this series, Could you please help us to get this done? what is dual parallel mode? --- ZynqMP GQSPI controller supports Dua

[LINUX RFC v4 4/4] spi: zynqmp: gqspi: add support for stripe feature

2016-11-27 Thread Naga Sureshkumar Relli
This patch adds support of dual parallel mode configuration for Zynq Ultrascale+ MPSoC GQSPI controller driver. Signed-off-by: Naga Sureshkumar Relli --- Changes for v4: - No changes Changes for v3: - No change Changes for v2: - No change --- drivers/spi/spi-zynqmp-gqspi.c | 26 ++

[PATCH] Staging: iio: adc: fix macro and sysfs files modes in ad7280a.c

2016-11-27 Thread Boyan Vladinov
Fixes warnings found by checkpatch.pl: - AD7280A_DEVADDR macro to use typeof, because of possible side effects - sysfs entries user/group modes to use their octal representation - coding style (open parenthesis alignment, CamelCase...) Signed-off-by: Boyan Vladinov --- drivers/staging/iio/adc/ad

Re: Linux 4.8.11

2016-11-27 Thread Borislav Petkov
On Sun, Nov 27, 2016 at 12:35:45AM +0100, Adam Borowski wrote: > [0.332919] BUG: unable to handle kernel NULL pointer dereference at > (null) > [0.340902] IP: [< (null)>] (null) > [0.346063] PGD 0 > [0.348181] Oops: 0010 [#1] SMP > [0.351364] Modul

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-27 Thread Donald Buczek
On 24.11.2016 11:15, Michal Hocko wrote: On Mon 21-11-16 16:35:53, Donald Buczek wrote: [...] Hello, thanks a lot for looking into this! Let me add some information from the reporting site: * We've tried the patch from Paul E. McKenney (the one posted Wed, 16 Nov 2016) and it doesn't shut up

ALSA Audio play

2016-11-27 Thread Jithin T Raj
Hi team, I am new to the field of linux kernel..I have heard about ALSA ..my doubt is that.. does ALSA is already there in kernel..?I am asking this question because I Have made a c program that play .wav files by ALSA which runs in my ubuntu now..I want to cross compile this to my beaglebone bo

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-27 Thread Paul Menzel
Am Donnerstag, den 24.11.2016, 19:50 +0100 schrieb Donald Buczek: > On 24.11.2016 11:15, Michal Hocko wrote: > > > On Mon 21-11-16 16:35:53, Donald Buczek wrote: > > [...] > >> Let me add some information from the reporting site: > >> > >> * We've tried the patch from Paul E. McKenney (the one po

Xmas Offer

2016-11-27 Thread Mrs Julie Leach
You are a recipient to Mrs Julie Leach Donation of $3 million USD. Contact ( julieleac...@gmail.com ) for claims.

Re: [PATCH] Staging: iio: adc: fix macro and sysfs files modes in ad7280a.c

2016-11-27 Thread Jonathan Cameron
On 27/11/16 08:37, Boyan Vladinov wrote: > Fixes warnings found by checkpatch.pl: > - AD7280A_DEVADDR macro to use typeof, because of possible side effects Such as? I can't tell from this description whether this is a bug, or just some good coding practice stuff. > - sysfs entries user/group modes

[LINUX RFC v4 1/4] spi: adding support for data stripe feature in core

2016-11-27 Thread Naga Sureshkumar Relli
This patch enables data stripe feature in spi core. This feature is required to support dual parallel mode of ZynqMP GQSPI controller. To achieve the same an API SPI_MASTER_DATA_STRIPE is added. With data stripe enabled, - even bytes i.e. 0, 2, 4,... are transmitted on lower data bus - odd bytes

Re: [PATCH v3] Staging: iio: adc: fix sysfs files modes in ad7192.c

2016-11-27 Thread Jonathan Cameron
On 26/11/16 22:39, Boyan Vladinov wrote: > Fixes warnings found by checkpatch.pl: > - sysfs entries user/group modes to use their octal representation > - use the IIO_DEVICE_ATTR_[RO|RW] macroses > - coding style > > Signed-off-by: Boyan Vladinov Unfortunately this isn't quite as straight forward

Did you get my message this time?

2016-11-27 Thread Friedrich Mayrhofer
Friedrich MayrhoferThis is the second time i am sending you this mail.I, Friedrich Mayrhofer Donate $ 1,000,000.00 to You, Email Me personally for more details. Regards. Friedrich Mayrhofer

Re: [PATCH] iio: cros_ec_light_prox: add ChromeOS EC Light and Proximity Sensors

2016-11-27 Thread Jonathan Cameron
On 25/11/16 12:03, Enric Balletbo i Serra wrote: > From: Gwendal Grignou > > Handle Light and Proximity sensors presented by the ChromeOS EC Sensor hub. > Creates an IIO device for each functions. > > Signed-off-by: Gwendal Grignou > Signed-off-by: Guenter Roeck > Signed-off-by: Enric Balletbo

Re: [PATCH] IIO: Change msleep to usleep_range for small msecs

2016-11-27 Thread Jonathan Cameron
On 26/11/16 03:47, Aniroop Mathur wrote: > msleep(1~20) may not do what the caller intends, and will often sleep longer. > (~20 ms actual sleep for any value given in the 1~20ms range) > This is not the desired behaviour for many cases like device resume time, > device suspend time, device enable t

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

2016-11-27 Thread 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. Nikolaus Schaller" >> wrote: >>> The tsc2007 chip not only has a resistive touch screen controller but >>> also an external AUX adc im

Re: Linux 4.8.11

2016-11-27 Thread Sven Joachim
On 2016-11-27 00:35 +0100, Adam Borowski wrote: > On Sat, Nov 26, 2016 at 05:12:35PM +0100, Greg KH wrote: >> I'm announcing the release of the 4.8.11 kernel. > > ... which splats during early boot where 4.8.10 worked fine. > > [ 0.00] Linux version 4.8.11+ (kilobyte@umbar) (gcc version 6.2.1

Re: drivers/staging/greybus/bootrom.c:298:35-39: ERROR: fw is NULL but dereferenced.

2016-11-27 Thread Greg Kroah-Hartman
On Sun, Nov 27, 2016 at 07:11:46AM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: a0d60e62ea5c88a9823410e9d0929a513e29dea2 > commit: f44dd184634d401f5cf88a6d8b4a60d5ff4f417f Merge greybus driver tree > into 4.8-rc6 >

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 pressure sensors. >> >> Signed-o

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 > (...) > >> +#ifdef CONFIG_AC

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. Please address those.

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. Presumably at somepoint this will

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 I'm assuming the na

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 autobuilders to play with it. Thanks, J

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 actual function of the devices

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 Applied to the togreg branch of iio.git and pushed

[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 succes

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 channel

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 wit

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 | 38 ++ drivers/hw

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 1 file change

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(&bdev->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. eithe

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 me

[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 -- hig

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 wh

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 used when you want the driver t

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 comm

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 > --- > .../bindings/mfd/stm32-general-purpose-timer.txt |

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 | 37 > ++

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 > > S

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: 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 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] 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 functions and > renamed usb_w90

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. > > After some more cleanups, I

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 c4ae0977f57d ("mtd: nand: denali: remov

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 patch. All you're doing in these

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 insertions(+) > > diff --git a/drivers/mtd/nand/denali.c b/drive

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 Yamada > --- > > drivers/mtd/nand

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 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 t

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 Yamada > --- > > drivers/mtd/nand

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 the device >> anoth

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. Nikolaus Schaller" >>> wrote: The tsc2007 chip n

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 triggers: >>> one list d

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 whi

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 > the data in the buffer according t

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: Masahiro Yamada > --- > > drivers

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 are > 0xFF after they are manipula

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 > to set DENALI_CAPS_HW_ECC_FIXUP

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 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 I added the > 64 bit DMA code as

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 in a generic way, but I fear thi

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 hardware bug, various misdetecte

[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 --- scrip

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 cleanups, I will start to add cha

[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: stripe

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 > ++ > 1 file

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(+) > > diff --git a/drivers/usb/hos

[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 hi

[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 vgacon_

[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 a/drivers/video/console/vgacon.c

[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] 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 @ ident

[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 @ iden

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

2016-11-27 Thread Theodore Ts'o
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 existing fscrypt branch. I don't consider any of his comment

Re: [PATCH v3 net-next 1/2] net: ethernet: slicoss: add slicoss gigabit ethernet driver

2016-11-27 Thread Markus Böhme
Hello Lino, just some things barely worth mentioning: On 11/26/2016 01:20 PM, Lino Sanfilippo wrote: > Add driver for Alacritech gigabit ethernet cards with SLIC (session-layer > interface control) technology. The driver provides basic support without > SLIC for the following devices: > > - Moja

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

2016-11-27 Thread Jani Nikula
On Sun, 27 Nov 2016, "S. Fricke" wrote: > 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 >

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

2016-11-27 Thread Andreas Färber
To more consistently reference nodes by label, add labels for sata, usb2, sdhci and usb3 nodes. Convert all other 38x boards for consistency. Add labels for nfc and rtc. Signed-off-by: Andreas Färber --- arch/arm/boot/dts/armada-385-db-ap.dts | 334 +++-- arch/arm/boot/dts/a

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() every time without any cond

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

2016-11-27 Thread Andreas Färber
Specify the baudrate. Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") Cc: Uwe Kleine-König Signed-off-by: Andreas Färber --- arch/arm/boot/dts/armada-385-turris-omnia.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/armada-385-turris-omnia

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

2016-11-27 Thread Alexnader Kuleshov
On 11-27-16, Andy Lutomirski wrote: > 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

[PATCH] ARM: dts: vf610-zii-dev-rev-b: Add missing newline

2016-11-27 Thread Andreas Färber
Found while reviewing Marvell dsa bindings usage. Fixes: f283745b3caf ("arm: vf610: zii devel b: Add support for switch interrupts") Cc: Andrew Lunn Cc: David S. Miller Signed-off-by: Andreas Färber --- arch/arm/boot/dts/vf610-zii-dev-rev-b.dts | 3 ++- 1 file changed, 2 insertions(+), 1 dele

[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 --- Hi, this one just silences t

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: Manjeet Pawar > Signed-off-by: Hannes Frederic Sowa > Reviewed-by: Akhi

Re: [PATCH] platform/chrome : Add myself as Maintainer

2016-11-27 Thread Olof Johansson
On Wed, Nov 16, 2016 at 10:19 AM, Benson Leung wrote: > I'll be taking over maintainership of platform/chrome from Olof, > so let's add me to the list of maintainers. > > Signed-off-by: Benson Leung Acked-by: Olof Johansson I talked to Darren at Plumbers about drivers/platform/chrome, and whet

[PATCH] 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 --- drivers/net/dsa/mv88e6xxx/c

Re: [PATCH] netdevice: fix sparse warning for HARD_TX_LOCK

2016-11-27 Thread David Miller
From: "Michael S. Tsirkin" Date: Thu, 24 Nov 2016 07:04:08 +0200 > sparse warns about context imbalance in any code > that uses HARD_TX_LOCK/UNLOCK - this is because it's > unable to determine that flags don't change so > lock and unlock are paired. > > Seems easy enough to fix by adding __acqui

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

2016-11-27 Thread Andreas Färber
This model is found on the Turris Omnia. Signed-off-by: Andreas Färber --- drivers/net/dsa/mv88e6xxx/chip.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index 77f13ada2612..95b9efb33ec7 100644 --- a/drivers/net/dsa/mv

[PATCH 1/2] Documentation: net: dsa: marvell: Add 88E6176

2016-11-27 Thread Andreas Färber
Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/net/dsa/marvell.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/dsa/marvell.txt b/Documentation/devicetree/bindings/net/dsa/marvell.txt index b3dd6b40e0de..000bc3b16edd 100644 --- a/

[PATCH] 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index f73e19277a70..46ccf6eadcc9 100644 --- a/MAINTAINERS +++ b/MAINTA

[PATCH 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 b/MAINTAINERS index f73e19277a70..677d73cfedc7 100644 --- a/MAINTAINERS +++ b/MAIN

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

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 08:37:24PM +0100, Andreas Färber wrote: > Specify the baudrate. Hi Andreas Please put each patch/patchset in a new thread. > Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") > Cc: Uwe Kleine-König > Signed-off-by: Andreas Färber Reviewed-by: Andrew Lunn

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 thin

Re: [PATCH] ARM: dts: vf610-zii-dev-rev-b: Add missing newline

2016-11-27 Thread Andrew Lunn
On Sun, Nov 27, 2016 at 08:54:44PM +0100, Andreas Färber wrote: > Found while reviewing Marvell dsa bindings usage. Hi Andreas It is good practice to put the maintainer you expect to accept the patch on the To: line. You have at least two different maintainers on Cc: so it is currently ambiguous.

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

2016-11-27 Thread 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 patch is correct, but please read Documentation/networking/netdev-FAQ.

  1   2   3   >