Re: [RFC PATCH] initramfs: finish fput() before accessing any binary from initramfs

2017-01-17 Thread Tero Kristo
On 17/01/17 13:14, Lokesh Vutla wrote: commit 4a9d4b024a31 ("switch fput to task_work_add") implements a schedule_work() for completing fput(), but did not guarantee calling __fput() after unpacking initramfs. Because of this, there is a possibility that during boot a driver can see ETXTBSY when

Re: [PATCH 2/3] Make static usermode helper binaries constant

2017-01-17 Thread Jeff Layton
On Tue, 2017-01-17 at 16:56 +0100, Greg KH wrote: > On Tue, Jan 17, 2017 at 10:45:45AM -0500, Jeff Layton wrote: > > On Mon, 2017-01-16 at 17:50 +0100, Greg KH wrote: > > > From: Greg Kroah-Hartman > > > > > > There are a number of usermode helper binaries that are

[PATCH 05/10] perf script: Also allow forcing reading of non-root owned files by root

2017-01-17 Thread Arnaldo Carvalho de Melo
From: Yannick Brosseau In 2059fc7a5a9e ("perf symbols: Allow forcing reading of non-root owned files by root") 'perf report' was added the option of forcing reading of non-root owned symbol file. This add the same behavior for perf script. Reported-by: Mark Drayton

[PATCH 04/10] perf script: Fix man page about --dump-raw-trace option

2017-01-17 Thread Arnaldo Carvalho de Melo
From: Michael Petlan The "--dump-raw-script" is not a valid option, replace it with the valid one, "--dump-raw-trace" Signed-off-by: Michael Petlan Cc: Ingo Molnar Cc: Thomas Gleixner Fixes: 133dc4c39c57 ("perf:

[GIT PULL 00/10] perf/core improvements and fixes

2017-01-17 Thread Arnaldo Carvalho de Melo
l text area (2017-01-14 08:38:05 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-4.11-20170117 for you to fetch changes up to d94386f28abad0c5879f0760712e34e71f88a7da: perf evlist: Fix typo in deliver_

[PATCH 10/10] perf evlist: Fix typo in deliver_sample()

2017-01-17 Thread Arnaldo Carvalho de Melo
From: Soramichi AKIYAMA This patch fixes a typo: s/delievery/delivery/ Signed-off-by: Soramichi Akiyama Cc: Alexander Shishkin Cc: Peter Zijlstra Link:

Re: [PATCH v3 2/2] tpm: enhance TPM 2.0 PCR extend to support multiple banks

2017-01-17 Thread Jarkko Sakkinen
On Tue, Jan 17, 2017 at 01:23:44PM +0530, Nayna wrote: > > > On 01/12/2017 11:50 PM, Jarkko Sakkinen wrote: > > On Thu, Jan 12, 2017 at 11:58:10AM -0500, Nayna Jain wrote: > > > The current TPM 2.0 device driver extends only the SHA1 PCR bank > > > but the TCG Specification[1] recommends

i386 mm: Is the BUILD_BUG() macro broken?

2017-01-17 Thread Delien, Robert
Hi, I am building Kernel 4.9.4 i386_defconfig and I notice a lot of (unconditional) use of the macro HPAGE_PMD_NR: In mm/huge_mm.h: ... #define HPAGE_PMD_ORDER (HPAGE_PMD_SHIFT-PAGE_SHIFT) #define HPAGE_PMD_NR (1<

[PATCH 7/8] drm: mali-dp: fix Lx_CONTROL register fields clobber

2017-01-17 Thread Liviu Dudau
From: Mihail Atanassov When updating the rotation fields, one of the assignments zeroes out the rest of the register fields, which include settings for chroma siting, inverse gamma, AMBA AXI caching, and alpha blending. Signed-off-by: Mihail Atanassov

[PATCH 3/8] drm: mali-dp: Check more use cases in the plane's ->atomic_check()

2017-01-17 Thread Liviu Dudau
Mali DP's plane ->atomic_check() only checks for the new state submitting frame buffers with supported pixel formats and if there is enough rotation memory for rotated planes. Add a call to drm_plane_helper_check_state() to add additional checks for plane state validity and clipping issues.

[PATCH 1/8] drm/arm/malidp: Fix possible dereference of NULL

2017-01-17 Thread Liviu Dudau
From: Shailendra Verma There is possible deference of NULL pointer on return of malidp_duplicate_plane_state() if kmalloc fails. Check the returned kmalloc pointer before continuing. Signed-off-by: Shailendra Verma [cleaned up the code and

Re: [PATCH v2 01/10] ASoC: sun4i-i2s: Increase DMA max burst to 8

2017-01-17 Thread Maxime Ripard
On Tue, Jan 17, 2017 at 03:02:21PM +0100, Mylène Josserand wrote: > As done previously for sun4i-codec, the DMA maxburst of 4 > is not supported by every SoCs so the DMA controller engine > returns "unsupported value". > > As a maxburst of 8 is supported by all variants, this patch > increases it

Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-01-17 Thread Thomas Gleixner
On Fri, 6 Jan 2017, Vikas Shivappa wrote: > Cqm(cache quality monitoring) is part of Intel RDT(resource director > technology) which enables monitoring and controlling of processor shared > resources via MSR interface. We know that already. No need for advertising this over and over. > Below are

[PATCH 1/2] perf/core: Make cgroup switch visit only cpuctxs with cgroup events

2017-01-17 Thread David Carrillo-Cisneros
v3: This is a resend of ("perf/core: only check cpuctx with cgroup events during cgroup switch") with updated changelog. v2: Fix build when no CONFIG_CGROUP_PERF This patch follows from a conversation in CQM/CMT's last series about speeding up the context switch for cgroup events:

[PATCH 07/13] x86/microcode: Decrease CPUID use

2017-01-17 Thread Borislav Petkov
From: Borislav Petkov Get CPUID(1).EAX value once per CPU and propagate value into the callers instead of conveniently calling it every time. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/microcode/amd.c | 52 +---

[PATCH 0/2] Optimize cgroup ctx switch and remove cpuctx->unique_pmu

2017-01-17 Thread David Carrillo-Cisneros
First patch is a resend of ("perf/core: Make cgroup switch visit only cpuctxs with cgroup events") with updated change log. Second patch cleans up the now unused cpuctx->unique_pmu. David Carrillo-Cisneros (2): perf/core: Make cgroup switch visit only cpuctxs with cgroup events perf/core:

[PATCH 10/13] x86/microcode/AMD: Check patch level only on the BSP

2017-01-17 Thread Borislav Petkov
From: Borislav Petkov Check final patch levels for AMD only on the BSP. This way, we decide early and only once whether to continue loading or to leave the loader disabled on such systems. Simplify a lot. Signed-off-by: Borislav Petkov ---

[PATCH 11/13] x86/microcode/AMD: Unify load_ucode_amd_ap()

2017-01-17 Thread Borislav Petkov
From: Borislav Petkov Use a version for both bitness by adding a helper which does the actual container finding and parsing which can be used on any CPU - BSP or AP. Streamlines the paths more. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/microcode/amd.c

[PATCH 2/2] perf/core: Remove perf_cpu_context::unique_pmu

2017-01-17 Thread David Carrillo-Cisneros
cpuctx->unique_pmu was originally introduced as a way to identify cpuctxs with shared pmus in order to avoid visiting the same cpuctx more than once in a for_each_pmu loop. cpuctx->unique_pmu == cpuctx->pmu in non-software task contexts since they have only one pmu per cpuctx. Since

Re: random: /dev/random often returns short reads

2017-01-17 Thread Theodore Ts'o
On Tue, Jan 17, 2017 at 09:21:31AM +0100, Denys Vlasenko wrote: > > If someone wants to send me a patch, I'll happily take a look at it, > > Will something along these lines be accepted? The problem is that this won't work. In the cases that we're talking about, the entropy counter in the

Re: [PATCHv2] firmware: Correct handling of fw_state_wait_timeout() return value

2017-01-17 Thread Jakub Kicinski
On Tue, Jan 17, 2017 at 9:30 AM, Luis R. Rodriguez wrote: > On Tue, Jan 17, 2017 at 08:30:37AM -0800, Jakub Kicinski wrote: >> On Tue, Jan 17, 2017 at 8:21 AM, Luis R. Rodriguez wrote: >> >>> >> >>> retval = fw_state_wait_timeout(>fw_st, timeout); >>

Re: [PATCH v7 2/3] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-17 Thread Krzysztof Kozlowski
On Tue, Jan 17, 2017 at 10:06:27AM -0800, Dmitry Torokhov wrote: > On Tue, Jan 17, 2017 at 9:20 AM, Krzysztof Kozlowski wrote: > > On Tue, Jan 17, 2017 at 02:54:38PM +0900, Jaechul Lee wrote: > >> This patch adds support for the TM2 touch key and led > >> functionality. > >> > >>

Re: [PATCH v2 14/14] ARM: dts: da850-lcdk: enable the SATA node

2017-01-17 Thread David Lechner
On 01/17/2017 06:26 AM, Bartosz Golaszewski wrote: Enable the SATA node for da850-lcdk. We omit the pinctrl property on purpose - the muxed SATA pins are not hooked up to anything SATA-related on the lcdk. The REFCLKN/P rate on the board is 100MHz, so we need a multiplier of 15 for 1.5GHz PLL

[PATCH v4 1/3] powerpc/reloc32: fix corrupted modversion CRCs

2017-01-17 Thread Ard Biesheuvel
Commit 0e0ed6406e61 ("powerpc/modules: Module CRC relocation fix causes perf issues") fixed an issue with relocatable PIE kernels in a way that essentially reintroduced the issue again for 32-bit builds. Since the chosen approach does is not applicable to 32-bit, fix the issue by updating the

Re: [PATCH] gcc-plugins: Add structleak for more stack initialization

2017-01-17 Thread PaX Team
On 17 Jan 2017 at 18:07, Dave P Martin wrote: > On Tue, Jan 17, 2017 at 06:09:49PM +0100, PaX Team wrote: > > On 17 Jan 2017 at 10:42, Dave P Martin wrote: > > > > > This can be read with the interpretation you suggest, but the wording > > > doesn't seem rock-solid. For the kernel, I guess it's

Re: [PATCH v2 4/8] ARM: dts: armada-xp-linksys-mamba: Utilize new DSA binding

2017-01-17 Thread Andrew Lunn
On Thu, Jan 05, 2017 at 11:29:53AM -0800, Florian Fainelli wrote: > Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: > Document new binding"). The legacy binding node is kept included, but is > marked > disabled. > > Signed-off-by: Florian Fainelli

Re: Regression on Dell XPS13

2017-01-17 Thread Thorsten Leemhuis
Lo! On 17.01.2017 15:34, Paul Menzel wrote: > […] >>> Paul, are you still having this issue? >> Don't know about Paul, but I did a quick test with rc4 on my machine and >> the issue is still there :-/ > I didn’t test Linux 4.10-rc4 yet, but I completed the bisection. > > ``` >

Re: [PATCH 8/8] Revert "ext4: fix wrong gfp type under transaction"

2017-01-17 Thread Jan Kara
On Tue 17-01-17 17:16:19, Michal Hocko wrote: > > > But before going to play with that I am really wondering whether we need > > > all this with no journal at all. AFAIU what Jack told me it is the > > > journal lock(s) which is the biggest problem from the reclaim recursion > > > point of view.

Re: [PATCH v2 6/8] ARM: dts: kirkwood-linksys-viper: Utilize new DSA binding

2017-01-17 Thread Andrew Lunn
On Thu, Jan 05, 2017 at 11:29:55AM -0800, Florian Fainelli wrote: > Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: > Document new binding"). The legacy binding node is kept included, but is > marked > disabled. > > Signed-off-by: Florian Fainelli

Re: [PATCH] gcc-plugins: Add structleak for more stack initialization

2017-01-17 Thread Kees Cook
On Mon, Jan 16, 2017 at 3:54 AM, Mark Rutland wrote: > Hi, > > [adding Dave, so retaining full context below] > > On Fri, Jan 13, 2017 at 02:02:56PM -0800, Kees Cook wrote: >> This plugin detects any structures that contain __user attributes and >> makes sure it is being

Re: [PATCH v7 2/3] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-17 Thread Dmitry Torokhov
On Tue, Jan 17, 2017 at 9:20 AM, Krzysztof Kozlowski wrote: > On Tue, Jan 17, 2017 at 02:54:38PM +0900, Jaechul Lee wrote: >> This patch adds support for the TM2 touch key and led >> functionality. >> >> The driver interfaces with userspace through an input device and >> reports

Re: [PATCH 02/13] x86/microcode: Use own MSR accessors

2017-01-17 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Borislav Petkov wrote: > diff --git a/arch/x86/include/asm/microcode.h > b/arch/x86/include/asm/microcode.h > index 38711df3bcb5..fbecea6e46e2 100644 > --- a/arch/x86/include/asm/microcode.h > +++ b/arch/x86/include/asm/microcode.h > @@ -5,20 +5,33 @@ > #include > #include

Re: [PATCH 09/12] x86/cqm: Add RMID reuse

2017-01-17 Thread Thomas Gleixner
On Fri, 6 Jan 2017, Vikas Shivappa wrote: > +static void cqm_schedule_rmidwork(int domain); This forward declaration is required because all callers of that function are coming _after_ the function implementation, right? > +static inline bool is_first_cqmwork(int domain) > +{ > + return

Re: [PATCH] ASoC: sunxi: Add bindings for sun8i to SPDIF

2017-01-17 Thread Mark Brown
On Thu, Jan 12, 2017 at 06:33:43PM +0100, codekip...@gmail.com wrote: > From: Marcus Cooper > > The H3 SoC uses the same SPDIF block as found in earlier SoCs, but the > transmit fifo is at a different address. > > Signed-off-by: Marcus Cooper > --- >

Re: [PATCH 04/17] spi: fsl: Use kmalloc_array() in of_fsl_spi_get_chipselects()

2017-01-17 Thread Mark Brown
On Fri, Jan 13, 2017 at 06:12:23PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 13 Jan 2017 13:37:25 +0100 > > A multiplication for the size determination of a memory allocation > indicated that an array data structure should be processed. >

[PATCH v3 4/8] ARM: dts: armada-xp-linksys-mamba: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Tested-by: Andrew Lunn Signed-off-by: Florian Fainelli ---

Applied "spi/ppc4xx: Use kcalloc() in spi_ppc4xx_of_probe()" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/ppc4xx: Use kcalloc() in spi_ppc4xx_of_probe() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Applied "ASoC: rt5659: fix platform_no_drv_owner.cocci warnings" to the asoc tree

2017-01-17 Thread Mark Brown
The patch ASoC: rt5659: fix platform_no_drv_owner.cocci warnings has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "spi/topcliff-pch: Delete an error message for a failed memory allocation in pch_spi_set_tx()" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/topcliff-pch: Delete an error message for a failed memory allocation in pch_spi_set_tx() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree

Re: [PATCH v2 11/14] sata: ahci-da850: un-hardcode the MPY bits

2017-01-17 Thread David Lechner
On 01/17/2017 06:26 AM, Bartosz Golaszewski wrote: In order to make the MPY bits configurable, try to obtain the refclk and calculate the required multiplier from its rate. If we fail to get the clock, fall back to the default value which keeps backwards compatibility. It seems like it would

Re: [PATCH 03/13] x86/microcode/AMD: Clean up find_equiv_id()

2017-01-17 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Borislav Petkov wrote: > + for (; equiv_table && equiv_table->installed_cpu; equiv_table++) > + if (sig == equiv_table->installed_cpu) > + return equiv_table->equiv_cpu; This would be perfect if you just kept the braces around the for loop.

Re: [PATCH] Set elsiocb contexts to NULL after freeing it

2017-01-17 Thread Martin K. Petersen
> "Johannes" == Johannes Thumshirn writes: Johannes> Dick, James, any comments? I'd really like to get this in soon Johannes> as it solves customer issues. Ping? -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] pciehp: Fix race condition handling surprise link-down

2017-01-17 Thread Raj, Ashok
Hi Bjorn Sorry to bug you, didn't hear from you after i added the lock for consistency to address the feedback. Let me know if there is anymore changes you like to see. Cheers, Ashok On Fri, Dec 09, 2016 at 01:06:04PM -0800, Ashok Raj wrote: > Changes from v1: > Address comments from

Re: [PATCH v3 2/2] hv_utils: implement Hyper-V PTP source

2017-01-17 Thread Vitaly Kuznetsov
Stephen Hemminger writes: > On Tue, 17 Jan 2017 16:27:19 +0100 > Vitaly Kuznetsov wrote: > >> With TimeSync version 4 protocol support we started updating system time >> continuously through the whole lifetime of Hyper-V guests. Every 5 seconds

[PATCH 13/13] x86/microcode/AMD: Remove AP scanning optimization

2017-01-17 Thread Borislav Petkov
From: Borislav Petkov The idea was to not scan the microcode blob on each AP (Application Processor) during boot and thus save us some milliseconds. However, on architectures where the microcode engine is shared between threads, this doesn't work. Here's why: The microcode on

[PATCH 05/13] x86/microcode/AMD: Extend the container struct

2017-01-17 Thread Borislav Petkov
From: Borislav Petkov Make it into a container descriptor which is being passed around and stores important info like the matching container and the patch for the current CPU. Later patches will use this and thus get rid of a double container parsing. Signed-off-by: Borislav

[PATCH 12/13] x86/microcode/AMD: Simplify saving from initrd

2017-01-17 Thread Borislav Petkov
From: Borislav Petkov No need to use the previously stashed info in the container - simply go ahead and parse the initrd once more. It simplifies and streamlines the code a whole lot. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/microcode/amd.c | 43

[PATCH 09/13] x86/microcode/AMD: Use find_microcode_in_initrd()

2017-01-17 Thread Borislav Petkov
From: Borislav Petkov Use the generic helper instead of semi-open-coding the procedure. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/microcode/amd.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git

[PATCH 04/13] x86/microcode/AMD: Shorten function parameter's name

2017-01-17 Thread Borislav Petkov
From: Borislav Petkov The whole driver calls this "mc", do that here too. No functionality change. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/microcode/amd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 00/13] x86/microcode: 4.11 queue

2017-01-17 Thread Borislav Petkov
From: Borislav Petkov Hi, so this is more of a lessons-learned pile after the rewriting of the whole patch loading method and not caching addresses. It largely simplifies the loader - just look at the diffstat - without any functionality loss (I hope :-)). The driver is also very

[PATCH 03/13] x86/microcode/AMD: Clean up find_equiv_id()

2017-01-17 Thread Borislav Petkov
From: Borislav Petkov No need to have it marked "inline" - let gcc decide. Also, shorten the argument name and simplify while-test. No functionality change. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/microcode/amd.c | 11 +-- 1 file changed, 5

Re: [RFC 0/8] Provide the EL1 physical timer to the VM

2017-01-17 Thread Jintack Lim
On Tue, Jan 17, 2017 at 12:09 PM, Marc Zyngier wrote: > On 26/12/16 17:11, Jintack Lim wrote: >> The ARM architecture defines the EL1 physical timer and the virtual >> timer, and it is reasonable for an OS to expect to be able to access >> both. However, the current KVM

Re: [PATCH] gcc-plugins: Add structleak for more stack initialization

2017-01-17 Thread Mark Rutland
On Mon, Jan 16, 2017 at 08:30:29PM +0100, PaX Team wrote: > On 16 Jan 2017 at 15:24, Mark Rutland wrote: > > > To me, it seems that the __user annotation can only be an indicator of > > an issue by chance. We have structures with __user pointers in structs > > that will never be copied to

Re: [PATCH 1/4] mm, page_alloc: Split buffered_rmqueue

2017-01-17 Thread Jesper Dangaard Brouer
On Tue, 17 Jan 2017 09:29:51 + Mel Gorman wrote: > +/* Lock and remove page from the per-cpu list */ > +static struct page *rmqueue_pcplist(struct zone *preferred_zone, > + struct zone *zone, unsigned int order, > + gfp_t

Re: [PATCH 45/46] selinux: Use common error handling code in sidtab_insert()

2017-01-17 Thread Casey Schaufler
On 1/15/2017 7:45 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 15 Jan 2017 13:45:45 +0100 > > Add a jump target so that a bit of exception handling can be better reused > at the end of this function. > > Signed-off-by: Markus Elfring

Re: [PATCH V2 2/4] efi/x86: move efi_print_memmap to drivers/firmware/efi/memmap.c

2017-01-17 Thread Ard Biesheuvel
On 16 January 2017 at 02:45, Dave Young wrote: > Signed-off-by: Dave Young Acked-by: Ard Biesheuvel > --- > v1->v2: move efi_print_memmap declaration to general header file > arch/x86/include/asm/efi.h|1 - >

[PATCH v3 6/8] ARM: dts: kirkwood-linksys-viper: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Reviewed-by: Andrew Lunn Signed-off-by: Florian Fainelli ---

[PATCH v3 7/8] ARM: dts: kirkwood-mv88f6281gtw-ge: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Reviewed-by: Andrew Lunn Signed-off-by: Florian Fainelli ---

[PATCH v3 8/8] ARM: dts: kirkwood-rd88f6281: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/kirkwood-rd88f6281-a.dts | 9 +++---

Re: [PATCH 1/3] Input: add STMicroelectronics FingerTip touchscreen driver

2017-01-17 Thread Krzysztof Kozlowski
On Tue, Jan 17, 2017 at 10:54:39PM +0900, Andi Shyti wrote: > Add binding for the STMicroelectronics FingerTip (stmfts) > touchscreen driver. > > Signed-off-by: Andi Shyti > --- > .../bindings/input/touchscreen/st,stmfts.txt | 43 > ++ > 1 file

[PATCH] Fix coding style errors "open brace go on the same line"

2017-01-17 Thread Adrien Descamps
Open braces for enum, union and struct go on the same line. Signed-off-by: Adrien Descamps Reviewed-by: Eric Anholt --- .../interface/vchi/connections/connection.h| 3 +-- .../interface/vchi/message_drivers/message.h | 9

Re: [PATCH] bfa: fix wrongly initialized variable in bfad_im_bsg_els_ct_request()

2017-01-17 Thread Martin K. Petersen
> "Johannes" == Johannes Thumshirn writes: Johannes> Commit 01e0e15c8b3b ("scsi: don't use fc_bsg_job::request and Johannes> fc_bsg_job::reply directly") introduced a typo, which causes Johannes> that the bsg_request variable in bfad_im_bsg_els_ct_request() Johannes> is

Re: [PATCH v3 10/30] perf clang: Add builtin clang support ant test case

2017-01-17 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 17, 2017 at 10:27:39AM -0800, Alexei Starovoitov escreveu: > On Tue, Jan 17, 2017 at 5:38 AM, Arnaldo Carvalho de Melo > wrote: > > [acme@jouet linux]$ ls -lah /tmp/perf > > -rwxr-xr-x. 1 acme acme 4.4M Jan 17 10:29 /tmp/perf > > [acme@jouet linux]$ size /tmp/perf > >

Re: [PATCH 02/13] x86/microcode: Use own MSR accessors

2017-01-17 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Borislav Petkov wrote: > On Tue, Jan 17, 2017 at 06:51:06PM +0100, Thomas Gleixner wrote: > > That would get rid of all the extra microcode specific MSR accessors which > > are just yet another copy of stuff in msr.h. > > Well, I did think about reusing those but last time I

[PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-01-17 Thread Akshay Bhat
This patch adds support for the Holt HI-311x CAN controller. The HI311x CAN controller is capable of transmitting and receiving standard data frames, extended data frames and remote frames. The HI311x interfaces with the host over SPI. Datasheet: www.holtic.com/documents/371-hi-3110_v-rev-jpdf.do

Re: [virtio-dev] Re: [PATCH v6 kernel 2/5] virtio-balloon: define new feature bit and head struct

2017-01-17 Thread Michael S. Tsirkin
On Fri, Jan 13, 2017 at 09:24:22AM +, Li, Liang Z wrote: > > On Wed, Dec 21, 2016 at 02:52:25PM +0800, Liang Li wrote: > > > Add a new feature which supports sending the page information with > > > range array. The current implementation uses PFNs array, which is not > > > very efficient.

[PATCH v2 1/2] can: holt_hi311x: document device tree bindings

2017-01-17 Thread Akshay Bhat
Document the HOLT HI-311x CAN device tree bindings. Signed-off-by: Akshay Bhat Acked-by: Rob Herring --- v1 -> v2: - No changes .../devicetree/bindings/net/can/holt_hi311x.txt| 24 ++ 1 file changed, 24 insertions(+) create mode

Re: [PATCHv2] firmware: Correct handling of fw_state_wait_timeout() return value

2017-01-17 Thread Luis R. Rodriguez
On Tue, Jan 17, 2017 at 08:30:37AM -0800, Jakub Kicinski wrote: > On Tue, Jan 17, 2017 at 8:21 AM, Luis R. Rodriguez wrote: > >>> > >>> retval = fw_state_wait_timeout(>fw_st, timeout); > >>> - if (retval < 0) { > >>> + if (retval == -ETIMEDOUT || retval ==

Re: [PATCH v2 7/8] ARM: dts: kirkwood-mv88f6281gtw-ge: Utilize new DSA binding

2017-01-17 Thread Andrew Lunn
On Thu, Jan 05, 2017 at 11:29:56AM -0800, Florian Fainelli wrote: > Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: > Document new binding"). The legacy binding node is kept included, but is > marked > disabled. > > Signed-off-by: Florian Fainelli

Re: [PATCH] sparc32: mm: srmmu: add __ro_after_init to sparc32_cachetlb_ops structures

2017-01-17 Thread Kees Cook
On Sat, Jan 14, 2017 at 4:31 AM, Bhumika Goyal wrote: > The objects viking_ops, viking_sun4d_smp_ops and smp_cachetlb_ops of > type sparc32_cachetlb_ops are not modified anywhere after getting modified > in the init functions. Inside init their reference is also stored in a >

Re: [PATCH 15/46] selinux: One check and function call less in genfs_read() after error detection

2017-01-17 Thread Casey Schaufler
On 1/17/2017 8:37 AM, SF Markus Elfring wrote: >>> @@ -2015,7 +2015,7 @@ static int genfs_read(struct policydb *p, void *fp) >>> newgenfs = kzalloc(sizeof(*newgenfs), GFP_KERNEL); >>> if (!newgenfs) { >>> rc = -ENOMEM; >>> - goto out;

[PATCH v3 3/8] ARM: dts: armada-388-clearfog: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Acked-by: Russell King Signed-off-by: Florian Fainelli ---

davinci common clock framework (was Re: [PATCH 03/10] devicetree: bindings: add bindings for ahci-da850)

2017-01-17 Thread David Lechner
On 01/17/2017 06:00 AM, Sekhar Nori wrote: On Tuesday 17 January 2017 12:17 AM, David Lechner wrote: On 01/16/2017 08:30 AM, Bartosz Golaszewski wrote: 2017-01-16 13:45 GMT+01:00 Sekhar Nori : On Monday 16 January 2017 03:43 PM, Bartosz Golaszewski wrote: It's true that once

Re: [PATCH v3 10/30] perf clang: Add builtin clang support ant test case

2017-01-17 Thread Alexei Starovoitov
On Tue, Jan 17, 2017 at 5:38 AM, Arnaldo Carvalho de Melo wrote: > > [acme@jouet linux]$ ls -lah /tmp/perf > -rwxr-xr-x. 1 acme acme 4.4M Jan 17 10:29 /tmp/perf > [acme@jouet linux]$ size /tmp/perf >textdata bss dec hex filename > 3954488 622440 23912104

Re: [PATCH 3/3] arm64: dts: exynos: Add stmfts touchscreen node for TM2 and TM2E

2017-01-17 Thread Krzysztof Kozlowski
On Tue, Jan 17, 2017 at 10:54:41PM +0900, Andi Shyti wrote: > TM2 and TM2E devices are provided with a ST-Microelectronics > Finger Tip S device with small differences: > > - screen size > - TM2E uses the stmfts also as a touchkey for "back" and "menu" > > Signed-off-by: Andi Shyti

[PATCH 02/13] x86/microcode: Use own MSR accessors

2017-01-17 Thread Borislav Petkov
From: Borislav Petkov Having tracepoints to the MSR accessors makes them unsuitable for early microcode loading: think 32-bit before paging is enabled and us chasing pointers to test whether a tracepoint is enabled or not. Results in a reliable triple fault. Thus, define microcode

[PATCH 01/13] x86/microcode/intel: Drop stashed AP patch pointer optimization

2017-01-17 Thread Borislav Petkov
From: Borislav Petkov This was meant to save us the scanning of the microcode containter in the initrd since the first AP had already done that but it can also hurt us: Imagine a single hyperthreaded CPU (Intel(R) Atom(TM) CPU N270 for example) which updates the microcode on the

Re: taint/module: Fix problems when out-of-kernel driver defines true or false

2017-01-17 Thread Jessica Yu
+++ Larry Finger [17/01/17 10:08 -0600]: Jessica, What is the status of the patch? VirtualBox has converted to the hotplug state manager, thus their drivers now build, but only if this patch has been applied. Thanks, Larry This fix has already been sitting on modules-next for some time,

Re: [PATCH] tpm/tpm_i2c_infineon: ensure no ongoing commands on shutdown

2017-01-17 Thread Andrey Pronin
On Mon, Jan 16, 2017 at 09:19:19AM -0700, Jason Gunthorpe wrote: > On Fri, Jan 13, 2017 at 04:42:30PM -0800, Andrey Pronin wrote: > > On Fri, Jan 13, 2017 at 05:28:57PM -0700, Jason Gunthorpe wrote: > > > On Fri, Jan 13, 2017 at 04:09:54PM -0800, Andrey Pronin wrote: > > > > Resetting TPM while

Re: [PATCH v2 8/8] ARM: dts: kirkwood-rd88f6281: Utilize new DSA binding

2017-01-17 Thread Andrew Lunn
On Thu, Jan 05, 2017 at 11:29:57AM -0800, Florian Fainelli wrote: > Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: > Document new binding"). The legacy binding node is kept included, but is > marked > disabled. > > Signed-off-by: Florian Fainelli

Re: linux-next 0112 tree breaks fs DAX

2017-01-17 Thread Dave Jiang
On 01/17/2017 09:05 AM, Dave Jiang wrote: > On 01/16/2017 03:45 AM, Stephen Rothwell wrote: >> Hi Xiong, >> >> Just cc'ing Andrew. >> >> On Mon, 16 Jan 2017 17:29:16 +0800 Xiong Zhou wrote: >>> >>> On Fri, Jan 13, 2017 at 06:16:41PM +0800, Xiong Zhou wrote: Hi,

Re: [PATCH v3 1/2] hv_util: switch to using timespec64

2017-01-17 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Vitaly Kuznetsov wrote: > do_settimeofday() is deprecated, use do_settimeofday64() instead. > > Signed-off-by: Vitaly Kuznetsov > Acked-by: John Stultz Acked-by: Thomas Gleixner

[PATCH v3 5/8] ARM: dts: kirkwood-dir665: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Tested-by: Andrew Lunn Signed-off-by: Florian Fainelli ---

[PATCH v3 1/8] ARM: dts: armada-370-rd: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Tested-by: Andrew Lunn Signed-off-by: Florian Fainelli ---

[PATCH v3 2/8] ARM: dts: armada-385-linksys: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Reviewed-by: Andrew Lunn Signed-off-by: Florian Fainelli ---

Re: aacraid: kernel: AAC: Host adapter dead -1 (bisected)

2017-01-17 Thread Arkadiusz Miskiewicz
On Tuesday 17 of January 2017, Dave Carroll wrote: > > Hi. > > > > There is a bug with handling of adaptec raid cards (in my case it is > > Adaptec 3405) where kernel logs hundreds of "AAC: Host adapter dead -1" > > messages. > > > > Bug was reported previously on lkml but there was no progres

[PATCH v3 0/8] ARM: dts: Switch to new DSA binding

2017-01-17 Thread Florian Fainelli
Hi all, This patch series converts the in-tree users to utilize the new (relatively) DSA binding that was introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Changes in v3: - collected tags from Andrew and

Applied "spi/topcliff-pch: Use kcalloc() in pch_spi_handle_dma()" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/topcliff-pch: Use kcalloc() in pch_spi_handle_dma() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

ATENCIÓN

2017-01-17 Thread administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de

Applied "spi/mpc52xx: Combine substrings for two messages" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/mpc52xx: Combine substrings for two messages has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

RE: Regression on Dell XPS13 (was: [char-misc for 4.10-rc4 V2] mei: bus: enable OS version only for SPT and newer)

2017-01-17 Thread Mario.Limonciello
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, January 17, 2017 12:24 PM > To: Limonciello, Mario > Cc: pmen...@molgen.mpg.de; rafael.j.wyso...@intel.com; > li...@leemhuis.info; tomas.wink...@intel.com;

Applied "spi/topcliff-pch: Improve size determinations in pch_spi_probe()" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/topcliff-pch: Improve size determinations in pch_spi_probe() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "spi/topcliff-pch: Combine substrings for four messages" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/topcliff-pch: Combine substrings for four messages has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: spi/ppc4xx: Adjust checks for null pointers in two functions

2017-01-17 Thread SF Markus Elfring
>> From: Markus Elfring >> Date: Fri, 13 Jan 2017 14:56:10 +0100 >> MIME-Version: 1.0 >> Content-Type: text/plain; charset=UTF-8 >> Content-Transfer-Encoding: 8bit > > This is also corrupted. Would you like to explain this information a bit more? The published

[PATCH v4 2/3] powerpc/reloc64: add support for 32-bit CRC pseudo-symbols

2017-01-17 Thread Ard Biesheuvel
In preparation of modifying the core modversions code to emit the CRCs as 32-bit quantities, ensure that 64-bit PowerPC will be able to deal with this when CONFIG_RELOCATABLE=y, in which case the CRCs will be emitted into the final ELF binary as R_PPC64_ADDR32 relocations. Since 32-bit

[PATCH v4 3/3] modversions: treat symbol CRCs as 32 bit quantities on 64 bit archs

2017-01-17 Thread Ard Biesheuvel
The modversion symbol CRCs are emitted as ELF symbols, which allows us to easily populate the kcrctab sections by relying on the linker to associate each kcrctab slot with the correct value. This has a couple of downsides: - Given that the CRCs are treated as memory addresses, we waste 4 bytes

[PATCH v4 0/3] modversions: Fix CRC mangling under CONFIG_RELOCATABLE=y

2017-01-17 Thread Ard Biesheuvel
This series is a followup to the single patch 'modversions: treat symbol CRCs as 32 bit quantities on 64 bit archs', of which three versions have been sent out so far [0][1][2] Given the recent issues regarding modversions, I have added some more people to cc this time. As pointed out by

[PATCH 06/13] x86/microcode/AMD: Rework container parsing

2017-01-17 Thread Borislav Petkov
From: Borislav Petkov It was pretty clumsy before and the whole work of parsing the microcode containers was spread around the functions wrongly. Clean it up so that there's a main scan_containers() function which iterates over the microcode blob and picks apart the containers

Re: [PATCH 08/12] x86/cqm: Add support for monitoring task and cgroup together

2017-01-17 Thread Thomas Gleixner
On Fri, 6 Jan 2017, Vikas Shivappa wrote: > From: Vikas Shivappa > > This patch adds support to monitor a cgroup x and a task p1 > when p1 is part of cgroup x. Since we cannot write two RMIDs during > sched in the driver handles this. Again you explain WHAT not WHY

Re: [PATCH 02/13] x86/microcode: Use own MSR accessors

2017-01-17 Thread Borislav Petkov
On Tue, Jan 17, 2017 at 06:51:06PM +0100, Thomas Gleixner wrote: > That would get rid of all the extra microcode specific MSR accessors which > are just yet another copy of stuff in msr.h. Well, I did think about reusing those but last time I did, they received those tracepoints (apparently,

<    1   2   3   4   5   6   7   8   9   10   >