Re: [PATCH] checkpatch: allow reporting C99 style comments

2019-01-11 Thread Joe Perches
On Fri, 2019-01-11 at 10:07 -0800, Vadim Bendebury wrote: > Joe, > > what are next steps to get this merged Generally, Andrew Morton will pick it up and merge it in the next major release. > - do I have to do anything, Be patient. > is anything still missing? I think not.

Re: [PATCH v2] x86/tools/relocs: fix big section header tables

2019-01-11 Thread Joe Lawrence
On Thu, Nov 29, 2018 at 09:57:50AM -0600, Josh Poimboeuf wrote: > On Thu, Nov 29, 2018 at 04:56:15PM +0100, Artem Savkov wrote: > > In case when the number of entries in the section header table is larger > > then or equal to SHN_LORESERVE the size of the table is held in the sh_size > > member of

[PATCH v2] kbuild: Disable LD_DEAD_CODE_DATA_ELIMINATION with ftrace & GCC <= 4.7

2019-01-11 Thread Paul Burton
When building using GCC 4.7 or older, -ffunction-sections & the -pg flag used by ftrace are incompatible. This causes warnings or build failures (where -Werror applies) such as the following: arch/mips/generic/init.c: error: -ffunction-sections disabled; it makes profiling impossible This

Re: [PATCH v11 2/9] OPP: Add support for parsing the 'opp-level' property

2019-01-11 Thread Stephen Boyd
Quoting Rajendra Nayak (2019-01-09 20:02:02) > Now that the OPP bindings are updated to include an optional > 'opp-level' property, add support to parse it from device tree > and store it as part of dev_pm_opp structure. > Also add and export an helper 'dev_pm_opp_get_level()' that can be > used

Re: [PATCH v11 1/9] dt-bindings: opp: Introduce opp-level bindings

2019-01-11 Thread Stephen Boyd
Quoting Rajendra Nayak (2019-01-09 20:02:01) > Add opp-level as an additional property in the OPP node to describe > the performance level of the device. > > On some SoCs (especially from Qualcomm and MediaTek) this value > is communicated to a remote microprocessor by the CPU, which > then takes

Re: [PATCH v3 0/6] Static calls

2019-01-11 Thread Linus Torvalds
On Fri, Jan 11, 2019 at 7:15 AM Josh Poimboeuf wrote: > > > > > Now, in the int3 handler can you take the faulting RIP and search for it in > > the “static-calls” table, writing the RIP+5 (offset) into R10 (return > > address) and the target into R11. You make the int3 handler to divert the > >

Re: [PATCH] lib/ubsan: default UBSAN_ALIGNMENT to not set

2019-01-11 Thread Andrey Ryabinin
On 12/17/18 6:03 PM, Anders Roxell wrote: > When booting an allmodconfig kernel, there are a lot of false-positives. > With a message like this 'UBSAN: Undefined behaviour in...' with a call > trace that follows. > > Reworked so that when building a allmodconfig kernel that turns > everything

[PATCH] mm: swap: use mem_cgroup_is_root() instead of deferencing css->parent

2019-01-11 Thread Yang Shi
mem_cgroup_is_root() is preferred API to check if memcg is root or not. Use it instead of deferencing css->parent. Cc: Huang Ying Cc: Tim Chen Signed-off-by: Yang Shi --- include/linux/swap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/swap.h

[PATCH] kasan: Remove use after scope bugs detection.

2019-01-11 Thread Andrey Ryabinin
Use after scope bugs detector seems to be almost entirely useless for the linux kernel. It exists over two years, but I've seen only one valid bug so far [1]. And the bug was fixed before it has been reported. There were some other use-after-scope reports, but they were false-positives due to

[PULL REQUEST] i2c for 5.0

2019-01-11 Thread Wolfram Sang
Linus, I2C has one core and one driver bugfix for you. Please pull. Thanks, Wolfram The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c: Linux 5.0-rc1 (2019-01-06 17:08:20 -0800) are available in the Git repository at:

Re: [RESEND PATCH] x86_64: increase stack size for KASAN_EXTRA

2019-01-11 Thread Andrey Ryabinin
On 1/10/19 12:52 AM, Qian Cai wrote: > If the kernel is configured with KASAN_EXTRA, the stack size is > increasted significantly due to enable this option will set > "-fstack-reuse" to "none" in GCC [1]. As the results, it could trigger > stack overrun quite often with 32k stack size compiled

Re: [PATCH] dt-bindings: clock: Convert fixed-clock binding to json-schema

2019-01-11 Thread Stephen Boyd
Quoting Rob Herring (2019-01-11 10:27:48) > On Fri, Jan 11, 2019 at 11:44 AM Stephen Boyd wrote: > > > > Quoting Rob Herring (2019-01-10 14:19:01) > > > Convert the fixed-clock binding to DT schema format using json-schema. > > > > > > > Any pointer to the full schema? > >

Re: [PATCH 2/3] coresight: etm4x: Add support to enable ETMv4.2

2019-01-11 Thread Mathieu Poirier
On Wed, Jan 09, 2019 at 11:16:48PM +0530, Sai Prakash Ranjan wrote: > SDM845 has ETMv4.2 and can use the existing etm4x driver. > But the current etm driver checks only for ETMv4.0 and > errors out for other etm4x versions. This patch adds this > missing support to enable SoC's with ETMv4x to use

Re: [PATCH 1/2] dt-bindings: reset: Add document for Broadcom STB reset controller

2019-01-11 Thread Florian Fainelli
On 1/3/19 2:54 PM, Rob Herring wrote: > On Thu, Jan 3, 2019 at 1:31 PM Florian Fainelli wrote: >> >> On 1/3/19 11:19 AM, Rob Herring wrote: >>> On Thu, Jan 03, 2019 at 10:53:25AM -0800, Florian Fainelli wrote: On 1/3/19 9:41 AM, Rob Herring wrote: > On Thu, Dec 20, 2018 at 05:34:08PM

Re: [PATCH] ARM64: dts: meson-gxbb-odroidc2: Fix usb phy regulator warning

2019-01-11 Thread Kevin Hilman
Anand Moon writes: > Hi Neil, > > On Fri, 11 Jan 2019 at 19:10, Neil Armstrong wrote: >> >> Hi Anand, >> >> On 11/01/2019 10:22, Anand Moon wrote: >> > Add missing vin-supply 5V regulator node on usb_phy nodes needed >> > to power usb bus ports. Override the dr_mode from "host" to "peripheral"

Re: [PATCH 1/3] arm64: dts: qcom: sdm845: Add Coresight support

2019-01-11 Thread Mathieu Poirier
Hi Sai, On Wed, Jan 09, 2019 at 11:16:47PM +0530, Sai Prakash Ranjan wrote: > Add coresight components found on Qualcomm SDM845 SoC. > > Signed-off-by: Sai Prakash Ranjan > --- > .../arm64/boot/dts/qcom/sdm845-coresight.dtsi | 437 ++ > arch/arm64/boot/dts/qcom/sdm845.dtsi

Re: [PATCH] kasan: fix kasan_check_read/write definitions

2019-01-11 Thread Andrey Ryabinin
On 12/11/18 4:34 PM, Arnd Bergmann wrote: > Building little-endian allmodconfig kernels on arm64 started failing > with the generated atomic.h implementation, since we now try to call > kasan helpers from the EFI stub: > > aarch64-linux-gnu-ld: drivers/firmware/efi/libstub/arm-stub.stub.o: in >

RE: [Intel-wired-lan] [PATCH] ixgbe: remove magic constant in ixgbe_reset_hw_82599()

2019-01-11 Thread Bowers, AndrewX
> -Original Message- > From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On > Behalf Of Jiri Kosina > Sent: Wednesday, January 2, 2019 11:21 AM > To: Kirsher, Jeffrey T > Cc: net...@vger.kernel.org; intel-wired-...@lists.osuosl.org; linux- > ker...@vger.kernel.org >

RE: [Intel-wired-lan] [PATCH 3/8] i40e: increase indentation

2019-01-11 Thread Bowers, AndrewX
> -Original Message- > From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On > Behalf Of Julia Lawall > Sent: Sunday, December 30, 2018 7:53 AM > To: Kirsher, Jeffrey T > Cc: intel-wired-...@lists.osuosl.org; kernel-janit...@vger.kernel.org; David > S. Miller ;

Re: [PATCH] page_poison: plays nicely with KASAN

2019-01-11 Thread Andrey Ryabinin
On 1/8/19 1:36 AM, Qian Cai wrote: > > diff --git a/mm/page_poison.c b/mm/page_poison.c > index f0c15e9017c0..e546b70e592a 100644 > --- a/mm/page_poison.c > +++ b/mm/page_poison.c > @@ -6,6 +6,7 @@ > #include > #include > #include > +#include > > static bool want_page_poisoning

Re: [PATCH v7 perf, bpf-next 8/8] perf tools: synthesize PERF_RECORD_* for loaded BPF programs

2019-01-11 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 10, 2019 at 04:19:33PM -0800, Song Liu escreveu: > This patch synthesize PERF_RECORD_KSYMBOL and PERF_RECORD_BPF_EVENT for > BPF programs loaded before perf-record. This is achieved by gathering > information about all BPF programs via sys_bpf. > > Signed-off-by: Song Liu > --- >

RE: [Intel-wired-lan] [PATCH] i40e: clean up several indentation issues

2019-01-11 Thread Bowers, AndrewX
> -Original Message- > From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On > Behalf Of Colin King > Sent: Monday, January 7, 2019 2:59 PM > To: Kirsher, Jeffrey T ; David S . Miller > ; intel-wired-...@lists.osuosl.org; > net...@vger.kernel.org > Cc:

Re: [RFC v3 01/21] iommu: Introduce set_pasid_table API

2019-01-11 Thread Alex Williamson
On Tue, 8 Jan 2019 11:26:13 +0100 Eric Auger wrote: > From: Jacob Pan > > In virtualization use case, when a guest is assigned > a PCI host device, protected by a virtual IOMMU on a guest, > the physical IOMMU must be programmed to be consistent with > the guest mappings. If the physical

Re: [PATCH] fpga: altera_freeze_bridge: remove restriction to socfpga

2019-01-11 Thread Moritz Fischer
Hi Alan, On Thu, Jan 10, 2019 at 3:06 PM Alan Tull wrote: > > The Altera Freeze Bridge should not be restricted to ARCH_SOCFPGA > since it can be used on other platforms such as Stratix10. > > Signed-off-by: Alan Tull > --- > drivers/fpga/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1

[tip:x86/urgent] x86/intel/lpss: Make PCI dependency explicit

2019-01-11 Thread tip-bot for Sinan Kaya
Commit-ID: 5962dd22f0ff6f7d72fff974b3c637d52586643e Gitweb: https://git.kernel.org/tip/5962dd22f0ff6f7d72fff974b3c637d52586643e Author: Sinan Kaya AuthorDate: Wed, 2 Jan 2019 18:10:37 + Committer: Borislav Petkov CommitDate: Fri, 11 Jan 2019 19:32:22 +0100 x86/intel/lpss: Make PCI

commit 83d817f410 broke my ability to use Linux with a braille display

2019-01-11 Thread Nicolas Pitre
I use Linux with the help of a braille display and the brltty daemon. It turns out that the latest mainline kernel I can work with comes from commit 231f8fd0cc. Anything past that and I lose the ability to read the console barely a few seconds after the system has booted as brltty is thrown a

Re: Question about qspinlock nest

2019-01-11 Thread James Morse
Hi Peter, On 10/01/2019 20:12, Peter Zijlstra wrote: > On Thu, Jan 10, 2019 at 06:25:57PM +, James Morse wrote: > >> On arm64 if all the RAS and psuedo-NMI patches land, our worst-case >> interleaving >> jumps to at least 7. The culprit is APEI using spinlocks to protect fixmap >> slots.

Re: [PATCH v5 0/6] usb: gadget: add mechanism to asynchronously validate data stage of ctrl out request

2019-01-11 Thread Alan Stern
On Fri, 11 Jan 2019, Paul Elder wrote: > On Thu, Jan 10, 2019 at 03:39:25PM -0500, Alan Stern wrote: > > On Wed, 9 Jan 2019, Paul Elder wrote: > > > > > This patch series adds a mechanism to allow asynchronously validating > > > the data stage of a control OUT request, and for stalling or

Re: [PATCH v1 6/7] arm64: dts: sdm845: Increase alert trip point to 95 degrees

2019-01-11 Thread Matthias Kaehlcke
On Fri, Jan 11, 2019 at 03:54:23PM +0530, Amit Kucheria wrote: > On Thu, Jan 10, 2019 at 6:45 AM Matthias Kaehlcke wrote: > > > > Hi Amit, > > > > On Thu, Jan 10, 2019 at 05:30:55AM +0530, Amit Kucheria wrote: > > > 75 degrees is too aggressive for throttling the CPU. After speaking to > > >

Re: [PATCH 2/2] EDAC: add ARM Cortex A15 L2 internal asynchronous error detection driver

2019-01-11 Thread Borislav Petkov
On Fri, Jan 11, 2019 at 06:11:04PM +, James Morse wrote: > After I sent this it occurred to me the core can't know about errors in the L3 > cache (if there is one) or the memory-controller. These may have edac/ras > abilities, but they are selected by the soc integrator, so could be per soc. >

Re: [RFC PATCH v7 07/16] arm64/mm, xpfo: temporarily map dcache regions

2019-01-11 Thread Khalid Aziz
On 1/11/19 7:54 AM, Tycho Andersen wrote: > On Thu, Jan 10, 2019 at 02:09:39PM -0700, Khalid Aziz wrote: >> From: Juerg Haefliger >> >> If the page is unmapped by XPFO, a data cache flush results in a fatal >> page fault, so let's temporarily map the region, flush the cache, and then >> unmap it.

Re: [PATCH] dt-bindings: clock: Convert fixed-clock binding to json-schema

2019-01-11 Thread Rob Herring
On Fri, Jan 11, 2019 at 11:44 AM Stephen Boyd wrote: > > Quoting Rob Herring (2019-01-10 14:19:01) > > Convert the fixed-clock binding to DT schema format using json-schema. > > > > Any pointer to the full schema? https://github.com/robherring/yaml-bindings/blob/master/schemas/ And the clock

Aw: Re: Re: [PATCH] drm/mediatek: Add MTK Framebuffer-Device (mt7623)

2019-01-11 Thread Frank Wunderlich
like Daniel guessed, fb-console does not work with this Patch. i tried your Patch (additional patch for headerfile): https://github.com/frank-w/BPI-R2-4.14/commits/4.20-fbdev and R2 hangs (no crash and no further boot) [5.435075] mediatek-drm 1400.dispsys: bound 14012000.rdma (ops

Re: [RFC PATCH v7 00/16] Add support for eXclusive Page Frame Ownership

2019-01-11 Thread Khalid Aziz
Hi Dave, Thanks for looking at this and providing feedback. On 1/10/19 4:40 PM, Dave Hansen wrote: > First of all, thanks for picking this back up. It looks to be going in > a very positive direction! > > On 1/10/19 1:09 PM, Khalid Aziz wrote: >> I implemented a solution to reduce performance

Re: [PATCH 1/3] arm64: kprobes: Move extable address check into arch_prepare_kprobe()

2019-01-11 Thread James Morse
Hi, On 09/01/2019 02:05, Masami Hiramatsu wrote: > On Tue, 8 Jan 2019 17:13:36 + > James Morse wrote: >> On 08/01/2019 02:39, Masami Hiramatsu wrote: >>> On Thu, 3 Jan 2019 17:05:18 + >>> James Morse wrote: On 17/12/2018 06:40, Masami Hiramatsu wrote: > Move extable address

[GIT PULL] arm64: fixes for -rc2

2019-01-11 Thread Will Deacon
Hi Linus, Another handful of arm64 fixes here. Most of the complication comes from improving our kpti code to avoid lengthy pauses (30+ seconds) during boot when we rewrite the page tables. There are also a couple of IORT fixes that came in via Lorenzo. Usual summary in the tag. Please pull,

[PATCH 2/3] dma-mapping: don't BUG when calling dma_map_resource on RAM

2019-01-11 Thread Christoph Hellwig
Use WARN_ON_ONCE to print a stack trace and return a proper error code instead. Signed-off-by: Christoph Hellwig --- include/linux/dma-mapping.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index

[PATCH 3/3] videobuf2: replace a layering violation with dma_map_resource

2019-01-11 Thread Christoph Hellwig
vb2_dc_get_userptr pokes into arm direct mapping details to get the resemblance of a dma address for a a physical address that does is not backed by a page struct. Not only is this not portable to other architectures with dma direct mapping offsets, but also not to uses of IOMMUs of any kind.

[PATCH 1/3] dma-mapping: remove the default map_resource implementation

2019-01-11 Thread Christoph Hellwig
Just returning the physical address when not map_resource method is present is highly dangerous as it doesn't take any offset in the direct mapping into account and does the completely wrong thing for IOMMUs. Instead provide a proper implementation in the direct mapping code, and also wire it up

fix a layering violation in videobuf2 and improve dma_map_resource

2019-01-11 Thread Christoph Hellwig
Hi all, this series fixes a rather gross layering violation in videobuf2, which pokes into arm DMA mapping internals to get a DMA address for memory that does not have a page structure, and to do so fixes up the dma_map_resource implementation to be practically useful.

Re: remove dma_zalloc_coherent

2019-01-11 Thread Christoph Hellwig
Linus, any chance you could take this before -rc2? That should avoid a lot of churn going forward. Any fine tuning of the memset-removal cochinnelle scripts can be queued up with normal updates. On Tue, Jan 08, 2019 at 08:06:58AM -0500, Christoph Hellwig wrote: > Hi Linus and world, > > We've

Re: [RFC v3 01/21] iommu: Introduce set_pasid_table API

2019-01-11 Thread Jean-Philippe Brucker
On 08/01/2019 10:26, Eric Auger wrote: > From: Jacob Pan > > In virtualization use case, when a guest is assigned > a PCI host device, protected by a virtual IOMMU on a guest, > the physical IOMMU must be programmed to be consistent with > the guest mappings. If the physical IOMMU supports two >

Re: [PATCH] rbtree: fix the red root

2019-01-11 Thread Matthew Wilcox
On Fri, Jan 11, 2019 at 01:12:36PM -0500, Qian Cai wrote: > On Fri, 2019-01-11 at 09:31 -0800, Matthew Wilcox wrote: > > On Fri, Jan 11, 2019 at 11:51:45AM -0500, Qian Cai wrote: > > > Reported-by: Esme > > > Signed-off-by: Qian Cai > > > > What change introduced this bug?  We need a Fixes:

Re: [PATCH] rbtree: fix the red root

2019-01-11 Thread Qian Cai
On Fri, 2019-01-11 at 09:31 -0800, Matthew Wilcox wrote: > On Fri, Jan 11, 2019 at 11:51:45AM -0500, Qian Cai wrote: > > Reported-by: Esme > > Signed-off-by: Qian Cai > > What change introduced this bug?  We need a Fixes: line so the stable > people know how far to backport this fix. It looks

Re: [PATCH 2/2] EDAC: add ARM Cortex A15 L2 internal asynchronous error detection driver

2019-01-11 Thread James Morse
Hi Wladislav, On 09/01/2019 14:44, Wiebe, Wladislav (Nokia - DE/Ulm) wrote: >> From: James Morse >> Sent: Tuesday, January 08, 2019 6:57 PM >> On 08/01/2019 10:42, Borislav Petkov wrote: >>> So the first thing to figure out here is how generic is this and if >>> so, to make it a

Re: [PATCH v3 5/6] x86/alternative: Use a single access in text_poke() where possible

2019-01-11 Thread Jason Baron
On 1/11/19 11:57 AM, Josh Poimboeuf wrote: > On Fri, Jan 11, 2019 at 05:46:36PM +0100, Alexandre Chartre wrote: >> >> >> On 01/11/2019 04:28 PM, Josh Poimboeuf wrote: >>> On Fri, Jan 11, 2019 at 01:10:52PM +0100, Alexandre Chartre wrote: To avoid any issue with live patching the call

Re: [RFC AFBC 03/12] drm/afbc: Add AFBC modifier usage documentation

2019-01-11 Thread Liviu Dudau
On Thu, Jan 03, 2019 at 05:44:26PM -0300, Ezequiel Garcia wrote: > Hi Liviu, > > On Mon, 2018-12-03 at 11:31 +, Ayan Halder wrote: > > From: Brian Starkey > > > > AFBC is a flexible, proprietary, lossless compression protocol and > > format, with a number of defined DRM format modifiers. To

net/core: BUG in copy_net_ns()

2019-01-11 Thread zzoru
net/core: BUG in copy_net_ns() (net_namespace.c) Hello, I've got the following error report while fuzzing the kernel with syzkaller. On commit 1bdbe227492075d058e37cb3d400e6468d0095b5 Syzkaller hit 'WARNING in __alloc_pages_slowpath' bug. syz-executor561 (17453) used greatest stack depth:

[PATCH 05/14] staging: android: ion: Remove struct ion_platform_heap

2019-01-11 Thread Andrew F. Davis
Now that ION heap registration has been re-worked to not depend on board files or have a central heap register helper there is no need to have this data structure. Most of the fields are unused. Some heap creation helpers are still available that use this to define the a heap but only use 2 or 3

[PATCH 00/14] Misc ION cleanups and adding unmapped heap

2019-01-11 Thread Andrew F. Davis
Hello all, This is a set of (hopefully) non-controversial cleanups for the ION framework and current set of heaps. These were found as I start to familiarize myself with the framework to help in whatever way I can in getting all this up to the standards needed for de-staging. I would like to get

[PATCH 01/14] staging: android: ion: Add proper header information

2019-01-11 Thread Andrew F. Davis
The filenames in headers add nothing are often wrong after moves, lets drop them here and add a little description of the files contents. Signed-off-by: Andrew F. Davis --- drivers/staging/android/ion/ion.c | 2 +- drivers/staging/android/ion/ion.h | 2 +-

[PATCH 04/14] staging: android: ion: Remove leftover comment

2019-01-11 Thread Andrew F. Davis
Since we use CMA APIs directly there is no device nor private heaps data, drop this comment. Fixes: 204f672255c2 ("staging: android: ion: Use CMA APIs directly") Signed-off-by: Andrew F. Davis --- drivers/staging/android/ion/ion_cma_heap.c | 4 1 file changed, 4 deletions(-) diff --git

[PATCH 02/14] staging: android: ion: Remove empty ion_ioctl_dir() function

2019-01-11 Thread Andrew F. Davis
This function is empty of real function and can be replaced with _IOC_DIR(). Signed-off-by: Andrew F. Davis --- drivers/staging/android/ion/ion-ioctl.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/staging/android/ion/ion-ioctl.c

[PATCH 03/14] staging: android: ion: Merge ion-ioctl.c into ion.c

2019-01-11 Thread Andrew F. Davis
The file ion-ioctl.c is now much to small and tightly integrated with the main ion.c file to justify keeping it separate. Merge this file. Signed-off-by: Andrew F. Davis --- drivers/staging/android/ion/Makefile| 2 +- drivers/staging/android/ion/ion-ioctl.c | 86 -

[PATCH 06/14] staging: android: ion: Fixup some white-space issues

2019-01-11 Thread Andrew F. Davis
Add white-space for easier reading and remove some where it does not belong. No functional changes, they just bug me.. Signed-off-by: Andrew F. Davis --- drivers/staging/android/ion/ion_carveout_heap.c | 1 + drivers/staging/android/ion/ion_chunk_heap.c| 2 +-

Re: x86/fpu: Don't export __kernel_fpu_{begin,end}()

2019-01-11 Thread Lukas Wunner
[cc += Ingo] On Fri, Jan 11, 2019 at 06:40:58AM +0100, Greg Kroah-Hartman wrote: > On Fri, Jan 11, 2019 at 06:04:07AM +0100, Lukas Wunner wrote: > > On Thu, Jan 10, 2019 at 07:24:13PM +0100, Greg Kroah-Hartman wrote: > > > My tolerance for ZFS is pretty non-existant. Sun explicitly did not > > >

[PATCH 09/14] staging: android: ion: Remove base from ion_chunk_heap

2019-01-11 Thread Andrew F. Davis
The base address is not used anywhere and tracked by the pool allocator. No need to store this anymore. Signed-off-by: Andrew F. Davis --- drivers/staging/android/ion/ion_chunk_heap.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

[PATCH 10/14] staging: android: ion: Remove unused headers

2019-01-11 Thread Andrew F. Davis
Various cleanups have removed the use of some headers in ION, remove these here. Signed-off-by: Andrew F. Davis --- drivers/staging/android/ion/ion.c | 3 --- drivers/staging/android/ion/ion_carveout_heap.c | 4 ++-- drivers/staging/android/ion/ion_chunk_heap.c| 3 +-- 3 files

[PATCH 08/14] staging: android: ion: Remove base from ion_carveout_heap

2019-01-11 Thread Andrew F. Davis
The base address is not used anywhere and tracked by the pool allocator. No need to store this anymore. Signed-off-by: Andrew F. Davis --- drivers/staging/android/ion/ion_carveout_heap.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 12/14] staging: android: ion: Declare helpers for carveout and chunk heaps

2019-01-11 Thread Andrew F. Davis
When enabled the helpers functions for creating carveout and chunk heaps should have declarations in the ION header. Signed-off-by: Andrew F. Davis --- drivers/staging/android/ion/ion.h | 33 +++ 1 file changed, 33 insertions(+) diff --git

[PATCH 11/14] staging: android: ion: Allow heap name to be null

2019-01-11 Thread Andrew F. Davis
The heap name can be used for debugging but otherwise does not seem to be required and no other part of the code will fail if left NULL except here. We can make it required and check for it at some point, for now lets just prevent this from causing a NULL pointer exception. Signed-off-by: Andrew

[PATCH 14/14] staging: android: ion: Add UNMAPPED heap type and helper

2019-01-11 Thread Andrew F. Davis
The "unmapped" heap is very similar to the carveout heap except the backing memory is presumed to be unmappable by the host, in my specific case due to firewalls. This memory can still be allocated from and used by devices that do have access to the backing memory. Based originally on the

[PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-11 Thread Andrew F. Davis
Buffers may not be mapped from the CPU so skip cache maintenance here. Accesses from the CPU to a cached heap should be bracketed with {begin,end}_cpu_access calls so maintenance should not be needed anyway. Signed-off-by: Andrew F. Davis --- drivers/staging/android/ion/ion.c | 7 --- 1

[PATCH 07/14] staging: android: ion: Sync comment docs with struct ion_buffer

2019-01-11 Thread Andrew F. Davis
This struct is no longer documented correctly, fix this. Signed-off-by: Andrew F. Davis --- drivers/staging/android/ion/ion.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/ion/ion.h b/drivers/staging/android/ion/ion.h index

Re: [PATCH 4.14 093/105] arm64: drop linker script hack to hide __efistub_ symbols

2019-01-11 Thread Nick Desaulniers
On Fri, Jan 11, 2019 at 6:34 AM Greg Kroah-Hartman wrote: > > 4.14-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Ard Biesheuvel > > commit dd6846d774693bfa27d7db4dae5ea67dfe373fa1 upstream. > > Commit 1212f7a16af4 ("scripts/kallsyms:

Re: [GIT PULL] Power management updates for v5.0-rc2

2019-01-11 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Jan 2019 11:21:11 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-5.0-rc2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f4f31fff32252da3791e9d901adb44f963a79153 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] perf fixes

2019-01-11 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Jan 2019 08:44:18 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/40a31da414c39e3cd8c4137c1ceedf59b7ffd4ce Thank you! -- Deet-doot-dot, I

Re: [git pull] drm fixes for 5.0-rc2

2019-01-11 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Jan 2019 12:11:42 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2019-01-11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/385c59c7baaa4626f5c01888d50e86e5636e655e Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] ACPI fixes for v5.0-rc2

2019-01-11 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Jan 2019 11:22:33 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git acpi-5.0-rc2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8e1b295b693cbf2d8499c24fbb1f8f50c58771e3 Thank you! -- Deet-doot-dot, I am

Re: [GIT PULL] x86 fixes

2019-01-11 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Jan 2019 08:14:54 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e8af37f3f488e7adce2b5c6f6dfe8c83c2662e1f Thank you! -- Deet-doot-dot, I am

Assalamu`Alaikum.

2019-01-11 Thread Mohammad ouattara
Dear Sir/Madam. Assalamu`Alaikum. I am Dr mohammad ouattara, I have ($14.6 Million us dollars) to transfer into your account, I will send you more details about this deal and the procedures to follow when I receive a positive response from you, Have a great day, Dr mohammad ouattara.

Encrypted Message

2019-01-11 Thread zzoru
binh3t3RQQDTF.bin Description: PGP/MIME version identification encrypted.asc Description: OpenPGP encrypted message

Re: [GIT PULL] EFI fix

2019-01-11 Thread Linus Torvalds
On Fri, Jan 11, 2019 at 6:22 AM Ard Biesheuvel wrote: > > I was hoping we could merge this patch (so we can backport it), but > resolve the conflict by dropping the kmemleak_ignore() again [..] Well, we'd drop the new #include line also, since it would be pointless without the kmemleak_ignore().

Re: [PATCH v3 5/6] x86/alternative: Use a single access in text_poke() where possible

2019-01-11 Thread Nadav Amit
> On Jan 11, 2019, at 9:41 AM, Jason Baron wrote: > > On 1/11/19 11:57 AM, Josh Poimboeuf wrote: >> On Fri, Jan 11, 2019 at 05:46:36PM +0100, Alexandre Chartre wrote: >>> On 01/11/2019 04:28 PM, Josh Poimboeuf wrote: On Fri, Jan 11, 2019 at 01:10:52PM +0100, Alexandre Chartre wrote: >

[PATCH v2 1/1] irqchip: stm32-exti: add domain translate function

2019-01-11 Thread Loic Pallardy
Domain translate function is needed to recover irq configuration parameters from DT node Fixes: 927abfc4461e ("irqchip/stm32: Add stm32mp1 support with hierarchy domain") Signed-off-by: Loic Pallardy --- Changes from v2: - Use irq_domain_xlate_twocell helper - Add Fixes: tag in commit message

Re: [PATCH] rbtree: fix the red root

2019-01-11 Thread Joey Pabalinas
On Fri, Jan 11, 2019 at 09:31:32AM -0800, Matthew Wilcox wrote: > On Fri, Jan 11, 2019 at 11:51:45AM -0500, Qian Cai wrote: > > Reported-by: Esme > > Signed-off-by: Qian Cai > > What change introduced this bug? We need a Fixes: line so the stable > people know how far to backport this fix. >

Re: [GIT PULL] EFI fix

2019-01-11 Thread Linus Torvalds
On Thu, Jan 10, 2019 at 11:46 PM Ingo Molnar wrote: > > A single fix that adds an annotation to resolve a kmemleak false > positive. This one is apparently obviated by commit 80424b02d42b ("efi: Reduce the amount of memblock reservations for persistent allocations") Linus

Re: [RFC v3 17/21] iommu/smmuv3: Report non recoverable faults

2019-01-11 Thread Jean-Philippe Brucker
On 08/01/2019 10:26, Eric Auger wrote: > When a stage 1 related fault event is read from the event queue, > let's propagate it to potential external fault listeners, ie. users > who registered a fault handler. > > Signed-off-by: Eric Auger > --- > drivers/iommu/arm-smmu-v3.c | 124

Re: [GIT PULL] blob-stacking updates for security-next

2019-01-11 Thread Kees Cook
ediately after memory allocation failure for cred object. > We need to be prepared for free() function being called when alloc() function > failed. > > [ 59.992498][ T8010] FAULT_INJECTION: forcing a failure. > [ 59.992498][ T8010] name failslab, interval 1, probability 0, space 0, > tim

Re: [PATCH v15 00/11] livepatch: Atomic replace feature

2019-01-11 Thread Josh Poimboeuf
On Wed, Jan 09, 2019 at 01:43:18PM +0100, Petr Mladek wrote: > Changes against v14: > > + Rename klp_active -> klp_added [Josh] > > + Do not clear klp_added variable in klp_free*() [Josh] > > + Rename klp_init_patch_before_free() -> klp_init_patch_early() > [Josh] > > + Do not

Re: [PATCH] dt-bindings: clock: Convert fixed-clock binding to json-schema

2019-01-11 Thread Stephen Boyd
Quoting Rob Herring (2019-01-10 14:19:01) > Convert the fixed-clock binding to DT schema format using json-schema. > Any pointer to the full schema? > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: linux-...@vger.kernel.org > Signed-off-by: Rob Herring [...] > diff --git

[PATCH v2] gpiolib: fix line event timestamps for nested irqs

2019-01-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Nested interrupts run inside the calling thread's context and the top half handler is never called which means that we never read the timestamp. This issue came up when trying to read line events from a gpiochip using regmap_irq_chip for interrupts. Fix it by reading

Re: Question about qspinlock nest

2019-01-11 Thread Borislav Petkov
On Fri, Jan 11, 2019 at 10:16:38AM +0100, Peter Zijlstra wrote: > > Not for debug exception, for MCE exception handler I found below two: > > > > do_machine_check->mce_report_event->schedule_work That has been the case at least since 2009. We probably never hit it or I've never seen a deadlock

RE: [PATCH 1/1] irqchip: stm32-exti: add domain translate function

2019-01-11 Thread Loic PALLARDY
Hi Marc, Thanks for the review > -Original Message- > From: Marc Zyngier > Sent: vendredi 11 janvier 2019 16:52 > To: Loic PALLARDY ; t...@linutronix.de; > ja...@lakedaemon.net; mcoquelin.st...@gmail.com; Alexandre TORGUE > > Cc: linux-kernel@vger.kernel.org; linux-stm32@st-md- >

[PATCH v3 0/4] M_CAN Framework

2019-01-11 Thread Dan Murphy
All Well it has taken me a while to get this working and ported to a provide a m_can framework that manages the Bosch m_can stack and abstracts away devices to use that framework. The m_can.c is the framework that devices register to. The device abstractions can provide read/write capability as

[PATCH v3 4/4] can: tcan4x5x: Add tcan4x5x driver to the kernel

2019-01-11 Thread Dan Murphy
Add the TCAN4x5x SPI CAN driver. This device uses the Bosch MCAN IP core along with a SPI interface map. Leverage the MCAN common core code to manage the MCAN IP. This device has a special method to indicate a write/read operation on the data payload. Signed-off-by: Dan Murphy ---

[PATCH v3 1/4] can: m_can: Create a m_can platform framework

2019-01-11 Thread Dan Murphy
Create a m_can platform framework that peripherial devices can register to and use common code and register sets. The peripherial devices may provide read/write and configuration support of the IP. Signed-off-by: Dan Murphy --- drivers/net/can/m_can/m_can.c | 6 +

[PATCH v3 3/4] dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver

2019-01-11 Thread Dan Murphy
DT binding documentation for TI TCAN4x5x driver. Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/can/tcan4x5x.txt | 37 +++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt diff --git

[PATCH v3 2/4] can: m_can: Migrate the m_can code to use the framework

2019-01-11 Thread Dan Murphy
Migrate the m_can code to use the m_can_platform framework code. Signed-off-by: Dan Murphy --- drivers/net/can/m_can/Kconfig | 12 + drivers/net/can/m_can/Makefile | 4 +- drivers/net/can/m_can/m_can.c | 759 -

Re: [PATCH 14/15] arch: add split IPC system calls where needed

2019-01-11 Thread Arnd Bergmann
On Thu, Jan 10, 2019 at 9:33 PM Heiko Carstens wrote: > On Thu, Jan 10, 2019 at 05:24:34PM +0100, Arnd Bergmann wrote: > > diff --git a/arch/s390/kernel/syscalls/syscall.tbl > > b/arch/s390/kernel/syscalls/syscall.tbl > > index 022fc099b628..428cf512a757 100644 > > ---

Re: [PATCH] rbtree: fix the red root

2019-01-11 Thread Matthew Wilcox
On Fri, Jan 11, 2019 at 11:51:45AM -0500, Qian Cai wrote: > Reported-by: Esme > Signed-off-by: Qian Cai What change introduced this bug? We need a Fixes: line so the stable people know how far to backport this fix.

Re: [PATCH 15/15] arch: add pkey and rseq syscall numbers everywhere

2019-01-11 Thread Arnd Bergmann
On Thu, Jan 10, 2019 at 9:36 PM Heiko Carstens wrote: > On Thu, Jan 10, 2019 at 05:24:35PM +0100, Arnd Bergmann wrote: > Since you only need/want the system call numbers, could you please > change these lines to: > > > +384 common pkey_alloc - - > >

[PATCH 3/3] arm64: dts: allwinner: a64: Orange Pi Win: Enable IR

2019-01-11 Thread Jernej Skrabec
OrangePi Win board contains IR receiver. Enable it. Signed-off-by: Jernej Skrabec --- arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts

[PATCH 0/3] Add support for IR on Allwinner A64

2019-01-11 Thread Jernej Skrabec
IR on A64 is nothing special and very similar to IR on A13 to the point that same driver can be used. Following patches just add necessary DT changes. Best regards, Jernej Igors Makejevs (1): arm64: dts: allwinner: a64: Add IR node Jernej Skrabec (2): media: dt: bindings: sunxi-ir: Add A64

[PATCH 2/3] arm64: dts: allwinner: a64: Add IR node

2019-01-11 Thread Jernej Skrabec
From: Igors Makejevs IR is similar to that in A13 and can use same driver. Signed-off-by: Igors Makejevs Signed-off-by: Jernej Skrabec --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH 1/3] media: dt: bindings: sunxi-ir: Add A64 compatible

2019-01-11 Thread Jernej Skrabec
A64 IR is compatible with A13, so add A64 compatible with A13 as a fallback. Signed-off-by: Jernej Skrabec --- Documentation/devicetree/bindings/media/sunxi-ir.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/sunxi-ir.txt

Re: [PATCH v4] coding-style: Clarify the expectations around bool

2019-01-11 Thread Joey Pabalinas
On Thu, Jan 10, 2019 at 11:48:13PM +, Jason Gunthorpe wrote: > There has been some confusion since checkpatch started warning about bool > use in structures, and people have been avoiding using it. > > Many people feel there is still a legitimate place for bool in structures, > so provide

Re: [GIT PULL] blob-stacking updates for security-next

2019-01-11 Thread Casey Schaufler
object. > We need to be prepared for free() function being called when alloc() function > failed. > > [ 59.992498][ T8010] FAULT_INJECTION: forcing a failure. > [ 59.992498][ T8010] name failslab, interval 1, probability 0, space 0, > times 1 > [ 60.005214][ T8010] CPU: 0

[PATCH 03/17] ARM: davinci: enable the clocksource driver for DT mode

2019-01-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Switch all davinci boards using device tree to using the new clocksource driver: remove the previous OF_TIMER_DECLARE() from mach-davinci and select davinci-timer to be built for davinci_all_defconfig. Signed-off-by: Bartosz Golaszewski --- arch/arm/Kconfig

Re: [PATCH v3 4/4] /proc/stat: Call kstat_irqs_usr() only for active IRQs

2019-01-11 Thread Thomas Gleixner
On Wed, 9 Jan 2019, Waiman Long wrote: > --- > fs/proc/stat.c | 84 > ++ > 1 file changed, 84 insertions(+) and the total diffstat of that patch series is: 4 files changed, 125 insertions(+), 12 deletions(-) > static void

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