[RFC][PATCH v2 1/3] mm/zsmalloc: introduce zs_get_huge_class_size_watermark()

2016-02-21 Thread Sergey Senozhatsky
From: Sergey Senozhatsky zsmalloc knows the watermark after which classes are considered to be ->huge -- every object stored consumes the entire zspage (which consist of a single order-0 page). On x86_64, PAGE_SHIFT 12 box, the first non-huge class size is 3264, so starting down from size 3264, o

Re: [PATCH v1 4/4] block: merge: get the 1st and last bvec via helpers

2016-02-21 Thread Sagi Grimberg
Looks fine, Reviewed-by: Sagi Grimberg

[PATCH] virtio_net: switch to build_skb for mrg_rxbuf

2016-02-21 Thread Michael S. Tsirkin
For small packets data copy was observed to take up about 15% CPU time. Switch to build_skb and avoid the copy when using mergeable rx buffers. As a bonus, medium-size skbs that fit in a page will be completely linear. Of course, we now need to lower the lower bound on packet size, to make sure a

Re: [PATCH] firmware: set firmware_buf size in fw_get_filesystem_firmware()

2016-02-21 Thread Sergey Senozhatsky
Hello, On (02/20/16 22:59), Mimi Zohar wrote: > On Sat, 2016-02-20 at 18:22 +0900, Sergey Senozhatsky wrote: > > Set firmware_buf->size in fw_get_filesystem_firmware() after > > successful kernel_read_file_from_path(), otherwise assign_firmware_buf() > > fails. > > > > Signed-off-by: Sergey Senoz

Re: [PATCH] virtio_net: switch to build_skb for mrg_rxbuf

2016-02-21 Thread Michael S. Tsirkin
On Sun, Feb 21, 2016 at 08:40:59PM +0200, Michael S. Tsirkin wrote: > For small packets data copy was observed to > take up about 15% CPU time. Switch to build_skb > and avoid the copy when using mergeable rx buffers. > > As a bonus, medium-size skbs that fit in a page will be > completely linear.

Re: [PATCH v1 3/4] block: get the 1st and last bvec via helpers

2016-02-21 Thread Sagi Grimberg
Looks fine, Reviewed-by: Sagi Grimberg

Re: [PATCH] ARM: OMAP2+: Fix onenand initialization to avoid filesystem corruption

2016-02-21 Thread Aaro Koskinen
Hi, On Fri, Feb 05, 2016 at 04:37:08PM +0200, Ivaylo Dimitrov wrote: > Commit ("ARM: OMAP2+: Fix > onenand rate detection to avoid filesystem corruption") partially fixed > onenand configuration when GPMC module is reset. Finish the job by also > providing the correct values in ONENAND_REG_SYS_CF

[PATCH v7 0/2] ASoC: Add SPDIF support for Allwinner SoCs

2016-02-21 Thread codekipper
From: Marcus Cooper For now just the SPDIF transmitter has been tested on a Mele A2000(A10) and a Itead Ibox(A20). In order for this patch set to be functional we require an audio clock patch which will be delivered separately. For those that are interested I've pushed the patches here with all

[PATCH 3/6] power_supply: bq2415x_charger: Do not add acpi modalias when CONFIG_ACPI is not enabled

2016-02-21 Thread Pali Rohár
Signed-off-by: Pali Rohár --- drivers/power/bq2415x_charger.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/power/bq2415x_charger.c b/drivers/power/bq2415x_charger.c index 27e8953..b0863f4 100644 --- a/drivers/power/bq2415x_charger.c +++ b/drivers/power/bq2415x_charger.c @@ -17

[PATCH 4/6] power_supply: bq2415x_charger: Add of modalias and match table when CONFIG_OF is enabled

2016-02-21 Thread Pali Rohár
Signed-off-by: Pali Rohár --- drivers/power/bq2415x_charger.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/power/bq2415x_charger.c b/drivers/power/bq2415x_charger.c index b0863f4..73e2f0b 100644 --- a/drivers/power/bq2415x_charger.c +++ b/drivers/power/bq241

[PATCH] cpufreq: simplify for_each_suitable_policy() macro

2016-02-21 Thread Eric Biggers
Signed-off-by: Eric Biggers --- drivers/cpufreq/cpufreq.c | 44 +++- 1 file changed, 3 insertions(+), 41 deletions(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index e979ec7..3aa7b2b 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/dri

Re: [PATCH] firmware: set firmware_buf size in fw_get_filesystem_firmware()

2016-02-21 Thread Mimi Zohar
On Sun, 2016-02-21 at 14:01 +0900, Sergey Senozhatsky wrote: > Hello, > > On (02/20/16 22:59), Mimi Zohar wrote: > > On Sat, 2016-02-20 at 18:22 +0900, Sergey Senozhatsky wrote: > > > Set firmware_buf->size in fw_get_filesystem_firmware() after > > > successful kernel_read_file_from_path(), otherw

[RFC][PATCH v2 3/3] mm/zsmalloc: increase ZS_MAX_PAGES_PER_ZSPAGE

2016-02-21 Thread Sergey Senozhatsky
From: Sergey Senozhatsky The existing limit of max 4 pages per zspage sets a tight limit on ->huge classes, which results in increased memory consumption. On x86_64, PAGE_SHIFT 12, ->huge class_size range is 3280-4096. The problem with ->huge classes is that in most of the cases they waste memor

[PATCH v2 2/2] bmips: add device tree example for BCM6358

2016-02-21 Thread Álvaro Fernández Rojas
This adds a device tree example for SFR Neufbox4 (Sercomm version), which also serves as a real example for brcm,bcm6358-leds. Signed-off-by: Álvaro Fernández Rojas --- v2: Remove led0 alias and use stdout-path only .../devicetree/bindings/mips/brcm/soc.txt | 2 +- arch/mips/bmips/K

[PATCH v2 1/2] bmips: add BCM6358 support

2016-02-21 Thread Álvaro Fernández Rojas
BCM6358 has a shared TLB which conflicts with current SMP support, so it must be disabled for now. BCM6358 uses >= 0xfffe addresses for internal registers, which need to be remapped (by using a simplified version of BRCM63xx ioremap.h). Signed-off-by: Álvaro Fernández Rojas --- v2: Use a dif

[PATCH] hw_random: brcm63xx-rng: fix non device tree compatibility

2016-02-21 Thread Álvaro Fernández Rojas
Allow building when OF is not enabled as suggested by Florian Signed-off-by: Álvaro Fernández Rojas Reported-by: Florian Fainelli --- drivers/char/hw_random/bcm63xx-rng.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/char/hw_random/bcm63xx-rng.c b/drivers/char/

Re: [PATCHv6 1/3] rdmacg: Added rdma cgroup controller

2016-02-21 Thread Leon Romanovsky
On Sat, Feb 20, 2016 at 04:30:04PM +0530, Parav Pandit wrote: > Added rdma cgroup controller that does accounting, limit enforcement > on rdma/IB verbs and hw resources. > > Added rdma cgroup header file which defines its APIs to perform > charing/uncharing functionality and device registration wh

Re: [PATCH] ARM: dts: omap3-n900: Allow gpio keys to be disabled

2016-02-21 Thread Sebastian Reichel
Hi Ivo, On Sun, Feb 21, 2016 at 07:49:30PM +0200, Ivaylo Dimitrov wrote: > On 12.02.2016 23:53, Tony Lindgren wrote: > >Looks like this no longer applies because of linux,can-disable > >to wakeup-source changes. Can you please update against v4.5-rc > >series and repost? > > Could you elaborate o

Re: [PATCH v5 3/4] media: pxa_camera: trivial move of dma irq functions

2016-02-21 Thread Guennadi Liakhovetski
Hi Robert, On Sun, 6 Sep 2015, Robert Jarzmik wrote: > This moves the dma irq handling functions up in the source file, so that > they are available before DMA preparation functions. It prepares the > conversion to DMA engine, where the descriptors are populated with these > functions as callback

Important Update

2016-02-21 Thread Reserve Bank Of India
Dear Receipiant, Your Pending funds of £750,000 GBP has been released by RBI. To claim, send full details as follows, Name: , Mob No.: , Address: and Alternate E-mail: This is the last ever notification we are sending to you, if we do not receive your details, we will delete your email, and de

Re: [PATCH v5 1/4] media: pxa_camera: fix the buffer free path

2016-02-21 Thread Guennadi Liakhovetski
On Mon, 8 Feb 2016, Robert Jarzmik wrote: > Guennadi Liakhovetski writes: > > > Hi Robert, > > > > On Tue, 27 Oct 2015, Robert Jarzmik wrote: > > > >> Guennadi Liakhovetski writes: > >> > >> > Hi Robert, > >> > > >> > Didn't you tell me, that your dmaengine patch got rejected and therefore >

Re: [PATCH v2] net: fec: Add "phy-reset-active-low" property to DT

2016-02-21 Thread Sergei Shtylyov
Hello. On 02/09/2016 11:01 PM, Bernhard Walle wrote: We need that for a custom hardware that needs the reverse reset sequence. Signed-off-by: Bernhard Walle --- Changes compared to v1: - Add documentation to 'phy-reset-gpios' that flags are ignored as suggested by Andrew Lunn. Docume

Re: [PATCH] staging: xgifb: Fix comment style

2016-02-21 Thread Kroah-Hartman
On Sun, Feb 21, 2016 at 04:59:17PM +0800, Bo YU wrote: > Hello, > > On Sat, Feb 20, 2016 at 03:38:15PM -0800, Kroah-Hartman wrote: > >On Wed, Feb 17, 2016 at 02:53:34PM +0800, Bo YU wrote: > >> Fix comments to use trailing */ on separate lines. > >> > >> Signed-off-by: YU BO > >> --- > >> drive

[PATCH] cpufreq: fix comment about return value of cpufreq_register_driver()

2016-02-21 Thread Eric Biggers
The comment has been incorrect since commit 4dea5806d332 ("cpufreq: return EEXIST instead of EBUSY for second registering"). Signed-off-by: Eric Biggers --- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/c

Re: [PATCH 0/6] Small fixes for Nokia N900 power supply drivers

2016-02-21 Thread Sebastian Reichel
Hi, On Sun, Feb 21, 2016 at 12:28:17PM +0100, Pali Rohár wrote: > This patch series add debug error output for isp1704 driver and > fix module aliases for power supply drivers uses on Nokia N900. > > Pali Rohár (6): > power_supply: isp1704_charger: Error messages when probe fail > power_suppl

RE: 4.4-final: 28 bioset threads on small notebook

2016-02-21 Thread Ming Lin-SSI
>-Original Message- >From: Kent Overstreet [mailto:kent.overstr...@gmail.com] > >On Sat, Feb 20, 2016 at 09:55:19PM +0100, Pavel Machek wrote: >> Hi! >> >> > > > You're directing this concern to the wrong person. >> > > > >> > > > I already told you DM is _not_ contributing any extra "biose

Re: [PATCH v5 1/4] media: pxa_camera: fix the buffer free path

2016-02-21 Thread Robert Jarzmik
Guennadi Liakhovetski writes: >> Okay Guennadi, I retested this version on top of v4.5-rc2, still good to >> go. There is a minor conflict in the includes since this submission, and I >> can >> repost a v6 which solves it. > > How did you test it with that patchg #3?? I rebased my patches on top

Re: [PATCH v6 09/25] perf hists: Basic support of hierarchical report view

2016-02-21 Thread Namhyung Kim
Hi Jiri, On Sun, Feb 21, 2016 at 12:18:45AM +0100, Jiri Olsa wrote: > On Tue, Feb 16, 2016 at 11:08:27PM +0900, Namhyung Kim wrote: > > SNIP > > > + int64_t cmp; > > + > > + while (*p != NULL) { > > + parent = *p; > > + iter = rb_entry(parent, struct hist_entry, rb_node_i

Re: [PATCH v2 1/3] iio: hmc5843: Add attributes for measurement config of bias current

2016-02-21 Thread Jonathan Cameron
On 14/02/16 22:37, Cristina Moraru wrote: > Change static attribute meas_conf for bias current configuration > to channel attribute in_magn_meas_conf and also add > in_magn_meas_conf_available attribute to view available configurations. > > This patch solves functionality bug: driver was using sam

Re: [PATCH v2 2/3] iio: hmc5843: Add ABI documentation file for hmc5843

2016-02-21 Thread Jonathan Cameron
On 14/02/16 22:37, Cristina Moraru wrote: > Add ABI file documenting hmc5843 non-standard attributes > meas_conf and meas_conf_available for bias current > configuration. > > Signed-off-by: Cristina Moraru > Cc: Daniel Baluta Applied. > --- > Changes since v1: > Changed API from integer

Re: [PATCH v2 3/3] iio: hmc5843: Move hmc5843 out of staging

2016-02-21 Thread Jonathan Cameron
On 14/02/16 22:37, Cristina Moraru wrote: > This patch moves hmc5843 driver from staging/iio/magnetometer > to iio/magnetometer, updates the corresponding Makefiles and > moves the hmc5843* entries to the 'Industrial I/O support -> > Magnetometer sensors' menu. > > Signed-off-by: Cristina Moraru

[PATCH] kfifo: fix sparse complains

2016-02-21 Thread Stefani Seibold
This patch fix complains by the sparse tool when using kfifo_put() with non scalar types like structures (i.e. drivers/iio/industrialio-event.c). Casting a pointer to the value and read this pointer instead of directly casting the value will fix this. The generated code is equal. Signed-off-by:

Re: [RFC PATCH 1/9] iio: imu: inv_mpu6050: Fix multiline comments style

2016-02-21 Thread Jonathan Cameron
On 18/02/16 15:53, Daniel Baluta wrote: > The preffered style for long (multi-line) comments is: > > /* > * this is a multiline > * comment > */ > > This also fixes checkpatch.pl warning: > WARNING: Block comments use * on subsequent lines > > Signed-off-by: Daniel Baluta Applied to the togr

Re: [RFC PATCH 2/9] iio: imu: inv_mpu6050: Fix Yoda conditions

2016-02-21 Thread Jonathan Cameron
On 19/02/16 09:09, Crt Mori wrote: > This is quite trivial. > > Acked-by: Crt Mori Applied. > > On 18 February 2016 at 16:53, Daniel Baluta wrote: >> This fixes the following checkpatch warning: >> * WARNING: Comparisons should place the constant >> on the right side of the te

Re: [RFC PATCH 3/9] iio: imu: inv_mpu6050: Fix newlines to make code easier to read

2016-02-21 Thread Jonathan Cameron
On 18/02/16 15:53, Daniel Baluta wrote: > This fixes the following checkpatch.pl warnings: > * WARNING: Missing a blank line after declarations > * CHECK: Blank lines aren't necessary before a close brace '}' > > Signed-off-by: Daniel Baluta Applied. > --- > drivers/iio/imu/inv_mpu60

Re: [RFC PATCH 4/9] iio: imu: inv_mpu6050: Remove unnecessary parentheses

2016-02-21 Thread Jonathan Cameron
On 18/02/16 15:53, Daniel Baluta wrote: > Fixes the following checkpatch warning: > CHECK: Unnecessary parentheses around cpm->package.elements[i] > > Signed-off-by: Daniel Baluta Applied (though I find it hard to care about this one!) Jonathan > --- > drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c

Re: [RFC PATCH 6/9] iio: imu: inv_mpu6050: Fix code indent for if statement

2016-02-21 Thread Jonathan Cameron
On 18/02/16 15:53, Daniel Baluta wrote: > This fixes the following checkpatch.pl warning: > > WARNING: suspect code indent for conditional statements (8, 24) > + if (kfifo_len(&st->timestamps) > > [...] > + goto flush_fifo; > > Signed-off-by: Daniel Baluta Applied. >

Re: [RFC PATCH 7/9] iio: imu: inv_mpu6050: Fix alignment with open parenthesis

2016-02-21 Thread Jonathan Cameron
On 18/02/16 15:53, Daniel Baluta wrote: > This makes code consistent around inv_mpu6050 driver and > fixes the following checkpatch.pl warning: > CHECK: Alignment should match open parenthesis > > Note that there were few cases were it was not possible to > fix this due to making the line too long

Re: [RFC PATCH 7/9] iio: imu: inv_mpu6050: Fix alignment with open parenthesis

2016-02-21 Thread Joe Perches
On Sun, 2016-02-21 at 20:41 +, Jonathan Cameron wrote: > On 18/02/16 15:53, Daniel Baluta wrote: > > This makes code consistent around inv_mpu6050 driver and > > fixes the following checkpatch.pl warning: > > CHECK: Alignment should match open parenthesis > > > > Note that there were few cases

Re: richacl(7) man page review comments

2016-02-21 Thread Michael Kerrisk (man-pages)
On 02/20/2016 05:37 PM, Andreas Gruenbacher wrote: > Hi Michael, > > thanks again for all the feedback. I've followed all your suggestions; > again, please see the github repo for the latest version: > > https://github.com/andreas-gruenbacher/richacl > > On Sun, Feb 14, 2016 at 10:31 PM, Micha

Re: [RFC PATCH 7/9] iio: imu: inv_mpu6050: Fix alignment with open parenthesis

2016-02-21 Thread Jonathan Cameron
On 21/02/16 20:59, Joe Perches wrote: > On Sun, 2016-02-21 at 20:41 +, Jonathan Cameron wrote: >> On 18/02/16 15:53, Daniel Baluta wrote: >>> This makes code consistent around inv_mpu6050 driver and >>> fixes the following checkpatch.pl warning: >>> CHECK: Alignment should match open parenthesi

Re: [PATCH] Btrfs: async: fixed a brace coding style issue

2016-02-21 Thread Simon Quigley
On 02/21/2016 02:50 PM, Philippe Loctaux wrote: Fixed a coding style issue. Signed-off-by: Philippe Loctaux --- fs/btrfs/async-thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c index 5fb60ea..7914dd2 100644 --

Re: [PATCH v2 3/3] vfs: Use per-cpu list for superblock's inode list

2016-02-21 Thread Dave Chinner
On Fri, Feb 19, 2016 at 04:10:45PM -0500, Waiman Long wrote: > +/* > + * Superblock's inode list iterator function and arguments macros > + */ > +#define SB_INODES_ITER_FUNC(name, lock, struct_fields) > \ > + struct name ## _arg {

Re: [PATCH] firmware: set firmware_buf size in fw_get_filesystem_firmware()

2016-02-21 Thread Ming Lei
On Sat, Feb 20, 2016 at 5:22 PM, Sergey Senozhatsky wrote: > Set firmware_buf->size in fw_get_filesystem_firmware() after > successful kernel_read_file_from_path(), otherwise assign_firmware_buf() > fails. > > Signed-off-by: Sergey Senozhatsky Acked-by: Ming Lei This patch fixes d29a7309971afb

Re: 4.4-final: 28 bioset threads on small notebook

2016-02-21 Thread Ming Lei
On Sun, Feb 21, 2016 at 2:43 PM, Ming Lin-SSI wrote: >>-Original Message- > > So it's almost already "per request_queue" Yes, that is because of the following line: q->bio_split = bioset_create(BIO_POOL_SIZE, 0); in blk_alloc_queue_node(). Looks like this bio_set doesn't need to be per

[PATCH v5] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-02-21 Thread Emilio López
From: Reilly Grant The new USBDEVFS_DROP_PRIVILEGES ioctl allows a process to voluntarily relinquish the ability to issue other ioctls that may interfere with other processes and drivers that have claimed an interface on the device. This commit also includes a simple utility to be able to test t

Re: [PATCH v2 12/16] clk: avoid circular clock topology

2016-02-21 Thread Joachim Eastwood
Hi everyone, On 28 December 2015 at 11:10, Masahiro Yamada wrote: > Currently, clk_register() never checks a circular parent looping, > but clock providers could register such an insane clock topology. > For example, "clk_a" could have "clk_b" as a parent, and vice versa. > In this case, clk_core

Re: richacl(7) man page review comments

2016-02-21 Thread Michael Kerrisk (man-pages)
Hello Andreas, On 02/20/2016 05:37 PM, Andreas Gruenbacher wrote: > Hi Michael, > > thanks again for all the feedback. I've followed all your suggestions; > again, please see the github repo for the latest version: > > https://github.com/andreas-gruenbacher/richacl I've once more pulled from

[PATCH 8/8] tty: n_gsm: Enable reception of frames separated with a single SOF marker

2016-02-21 Thread Andrej Krpic
Frames may be separated with a single SOF (5.2.6.1 of 27.010 mux spec). While transmission of a single SOF between frames is implemented in gsm_data_kick, the reception isn't. As a side effect, it is now possible to receive and ignore a stream of consecutive SOFs (5.2.5 of 27.010 mux spec). Signe

[PATCH 5/8] tty: n_gsm: replace dead code with a meaningful comment

2016-02-21 Thread Andrej Krpic
UI/UIH frame can be received as a command from other station or as a response to a command we issued earlier. Add this knowledge to the source code as a comment and remove useless #if 0/#endif block. Signed-off-by: Andrej Krpic --- drivers/tty/n_gsm.c | 9 + 1 file changed, 5 insertions

[PATCH 2/8] tty: n_gsm: fix C/R bit when sending as a responder

2016-02-21 Thread Andrej Krpic
According to the specification (3GPP TS 27.010 v12.0.0 R1, 5.2.1.2), C/R bit must be the same for corresponding command and response. If mux is an initiator (station that initiates DLC 0), valid sent commands and received responses must have C/R bit set to 1. For a station that is a responder, vali

[PATCH 7/8] tty: n_gsm: properly format Modem Status Command message

2016-02-21 Thread Andrej Krpic
Change format of Modem Status Command (MSC) message that is sent to the one expected in the receive function gsm_control_modem and specified in 3GPP TS 27.010 version 12.0.0 Release 12, 5.4.6.3.7. Wrongly formatted MSC causes DLC to be marked as constipated. A bug appears after format of transmitt

[PATCH 4/8] tty: n_gsm: send DM response when accessing an invalid channel

2016-02-21 Thread Andrej Krpic
Change C/R bit in a response to a UI/UIH frame sent to non-existing/closed channel. As DM frame type is only valid as a response, it should be sent using gsm_response function. Signed-off-by: Andrej Krpic --- drivers/tty/n_gsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH 6/8] tty: n_gsm: add missing length field in control channel commands

2016-02-21 Thread Andrej Krpic
Observing debug output while running initator and responder using n_gsm shows all control channel commands sent by initiator are malformed - they don't include length field (3GPP TS 07.10 ver 7.2.0, 5.4.6.1). Add length field to transmitted control channel commands in the gsm_control_transmit) as

[PATCH 3/8] tty: n_gsm: make mux work as a responder station

2016-02-21 Thread Andrej Krpic
Comment suggests that cr == 1 represents a received command and cr == 0 a received response. Received frames are then filtered: - correctly by rejection of SABM and DISC responses, they are command only frame types and - incorrectly by rejection of UA (a response only frame type) responses. M

[PATCH 0/8] tty: n_gsm: Make mux work as a responder station

2016-02-21 Thread Andrej Krpic
When using n_gsm you have to explicitly set it to work as a initiator station. This led me to believe that it can also work as a responder. In a use case where I needed responder station mux I came to the conclusion that it actually does not work. Second and third patch fix dealings with frame C/R

[PATCH 1/8] tty: n_gsm: fix formatting errors

2016-02-21 Thread Andrej Krpic
Minor formatting changes to remove errors and reduce number of warnings produced by checkpatch.pl script. Signed-off-by: Andrej Krpic --- drivers/tty/n_gsm.c | 138 1 file changed, 95 insertions(+), 43 deletions(-) diff --git a/drivers/tty/n_

Re: [linux-sunxi] Re: [PATCH v3] Fix sun7i pin assignment for IRQ's

2016-02-21 Thread Julian Calaby
Hi Henry, On Mon, Feb 22, 2016 at 6:27 AM, Henry Paulissen wrote: > > Op zondag 21 februari 2016 18:18:37 UTC+1 schreef Maxime Ripard: >> >> >> Your commit log is going to need some work. Which bugs? What tests did >> you make? Why are you making these changes while the datasheet says >> otherwis

[PATCH] Btrfs: async: fixed a brace coding style issue

2016-02-21 Thread Philippe Loctaux
Fixed a coding style issue. Signed-off-by: Philippe Loctaux --- fs/btrfs/async-thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c index 5fb60ea..7914dd2 100644 --- a/fs/btrfs/async-thread.c +++ b/fs/btrfs/async-threa

Re: [PATCH v5 0/3] init: add support to directly boot to a mapped device

2016-02-21 Thread Alasdair G Kergon
On Sat, Feb 20, 2016 at 10:13:49AM -0800, Kees Cook wrote: > This is a resurrection of a patch series from a few years back, first > brought to the dm maintainers in 2010. It creates a way to define dm > devices on the kernel command line for systems that do not use an > initramfs, or otherwise nee

Re: [PATCH] ipv4: in new netns initialize sysctls in net.ipv4.conf.* with defaults

2016-02-21 Thread Eric W. Biederman
Konstantin Khlebnikov writes: > Currently initial net.ipv4.conf.all.* and net.ipv4.conf.default.* are > copied from init network namespace because static structures are used > for init_net. This makes no sense because new netns might be created > from any netns. This patch makes private copy also

Re: [PATCH 1/8] tty: n_gsm: fix formatting errors

2016-02-21 Thread Joe Perches
On Sun, 2016-02-21 at 22:38 +0100, Andrej Krpic wrote: > Minor formatting changes to remove errors and reduce number of > warnings produced by checkpatch.pl script. [] > diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c [] > @@ -489,7 +490,8 @@ static void gsm_print_packet(const char *hdr, int

Re: [PATCH] Btrfs: async: fixed a brace coding style issue

2016-02-21 Thread Philippe Loctaux
On Sun, Feb 21, 2016 at 03:08:02PM -0600, Simon Quigley wrote: > I thought I proposed this exact patch...hmm... Yes you're right, I wasn't subscribed at the mailing list yet. The maintainer will probably see it's a duplicate and he'll just ignore that patch. -- Philippe Loctaux p...@philippelocta

[PATCH] Btrfs: check-integrity: fixed a comment block coding style issue

2016-02-21 Thread Philippe Loctaux
Makes the comment block start with /* on a separate line, and end with */ on a separate line as well. Signed-off-by: Philippe Loctaux --- fs/btrfs/check-integrity.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c i

[PATCH] [Cleanup] x86: signal: unify the sigaltstack check with other arches

2016-02-21 Thread Stas Sergeev
Currently x86's get_sigframe() checks for "current->sas_ss_size" to determine whether there is a need to switch to sigaltstack. The common practice used by all other arches is to check for sas_ss_flags(sp) == 0 This patch makes the code consistent with other arches. The slight complexity of the pa

[PATCH v4] Fix sun7i pin assignment for IRQ's

2016-02-21 Thread Henry Paulissen
After testing IRQ pins we found some bugs in the pinctrl declaration. Signed-off-by: Henry Paulissen --- Changes in v2: After some more testing we found irq on PI pins. they where on mux6 so this is included in my patch. Also included is a warning for PI17, this pin was not working

Re: [RFC PATCH 0/9] iio: Fix ABBA deadlock in inv-mpu6050

2016-02-21 Thread Wolfram Sang
On Thu, Feb 18, 2016 at 05:53:05PM +0200, Daniel Baluta wrote: > Sending this as an RFC because I don't know if style fixes are appropriate > for this driver and also not sure if deadlock fix is the best solution. > > I2C people should only look at patches 8/9 and 9/9. > > The mpu6050 accel+gyro

[RFC/RFT][PATCH 0/1] cpufreq: New governor based on scheduler-provided utilization data

2016-02-21 Thread Rafael J. Wysocki
Hi Everyone, Usually, I don't send introductory messages for single patches, but this one is an exception, because I didn't want to put all of my considerations into the patch changelog. So I have been told for a few times already that I should not introduce interfaces passing arguments that aren

[RFC/RFT][PATCH 1/1] cpufreq: New governor using utilization data from the scheduler

2016-02-21 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add a new cpufreq scaling governor, called "schedutil", that uses scheduler-provided CPU utilization information as input for making its decisions. Doing that is possible after commit fe7034338ba0 (cpufreq: Add mechanism for registering utilization update callbacks) that

[PATCH] Btrfs: compression: added line after variable declaration

2016-02-21 Thread Philippe Loctaux
Added line after variable declaration, fixing checkpatch warning. Signed-off-by: Philippe Loctaux --- fs/btrfs/compression.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index 3346cd8..5194b6f 100644 --- a/fs/btrfs/compression.c +++ b/fs/btr

[PATCH] Btrfs: check-integrity: fixed comment blocks coding style issues

2016-02-21 Thread Philippe Loctaux
Makes the comment blocks start with /* on separate lines, and end with */ on separate lines as well. Signed-off-by: Philippe Loctaux --- fs/btrfs/check-integrity.c | 30 ++ 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/fs/btrfs/check-integrity.c b/fs/

Re: [PATCH 0/8] tty: n_gsm: Make mux work as a responder station

2016-02-21 Thread One Thousand Gnomes
On Sun, 21 Feb 2016 22:38:29 +0100 Andrej Krpic wrote: > When using n_gsm you have to explicitly set it to work as a initiator > station. This led me to believe that it can also work as a responder. > > In a use case where I needed responder station mux I came to the > conclusion that it actuall

Re: [PATCH v4] Fix sun7i pin assignment for IRQ's

2016-02-21 Thread Chen-Yu Tsai
On Sun, Feb 21, 2016 at 3:17 PM, Henry Paulissen wrote: > After testing IRQ pins we found some bugs in the pinctrl declaration. > > Signed-off-by: Henry Paulissen Acked-by: Chen-Yu Tsai

[PATCH] Btrfs: ctree: added lines after variable declarations

2016-02-21 Thread Philippe Loctaux
Added lines after variable declarations, fixing 22 checkpatch warnings. Signed-off-by: Philippe Loctaux --- fs/btrfs/ctree.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index 769e0ff..c9fd42d 100644 --- a/fs/btrfs/ctree.c +++ b

Re: [PATCH] Btrfs: ctree: added lines after variable declarations

2016-02-21 Thread Joe Perches
On Mon, 2016-02-22 at 00:46 +0100, Philippe Loctaux wrote: > Added lines after variable declarations, fixing 22 checkpatch warnings. [] > diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c [] > @@ -4592,6 +4610,7 @@ void btrfs_truncate_item(struct btrfs_root *root, > struct btrfs_path *path, >  

Re: [PATCH] Btrfs: ctree: added lines after variable declarations

2016-02-21 Thread Philippe Loctaux
Is there no need of additional blank line here particulary or in all lines that I changed? -- Philippe Loctaux p...@philippeloctaux.com On Sun, Feb 21, 2016 at 03:53:04PM -0800, Joe Perches wrote: > On Mon, 2016-02-22 at 00:46 +0100, Philippe Loctaux wrote: > > Added lines after variable declarat

Re: [RFC][PATCH v2 2/3] zram: use zs_get_huge_class_size_watermark()

2016-02-21 Thread Minchan Kim
On Sun, Feb 21, 2016 at 10:27:53PM +0900, Sergey Senozhatsky wrote: > From: Sergey Senozhatsky > > zram should stop enforcing its own 'bad' object size watermark, > and start using zs_get_huge_class_size_watermark(). zsmalloc > really knows better. > > Drop `max_zpage_size' and use zs_get_huge_c

[PATCH v2 4/5] drivers/xen: make sys-hypervisor.c explicitly non-modular

2016-02-21 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: config XEN_SYS_HYPERVISOR bool "Create xen entries under /sys/hypervisor" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading t

[PATCH v2 3/5] drivers/xen: make xenbus_dev_[front/back]end explicitly non-modular

2016-02-21 Thread Paul Gortmaker
The Makefile / Kconfig currently controlling compilation here is: obj-y += xenbus_dev_frontend.o [...] obj-$(CONFIG_XEN_BACKEND) += xenbus_dev_backend.o ...with: drivers/xen/Kconfig:config XEN_BACKEND drivers/xen/Kconfig:bool "Backend driver support" ...meaning that they currently are not

[PATCH v2 5/5] drivers/xen: make platform-pci.c explicitly non-modular

2016-02-21 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: arch/x86/xen/Kconfig:config XEN_PVHVM arch/x86/xen/Kconfig: def_bool y ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading the drive

[PATCH v2 0/5] xen: avoid module usage in non-modular code

2016-02-21 Thread Paul Gortmaker
This series of commits is a part of a larger project to ensure people don't reference modular support functions in non-modular code. Overall there was roughly 5k lines of dead code in the kernel due to this. So far we've fixed several areas, like tty, x86, net, ... and we continue to work on othe

Re: [PATCH] Btrfs: ctree: added lines after variable declarations

2016-02-21 Thread Joe Perches
On Mon, 2016-02-22 at 01:01 +0100, Philippe Loctaux wrote: > Is there no need of additional blank line here particulary > or in all lines that I changed? Please don't top post and just here. > On Sun, Feb 21, 2016 at 03:53:04PM -0800, Joe Perches wrote: > > On Mon, 2016-02-22 at 00:46 +0100, Phili

Re: [PATCHv2] serial: samsung: drop the spinlock around uart_write_wakeup

2016-02-21 Thread Krzysztof Kozlowski
On 21.02.2016 11:59, Anand Moon wrote: > Hi Krzysztof, > > On 21 February 2016 at 07:07, Krzysztof Kozlowski > wrote: >> 2016-02-20 4:30 GMT+09:00 Peter Hurley : >>> [ +cc Krzysztof Kozlowski ] >>> >>> On 02/18/2016 09:15 PM, Anand Moon wrote: From: Anand Moon drop the spin_unlock

[PATCH v2 1/5] xen: audit usages of module.h ; remove unnecessary instances

2016-02-21 Thread Paul Gortmaker
Code that uses no modular facilities whatsoever should not be sourcing module.h at all, since that header drags in a bunch of other headers with it. Similarly, code that is not explicitly using modular facilities like module_init() but only is declaring module_param setup variables should be using

[PATCH v2 2/5] drivers/xen: make [xen-]ballon explicitly non-modular

2016-02-21 Thread Paul Gortmaker
The Makefile / Kconfig currently controlling compilation here is: obj-y += grant-table.o features.o balloon.o manage.o preempt.o time.o [...] obj-$(CONFIG_XEN_BALLOON) += xen-balloon.o ...with: drivers/xen/Kconfig:config XEN_BALLOON drivers/xen/Kconfig:bool "Xen memory balloo

Re: [RFC][PATCH v2 3/3] mm/zsmalloc: increase ZS_MAX_PAGES_PER_ZSPAGE

2016-02-21 Thread Minchan Kim
On Sun, Feb 21, 2016 at 10:27:54PM +0900, Sergey Senozhatsky wrote: > From: Sergey Senozhatsky > > The existing limit of max 4 pages per zspage sets a tight limit > on ->huge classes, which results in increased memory consumption. > > On x86_64, PAGE_SHIFT 12, ->huge class_size range is 3280-409

linux-next: manual merge of the crypto tree with the f2fs tree

2016-02-21 Thread Stephen Rothwell
Hi Herbert, Today's linux-next merge of the crypto tree got a conflict in: fs/crypto/fname.c fs/f2fs/crypto.c fs/f2fs/crypto_fname.c fs/f2fs/crypto_key.c fs/f2fs/f2fs_crypto.h between commits: a72fe9cddb78 ("fs crypto: add fname.c to support filename encryption") ace7045bd954 ("f2

[PATCH 1/2] Btrfs: dev-replace: Fixed indentation coding style issues

2016-02-21 Thread Philippe Loctaux
Use tabs instead of spaces, fixing 3 checkpatch errors. Signed-off-by: Philippe Loctaux --- fs/btrfs/dev-replace.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c index cbb7dbf..b89a8c6 100644 --- a/fs/btrfs/dev-replace.c

Re: [PATCH] Btrfs: ctree: added lines after variable declarations

2016-02-21 Thread Philippe Loctaux
Hi, I'm really sorry, but I don't understand what you're trying to mean. Could you simplify your sentence please (since I'm not english native)? I'd really apreciate that, thanks :) -- Philippe Loctaux p...@philippeloctaux.com On Sun, Feb 21, 2016 at 04:06:03PM -0800, Joe Perches wrote: > On Mon,

[PATCH v2 3/5] perf tools: Update srcline/file if needed

2016-02-21 Thread Namhyung Kim
Normally the hist entry's srcline and/or srcfile is set during sorting. However sometime it's possible to a hist entry's srcline is not set yet after the sorting. This is because the entry is so unique and other sort keys already make it distinct. Then the srcline/file sort didn't have a chance t

[PATCH v2 4/5] perf tools: Fix alignment on some sort keys

2016-02-21 Thread Namhyung Kim
The srcline, srcfile and trace sort keys can have long entries. With commit 89fee7094323 ("perf hists: Do column alignment on the format iterator"), it now aligns output with hist_entry__snprintf_alignment(). So each (possibly long) sort entries don't need to do it themselves. Acked-by: Jiri Olsa

[PATCH 2/2] Btrfs: dev-replace: fixed comment blocks coding style issues

2016-02-21 Thread Philippe Loctaux
Makes the comment blocks start with /* on separate lines, and end with */ on separate lines as well. Signed-off-by: Philippe Loctaux --- fs/btrfs/dev-replace.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c index b

Re: [PATCH] Btrfs: compression: added line after variable declaration

2016-02-21 Thread Joe Perches
On Mon, 2016-02-22 at 00:26 +0100, Philippe Loctaux wrote: > Added line after variable declaration, fixing checkpatch warning. [] > diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c [] > @@ -522,6 +522,7 @@ static noinline int add_ra_bio_pages(struct inode *inode, >   >  

[BUG][4.5-rc5] rcu_shed self-detected stall on CPU - directly after network goes online.

2016-02-21 Thread Ian Kumlien
Hi, When i tried to upgrade my, soon to be, firewall to 4.5-rc5 to do some testing - it deadlocked almost instantly. In the photo, i started writing "root" and it keeps repeating it, like it's in a while loop. https://goo.gl/photos/yGhNSogJjeb2VJyu5 Trying to get better information - as in any

Re: [RFC][PATCH v2 2/3] zram: use zs_get_huge_class_size_watermark()

2016-02-21 Thread Sergey Senozhatsky
On (02/22/16 09:04), Minchan Kim wrote: [..] > max_zpage_size was there since zram's grandpa(ie, ramzswap). > AFAIR, at that time, it works to forward incompressible > (e.g, PAGE_SIZE/2) page to backing swap if it presents. > If it doesn't have any backing swap and it's incompressbile > (e.g, PAGE_

[PATCH] Btrfs: delayed-inode: Fixed indentation coding style issue

2016-02-21 Thread Philippe Loctaux
Use tabs instead of spaces, fixing checkpatch error. Signed-off-by: Philippe Loctaux --- fs/btrfs/delayed-inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/delayed-inode.c b/fs/btrfs/delayed-inode.c index b57daa8..2e25aa54 100644 --- a/fs/btrfs/delayed-inode.c

Re: [PATCH] Btrfs: ctree: added lines after variable declarations

2016-02-21 Thread Joe Perches
On Mon, 2016-02-22 at 01:31 +0100, Philippe Loctaux wrote: > Hi, > I'm really sorry, but I don't understand what you're trying to mean. > Could you simplify your sentence please (since I'm not english > native)? > I'd really apreciate that, thanks :) Please do not put your reply at the top of the

linux-next: build failure after merge of the drm tree

2016-02-21 Thread Stephen Rothwell
Hi Dave, After merging the drm tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:818:6: error: redefinition of 'amdgpu_ttm_tt_affect_userptr' bool amdgpu_ttm_tt_affect_userptr(struct ttm_tt *ttm, unsigned long start, ^ drivers/g

Re: [RFC][PATCH v2 3/3] mm/zsmalloc: increase ZS_MAX_PAGES_PER_ZSPAGE

2016-02-21 Thread Sergey Senozhatsky
On (02/22/16 09:25), Minchan Kim wrote: [..] > I tempted it several times with same reason you pointed out. > But my worry was that if we increase ZS_MAX_ZSPAGE_ORDER, zram can > consume more memory because we need several pages chain to populate > just a object. Even, at that time, we didn't have

Re: [PATCH] Btrfs: compression: added line after variable declaration

2016-02-21 Thread Philippe Loctaux
Oh, I see now :) I'll try your changes and tell if they work or not :) -- Philippe Loctaux p...@philippeloctaux.com On Sun, Feb 21, 2016 at 04:37:54PM -0800, Joe Perches wrote: > On Mon, 2016-02-22 at 00:26 +0100, Philippe Loctaux wrote: > > Added line after variable declaration, fixing checkpat

<    1   2   3   4   >