Re: [GIT PULL] Security subsystem updates for 4.14

2017-09-10 Thread Mimi Zohar
On Fri, 2017-09-08 at 18:38 -0400, Theodore Ts'o wrote: > On Fri, Sep 08, 2017 at 02:48:51PM +1000, James Morris wrote: > > > > Mimi and Christoph worked together on this over several iterations -- I'll > > let them respond. > > Mimi --- we should chat next week in LA. I've been working on a >

Worker threads in D state since c5a94a618e7ac86 (workqueue: Use TASK_IDLE)

2017-09-10 Thread Markus Trippelsdorf
Since: commit c5a94a618e7ac86b20f53d947f68d7cee6a4c6bc Author: Peter Zijlstra Date: Wed Aug 23 13:58:44 2017 +0200 workqueue: Use TASK_IDLE all worker threads are in D state. They all show up when using "magic SysRq w". In htop they all have big fat red 'D' in the state column. Is th

[PATCH 1/1] scripts/checkpatch.pl: avoid false warning missing break

2017-09-10 Thread Heinrich Schuchardt
void foo(int a) switch (a) { case 'h': fun1(); exit(1); default: } creates a warning Possible switch case/default not preceded by break or fallthrough comment exit( should be treated like return. Signed-off-by: Heinrich Schuchardt --- scr

Beratungsstelle

2017-09-10 Thread Escuela 113, Juan Agustin Ortiz Estrada
Ihr Postfach hat den von unserem E-Mail-Administrator festgelegten Speicherlimit überschritten und Sie können keine neue Mail-Unit erhalten, die Sie erneut validieren. Klick hier um Ihr E-Mail-Konto erneut zu validieren. Vielen Dank Beratungsstelle Systemadminist

Re: [GIT PULL] Security subsystem updates for 4.14

2017-09-10 Thread Christoph Hellwig
On Fri, Sep 08, 2017 at 10:25:53AM -0700, Linus Torvalds wrote: > I don't think anybody actually tests linux-next kernels in any big > way, and the automated tests that do get run probably don't run with > any integrity checking enabled. Well, for the atual IMA deadlock issue I asked Mimi to produ

Re: [PATCH v5 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-10 Thread Tomer Maimon
On 9 September 2017 at 04:53, Brendan Higgins wrote: > Adds basic support for the Nuvoton NPCM750 BMC. > > Signed-off-by: Brendan Higgins > --- > arch/arm/Kconfig | 2 + > arch/arm/Makefile| 1 + > arch/arm/mach-npcm/Kconfig | 48 > arch/arm/m

[PATCH] drm/i915: Fix an error handling in 'intel_framebuffer_init()'

2017-09-10 Thread Christophe JAILLET
We should go through the error handling path to decrease the 'framebuffer_references' as done everywhere else in this function. Fixes: 2e2adb05736c ("drm/i915: Add render decompression support") Signed-off-by: Christophe JAILLET --- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1

Re: [PATCH] mtd: spi-nor: fix DMA unsafe buffer issue in spi_nor_read_sfdp()

2017-09-10 Thread Boris Brezillon
On Thu, 7 Sep 2017 10:00:50 +0200 Geert Uytterhoeven wrote: > Hi Cyrille, > > On Wed, Sep 6, 2017 at 11:45 PM, Cyrille Pitchen > wrote: > > spi_nor_read_sfdp() calls nor->read() to read the SFDP data. > > When the m25p80 driver is used (pretty common case), nor->read() is then > > implemented b

problem w/ kernel init (rootfs vs initial console / init process)

2017-09-10 Thread mtx
Hi folks, I've got a very strange problem w/ v4.13 (on imx6): it tries to open the initial console, before even attempt to mount the root fs, which obviously is doomed to fail. (directly passing root= via cmdline - no initrd etc) What puzzles me most: prepare_namespace() is only called from ke

Re: [PATCH RFC v4 1/3] tracing/irqsoff: Prepare to add preempt and irq trace events

2017-09-10 Thread Steven Rostedt
On Wed, 6 Sep 2017 17:17:50 -0700 Joel Fernandes wrote: > +#else /* IRQSOFF_TRACER || PREEMPTOFF_TRACER */ > + > +#define start_critical_timings_tracer() do { } while (0) > +#define stop_critical_timings_tracer() do { } while (0) > + > +#endif > + > +#ifndef CONFIG_IRQSOFF_TRACER > +#define tra

Re: [PATCH 4/6] x86,kvm: Fix apf_task_wake_one() serialization

2017-09-10 Thread Paolo Bonzini
On 05/09/2017 21:00, Davidlohr Bueso wrote: > During code inspection, the following potential race was seen: > > CPU0 CPU1 > kvm_async_pf_task_waitapf_task_wake_one > [S] prepare_to_swait(&n.wq) >

Re: [PATCH 2/5] vmbus: suppress uevents for hv_sock devices

2017-09-10 Thread Greg KH
On Sat, Sep 09, 2017 at 11:08:46PM -0700, k...@exchange.microsoft.com wrote: > From: Dexuan Cui > > hv_sock driver is automatically loaded when an application creates an > AF_VSOCK socket, so we don't really need to trigger uevents to the user > space udevd. > > And hv_sock devices can appear an

Re: [PATCH 4/6] x86,kvm: Fix apf_task_wake_one() serialization

2017-09-10 Thread Paolo Bonzini
On 10/09/2017 11:20, Paolo Bonzini wrote: > On 05/09/2017 21:00, Davidlohr Bueso wrote: >> During code inspection, the following potential race was seen: >> >> CPU0 CPU1 >> kvm_async_pf_task_wait apf_task_wake_one >> [S] prepare_to_swa

Re: linux-next: Tree for Sep 8

2017-09-10 Thread Geert Uytterhoeven
On Fri, Sep 8, 2017 at 5:36 AM, Stephen Rothwell wrote: > $ git checkout -b akpm remotes/origin/akpm/master > Applying: drivers/media/cec/cec-adap.c: fix build with gcc-4.4.4 Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of

[PATCH] init/Kconfig: Fix module signing document location

2017-09-10 Thread Nathan Chancellor
This was moved in commit 94e980cc45f2 ("Documentation/module-signing.txt: convert to ReST markup") and was missed by commit 8c27ceff3604 ("docs: fix locations of several documents that got moved"). Signed-off-by: Nathan Chancellor --- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deleti

Re: [PATCH v4 12/21] camss: vfe: Format conversion support using PIX interface

2017-09-10 Thread Geert Uytterhoeven
Hi Todor, On Tue, Aug 8, 2017 at 3:30 PM, Todor Tomov wrote: > Use VFE PIX input interface and do format conversion in VFE. > > Supported input format is UYVY (single plane YUV 4:2:2) and > its different sample order variations. > > Supported output formats are: > - NV12/NV21 (two plane YUV 4:2:0

[PATCH] of: overlay: Fix uninitialized vars in dup_and_fixup_symbol_prop()

2017-09-10 Thread Geert Uytterhoeven
With gcc 4.1.2: drivers/of/overlay.c: In function ‘dup_and_fixup_symbol_prop’: drivers/of/overlay.c:108: warning: ‘overlay_name_len’ may be used uninitialized in this function drivers/of/overlay.c:100: warning: ‘ovinfo’ may be used uninitialized in this function Indeed, if ov->count

Re: [PATCH] cifs: hide unused functions

2017-09-10 Thread Geert Uytterhoeven
On Tue, Sep 5, 2017 at 11:24 AM, Arnd Bergmann wrote: > The newly added SMB2+ attribute support causes unused function > warnings when CONFIG_CIFS_XATTR is disabled: > > fs/cifs/smb2ops.c:563:1: error: 'smb2_set_ea' defined but not used > [-Werror=unused-function] > smb2_set_ea(const unsigned in

Re: [PATCH] pps-gpio: use IRQ edge config when not capturing both edges

2017-09-10 Thread Rodolfo Giometti
On 08/09/2017 21:53, Tim Harvey wrote: PPS signals with very short pulse-widths can be missed if their state changes by the time the interrupt handler reads the GPIO pin state. To avoid this in the case where we are only looking for one edge we can use the edge configuration for the pin state bu

Re: [PATCH] MAINTAINERS: update linuxpps mailing list

2017-09-10 Thread Rodolfo Giometti
On 08/09/2017 21:58, Tim Harvey wrote: Signed-off-by: Tim Harvey --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1c3feff..2f797bf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10576,7 +10576,7 @@ F: drivers/net/ppp/ppp_

[PATCH] test_bitmap: Use ULL suffix for 64-bit constants

2017-09-10 Thread Geert Uytterhoeven
With gcc 4.1.2: lib/test_bitmap.c:189: warning: integer constant is too large for ‘long’ type lib/test_bitmap.c:190: warning: integer constant is too large for ‘long’ type lib/test_bitmap.c:194: warning: integer constant is too large for ‘long’ type lib/test_bitmap.c:195: warnin

Re: [PATCH 7/7] include/linux/string.h: add the option of fortified string.h functions

2017-09-10 Thread Geert Uytterhoeven
Hi Kees, Daniel, On Mon, Jun 19, 2017 at 10:26 PM, Kees Cook wrote: > From: Daniel Micay > > This adds support for compiling with a rough equivalent to the glibc > _FORTIFY_SOURCE=1 feature, providing compile-time and runtime buffer > overflow checks for string.h functions when the compiler dete

Division by zero on UP (was: Re: netfilter: nat: use keyed locks)

2017-09-10 Thread Geert Uytterhoeven
Hi Florian, Pablo, On Sat, Sep 9, 2017 at 9:21 PM, Linux Kernel Mailing List wrote: > Web: > https://git.kernel.org/torvalds/c/8073e960a03bf7b5d5ebfc5ff18ac475e1688f46 > Commit: 8073e960a03bf7b5d5ebfc5ff18ac475e1688f46 > Parent: e1bf1687740ce1a3598a1c5e452b852ff2190682 > Refname:

Re: [PATCH v2 05/14] dt-bindings: add openrisc to vendor prefixes list

2017-09-10 Thread Andreas Färber
Am 10.09.2017 um 08:49 schrieb Stafford Horne: > Add OpenRISC.io to vendor prefixes. This is reserved for softcores > developed by the OpenRISC community. The OpenRISC community has > separated from OpenCores.org requiring a new prefix. > > Signed-off-by: Stafford Horne Reviewed-by: Andreas Fä

[PATCH] f2fs-tools: fix is_set_ckpt_flags for correct bool value

2017-09-10 Thread Yunlong Song
If flag bit to check is in 0xFF00, then the return value will be false, this is not correct, so fix it. Signed-off-by: Yunlong Song --- fsck/f2fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsck/f2fs.h b/fsck/f2fs.h index 871cffc..de03512 100644 --- a/fsck/f2fs.h ++

[PATCH] Staging: xgifb: XGI_main_26.c: Fix alignment to match parentheses

2017-09-10 Thread Srishti Sharma
Fix alignment so that it matches open parentheses. Signed-off-by: Srishti Sharma --- drivers/staging/xgifb/XGI_main_26.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index b450c74..b813f1d 10064

Re: Division by zero on UP (was: Re: netfilter: nat: use keyed locks)

2017-09-10 Thread Florian Westphal
Geert Uytterhoeven wrote: > > srchash = hash_by_src(net, > > > > &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); > > - spin_lock_bh(&nf_nat_lock); > > + lock = &nf_nat_locks[srchash % ARRAY_SIZE(nf_nat_locks)]; > > +

[PATCH] btrfs: tests: Fix a memory leak in error handling path in 'run_test()'

2017-09-10 Thread Christophe JAILLET
If 'btrfs_alloc_path()' fails, we must free the resourses already allocated, as done in the other error handling paths in this function. Signed-off-by: Christophe JAILLET --- fs/btrfs/tests/free-space-tree-tests.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/btrfs/tes

[SUSPECTED SPAM] I am a Buyer

2017-09-10 Thread mackenzie
Dear Sir/Madam, I am Becca MacKenzie, We are interested in your products and want to make you and your company our major suppliers but first we would like your to send us your best price list and Catalog if possible. We will be ordering in large quantity so we are looking forward in making a

Re: Division by zero on UP (was: Re: netfilter: nat: use keyed locks)

2017-09-10 Thread Geert Uytterhoeven
Hi Florian, On Sun, Sep 10, 2017 at 1:21 PM, Florian Westphal wrote: > Geert Uytterhoeven wrote: >> > srchash = hash_by_src(net, >> > >> > &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); >> > - spin_lock_bh(&nf_nat_lock); >> > +

Re: [PATCH 3.16 153/233] HID: usbhid: add quirk for innomedia INNEX GENESIS/ATARI adapter

2017-09-10 Thread Tomasz Kramkowski
On Sat, Sep 09, 2017 at 10:47:14PM +0100, Ben Hutchings wrote: > 3.16.48-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Tomasz Kramkowski > > commit 9547837bdccb4af127528b36a73377150658b4ac upstream. > > The (1292:4745) Innomedia INNEX GEN

[PATCH] netfilter: nat: Do not use ARRAY_SIZE() on spinlocks to fix zero div

2017-09-10 Thread Geert Uytterhoeven
If no spinlock debugging options (CONFIG_GENERIC_LOCKBREAK, CONFIG_DEBUG_SPINLOCK, CONFIG_DEBUG_LOCK_ALLOC) are enabled on a UP platform (e.g. m68k defconfig), arch_spinlock_t is an empty struct, hence using ARRAY_SIZE(nf_nat_locks) causes a division by zero: net/netfilter/nf_nat_core.c: In fu

Re: [PATCH 2/5] android: binder: Add allocator selftest

2017-09-10 Thread Geert Uytterhoeven
Hi Sherry, On Wed, Aug 16, 2017 at 2:25 AM, Sherry Yang wrote: > binder_alloc_selftest tests that alloc_new_buf handles page allocation and > deallocation properly when allocate and free buffers. The test allocates 5 > buffers of various sizes to cover all possible page alignment cases, and > fre

Re: [PATCH] btrfs: tests: Fix a memory leak in error handling path in 'run_test()'

2017-09-10 Thread Qu Wenruo
On 2017年09月10日 19:19, Christophe JAILLET wrote: If 'btrfs_alloc_path()' fails, we must free the resourses already allocated, as done in the other error handling paths in this function. Signed-off-by: Christophe JAILLET Reviewed-by: Qu Wenruo BTW, I also checked all btrfs_alloc_path() in s

[PATCH] media: v4l2-pci-skeleton: Fix error handling path in 'skeleton_probe()'

2017-09-10 Thread Christophe JAILLET
If this memory allocation fails, we must release some resources, as already done in the code below and above. Signed-off-by: Christophe JAILLET --- samples/v4l/v4l2-pci-skeleton.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/samples/v4l/v4l2-pci-skeleton.c b/samples/

Re: [PATCH v4 6/6] gpio: uniphier: add UniPhier GPIO controller driver

2017-09-10 Thread kbuild test robot
-gpio-expand-irq_domain_push_irq-for-DT-use-and-use-it-for-GPIO/20170910-160507 config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by

Re: [GIT PULL] Security subsystem updates for 4.14

2017-09-10 Thread Theodore Ts'o
On Sun, Sep 10, 2017 at 03:13:23AM -0400, Mimi Zohar wrote: > > From a file integrity perspective this would be interesting, but that > only addresses IMA-appraisal, not IMA-integrity or IMA-audit.  We > would still need to calculate the file hash to be included in the > measurement list and used

[PATCH] bnx2i: Clean up unused pointers in bnx2i_hwi

2017-09-10 Thread Christos Gkekas
Pointers bnx2i_cmd are set but never used, so they can be removed. Signed-off-by: Christos Gkekas --- drivers/scsi/bnx2i/bnx2i_hwi.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/scsi/bnx2i/bnx2i_hwi.c b/drivers/scsi/bnx2i/bnx2i_hwi.c index 42921db..e3f22cb 100644 --- a/

[PATCH] staging: atomisp: add a driver for ov5648 camera sensor

2017-09-10 Thread Devid Antonio Floni
The ov5680 5-megapixel camera sensor from OmniVision supports up to 2592x1944 resolution and MIPI CSI-2 interface. Output format is raw sRGB/Bayer with 10 bits per colour (SGRBG10_1X10). This patch is a port of ov5680 driver from following 01org/ProductionKernelQuilts patches: - 0004-ov2680-ov5648

[PATCH 0/2] clk: sunxi-ng: Add several flags to H3 CCU

2017-09-10 Thread Icenowy Zheng
The H3 CCU is the earliest driver that uses sunxi-ng clk framework, and some problems show when doing further development. This patchset fixes some issues by add several clock flags. The first patch solves the problem that setting some PLL before ungating them will trigger timeout for waiting for

[PATCH 2/2] clk: sunxi-ng: add CLK_SET_RATE_PARENT flag to H3 GPU clock

2017-09-10 Thread Icenowy Zheng
The GPU clock on H3 has only one parent, PLL-GPU, and the PLL is only the parent of the GPU clock. The GPU clock can be tweaked by tweaking the PLL-GPU clock. Add CLK_SET_RATE_PARENT flag to allow tweaking the GPU clock via tweaking PLL-CPU. Fixes: 0577e4853bfb ("clk: sunxi-ng: Add H3 clocks") Si

[PATCH 1/2] clk: sunxi-ng: add CLK_SET_RATE_UNGATE to all H3 PLLs

2017-09-10 Thread Icenowy Zheng
The PLLs on H3 have a lock bit, which will only be set to 1 when the PLL is really working. Add CLK_SET_RATE_UNGATE to the PLLs, otherwise it will timeout when trying to set PLL clock frequency without enabling it. Fixes: 0577e4853bfb ("clk: sunxi-ng: Add H3 clocks") Signed-off-by: Icenowy Zheng

[PATCH] iio: adc: dln2-adc: initialize local struct before using it

2017-09-10 Thread Martin Kepplinger
struct data is defined and declared locally. Initiliazation has to be done manually, so let's add that. Signed-off-by: Martin Kepplinger --- This is more of a question actually! Did you have in mind that data is not initialized here? If so, please drop this patch. This is just in case you implic

[PATCH] m68k: Add braces to __pmd(x) initializer to kill compiler warning

2017-09-10 Thread Geert Uytterhoeven
With gcc 4.1.2: include/linux/swapops.h: In function ‘swp_entry_to_pmd’: include/linux/swapops.h:294: warning: missing braces around initializer include/linux/swapops.h:294: warning: (near initialization for ‘(anonymous).pmd’) Due to a GCC zero initializer bug (#53119), the standard

Re: [PATCH] test_bitmap: Use ULL suffix for 64-bit constants

2017-09-10 Thread Yury Norov
On Sun, Sep 10, 2017 at 12:48:43PM +0200, Geert Uytterhoeven wrote: > With gcc 4.1.2: > > lib/test_bitmap.c:189: warning: integer constant is too large for ‘long’ > type > lib/test_bitmap.c:190: warning: integer constant is too large for ‘long’ > type > lib/test_bitmap.c:194: warning

[lkp-robot] [x86/mm] f13c8e8c58: WARNING:at_arch/x86/mm/tlb.c:#initialize_tlbstate_and_flush

2017-09-10 Thread kernel test robot
FYI, we noticed the following commit: commit: f13c8e8c58ba3b535f1e4cb9e62b50ab37dd69bb ("x86/mm: Reinitialize TLB state on hotplug and resume") https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git x86/fixes in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -m 420M cause

Re: [PATCH v5] iio: accel: mma8452: improvements to handle multiple events

2017-09-10 Thread Jonathan Cameron
On Mon, 4 Sep 2017 23:06:37 -0400 harinath Nampally wrote: > > I agree with your understanding. It's a rising threshold, just that the > > input > > will only reflect high frequency changes in the signal. > Thank you for the clarification. I am hoping this gets merged in the > next window if

Re: [PATCH 7/7] include/linux/string.h: add the option of fortified string.h functions

2017-09-10 Thread Arnd Bergmann
On Sun, Sep 10, 2017 at 12:55 PM, Geert Uytterhoeven wrote: 55e285a upstream. > >> --- a/include/linux/string.h >> +++ b/include/linux/string.h >> @@ -187,4 +187,204 @@ static inline const char *kbasename(const char *path) >> return tail ? tail + 1 : path; >> } >> >> +#define __FORTIFY_IN

[PATCH] spi: stm32: Fix logical error in stm32_spi_prepare_mbr()

2017-09-10 Thread Christos Gkekas
stm32_spi_prepare_mbr() is returning an error value when div is less than SPI_MBR_DIV_MIN *and* greater than SPI_MBR_DIV_MAX, which always evaluates to false. This should change to use *or*. Signed-off-by: Christos Gkekas --- drivers/spi/spi-stm32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 d

Re: [RFC PATCH 0/3] kbuild: generate intermediate C files instead of copying _shipped files

2017-09-10 Thread Masahiro Yamada
Hi Linus, 2017-09-09 6:38 GMT+09:00 Linus Torvalds : > On Fri, Sep 8, 2017 at 11:39 AM, Linus Torvalds > wrote: >> >> Strange. Does anybody see what the pattern to the failure is? > > Found it. Stupid special case for 'typeof()' that used > is_reserved_word() in ways I hadn't realized. > > Fix c

Re: [PATCH v5] iio: accel: mma8452: improvements to handle multiple events

2017-09-10 Thread Martin Kepplinger
Am 10. September 2017 15:44:24 MESZ schrieb Jonathan Cameron : >On Mon, 4 Sep 2017 23:06:37 -0400 >harinath Nampally wrote: > >> > I agree with your understanding. It's a rising threshold, just >that the input >> > will only reflect high frequency changes in the signal. >> Thank you for the c

Re: [RFC PATCH 0/3] kbuild: generate intermediate C files instead of copying _shipped files

2017-09-10 Thread Masahiro Yamada
Hi Sam, 2017-09-09 15:39 GMT+09:00 Sam Ravnborg : > On Fri, Sep 08, 2017 at 02:38:23PM -0700, Linus Torvalds wrote: >> On Fri, Sep 8, 2017 at 11:39 AM, Linus Torvalds >> wrote: >> > >> > Strange. Does anybody see what the pattern to the failure is? >> >> Found it. Stupid special case for 'typeof(

Re: [GIT PULL] Security subsystem updates for 4.14

2017-09-10 Thread Mimi Zohar
On Sun, 2017-09-10 at 01:10 -0700, Christoph Hellwig wrote: > On Fri, Sep 08, 2017 at 10:25:53AM -0700, Linus Torvalds wrote: > > I don't think anybody actually tests linux-next kernels in any big > > way, and the automated tests that do get run probably don't run with > > any integrity checking en

Re: [PATCH 1/1] scripts/checkpatch.pl: avoid false warning missing break

2017-09-10 Thread Joe Perches
On Sun, 2017-09-10 at 09:52 +0200, Heinrich Schuchardt wrote: > void foo(int a) > switch (a) { > case 'h': > fun1(); > exit(1); > default: > } > > creates a warning > Possible switch case/default not preceded by break > or fallthrough comment > > exit

Re: [PATCH 2/5] lmp92001: mfd: iio: adc: Add support LMP92001

2017-09-10 Thread Jonathan Cameron
On Thu, 31 Aug 2017 01:14:09 +0700 s.abhi...@gmail.com wrote: > From: Abhisit Sangjan > > TI LMP92001 Analog System Monitor and Controller > > 8-bit GPIOs. > 12 DACs with 12-bit resolution. > > The GPIOs and DACs are shared port function with Cy function pin to > take control the pin suddenly

[lkp-robot] [ACPI / CPPC] 266c175b9b: BUG:KASAN:null-ptr-deref

2017-09-10 Thread kernel test robot
FYI, we noticed the following commit: commit: 266c175b9b3242f472f0ae5260a97cf62747a1d1 ("ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids") url: https://github.com/0day-ci/linux/commits/George-Cherian/mailbox-PCC-Move-the-MAX_PCC_SUBSPACES-definition-to-header-file/20170908-060133

[lkp-robot] [x86/mm] 72c0098d92: WARNING:at_arch/x86/mm/tlb.c:#initialize_tlbstate_and_flush

2017-09-10 Thread kernel test robot
FYI, we noticed the following commit: commit: 72c0098d92cedb11c7e0151e84918840a4e96b31 ("x86/mm: Reinitialize TLB state on hotplug and resume") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -m 420M caus

ERROR: "__cmpxchg_u64" [drivers/net/ethernet/intel/i40e/i40e.ko] undefined!

2017-09-10 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4dfc2788033d30dfccfd4268e06dd73ce2c654ed commit: 841c950d67c6facde32a8644ced20c04aebb7dd8 i40e/i40evf: use cmpxchg64 when updating private flags in ethtool date: 2 weeks ago config: parisc-allmodconfig (at

[lkp-robot] [x86/asm/64] 74cc41d3b6: BUG:unable_to_handle_kernel

2017-09-10 Thread kernel test robot
FYI, we noticed the following commit: commit: 74cc41d3b6a99fa2caa4e4edc82efea4d13b8d55 ("x86/asm/64: Remove all remaining direct thread_struct::sp0 reads") https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git x86/entry_consolidation in testcase: trinity with following parameters:

Re: [PATCH 3.2 000/106] 3.2.93-rc1 review

2017-09-10 Thread Guenter Roeck
On 09/09/2017 02:47 PM, Ben Hutchings wrote: This is the start of the stable review cycle for the 3.2.93 release. There are 106 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 3.16 000/233] 3.16.48-rc1 review

2017-09-10 Thread Guenter Roeck
On 09/09/2017 02:47 PM, Ben Hutchings wrote: This is the start of the stable review cycle for the 3.16.48 release. There are 233 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 3/5] lmp92001: mfd: iio: dac: Add support LMP92001

2017-09-10 Thread Jonathan Cameron
On Thu, 31 Aug 2017 01:17:15 +0700 s.abhi...@gmail.com wrote: > From: Abhisit Sangjan > > TI LMP92001 Analog System Monitor and Controller > > 8-bit GPIOs. > 12 DACs with 12-bit resolution. > > The GPIOs and DACs are shared port function with Cy function pin to > take control the pin suddenly

Re: [PATCH 5/5] lmp92001: mfd: doc: Add support LMP92001

2017-09-10 Thread Jonathan Cameron
On Thu, 31 Aug 2017 01:25:28 +0700 s.abhi...@gmail.com wrote: > From: Abhisit Sangjan > > TI LMP92001 Analog System Monitor and Controller > > 8-bit GPIOs. > 12 DACs with 12-bit resolution. > > The GPIOs and DACs are shared port function with Cy function pin to > take control the pin suddenly

unable to open initial console (ENODEV) (WAS: problem w/ kernel init (rootfs vs initial console / init process))

2017-09-10 Thread mtx
On 10.09.2017 11:09, mtx wrote: it tries to open the initial console, before even attempt to mount the > root fs, which obviously is doomed to fail. (directly passing root=> via cmdline - no initrd etc) Solved it. For the record: the uart2 node was still disabled, so the kernel did allocate a c

[PATCH 00/10] staging: rtl8723bs: Follow linux-kernel coding style

2017-09-10 Thread Harsha Sharma
Linux kernel coding style uses one space around most binary and ternary operators and spaces are prohibited at the start of a line. Concatenated strings should have space between elements and space is required after ','. In conditional statements, do not use unnecessary braces where a single statem

[PATCH 01/10] staging: rtl8723bs: Add spaces around '='

2017-09-10 Thread Harsha Sharma
Use one space around (on each side of) '=' operator Signed-off-by: Harsha Sharma --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_

Re: [PATCH v2 1/3] dt-bindings: watchdog: Add Realtek RTD1295

2017-09-10 Thread Guenter Roeck
On 09/04/2017 04:16 PM, Andreas Färber wrote: Add a binding for the Realtek RTD1295 watchdog. Acked-by: Rob Herring Signed-off-by: Andreas Färber Reviewed-by: Guenter Roeck --- v1 -> v2: Unchanged .../devicetree/bindings/watchdog/realtek,rtd119x.txt| 17 + 1 f

Re: [PATCH v2 2/3] watchdog: Add Realtek RTD1295

2017-09-10 Thread Guenter Roeck
On 09/04/2017 04:16 PM, Andreas Färber wrote: Add a watchdog driver for the Realtek RTD1295 SoC. Based on QNAP's arch/arm/mach-rtk119x/driver/rtk_watchdog.c code and mach-rtk119x/driver/dc2vo/fpga/include/iso_reg.h register defines. Signed-off-by: Andreas Färber Reviewed-by: Guenter Roeck

Re: [PATCH v2 3/3] arm64: dts: realtek: Add watchdog node for RTD1295

2017-09-10 Thread Guenter Roeck
On 09/04/2017 04:16 PM, Andreas Färber wrote: Add the watchdog node to the RTD1295 Device Tree. Acked-by: Rob Herring Signed-off-by: Andreas Färber Acked-by: Guenter Roeck --- Depends on the pending clock nodes patch. v1 -> v2: Unchanged arch/arm64/boot/dts/realtek/rtd1295.dts

[PATCH 02/10] staging: rtl8723bs: Add spaces around '+', '|', '*'

2017-09-10 Thread Harsha Sharma
Use one space around most binary operators Signed-off-by: Harsha Sharma --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c inde

Re: [PATCH v6] staging: pi433: Fixes minor typo errors

2017-09-10 Thread Greg KH
On Fri, Sep 08, 2017 at 11:18:08PM +0530, Harsha Sharma wrote: > Hello, > I have tried to follow above given instructions but please correct me if I am > wrong somewhere. What "above given instructions"? And please fix your email client to not send html email, it is getting rejected by the mailin

Re: [PATCH 1/2] staging: typec: tcpm: Validate source and sink caps

2017-09-10 Thread Greg Kroah-Hartman
On Sat, Sep 09, 2017 at 09:54:42AM -0700, Guenter Roeck wrote: > On 09/08/2017 12:13 PM, Greg Kroah-Hartman wrote: > > On Fri, Sep 08, 2017 at 10:29:52AM -0700, Badhri Jagan Sridharan wrote: > > > On Fri, Sep 8, 2017 at 2:45 AM, Greg Kroah-Hartman > > > wrote: > > > > On Thu, Sep 07, 2017 at 06:22

Re: [PATCH 1/2] iio: ad_sigma_delta: Implement a dedicated reset function

2017-09-10 Thread Jonathan Cameron
On Tue, 5 Sep 2017 14:16:42 +0200 Lars-Peter Clausen wrote: > On 09/05/2017 02:14 PM, Dragos Bogdan wrote: > > Since most of the SD ADCs have the option of reseting the serial > > interface by sending a number of SCLKs with CS = 0 and DIN = 1, > > a dedicated function that can do this is usefull.

Re: [PATCH 2/2] iio: ad7793: Fix the serial interface reset

2017-09-10 Thread Jonathan Cameron
On Tue, 5 Sep 2017 14:17:21 +0200 Lars-Peter Clausen wrote: > On 09/05/2017 02:16 PM, Dragos Bogdan wrote: > > The serial interface can be reset by writing 32 consecutive 1s to the > > device. > > 'ret' was initialized correctly but its value was overwritten when > > ad7793_check_platform_data()

Re: [PATCH v5] iio: accel: mma8452: improvements to handle multiple events

2017-09-10 Thread Jonathan Cameron
On Sun, 10 Sep 2017 16:00:35 +0200 Martin Kepplinger wrote: > Am 10. September 2017 15:44:24 MESZ schrieb Jonathan Cameron > : > >On Mon, 4 Sep 2017 23:06:37 -0400 > >harinath Nampally wrote: > > > >> > I agree with your understanding. It's a rising threshold, just > >that the input > >>

Re: [PATCH] iio: adc: dln2-adc: initialize local struct before using it

2017-09-10 Thread Jonathan Cameron
On Sun, 10 Sep 2017 14:45:01 +0200 Martin Kepplinger wrote: > struct data is defined and declared locally. Initiliazation has to be done > manually, so let's add that. > > Signed-off-by: Martin Kepplinger > --- > > This is more of a question actually! Did you have in mind that data is > not in

[PATCH 2/2] x86: Fix off-by-one error in loop termination.

2017-09-10 Thread Sean Fu
An off-by-one error in loop terminantion conditions in create_setup_data_nodes will lead to memory leak when create_setup_data_node return error. Signed-off-by: Sean Fu --- arch/x86/kernel/ksysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/ksysfs.c b/arc

Re: [PATCH 8/9] arm64: enable KEXEC_FILE config

2017-09-10 Thread kbuild test robot
-support/20170910-143930 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core config: arm64-allmodconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests

[PATCH v2 1/1] scripts/checkpatch.pl: avoid false warning missing break

2017-09-10 Thread Heinrich Schuchardt
void foo(int a) switch (a) { case 'h': fun1(); exit(1); default: } creates a warning Possible switch case/default not preceded by break or fallthrough comment exit( should be treated like return. Signed-off-by: Heinrich Schuchardt --- v2:

Re: [PATCH v6] iio: accel: mma8452: improvements to handle multiple events

2017-09-10 Thread Jonathan Cameron
On Sun, 10 Sep 2017 08:36:43 +0200 Martin Kepplinger wrote: > On 2017-09-09 21:56, Harinath Nampally wrote: > > This driver supports multiple devices like mma8653, > > mma8652, mma8452, mma8453 and fxls8471. Almost all > > these devices have more than one event. > > > > Current d

[PATCH] x86/mm/64: Fix an incorrect warning with CONFIG_DEBUG_VM=y, !PCID

2017-09-10 Thread Andy Lutomirski
I've been staring at the word PCID too long. Fixes: f13c8e8c58ba ("x86/mm: Reinitialize TLB state on hotplug and resume") Reported-by: Dan Carpenter Signed-off-by: Andy Lutomirski --- arch/x86/mm/tlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/mm/tlb.c b/arch/

Re: [PATCH] iio: stm32: fix adc/trigger link error

2017-09-10 Thread Jonathan Cameron
On Wed, 6 Sep 2017 18:16:33 +0200 Fabrice Gasnier wrote: > On 09/06/2017 02:56 PM, Arnd Bergmann wrote: > > The ADC driver can trigger on either the timer or the lptim > > trigger, but it only uses a Kconfig 'select' statement > > to ensure that the first of the two is present. When the lptim > >

dtc: imx6 warnings on unit address format errors

2017-09-10 Thread Enrico Weigelt, metux IT consult
Hi folks, I'm getting lots of warnings from dtc about unit address format errors: For example in imx6q.dtsi: ocram: sram@0090 { The node name's address part has leading zeros which dtc doesn't like. It doesn't seem to have a big influence (yet ?), but I'd guess this warning is there

Re: iov_iter_pipe warning.

2017-09-10 Thread Dave Jones
On Sun, Sep 10, 2017 at 03:57:21AM +0100, Al Viro wrote: > On Sat, Sep 09, 2017 at 09:07:56PM -0400, Dave Jones wrote: > > > With this in place, I'm still seeing -EBUSY from > > invalidate_inode_pages2_range > > which doesn't end well... > > Different issue, and I'm not sure why that WARN

Re: dtc: imx6 warnings on unit address format errors

2017-09-10 Thread Fabio Estevam
On Sun, Sep 10, 2017 at 1:06 PM, Enrico Weigelt, metux IT consult wrote: > Hi folks, > > > I'm getting lots of warnings from dtc about unit address format errors: > > For example in imx6q.dtsi: > > ocram: sram@0090 { > > The node name's address part has leading zeros which dtc doesn't lik

Re: [PATCH v6] iio: accel: mma8452: improvements to handle multiple events

2017-09-10 Thread harinath Nampally
> I stripped the version change stuff from the commit message - they > should have been below the --- Useful during review, but generally > not worth retaining once we have accepted it. I didn't know that, thanks for letting me know. Next time I will keep that in mind. Thanks, Hari On Sun, Sep

[PATCH] f2fs-tools: move_curseg_info only if check_curseg_offset fails

2017-09-10 Thread Yunlong Song
Current design will lose recovery process when check_curseg_offset is OK. Signed-off-by: Yunlong Song --- fsck/fsck.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fsck/fsck.c b/fsck/fsck.c index cb341ba..56a47be 100644 --- a/fsck/fsck.c +++ b/fsck/fsck.c @@ -2026,9

Re: [bisected] Re: Module removal-related regression?

2017-09-10 Thread Dmitry Torokhov
On Sun, Sep 10, 2017 at 12:03:38AM +0200, Jakub Kicinski wrote: > On Sat, 09 Sep 2017 13:59:25 -0700, Dmitry Torokhov wrote: > > On September 9, 2017 1:17:26 PM PDT, Jakub Kicinski wrote: > > >On Sat, 9 Sep 2017 12:55:51 -0700, Dmitry Torokhov wrote: > > >> On Sat, Sep 9, 2017 at 12:27 PM, Jakub

Re: [PATCH v2 2/3] watchdog: Add Realtek RTD1295

2017-09-10 Thread Andreas Färber
Am 10.09.2017 um 17:17 schrieb Guenter Roeck: > On 09/04/2017 04:16 PM, Andreas Färber wrote: >> Add a watchdog driver for the Realtek RTD1295 SoC. >> >> Based on QNAP's arch/arm/mach-rtk119x/driver/rtk_watchdog.c code and >> mach-rtk119x/driver/dc2vo/fpga/include/iso_reg.h register defines. >> >>

Re: [RFC PATCH 0/3] kbuild: generate intermediate C files instead of copying _shipped files

2017-09-10 Thread Linus Torvalds
On Sun, Sep 10, 2017 at 6:58 AM, Masahiro Yamada wrote: > > "is_reserved_word()" sounds like a boolean function > that returns 1 or 0. > Maybe, the choice of the function name was not nice. Yeah, not great name. That's the old name, though - I didn't change that part, I just changed how it used t

Re: [PATCH v6] iio: accel: mma8452: improvements to handle multiple events

2017-09-10 Thread harinath Nampally
> Alright, I didn't test it but I kind of like it now. The one minor > naming issue I had pointed out before is mentioned below. But if that's > no issue for Jon: > Reviewed-by: Martin Kepplinger Martin, Thanks a lot for the review. > btw, Harianath: Would you point me to the imx6ul eval board yo

Announce loop-AES-v3.7l file/swap crypto package

2017-09-10 Thread Jari Ruusu
loop-AES changes since previous release: - Worked around kernel interface changes on 4.13 kernels. - Added second util-linux patch to work around gpg 2 pinentry-mode bug. bzip2 compressed tarball is here: http://loop-aes.sourceforge.net/loop-AES/loop-AES-v3.7l.tar.bz2 md5sum e77d0b5092d6

Re: [lkp-robot] [sched/fair] 6d46bd3d97: netperf.Throughput_tps -11.3% regression

2017-09-10 Thread Joel Fernandes
Hi, On Sun, Sep 10, 2017 at 6:40 AM, kernel test robot wrote: > > Greeting, > > FYI, we noticed a -11.3% regression of netperf.Throughput_tps due to commit: > > > commit: 6d46bd3d970382b83554b56a34f231d5d1dd ("sched/fair: Improve the > behavior of sync flag") > url: > https://github.com/0da

[PATCH] sched/fair.c: fix nuisance kernel-doc warning

2017-09-10 Thread Randy Dunlap
From: Randy Dunlap Fix kernel-doc warning ('*' in Sphinx doc means "emphasis"): ../kernel/sched/fair.c:7584: WARNING: Inline emphasis start-string without end-string. Signed-off-by: Randy Dunlap --- kernel/sched/fair.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- lnx-413-rc2

kernel/cred.o: warning: objtool: abort_creds()+0x11c: unreachable instruction

2017-09-10 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4dfc2788033d30dfccfd4268e06dd73ce2c654ed commit: 39358a033b2e4432052265c1fa0f36f572d8cfb5 objtool, x86: Add facility for asm code to provide unwind hints date: 8 weeks ago config: x86_64-randconfig-v0-0910

[PATCH 03/10] staging: rtl8723bs: Add spaces around '?', '==', '||', '!='

2017-09-10 Thread Harsha Sharma
Use spaces around most binary operators Signed-off-by: Harsha Sharma --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c index 1

[PATCH 04/10] staging: rtl8723bs: Remove unnecessary spaces at the start of line

2017-09-10 Thread Harsha Sharma
No spaces at the start of a line Signed-off-by: Harsha Sharma --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c index 5ceccd7..97ff3ab 1006

[PATCH 05/10] staging: rtl8723bs: Add space between concatenated strings

2017-09-10 Thread Harsha Sharma
Use spaces between concatenated strings Signed-off-by: Harsha Sharma --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 50 ++--- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep

[PATCH 06/10] staging: rtl8723bs: Add space after ','

2017-09-10 Thread Harsha Sharma
Space required after ',' Signed-off-by: Harsha Sharma --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c index b320df8..ecb01cf

[PATCH 07/10] staging: rtl8723bs: Removed unneccesary space

2017-09-10 Thread Harsha Sharma
Remove space between function name and open parenthesis '(' Signed-off-by: Harsha Sharma --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_in

  1   2   3   >