[PATCH] alpha: squash lines for immediate return

2016-09-10 Thread Masahiro Yamada
Remove unneeded variables and assignments. While we are here, fix the coding style of SMC37c669_read_config(): - replace whitespaces at the start of lines with tabs - remove unneeded whitespaces around parentheses Signed-off-by: Masahiro Yamada --- arch/alpha/kernel/pci-noop.c | 6 +-

[PATCH v2] x86: squash lines for simple wrapper functions

2016-09-10 Thread Masahiro Yamada
Remove unneeded variables and assignments. While we are here, let's fix the following as well: - Remove unnecessary parentheses - Remove unnecessary unsigned-suffix 'U' from constant values - Reword the comment in set_apic_id() (suggested by Thomas Gleixner) Signed-off-by: Masahiro Yamada

fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3

2016-09-10 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 98ac9a608dc79ba8a20cee77fe959a6dfccdaa63 commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 6 months a

Re: [PATCH 2/2] perf/x86/rapl: Enable Baytrail/Braswell RAPL support

2016-09-10 Thread Pan, Harry
My apology that I resent again in order to clean my junk of useless enum, and ignore ambiguous in-reply-to (2016/9/11/8) due to subject. new patchset is here: https://lkml.org/lkml/2016/9/11/11 https://lkml.org/lkml/2016/9/11/12 https://lkml.org/lkml/2016/9/11/10 Thanks, Harry

[PATCH 2/3] x86/perf/rapl: Make quirk a function pointer

2016-09-10 Thread Harry Pan
From: Thomas Gleixner There are more model specific quirks required. So we need to change the single purpose boolean quirk flag to an easy extensible mechanism. Make the quirk a function pointer and move the existing quirk into its own function. While at it make the init struct initializers rea

[PATCH 3/3] perf/x86/rapl: Enable Baytrail/Braswell RAPL support

2016-09-10 Thread Harry Pan
This patch enables RAPL counters (energy consumption counters) support for Intel Baytrail and Braswell processors (Model 55 and 76): The Silvermont/Airmont microarchitecture actually uses fixed energy status unit (ESU) in smallest unit of microjoule, this patch adds quirk for these Atom processors

[PATCH 1/3] perf/x86/rapl: Enable Apollo Lake RAPL support

2016-09-10 Thread Harry Pan
This patch enables RAPL counters (energy consumption counters) support for Intel Apollo Lake (Goldmont) processors (Model 92): RAPL of Goldmont, unlikes ESU increment of Silvermont/Airmont, it likes the Haswell microarchitecture in 1/2^ESU joules and supports power domains in PP0/PP1/PKG/RAM. ESU

make[2]: *** No rule to make target 'arch/sh/boot/dts/.dtb.o', needed by 'arch/sh/boot/dts/built-in.o'.

2016-09-10 Thread kbuild test robot
Hi Rich, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 98ac9a608dc79ba8a20cee77fe959a6dfccdaa63 commit: 190fe191cfbead9fe089453dd092869c9469c6d4 sh: add support for linking a builtin device tree blob in the kernel

[PATCH] perf/x86/rapl: Enable Baytrail/Braswell RAPL support

2016-09-10 Thread Harry Pan
This patch enables RAPL counters (energy consumption counters) support for Intel Baytrail and Braswell processors (Model 55 and 76): The Silvermont/Airmont microarchitecture actually uses fixed energy status unit (ESU) in smallest unit of microjoule, this patch adds quirk for these Atom processors

Talent Scout

2016-09-10 Thread Camilia Brunnet
Dear Concern, I am Talent Scout For BLUE SKY FILM STUDIO, Present Blue sky Studio a Film Corporation Located in the United State, is Soliciting for the Right to use Your Photo/Face and Personality as One of the Semi -Major Role/ Character in our Upcoming ANIMATED Stereoscope 3D Movie-The Story o

Re: [PATCH 0/5] ATM-nicstar: Fine-tuning for three function implementations

2016-09-10 Thread David Miller
From: SF Markus Elfring Date: Sat, 10 Sep 2016 09:15:37 +0200 > From: Markus Elfring > Date: Sat, 10 Sep 2016 09:10:01 +0200 > > A few update suggestions were taken into account > from static source code analysis. Series applied.

Re: [PATCH 0/4] ATM-ZeitNet: Fine-tuning for three function implementations

2016-09-10 Thread David Miller
From: SF Markus Elfring Date: Sat, 10 Sep 2016 10:57:37 +0200 > A few update suggestions were taken into account > from static source code analysis. Series applied.

Re: [PATCH] rapidio: avoid GFP_KERNEL in atomic context in riocm_send_close()

2016-09-10 Thread Andrew Morton
On Fri, 9 Sep 2016 21:22:14 -0700 Andrew Morton wrote: > Why not just make `hdr' a local? It isn't very large and the code > becomes smaller and faster. Actually, doing it this way saves some code size and is faster: From: Andrew Morton Subject: drivers/rapidio/rio_cm.c: avoid GFP_KERNEL in

Re: [PATCH] atomic64: No need for CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE

2016-09-10 Thread kbuild test robot
Hi Vineet, [auto build test ERROR on arm64/for-next/core] [cannot apply to linus/master linux/master v4.8-rc5 next-20160909] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for co

Re: [PATCH 0/8] net: use IS_ENABLED() instead of checking for built-in or module

2016-09-10 Thread David Miller
From: Javier Martinez Canillas Date: Fri, 9 Sep 2016 08:43:12 -0400 > This trivial series replace the open coding to check for a Kconfig symbol > being built-in or module, with IS_ENABLED() macro that does exactly that. > > Using the macro makes the code more readable by helping abstract away s

Re: [PATCH v2 0/3] Optimisation of fs_enet ethernet driver

2016-09-10 Thread David Miller
From: Christophe Leroy Date: Fri, 9 Sep 2016 14:26:18 +0200 (CEST) > This set optimises the freescale fs_enet ethernet driver: > 1/ Merge of RX and TX NAPI functions in order to limit the amount of > interrupts > 2/ Do not unmap DMA when packets len is below copybreak, otherwise there > is no be

Re: perf test "object code reading" segfaulting via usercopy check

2016-09-10 Thread Jiri Olsa
On Fri, Sep 09, 2016 at 12:47:20PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Sep 09, 2016 at 05:41:25PM +0200, Jiri Olsa escreveu: > > On Fri, Sep 09, 2016 at 12:36:26PM -0300, Arnaldo Carvalho de Melo wrote: > > > Hi Adrian, > > > > > > I noticed that 'perf test "object code reading"' is

Re: [PATCH 2/2] perf/x86/rapl: Enable Baytrail/Braswell RAPL support

2016-09-10 Thread Pan, Harry
Hi Thomas, Appreciate comments, I understood and learned. I just uploaded 3 patches integrated yours, yet there was 'git am' failure thus I did hand work, kindly double check. Sincerely, Harry On Fri, 2016-09-09 at 23:21 +0200, Thomas Gleixner wrote: > On Fri, 9 Sep 2016, Pan, Harry wrote: > > O

[PATCH 2/3] x86/perf/rapl: Make quirk a function pointer

2016-09-10 Thread Harry Pan
From: Thomas Gleixner There are more model specific quirks required. So we need to change the single purpose boolean quirk flag to an easy extensible mechanism. Make the quirk a function pointer and move the existing quirk into its own function. While at it make the init struct initializers rea

[PATCH 1/3] perf/x86/rapl: Enable Apollo Lake RAPL support

2016-09-10 Thread Harry Pan
This patch enables RAPL counters (energy consumption counters) support for Intel Apollo Lake (Goldmont) processors (Model 92): RAPL of Goldmont, unlikes ESU increment of Silvermont/Airmont, it likes the Haswell microarchitecture in 1/2^ESU joules and supports power domains in PP0/PP1/PKG/RAM. ESU

[PATCH 3/3] perf/x86/rapl: Enable Baytrail/Braswell RAPL support

2016-09-10 Thread Harry Pan
This patch enables RAPL counters (energy consumption counters) support for Intel Baytrail and Braswell processors (Model 55 and 76): The Silvermont/Airmont microarchitecture actually uses fixed energy status unit (ESU) in smallest unit of microjoule, this patch adds quirk for these Atom processors

collect2: error: ld returned 1 exit status

2016-09-10 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 98ac9a608dc79ba8a20cee77fe959a6dfccdaa63 commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 3 weeks ago config: um-allmodconfig (attached as .config) compiler: gcc-6 (D

include/linux/blk-mq.h:61:18: error: field 'kobj' has incomplete type

2016-09-10 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 98ac9a608dc79ba8a20cee77fe959a6dfccdaa63 commit: aa71987472a974f4f6dc4be377720564079ef42e nvme: fabrics drivers don't need the nvme-pci driver date: 3 weeks ago config: x86_64-randconfig-b0-09110627 (attac

Re: [m32r] undefined reference to `printk'

2016-09-10 Thread Fengguang Wu
Sorry m32r looks orphaned and there is no maintainer to CC such arch related error report.. I'll stop sending old errors on m32r if no one raise concerns. On Sun, Sep 11, 2016 at 01:10:54AM +0800, kbuild test robot wrote: Hi Peter, It's probably a bug fix that unveils the link errors. tree:

arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)

2016-09-10 Thread kbuild test robot
Hi Will, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 98ac9a608dc79ba8a20cee77fe959a6dfccdaa63 commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT date: 8 months ago config:

Re: serial: earlycon: Extend earlycon command line option to support 64-bit addresses

2016-09-10 Thread Guenter Roeck
Hi, On Fri, Sep 02, 2016 at 01:20:21PM +0200, Alexander Sverdlin wrote: > earlycon implementation used "unsigned long" internally, but there are systems > (ARM with LPAE) where sizeof(unsigned long) == 4 and uart is mapped beyond > 4GiB > address range. > > Switch to resource_size_t internally a

include/linux/kprobes.h:332:2: error: invalid use of undefined type 'struct kprobe_ctlblk'

2016-09-10 Thread kbuild test robot
Hi Christoph, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 98ac9a608dc79ba8a20cee77fe959a6dfccdaa63 commit: abec1a806e0c3cf168999667d5fb6218398ef12a percpu: Make __verify_pcu_ptr handle per cpu pointers to arrays

RE: [PATCH v2 2/9] ext2: tell DAX the size of allocation holes

2016-09-10 Thread Matthew Wilcox
From: Theodore Ts'o [mailto:ty...@mit.edu] > On Sat, Sep 10, 2016 at 12:31:51AM -0700, Christoph Hellwig wrote: > > I've mentioned this before, but I'd like to repeat it. With all the > > work reqwuired in the file system I would prefer to drop DAX support > > in ext2 (and if people really cry for

Re: [PATCH v6 2/8] thunderbolt: Updating the register definitions

2016-09-10 Thread Andreas Noever
On Mon, Aug 1, 2016 at 2:23 PM, Amir Levy wrote: > Adding more Thunderbolt(TM) register definitions > and some helper macros. Thinking about this again I would prefer it if you would put your definitions into a separate file under icm/ (even if there is some duplication). The style (bitfields vs.

include/linux/unaligned/access_ok.h:7:19: error: redefinition of 'get_unaligned_le16'

2016-09-10 Thread kbuild test robot
Hi Vincent, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 98ac9a608dc79ba8a20cee77fe959a6dfccdaa63 commit: 3194c6870158e305dac2af52f83681e9cb67280f NFC: nfcmrvl: add firmware download support date: 11 months ago

drivers/gpu/drm/i915/i915_gem_gtt.c:2367: error: 'gtt_entry' may be used uninitialized in this function

2016-09-10 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d0acc7dfd90eb97e90ccd42a567034017ec60fb8 commit: 85d1225ec066b2ef46fbd0ed1bae78ae1f3e6c91 drm/i915: Introduce & use new lightweight SGL iterators date: 4 mo

Re: [PATCH v2] ubifs: compress lines for immediate return

2016-09-10 Thread kbuild test robot
Hi Masahiro, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc5 next-20160909] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record w

Re: [PATCH v6 1/8] thunderbolt: Macro rename

2016-09-10 Thread Andreas Noever
On Mon, Aug 1, 2016 at 2:23 PM, Amir Levy wrote: > This first patch updates the registers file to > reflect that it isn't only for Cactus Ridge. > No functional change intended. > > Signed-off-by: Amir Levy > --- > drivers/thunderbolt/nhi_regs.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 d

Re: [PATCH v6 0/8] thunderbolt: Introducing Thunderbolt(TM) networking

2016-09-10 Thread Andreas Noever
On Wed, Aug 31, 2016 at 1:28 PM, Greg KH wrote: > On Mon, Aug 01, 2016 at 03:23:45PM +0300, Amir Levy wrote: >> This is version 6 of Thunderbolt(TM) driver for non-Apple hardware. >> >> Changes since v5: >> - Removed the padding of short packets in receive >> - Replaced RW semaphore with mutex >

Re: [PATCH v2] net: ip, diag -- Add diag interface for raw sockets

2016-09-10 Thread David Ahern
On 9/10/16 4:05 PM, Cyrill Gorcunov wrote: > On Sat, Sep 10, 2016 at 10:31:35AM -0600, David Ahern wrote: >> >> Would you mind adding the destroy capability as well? The udp version >> should be close to what is needed for raw sockets. See udp_diag_destroy >> and udp_abort. > > Should be something

Re: [RFC/RFT][PATCH v2 3/7] PM / sleep: Make async suspend/resume of devices use device links

2016-09-10 Thread Rafael J. Wysocki
On Sat, Sep 10, 2016 at 3:31 PM, Lukas Wunner wrote: > On Thu, Sep 08, 2016 at 11:28:33PM +0200, Rafael J. Wysocki wrote: >> Make the device suspend/resume part of the core system >> suspend/resume code use device links to ensure that supplier >> and consumer devices will be suspended and resumed

[PATCH v2] net: ip, diag -- Add diag interface for raw sockets

2016-09-10 Thread Cyrill Gorcunov
On Sat, Sep 10, 2016 at 10:31:35AM -0600, David Ahern wrote: > > Would you mind adding the destroy capability as well? The udp version > should be close to what is needed for raw sockets. See udp_diag_destroy > and udp_abort. Should be something like below. Didn't tested it yet so for review only

Re: [RFC/RFT][PATCH v2 0/7] Functional dependencies between devices

2016-09-10 Thread Rafael J. Wysocki
On Sat, Sep 10, 2016 at 1:39 PM, Lukas Wunner wrote: > On Thu, Sep 08, 2016 at 11:25:44PM +0200, Rafael J. Wysocki wrote: >> As discussed in the recent "On-demand device probing" thread and in a >> Kernel Summit session earlier today, there is a problem with handling >> cases where functional depe

Re: [PATCH 0/8] ARM: dts: rockchip: Remove skeleton.dtsi usage and fix memory node DTC warnings

2016-09-10 Thread Heiko Stuebner
Hi Javier, Am Freitag, 9. September 2016, 10:01:01 CEST schrieb Javier Martinez Canillas: > This series removes the inclusion of the skeleton.dtsi in all the Rockchip > dts, which allows to get rid of the DTC warnings about a mismatch between > the memory nodes' unit names and reg properties. > >

[PATCH v3] usb: dwc3: OCTEON: add support for device tree

2016-09-10 Thread Steven J. Hill
This patch adds support to parse probe data for the dwc3-octeon driver using device tree. The DWC3 IP core is found on OCTEON III processors. Signed-off-by: Steven J. Hill Changes in v3: - Massive simplification of glue logic. Almost all the work is done in the SoC platform code. Changes in v2

[PATCH 13/13] DRBD-receiver: Improve determination of sizes in receive_Barrier()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 22:06:21 +0200 Replace the specification of data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Marku

[PATCH 12/13] DRBD-receiver: Delete error messages for failed resource allocations in receive_protocol()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 22:04:08 +0200 Omit two messages for memory allocation failures in this function. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring --- drivers/block/drbd/drbd_receive

[PATCH 11/13] DRBD-receiver: Improve a size determination in receive_protocol()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 22:02:11 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mar

[PATCH 10/13] DRBD-receiver: Delete error messages for failed resource allocations in receive_SyncParam()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 22:00:10 +0200 Omit three messages for memory allocation failures in this function. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring --- drivers/block/drbd/drbd_recei

[PATCH 09/13] DRBD-receiver: Improve determination of sizes in receive_SyncParam()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 21:54:55 +0200 Replace the specification of data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Marku

[PATCH 07/13] DRBD-receiver: Delete an error message for a failed kzalloc() call in receive_sizes()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 21:48:21 +0200 Omit an extra message for a memory allocation failure in this function. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring --- drivers/block/drbd/drbd_re

[PATCH 08/13] DRBD-receiver: Move an assignment in receive_sizes()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 21:50:18 +0200 Move one assignment for the local variable "ldsc" so that its setting will only be performed after corresponding data processing succeeded by this function. Signed-off-by: Markus Elfring --- drivers/block/drbd/drbd_receiver.c | 3 ++-

[PATCH 06/13] DRBD-receiver: Improve a size determination in receive_sizes()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 21:45:13 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mar

[PATCH 05/13] DRBD-receiver: Delete an unnecessary initialisation in receive_sizes()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 20:04:02 +0200 A local variable was assigned a null pointer despite of the detail that it was immediately reassigned by the following statement. Thus remove such an unnecessary initialisation. Signed-off-by: Markus Elfring --- drivers/block/drbd/drbd

[PATCH 04/13] DRBD-receiver: Improve a size determination in drbd_do_features()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 19:46:05 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mar

[PATCH 03/13] DRBD-receiver: Move an assignment in receive_uuids()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 19:37:42 +0200 Move one assignment for the local variable "updated_uuids" so that its setting will only be performed after corresponding memory allocations succeeded by this function. Signed-off-by: Markus Elfring --- drivers/block/drbd/drbd_receiver

[PATCH 02/13] DRBD-receiver: Delete an error message for a failed kmalloc_array() call

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 19:26:07 +0200 Omit an extra message for a memory allocation failure in this function. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring --- drivers/block/drbd/drbd_re

[PATCH 01/13] DRBD-receiver: Use kmalloc_array() in receive_uuids()

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 19:22:57 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle s

[PATCH 00/13] DRBD-receiver: Fine-tuning for six function implementations

2016-09-10 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 10 Sep 2016 22:13:22 +0200 Several update suggestions were taken into account from static source code analysis. Markus Elfring (13): Use kmalloc_array() in receive_uuids() Delete an error message for a failed kmalloc_array() call Move an assignment in receiv

[PATCH] mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy

2016-09-10 Thread Arnd Bergmann
kernelci.org reports a warning for this driver, as it copies a local variable into a 'const char *' string: drivers/mtd/maps/pmcmsp-flash.c:149:30: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Using kstrndup() simplifi

Re: [PATCH] net: ip, diag -- Add diag interface for raw sockets

2016-09-10 Thread Cyrill Gorcunov
On Sat, Sep 10, 2016 at 10:31:35AM -0600, David Ahern wrote: > On 9/9/16 12:26 PM, Cyrill Gorcunov wrote: > > In criu we are actively using diag interface to collect sockets > > present in the system when dumping applications. And while for > > unix, tcp, udp[lite], packet, netlink it works as expe

Re: [PATCH] Drivers: i2c: busses: Use max macro instead of ternary operator

2016-09-10 Thread Bhumika Goyal
On Sun, Sep 11, 2016 at 12:51 AM, Joe Perches wrote: > On Sun, 2016-09-11 at 00:38 +0530, Bhumika Goyal wrote: >> Replace ternary operators with macro 'max' as it is shorter >> and thus increases code readability. Macro max returns >> the maximum of the two compared values. >> Done using coccinel

Re: [PATCH] Drivers: i2c: busses: Use max macro instead of ternary operator

2016-09-10 Thread Joe Perches
On Sun, 2016-09-11 at 00:38 +0530, Bhumika Goyal wrote: > Replace ternary operators with macro 'max' as it is shorter > and thus increases code readability. Macro max returns > the maximum of the two compared values. > Done using coccinelle: > > @@ > type T; > T x; > T y; > @@ > ( > - x < y ? x :

Re: [RFC v6 01/23] clocksource: sh_cmt: compute rate before registration again

2016-09-10 Thread Nicolai Stange
Thomas Gleixner writes: > On Fri, 9 Sep 2016, Nicolai Stange wrote: >> @@ -339,17 +339,14 @@ static int sh_cmt_enable(struct sh_cmt_channel *ch, >> unsigned long *rate) >> sh_cmt_start_stop_ch(ch, 0); >> >> /* configure channel, periodic mode and maximum timeout */ >> -if (ch->cm

[PATCH] Drivers: i2c: busses: Use max macro instead of ternary operator

2016-09-10 Thread Bhumika Goyal
Replace ternary operators with macro 'max' as it is shorter and thus increases code readability. Macro max returns the maximum of the two compared values. Done using coccinelle: @@ type T; T x; T y; @@ ( - x < y ? x : y + min(x,y) | - x > y ? x : y + max(x,y) ) Signed-off-by: Bhumika Goyal ---

Re: [RFC v6 01/23] clocksource: sh_cmt: compute rate before registration again

2016-09-10 Thread Joe Perches
On Sat, 2016-09-10 at 14:56 +0200, Thomas Gleixner wrote: > if (foo) > bar(foo->something, foo->somemore, foo->other, > CONST);) > else > rab(); > > > Is NOT. Simply because the pattern of a 'if ()' condition without braces > suggests a si

[tip:x86/apic] x86/ioapic: Ignore root bridges without a companion ACPI device

2016-09-10 Thread tip-bot for Rui Wang
Commit-ID: d9c149d6ce1a94de578a4e323f6881fcb6b986ab Gitweb: http://git.kernel.org/tip/d9c149d6ce1a94de578a4e323f6881fcb6b986ab Author: Rui Wang AuthorDate: Sat, 10 Sep 2016 23:40:45 +0800 Committer: Ingo Molnar CommitDate: Sat, 10 Sep 2016 20:30:31 +0200 x86/ioapic: Ignore root bridges

[PATCH 1/1] x86: do not skip PKRU register if debug registers are not used

2016-09-10 Thread Nicolas Iooss
When commit c0b17b5bd4b7 ("x86/mm/pkeys: Dump PKRU with other kernel registers") made __show_regs() show PKRU, this register was only printed if the debug registers were not in their default state (there is an if(...) return; before). Change the logic to report PKRU value even when debug registers

[PATCH v12 0/5] Goodix touchscreen enhancements

2016-09-10 Thread Irina Tirdea
This is an update for a previous set of patches [1] with enhancements for the Goodix touchscreens. The first 3 patches are leftovers from the previous patchset (with minor changes due to rebase), while the last 2 patches are new. Thanks, Irina [1] https://lkml.org/lkml/2015/11/19/241 Changes in

[PATCH v12 3/5] Input: goodix - add runtime power management support

2016-09-10 Thread Irina Tirdea
Add support for runtime power management so that the device is turned off when not used (when the userspace holds no open handles of the input device). The device uses autosuspend with a default delay of 2 seconds, so the device will suspend if no handles to it are open for 2 seconds. The runtime

[PATCH v12 5/5] Input: goodix - add support for gt9157

2016-09-10 Thread Irina Tirdea
Goodix touchscreen GT9157 has the same basic functionality as GT911 touchscreen. This is based on Goodix datasheets for GT911 and GT9157 and on Goodix driver gt9xx.c for Android (publicly available in Android kernel trees for various devices). Signed-off-by: Irina Tirdea --- Documentation/device

[PATCH v12 2/5] Input: goodix - add support for ESD

2016-09-10 Thread Irina Tirdea
Add ESD (Electrostatic Discharge) protection mechanism. The driver enables ESD protection in HW and checks a register to determine if ESD occurred. If ESD is signalled by the HW, the driver will reset the device. The ESD poll time (in ms) can be set through the sysfs property esd_timeout. If it i

[PATCH v12 1/5] Input: goodix - add sysfs interface to dump config

2016-09-10 Thread Irina Tirdea
Goodix devices have a configuration information register area that specifies various parameters for the device. The configuration information has a specific format described in the Goodix datasheet. It includes X/Y resolution, maximum supported touch points, interrupt flags, various sesitivity fact

[PATCH v12 4/5] Input: goodix - fix reset sequence

2016-09-10 Thread Irina Tirdea
According to the Goodix datasheet, the reset sequence will leave the reset line set to output high. To end the selection of the I2C address, we just need to set the input line to low for at least 50 ms and then set it to input floating (already implemented by goodix_int_sync). Remove setting the r

Respond to me immediately!

2016-09-10 Thread DR.ANTHONY EMMANUEL
FROM DR.ANTHONY EMMANUEL. AUDITING AND ACCOUNTING UNIT. BANK OF AFRICA. BURKINA FASO. CONTACT ME HERE;(dr.anthony_emman...@yahoo.fr) Attn: Sir/ Madam, FROM ( DR.ANTHONY EMMANUEL.) Staff of Bank Of Africa in Burkina Faso. I would like you to indicate your interest to receive the transfer of (15.5

Re: [PATCH v2 2/9] ext2: tell DAX the size of allocation holes

2016-09-10 Thread Theodore Ts'o
On Sat, Sep 10, 2016 at 12:31:51AM -0700, Christoph Hellwig wrote: > I've mentioned this before, but I'd like to repeat it. With all the > work reqwuired in the file system I would prefer to drop DAX support > in ext2 (and if people really cry for it reinstate the trivial old xip > support). Why

[PATCH v1 2/2] arm64: dts: rockchip: Add PX5 Evaluation board

2016-09-10 Thread Andy Yan
PX5 EVB is designed by Rockchip for automotive field, which intergrated with CVBS(TP2825)/MIPI DSI/CSI/LVDS HDMI video input/output interface, audio codec ES8396, WIFI/BT(on RTL8723BS), Gsensor BMA250E and light&proximity sensor STK3410. Signed-off-by: Andy Yan --- Changes in v1: - board rename

[PATCH v1 1/2] ARM: dts: add rockchip PX3 Evaluation board

2016-09-10 Thread Andy Yan
PX3 EVB is designed by Rockchip for automotive field, which intergrated with CVBS(TP2825)/MIPI DSI/LVDS/HDMI video input/output interface, WIFI/BT/GPS(on a module named S500 which based on MT6620), Gsensor BMA250E and light&proximity sensor STK3410. Signed-off-by: Andy Yan --- Changes in v1: -

[PATCH v1 0/2] Add two automotive field Evaluation boards from rockchip

2016-09-10 Thread Andy Yan
Changes in v1: - board rename - add vendor prefix for i2c interfaced sensors - use stdout-path to set the default console Andy Yan (2): ARM: dts: add rockchip PX3 Evaluation board arm64: dts: rockchip: Add PX5 Evaluation board Documentation/devicetree/bindings/arm/rockchip.txt | 8 + arc

Re: [PATCH] x86/ioapic: Ignore root bridges without a companion ACPI device

2016-09-10 Thread Borislav Petkov
On Sat, Sep 10, 2016 at 11:40:45PM +0800, Rui Wang wrote: > Some PCI root bridges don't have a corresponding ACPI device. > This can be the case on some old platforms. Don't call acpi_ioapic_add() > on these bridges because they can't support ioapic hotplug. > > v2: Per Boris's review, removed the

Re: [PATCH] android: binder: Disable preemption while holding the global binder lock

2016-09-10 Thread Greg Kroah-Hartman
On Sat, Sep 10, 2016 at 06:37:29PM +0200, Thomas Gleixner wrote: > On Sat, 10 Sep 2016, Peter Zijlstra wrote: > > > On Sat, Sep 10, 2016 at 09:16:59AM -0700, Christoph Hellwig wrote: > > > On Thu, Sep 08, 2016 at 09:12:50AM -0700, Todd Kjos wrote: > > > > In Android systems, the display pipeline r

undefined reference to `printk'

2016-09-10 Thread kbuild test robot
Hi Peter, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d0acc7dfd90eb97e90ccd42a567034017ec60fb8 commit: 63a3f603413ffe82ad775f2d62a5afff87fd94a0 timeconst.pl: Eliminate Perl warning date: 3 year

Re: [PATCH 3/4] dt-bindings: mmc: sdhci-st: Mention the discretionary "icn" clock

2016-09-10 Thread Lee Jones
On 9 September 2016 at 12:50, Ulf Hansson wrote: > On 8 September 2016 at 11:11, Lee Jones wrote: >> The interconnect (ICN) clock is required for functional working of >> MMC on some ST platforms. When not supplied it can result in >> broken MMC and the following output: >> >> [ 13.916

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

2016-09-10 Thread Jason Gunthorpe
On Sat, Sep 10, 2016 at 06:14:42PM +0200, Christoph Hellwig wrote: > OFVWG meetings have absolutely zero relevance for Linux development. Well, to be fair there are a fair number of kernel developers on that particular call.. > More "flexibility" for drivers just means giving up on designing a >

[PATCH 1/1] [media] ite-cir: initialize use_demodulator before using it

2016-09-10 Thread Nicolas Iooss
Function ite_set_carrier_params() uses variable use_demodulator after having initialized it to false in some if branches, but this variable is never set to true otherwise. This bug has been found using clang -Wsometimes-uninitialized warning flag. Fixes: 620a32bba4a2 ("[media] rc: New rc-based it

[PATCH 1/1] [media] mb86a20s: always initialize a return value

2016-09-10 Thread Nicolas Iooss
In mb86a20s_read_status_and_stats(), when mb86a20s_read_status() fails, the function returns the value in variable rc without initializing it first. Fix this by propagating the error code from variable status_nr. This bug has been found using clang and -Wsometimes-uninitialized warning flag. Sign

Re: [PATCH] android: binder: Disable preemption while holding the global binder lock

2016-09-10 Thread Thomas Gleixner
On Sat, 10 Sep 2016, Peter Zijlstra wrote: > On Sat, Sep 10, 2016 at 09:16:59AM -0700, Christoph Hellwig wrote: > > On Thu, Sep 08, 2016 at 09:12:50AM -0700, Todd Kjos wrote: > > > In Android systems, the display pipeline relies on low > > > latency binder transactions and is therefore sensitive t

[PATCH] mm: unmapped_area: visit left subtree more precisely

2016-09-10 Thread cee1
unmapped_area() tries to find an unmapped area between info.low_limit and info.high_limit: info.low_limit info.high_limit ^ ^ | | _|__

Re: [PATCH v3] stop_machine: Make migration_cpu_stop() does useful works for CONFIG_PREEMPT_NONE

2016-09-10 Thread Peter Zijlstra
On Sat, Sep 10, 2016 at 05:51:02PM +0800, Cheng Chao wrote: > hi Peter, I guess you can receive the mail from me now, > I have changed the mailbox to gmail. Indeed, I'll have a look on Monday.

Re: [PATCH] net: ip, diag -- Add diag interface for raw sockets

2016-09-10 Thread David Ahern
On 9/9/16 12:26 PM, Cyrill Gorcunov wrote: > In criu we are actively using diag interface to collect sockets > present in the system when dumping applications. And while for > unix, tcp, udp[lite], packet, netlink it works as expected, > the raw sockets do not have. Thus add it. > > CC: David S. M

Re: [PATCH v3 8/8] cpufreq: intel_pstate: Use CPPC to get max performance

2016-09-10 Thread Thomas Gleixner
On Thu, 8 Sep 2016, Srinivas Pandruvada wrote: > + > +/* Call set_sched_itmt from a work function to be able to use hotplug locks > */ And why can't the function below not do that? Is the reader required to figure that out himslf? > +static void intel_pstste_sched_itmt_work_fn(struct work_struct

Re: [PATCH v3 4/8] sched, x86: use arch_update_cpu_topology to indicate x86 need sched domain rebuild

2016-09-10 Thread Thomas Gleixner
On Thu, 8 Sep 2016, Srinivas Pandruvada wrote: How is this related to sched? And please stop writing lengthy sentences in the subject line. > From: Tim Chen > > Provides x86 with arch_update_cpu_topology function. This function > allows us to indicate that a condition is detected that the sched

Re: [PATCH v3 5/8] sched,x86: Enable Turbo Boost Max Technology

2016-09-10 Thread Thomas Gleixner
On Thu, 8 Sep 2016, Srinivas Pandruvada wrote: > + > +DEFINE_PER_CPU_READ_MOSTLY(int, sched_core_priority); > +static DEFINE_MUTEX(itmt_update_mutex); > + > +static unsigned int zero; > +static unsigned int one = 1; Please stick that close to the ctl_table so it gets obvious why we need this. My f

Re: [PATCH] android: binder: Disable preemption while holding the global binder lock

2016-09-10 Thread Peter Zijlstra
On Sat, Sep 10, 2016 at 09:16:59AM -0700, Christoph Hellwig wrote: > On Thu, Sep 08, 2016 at 09:12:50AM -0700, Todd Kjos wrote: > > In Android systems, the display pipeline relies on low > > latency binder transactions and is therefore sensitive to > > delays caused by contention for the global bin

Re: [PATCH] android: binder: Disable preemption while holding the global binder lock

2016-09-10 Thread Christoph Hellwig
On Thu, Sep 08, 2016 at 09:12:50AM -0700, Todd Kjos wrote: > In Android systems, the display pipeline relies on low > latency binder transactions and is therefore sensitive to > delays caused by contention for the global binder lock. > Jank is siginificantly reduced by disabling preemption > while

Re: [PATCH 2/2] iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8

2016-09-10 Thread Jonathan Cameron
On 07/09/16 18:55, William Breathitt Gray wrote: > The ACCES 104-QUAD-8 is a general purpose quadrature encoder > counter/interface board. The 104-QUAD-8 is capable of monitoring the > outputs of eight encoders via four on-board LSI/CSI LS7266R1 24-bit > dual-axis quadrature counter chips. Core fun

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

2016-09-10 Thread Christoph Hellwig
On Wed, Sep 07, 2016 at 11:51:42AM +0300, Matan Barak wrote: > All recent proposals of the new ABI schema deals with extending the > flexibility of the current schema by letting drivers define their specific > types, actions, attributes, etc. Even more than that, the dispatching > starts from th

Re: UBSAN: Undefined behaviour in arch/powerpc/kernel/cputable.c

2016-09-10 Thread Aneesh Kumar K.V
Meelis Roos writes: > Got this on my PowerPC G4 (533 MHz, PowerPC 7410, PowerMac3,4 platform), > with gcc version 5.3.1 20160509 (Debian 5.3.1-19): > > [0.00] > > [0.00] UBSAN: Undefined behaviour i

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

2016-09-10 Thread Christoph Hellwig
On Wed, Sep 07, 2016 at 01:25:13PM +0530, Parav Pandit wrote: > > a) delay cgroups support until the grand rewrite is done > > b) add it now and deal with the consequences later > > > Can we do (b) now and differ adding any HW resources to cgroup until > they are clearly called out. > Architectur

Re: [PATCH 1/2] iio: Implement counter channel type and info constants

2016-09-10 Thread Jonathan Cameron
On 07/09/16 18:55, William Breathitt Gray wrote: > Quadrature encoders, such as rotary encoders and linear encoders, are > devices which are capable of encoding the relative position and > direction of motion of a shaft. This patch introduces several IIO > constants for supporting quadrature encode

Re: [PATCH] Btrfs: remove unnecessary code of chunk_root assignment in btrfs_read_chunk_tree.

2016-09-10 Thread Jeff Mahoney
On 9/10/16 11:58 AM, Sean Fu wrote: > On Thu, Sep 08, 2016 at 11:25:48PM -0400, Jeff Mahoney wrote: >> On 9/8/16 11:08 PM, Sean Fu wrote: >>> On Tue, Sep 06, 2016 at 11:12:20AM -0400, Jeff Mahoney wrote: On 9/6/16 5:58 AM, David Sterba wrote: > On Mon, Sep 05, 2016 at 11:13:40PM -0400, Jef

Re: [PATCH] Btrfs: remove unnecessary code of chunk_root assignment in btrfs_read_chunk_tree.

2016-09-10 Thread Sean Fu
On Thu, Sep 08, 2016 at 11:25:48PM -0400, Jeff Mahoney wrote: > On 9/8/16 11:08 PM, Sean Fu wrote: > > On Tue, Sep 06, 2016 at 11:12:20AM -0400, Jeff Mahoney wrote: > >> On 9/6/16 5:58 AM, David Sterba wrote: > >>> On Mon, Sep 05, 2016 at 11:13:40PM -0400, Jeff Mahoney wrote: > >> Since root is

Re: [PATCH] iio: light: acpi-als: Add a tuning parameter interface.

2016-09-10 Thread Jonathan Cameron
On 06/09/16 17:48, Enric Balletbo Serra wrote: > Hi Lars, > > 2016-09-06 12:31 GMT+02:00 Lars-Peter Clausen : >> On 09/06/2016 12:25 PM, Enric Balletbo i Serra wrote: >>> From: Bryan Freed >>> >>> Add IIO_CHAN_INFO_CALIBSCALE to the channel to scale up or down >>> the raw measurements through the

[PATCH] x86/ioapic: Ignore root bridges without a companion ACPI device

2016-09-10 Thread Rui Wang
Some PCI root bridges don't have a corresponding ACPI device. This can be the case on some old platforms. Don't call acpi_ioapic_add() on these bridges because they can't support ioapic hotplug. v2: Per Boris's review, removed the unnecessary local var; refined comment Signed-off-by: Rui Wang Re

RE: [PATCH v2 2/9] ext2: tell DAX the size of allocation holes

2016-09-10 Thread Matthew Wilcox
From: Christoph Hellwig [mailto:h...@infradead.org] > Either way we need to get rid of buffer_heads, and another aop that is > entirely > caller specific is unaceptable. I finally figured out what you actually meant by this. You mean that instead of having an aop->populate_pfn, you want to defi

  1   2   3   >