Re: [PATCH v8 00/13] Support PPTT for ARM64

2018-05-04 Thread Sudeep Holla
Hi Vijaya Kumar, On 04/05/18 09:10, vkil...@codeaurora.org wrote: > [...] CPI 6.2 adds the Processor Properties Topology Table (PPTT), which is > used to >> describe the processor and cache topology. Ideally it is used to > extend/override FYI, these messages go no where to the git commit log.

Re: [PATCH v1 1/3] drm/tegra: dc: Enable plane scaling filters

2018-05-04 Thread Dmitry Osipenko
On 04.05.2018 14:10, Thierry Reding wrote: > On Fri, May 04, 2018 at 03:08:42AM +0300, Dmitry Osipenko wrote: >> Currently resized plane produces a "pixelated" image which doesn't look >> nice, especially in a case of a video overlay. Enable scaling filters that >> significantly improve image quali

RE: [RFC PATCH v4 2/3] acpi: apei: Rename ghes_severity() to ghes_cper_severity()

2018-05-04 Thread Shiju Jose
Hi Alex, > -Original Message- > From: Alexandru Gagniuc [mailto:mr.nuke...@gmail.com] > Sent: 30 April 2018 22:34 > To: b...@alien8.de > Cc: alex_gagn...@dellteam.com; austin_bo...@dell.com; > shyam_i...@dell.com; Alexandru Gagniuc; Rafael J. Wysocki; Len Brown; > Tony Luck; Mauro Carvalho

Re: [PATCH v1 0/5] Support IOMMU for 2d/3d on Tegra30/114

2018-05-04 Thread Dmitry Osipenko
On 04.05.2018 13:56, Thierry Reding wrote: > On Fri, May 04, 2018 at 02:47:18AM +0300, Dmitry Osipenko wrote: >> Hi, >> >> This series enables IOMMU support for 2d/3d HW on Tegra30/114, as a result >> userspace that uses 2d/3d could work with the active IOMMU. >> >> Dmitry Osipenko (5): >> drm/te

Re: [PATCH 4/7] dt-bindings: gnss: add u-blox binding

2018-05-04 Thread H. Nikolaus Schaller
Hi Sebastian, > Am 04.05.2018 um 13:42 schrieb Sebastian Reichel : > > [+cc Tony] > > Hi, > >> I think it does not need much more (if at all) than a gpio controller on >> the OMAP3 chip (I think the clocks are active anyways for use by the other >> UARTs). >> >> We had proposed years ago to re

Re: [PATCH v2 09/10] ARM: dts: sun7i-a20: Add Video Engine and reserved memory nodes

2018-05-04 Thread Paul Kocialkowski
Hi, On Fri, 2018-05-04 at 11:15 +0200, Maxime Ripard wrote: > On Fri, May 04, 2018 at 10:47:44AM +0200, Paul Kocialkowski wrote: > > > > > > + reg = <0x01c0e000 0x1000>; > > > > > > + memory-region = <&ve_memory>; > > > > > > > > > > Since you made the CMA regi

Re: [PATCH v1 1/3] drm/tegra: dc: Enable plane scaling filters

2018-05-04 Thread Thierry Reding
On Fri, May 04, 2018 at 02:55:01PM +0300, Dmitry Osipenko wrote: > On 04.05.2018 14:10, Thierry Reding wrote: > > On Fri, May 04, 2018 at 03:08:42AM +0300, Dmitry Osipenko wrote: > >> Currently resized plane produces a "pixelated" image which doesn't look > >> nice, especially in a case of a video

Re: [PATCH v2] perf: Suppress AUX/OVERWRITE records

2018-05-04 Thread Alexander Shishkin
On Wed, Apr 04, 2018 at 05:53:23PM +0300, Alexander Shishkin wrote: > It has been pointed out to me many times that it is useful to be able > to switch off AUX records to save the bandwidth for records that actually > matter, for example, in AUX overwrite mode. > > The usefulness of PERF_RECORD_AU

wireless: need help to learn WiFi kernel stack

2018-05-04 Thread Muni Sekhar
[ Please keep me in CC as I'm not subscribed to the list] Hi All, I’m planning to learn the Linux WiFi kernel stack. I’d like to know what happens in the background in the kernel when I connect to WiFi. How does a packet travels all the way from my application to kernel to air and back. R

Re: serial: start_tx & buffer handling

2018-05-04 Thread loïc tourlonias
Hi On Fri, May 4, 2018 at 6:31 AM, Muni Sekhar wrote: >> >> On Fri, May 4, 2018 at 12:04 AM, Greg KH wrote: >> > On Thu, May 03, 2018 at 08:08:48PM +0530, Muni Sekhar wrote: >> >> Hi All, >> >> >> >> I’m trying to understand how user mode buffer is written to low level >> >> serial hardware re

Re: [PATCH v1 2/3] drm/tegra: plane: Implement zPos plane property for older Tegra's

2018-05-04 Thread Thierry Reding
On Fri, May 04, 2018 at 03:08:43AM +0300, Dmitry Osipenko wrote: > Older Tegra's do not support planes z position handling in hardware, > but HW provides knobs for zPos implementation in software. > > Signed-off-by: Dmitry Osipenko > --- > drivers/gpu/drm/tegra/dc.c| 134

Re: [PATCH v1 3/3] drm/tegra: dc: Rename supports_blending to has_legacy_blending

2018-05-04 Thread Thierry Reding
On Fri, May 04, 2018 at 03:08:44AM +0300, Dmitry Osipenko wrote: > Older Tegra's support blending. Rename SoC info entry supports_blending > to has_legacy_blending to eliminate confusion. > > Signed-off-by: Dmitry Osipenko > --- > drivers/gpu/drm/tegra/dc.c | 20 ++-- > drivers/g

Re: [PATCH REPOST] mfd: syscon: atmel-smc: include string.h

2018-05-04 Thread Alexandre Belloni
On 04/05/2018 12:34:46+0200, Sebastian Andrzej Siewior wrote: > The string.h header file is needed for the memset() definition. The RT > build fails because it is not pulled in via other header files. > > Cc: Lee Jones > Cc: Nicolas Ferre > Cc: Alexandre Belloni > Cc: linux-arm-ker...@lists.inf

Re: [RFC PATCH 5/5] net: macb: Add WOL support with ARP

2018-05-04 Thread Claudiu Beznea
On 22.03.2018 15:51, harinikatakamli...@gmail.com wrote: > From: Harini Katakam > > This patch enables ARP wake event support in GEM through the following: > > -> WOL capability can be selected based on the SoC/GEM IP version rather > than a devictree property alone. Hence add a new capability

Re: [PATCH v1 1/5] drm/tegra: dc: Balance IOMMU group refcounting

2018-05-04 Thread Thierry Reding
On Fri, May 04, 2018 at 02:47:19AM +0300, Dmitry Osipenko wrote: > Remove unneeded iommu_group_get() and add missing iommu_group_put(), > correcting IOMMU group refcount. This is a minor correction / cleanup that > doesn't really fix anything because Tegra's IOMMU driver are built-in and > hence gr

Re: [PATCH v1 2/5] drm/tegra: gr2d: Add IOMMU support

2018-05-04 Thread Thierry Reding
On Fri, May 04, 2018 at 02:47:20AM +0300, Dmitry Osipenko wrote: > Attach GR2D to the display IOMMU group in order to provide GR2D access > to BO's IOVA. > > Signed-off-by: Dmitry Osipenko > --- > drivers/gpu/drm/tegra/gr2d.c | 31 +-- > 1 file changed, 29 insertions(

Re: [PATCH v1 3/5] drm/tegra: gr3d: Add IOMMU support

2018-05-04 Thread Thierry Reding
On Fri, May 04, 2018 at 02:47:21AM +0300, Dmitry Osipenko wrote: > Attach GR3D to the displays IOMMU group in order to provide GR3D access > to BO's IOVA. > > Signed-off-by: Dmitry Osipenko > --- > drivers/gpu/drm/tegra/gr3d.c | 27 +++ > 1 file changed, 27 insertions(+)

I2C PM overhaul needed? (Re: [PATCH 1/2] i2c: sprd: Prevent i2c accesses after suspend is called)

2018-05-04 Thread Wolfram Sang
Hi Grygorii, thanks for stepping in. I kept thinking about better I2C core support for such situations and the more input the better. > And you have to fix it (touch screen) - not your i2c driver. Otherwise, you > can get > situation when set of I2C transfers (executed from some > kthread/work

Re: [RFC PATCH] MIPS: Oprofile: Drop support

2018-05-04 Thread Robert Richter
On 04.05.18 12:03:12, Matt Redfearn wrote: > >As said, oprofile version 0.9.x is still available for cpus that do > >not support perf. What is the breakage? > > The breakage I originally set out to fix was the MT support in perf. > https://www.linux-mips.org/archives/linux-mips/2018-04/msg00259.ht

Re: [Ksummit-discuss] bug-introducing patches

2018-05-04 Thread Jani Nikula
On Fri, 04 May 2018, David Howells wrote: > Sasha Levin via Ksummit-discuss wrote: > >> Cc: sta...@vger.kernel.org # commit-id-of-(2) > > Can you please not do this? This screws up email address parsing in some > tools. This has been documented since commit 8e9b9362266dd16255473c080d846b13

Re: [PATCH v5 03/14] clk: qcom: Add CPU clock driver for msm8996

2018-05-04 Thread kbuild test robot
/linux/commits/Ilia-Lin/CPU-scaling-support-for-msm8996/20180504-174840 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones

Re: [PATCH] KVM: X86: Limit timer frequency with more smaller interval

2018-05-04 Thread Wanpeng Li
ping, 2018-04-30 10:38 GMT+08:00 Wanpeng Li : > From: Wanpeng Li > > Anthoine reported: > The period used by Windows change over time but it can be 1 milliseconds > or less. I saw the limit_periodic_timer_frequency print so 500 > microseconds is sometimes reached. > > This patchs limits timer f

Re: [PATCH v3] KVM: Extend MAX_IRQ_ROUTES to 4096 for all archs

2018-05-04 Thread Wanpeng Li
ping, 2018-04-27 8:55 GMT+08:00 Wanpeng Li : > From: Wanpeng Li > > Our virtual machines make use of device assignment by configuring > 12 NVMe disks for high I/O performance. Each NVMe device has 129 > MSI-X Table entries: > Capabilities: [50] MSI-X: Enable+ Count=129 Masked-Vector table: BAR=0

Re: [PATCH 1/2] HISI LPC: Reference static MFD cells for ACPI support

2018-05-04 Thread John Garry
On 03/05/2018 17:54, Andy Shevchenko wrote: On Thu, 2018-05-03 at 23:08 +0800, John Garry wrote: Currently for ACPI support the driver models the host as an MFD. For a device connected to the LPC bus, we dynamically create an MFD cell for that device, configuring the cell name and ACPI match par

Re: [PATCH v1 2/3] drm/tegra: plane: Implement zPos plane property for older Tegra's

2018-05-04 Thread Dmitry Osipenko
On 04.05.2018 15:15, Thierry Reding wrote: > On Fri, May 04, 2018 at 03:08:43AM +0300, Dmitry Osipenko wrote: >> Older Tegra's do not support planes z position handling in hardware, >> but HW provides knobs for zPos implementation in software. >> >> Signed-off-by: Dmitry Osipenko >> --- >> driver

[PATCH 01/17] powerpc/nohash: remove hash related code from nohash headers.

2018-05-04 Thread Christophe Leroy
When nohash and book3s header were split, some hash related stuff remained in the nohash header. This patch removes them. Signed-off-by: Christophe Leroy --- Removed the call to pte_young() as it fails, back to using PAGE_ACCESSED directly. arch/powerpc/include/asm/nohash/32/pgtable.h | 29 ++

[PATCH 16/17] powerpc/mm: Make pte_fragment_alloc() common to PPC32 and PPC64

2018-05-04 Thread Christophe Leroy
In order to allow the 8xx to handle pte_fragments, this patch makes in common to PPC32 and PPC64 Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/mmu_context.h | 28 ++ arch/powerpc/mm/mmu_context_book3s64.c | 28 -- arch/powerpc/mm/pgtable.c | 67

[PATCH 08/17] powerpc: make __iounmap() common to PPC32 and PPC64

2018-05-04 Thread Christophe Leroy
This patch makes __iounmap() common to PPC32 and PPC64. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/ioremap.c | 26 ++ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/arch/powerpc/mm/ioremap.c b/arch/powerpc/mm/ioremap.c index 153657db084e..65d611d

[PATCH 00/17] Implement use of HW assistance on TLB table walk on 8xx

2018-05-04 Thread Christophe Leroy
The purpose of this serie is to implement hardware assistance for TLB table walk on the 8xx. First part is to make L1 entries and L2 entries independant. For that, we need to alter ioremap functions in order to handle GUARD attribute at the PGD/PMD level. Last part is to try and reuse PTE fragmen

[PATCH 13/17] powerpc/mm: Use hardware assistance in TLB handlers on the 8xx

2018-05-04 Thread Christophe Leroy
Today, on the 8xx the TLB handlers do SW tablewalk by doing all the calculation in ASM, in order to match with the Linux page table structure. The 8xx offers hardware assistance which allows significant size reduction of the TLB handlers, hence also reduces the time spent in the handlers. However

[PATCH 12/17] powerpc/8xx: Remove PTE_ATOMIC_UPDATES

2018-05-04 Thread Christophe Leroy
commit 1bc54c03117b9 ("powerpc: rework 4xx PTE access and TLB miss") introduced non atomic PTE updates and started the work of removing PTE updates in TLB miss handlers, but kept PTE_ATOMIC_UPDATES for the 8xx with the following comment: /* Until my rework is finished, 8xx still needs atomic PTE up

[PATCH BAD 17/17] powerpc/mm: Use pte_fragment_alloc() on 8xx

2018-05-04 Thread Christophe Leroy
DO NOT APPLY THAT ONE, IT BUGS. But comments are welcome. In 16k pages mode, the 8xx still need only 4k for the page table. This patch makes use of the pte_fragment functions in order to avoid wasting memory space Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/mmu-8xx.h

[PATCH 15/17] powerpc/8xx: Free up SPRN_SPRG_SCRATCH2

2018-05-04 Thread Christophe Leroy
We can now use SPRN_M_TW in the DAR Fixup code, freeing SPRN_SPRG_SCRATCH2 Then SPRN_SPRG_SCRATCH2 may be used for something else in the future. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/po

[PATCH 14/17] powerpc/8xx: reunify TLB handler routines

2018-05-04 Thread Christophe Leroy
Each handler must not exceed 64 instructions to fit into the main exception area. Following the significant size reduction of TLB handler routines, the side handlers can be brought back close to the main part. In the worst case: Main part of ITLB handler is 45 insn, side part is 9 insn ==> total 5

[PATCH v3] On ppc64le we HAVE_RELIABLE_STACKTRACE

2018-05-04 Thread Torsten Duwe
The "Power Architecture 64-Bit ELF V2 ABI" says in section 2.3.2.3: [...] There are several rules that must be adhered to in order to ensure reliable and consistent call chain backtracing: * Before a function calls any other function, it shall establish its own stack frame, whose size shall be

[PATCH 10/17] powerpc: use _ALIGN macro

2018-05-04 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/nohash/32/pgtable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/include/asm/nohash/32/pgtable.h b/arch/powerpc/include/asm/nohash/32/pgtable.h index b413abcd5a09..93dc22dbe964 100644 --- a/arch/

[PATCH 11/17] powerpc/nohash32: set GUARDED attribute in the PMD directly

2018-05-04 Thread Christophe Leroy
On the 8xx, the GUARDED attribute of the pages is managed in the L1 entry, therefore to avoid having to copy it into L1 entry at each TLB miss, we set it in the PMD. For this, we split the VM alloc space in two parts, one for VM alloc and non Guarded IO, and one for Guarded IO. Signed-off-by: Chr

Re: [PATCH 1/3] powerpc/nohash: remove hash related code from nohash headers.

2018-05-04 Thread Christophe LEROY
Le 04/05/2018 à 13:17, Michael Ellerman a écrit : kbuild test robot writes: Hi Christophe, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on v4.17-rc2 next-20180426] [if your patch is applied to the wrong git tree, please dro

Re: rtlwifi: fix spelling mistake: "dismatch" -> "mismatch"

2018-05-04 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in RT_TRACE message text. > > Signed-off-by: Colin Ian King Patch applied to wireless-drivers-next.git, thanks. 070fc356e21a rtlwifi: fix spelling mistake: "dismatch" -> "mismatch" -- https://patchwork.kernel

[PATCH 03/17] powerpc/nohash: use IS_ENABLED() to simplify __set_pte_at()

2018-05-04 Thread Christophe Leroy
By using IS_ENABLED() we can simplify __set_pte_at() by removing redundant *ptep = pte Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/nohash/pgtable.h | 23 --- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/arch/powerpc/include/asm/nohash/pgtabl

[PATCH 07/17] powerpc: make ioremap_bot common to PPC32 and PPC64

2018-05-04 Thread Christophe Leroy
Today, early ioremap maps from IOREMAP_BASE down to up on PPC64 and from IOREMAP_TOP up to down on PPC32 This patchs modifies PPC32 behaviour to get same behaviour as PPC64 Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/book3s/32/pgtable.h | 16 +--- arch/powerpc/inclu

[PATCH 06/17] powerpc: common ioremap functions.

2018-05-04 Thread Christophe Leroy
__ioremap(), ioremap(), ioremap_wc() et ioremap_prot() are very similar between PPC32 and PPC64, they can easily be made common. _PAGE_WRITE equals to _PAGE_RW on PPC32 _PAGE_RO and _PAGE_HWWRITE are 0 on PPC64 iounmap() can also be made common by renamig the PPC32 iounmap() as __iounmap() Signe

[PATCH 09/17] powerpc: make __ioremap_caller() common to PPC32 and PPC64

2018-05-04 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/book3s/64/pgtable.h | 1 + arch/powerpc/mm/ioremap.c| 126 +++ 2 files changed, 34 insertions(+), 93 deletions(-) diff --git a/arch/powerpc/include/asm/book3s/64/pgtable.h b/arch/powerpc/i

[PATCH 05/17] powerpc: move io mapping functions into ioremap.c

2018-05-04 Thread Christophe Leroy
This patch is the first of a serie that intends to make io mappings common to PPC32 and PPC64. It moves ioremap/unmap fonctions into a new file called ioremap.c with no other modification to the functions. For the time being, the PPC32 and PPC64 parts get enclosed into #ifdef. Following patches wi

Re: ipw2200: fix spelling mistake: "functionalitis" -> "functionalities"

2018-05-04 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in module parameter description text > > Signed-off-by: Colin Ian King Patch applied to wireless-drivers-next.git, thanks. 7e7939e80e3c ipw2200: fix spelling mistake: "functionalitis" -> "functionalities" --

[PATCH 04/17] Revert "powerpc/8xx: Use L1 entry APG to handle _PAGE_ACCESSED for CONFIG_SWAP"

2018-05-04 Thread Christophe Leroy
This reverts commit 4f94b2c7462d9720b2afa7e8e8d4c19446bb31ce. That commit was buggy, as it used rlwinm instead of rlwimi. Instead of fixing that bug, we revert the previous commit in order to reduce the dependency between L1 entries and L2 entries Signed-off-by: Christophe Leroy --- arch/powerp

[PATCH 02/17] powerpc/nohash: remove _PAGE_BUSY

2018-05-04 Thread Christophe Leroy
_PAGE_BUSY is always 0, remove it Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/nohash/64/pgtable.h | 10 +++--- arch/powerpc/include/asm/nohash/pte-book3e.h | 5 - 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/arch/powerpc/include/asm/nohash/64/pgtable.

Re: [PATCH 2/2] HISI LPC: Add ACPI UART support

2018-05-04 Thread John Garry
On 03/05/2018 17:56, Andy Shevchenko wrote: On Thu, 2018-05-03 at 23:08 +0800, John Garry wrote: On the Huawei D03 development board the system UART is the UART connected on the LPC bus. The profile for the device driver required for this HW would be as follows: - platform driver - supports 165

Re: [Linaro-mm-sig] [PATCH 4/8] dma-buf: add peer2peer flag

2018-05-04 Thread Lucas Stach
Am Mittwoch, den 25.04.2018, 13:44 -0400 schrieb Alex Deucher: > On Wed, Apr 25, 2018 at 2:41 AM, Christoph Hellwig > wrote: > > On Wed, Apr 25, 2018 at 02:24:36AM -0400, Alex Deucher wrote: > > > > It has a non-coherent transaction mode (which the chipset can opt to > > > > not implement and stil

Re: [PATCH] drivers: omap2: Kconfig: make FB_OMAP2_DSS_INIT depend on OF

2018-05-04 Thread Mauro Carvalho Chehab
Em Fri, 04 May 2018 13:05:17 +0200 Bartlomiej Zolnierkiewicz escreveu: > On Friday, May 04, 2018 07:59:06 AM Mauro Carvalho Chehab wrote: > > Em Fri, 04 May 2018 12:48:46 +0200 > > Bartlomiej Zolnierkiewicz escreveu: > > > > > On Thursday, May 03, 2018 08:48:56 AM Randy Dunlap wrote: > > >

Re: [v2] mm: access to uninitialized struct page

2018-05-04 Thread Pavel Tatashin
7.0-rc3-next-20180504 kernel didn't boot. > git bisect points on this patch. > On Thu, Apr 26, 2018 at 04:26:19PM -0400, Pavel Tatashin wrote: > > The following two bugs were reported by Fengguang Wu: > > > > kernel reboot-without-warning in early-boot stage, las

Re: [RFC PATCH] MIPS: Oprofile: Drop support

2018-05-04 Thread Ralf Baechle
On Fri, May 04, 2018 at 02:27:51PM +0200, Robert Richter wrote: > On 04.05.18 12:03:12, Matt Redfearn wrote: > > >As said, oprofile version 0.9.x is still available for cpus that do > > >not support perf. What is the breakage? > > > > The breakage I originally set out to fix was the MT support in

Re: [PATCH] drivers: omap2: Kconfig: make FB_OMAP2_DSS_INIT depend on OF

2018-05-04 Thread Bartlomiej Zolnierkiewicz
On Friday, May 04, 2018 09:45:26 AM Mauro Carvalho Chehab wrote: > Em Fri, 04 May 2018 13:05:17 +0200 > Bartlomiej Zolnierkiewicz escreveu: > > > On Friday, May 04, 2018 07:59:06 AM Mauro Carvalho Chehab wrote: > > > Em Fri, 04 May 2018 12:48:46 +0200 > > > Bartlomiej Zolnierkiewicz escreveu: >

Re: [RFC PATCH] MIPS: Oprofile: Drop support

2018-05-04 Thread Matt Redfearn
Hi Robert, On 04/05/18 13:27, Robert Richter wrote: On 04.05.18 12:03:12, Matt Redfearn wrote: As said, oprofile version 0.9.x is still available for cpus that do not support perf. What is the breakage? The breakage I originally set out to fix was the MT support in perf. https://www.linux-mip

Re: [PATCH] EDAC: fix spelling mistake: "redundacy" -> "redundancy"

2018-05-04 Thread Borislav Petkov
On Fri, May 04, 2018 at 12:38:04PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in err string > > Signed-off-by: Colin Ian King > --- > drivers/edac/i7core_edac.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/edac/i7cor

KASAN: use-after-free Read in should_fail

2018-05-04 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:150426981426 Merge tag 'linux-kselftest-4.17-rc4' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17e4975b80 kernel config: https://syzkaller.appspot.com/x/.config?x=5a1dc06635c10d27 da

Re: [Ksummit-discuss] bug-introducing patches

2018-05-04 Thread Theodore Y. Ts'o
On Fri, May 04, 2018 at 03:31:17PM +0300, Jani Nikula wrote: > On Fri, 04 May 2018, David Howells wrote: > > Sasha Levin via Ksummit-discuss wrote: > > > >>Cc: sta...@vger.kernel.org # commit-id-of-(2) > > This has been documented since > > commit 8e9b9362266dd16255473c080d846b13e27247bf > Au

Re: [PATCH v3] watchdog: sp805: add restart handler

2018-05-04 Thread Guenter Roeck
On 05/03/2018 11:05 PM, Jongsung Kim wrote: Add restart handler for SP805 watchdog so that the driver can be used to reboot the system. Signed-off-by: Jongsung Kim Cc: Guenter Roeck Reviewed-by: Guenter Roeck --- For future patches: change log goes here, please. Thanks, Guenter dri

Re: [PATCH] netfilter: nf_queue: Replace conntrack entry

2018-05-04 Thread kbuild test robot
/linux/commits/Kristian-Evensen/netfilter-nf_queue-Replace-conntrack-entry/20180504-051218 base: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master config: x86_64-randconfig-s5-05041850 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the

Re: [PATCH 2/2] mm: Add kvmalloc_ab_c and kvzalloc_struct

2018-05-04 Thread Matthew Wilcox
On Fri, May 04, 2018 at 07:42:52AM +, Linus Torvalds wrote: > On Wed, Feb 14, 2018 at 8:27 AM Matthew Wilcox wrote: > > +static inline __must_check > > +void *kvmalloc_ab_c(size_t n, size_t size, size_t c, gfp_t gfp) > > +{ > > + if (size != 0 && n > (SIZE_MAX - c) / size) > > +

Re: [PATCH v7 0/2] PCI: mediatek: Fixups for the IRQ handle routine and MT7622's class code

2018-05-04 Thread Lorenzo Pieralisi
On Fri, May 04, 2018 at 01:47:31PM +0800, honghui.zh...@mediatek.com wrote: > From: Honghui Zhang > > Two fixups for mediatek's host bridge: > The first patch fixup class type and vendor ID for MT7622. > The second patch fixup the IRQ handle routine by using irq_chip solution > to avoid IRQ reent

Re: [PATCH 12/17] powerpc/8xx: Remove PTE_ATOMIC_UPDATES

2018-05-04 Thread Joakim Tjernlund
On Fri, 2018-05-04 at 14:34 +0200, Christophe Leroy wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > commit 1bc54c03117b9 ("powerpc: rework 4xx PTE access and

Re: KASAN: use-after-free Read in should_fail

2018-05-04 Thread Dmitry Vyukov
On Fri, May 4, 2018 at 3:07 PM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:150426981426 Merge tag 'linux-kselftest-4.17-rc4' of git:/.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=17e4975b80 > kernel config: h

Re: [PATCH 3/3] mm/page_alloc: Fix typo in debug info of calculate_node_totalpages

2018-05-04 Thread Michal Hocko
On Fri 04-05-18 14:52:09, Huaisheng Ye wrote: > realtotalpages is calculated by taking off absent_pages from > spanned_pages in every zone. > Debug message of calculate_node_totalpages shall accurately > indicate that it is real totalpages to avoid ambiguity. Is the printk actually useful? Why don

Re: Introducing a nanoMIPS port for Linux

2018-05-04 Thread James Hogan
On Thu, May 03, 2018 at 06:40:07PM -0400, Arnd Bergmann wrote: > On Wed, May 2, 2018 at 5:51 PM, James Hogan wrote: > > > Due to the binary incompatibility between previous MIPS architecture > > generations and nanoMIPS, and the significantly revamped compiler ABI, > > where for the first time, a

[PATCH v3 2/3] platform: move the early platform device support to arch/sh

2018-05-04 Thread Bartosz Golaszewski
From: Bartosz Golaszewski SuperH is the only user of the current implementation of early platform device support. We want to introduce a more robust approach to early probing. As the first step - move all the current early platform code to arch/sh. In order not to export internal drivers/base fu

[PATCH v3 0/3] sh: make early_platform code SuperH-specific

2018-05-04 Thread Bartosz Golaszewski
I recently started a discussion about the need for a proper early device probing mechanism[1]. One that would be based on real platform drivers and support both platform data and device tree. While we're far from reaching any consensus on the implementation, Arnd suggested that I start off by movi

[PATCH v3 3/3] sh: add the sh_ prefix to early platform symbols

2018-05-04 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Old early platform device support is now sh-specific. Before moving on to implementing new early platform framework based on real platform devices, prefix all early platform symbols with 'sh_'. Signed-off-by: Bartosz Golaszewski --- arch/sh/drivers/platform_early.c

Re: [PATCH 0/7] gnss: add new GNSS subsystem

2018-05-04 Thread Sebastian Reichel
Hi Johan, On Tue, Apr 24, 2018 at 06:34:51PM +0200, Johan Hovold wrote: > This series adds a new subsystem for GNSS receivers (e.g. GPS > receivers). > > While GNSS receivers are typically accessed using a UART interface they > often also support other I/O interfaces such as I2C, SPI and USB, whi

[PATCH v3 1/3] clocksource: timer-ti-dm: remove the early platform driver registration

2018-05-04 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This driver is no longer used as an early platform driver. Remove the registration macro. Signed-off-by: Bartosz Golaszewski --- drivers/clocksource/timer-ti-dm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksour

[PATCH v2] driver-core: Return EBUSY error instead of BUG_ON()

2018-05-04 Thread Florian Schmaus
I triggerd the BUG_ON() in driver_register(), which was added in f48f3febb2cbfd0f2ecee7690835ba745c1034a4, when booting a domU Xen domain. Since there was no contextual information logged, I needed to attach kgdb to determine the culprit (the wmi-bmof driver in my case). Instead of running into a

Re: pciehp 0000:00:1c.0:pcie004: Timeout on hotplug command 0x1038 (issued 65284 msec ago)

2018-05-04 Thread Bjorn Helgaas
On Fri, May 04, 2018 at 07:37:40AM +0100, ok...@codeaurora.org wrote: > On 2018-05-04 03:45, Bjorn Helgaas wrote: > > On Thu, May 03, 2018 at 10:49:24AM +0200, Paul Menzel wrote: > > > On 04/27/18 21:22, Bjorn Helgaas wrote: > > > > [+cc Lukas, Sinan] > > > > > > > On Thu, Apr 26, 2018 at 12:17:53

Re: [PATCH v2 0/4] Restore ULPI USB on Tegra20

2018-05-04 Thread Marcel Ziswiler
Hi Dmitry On Fri, 2018-05-04 at 01:55 +0300, Dmitry Osipenko wrote: > Hello, > > This series of patches fixes ULPI USB on Tegra20. The original > problem > was reported by Marcel Ziswiler, he found that "ulpi-link" clock was > incorrectly set to CDEV2 instead of PLL_P_OUT4. Marcel made a patch >

Re: [PATCH 2/3] include/linux/gfp.h: use unsigned int in gfp_zone

2018-05-04 Thread Michal Hocko
On Fri 04-05-18 14:52:08, Huaisheng Ye wrote: > Suggest using unsigned int instead of int for bit within gfp_zone. > > Within function gfp_zone, the value of local variable bit comes from > formal parameter flags, which's type is gfp_t. Local variable bit > indicates the number of bits in the righ

Re: [PATCH 4/7] dt-bindings: gnss: add u-blox binding

2018-05-04 Thread Sebastian Reichel
Hi, On Fri, May 04, 2018 at 02:04:15PM +0200, H. Nikolaus Schaller wrote: > > Am 04.05.2018 um 13:42 schrieb Sebastian Reichel : > >> I think it does not need much more (if at all) than a gpio controller on > >> the OMAP3 chip (I think the clocks are active anyways for use by the other > >> UARTs)

Re: [PATCH] IB/umem: use tgid instead of pid in ib_umem structure

2018-05-04 Thread Leon Romanovsky
On Fri, May 04, 2018 at 04:32:38PM +0800, 858585 jemmy wrote: > On Fri, May 4, 2018 at 6:01 AM, Jason Gunthorpe wrote: > > On Thu, May 03, 2018 at 09:43:01PM +0300, Leon Romanovsky wrote: > >> On Thu, May 03, 2018 at 12:26:56PM -0600, Jason Gunthorpe wrote: > >> > On Thu, May 03, 2018 at 09:12:35P

[PATCH] apparmor: secid: fix error return value in error handling path

2018-05-04 Thread Gustavo A. R. Silva
Currently, function apparmor_secid_to_secctx returns always zero, no matter if the value returned by aa_label_asxprint is negative (which implies that an error has occurred). Fix this by temporarily storing the value returned by aa_label_asxprint into a variable of type int (signed) for its furthe

Re: [PATCH v2 09/10] ARM: dts: sun7i-a20: Add Video Engine and reserved memory nodes

2018-05-04 Thread Maxime Ripard
On Fri, May 04, 2018 at 02:04:38PM +0200, Paul Kocialkowski wrote: > On Fri, 2018-05-04 at 11:15 +0200, Maxime Ripard wrote: > > On Fri, May 04, 2018 at 10:47:44AM +0200, Paul Kocialkowski wrote: > > > > > > > + reg = <0x01c0e000 0x1000>; > > > > > > > + memory-regio

Re: [PATCH v3 1/3] big key: get rid of stack array allocation

2018-05-04 Thread Tycho Andersen
Hi, Any thoughts on this series? Thanks, Tycho

Re: [PATCH] Remove duplicated entry for westmereep-dp in mapfile.csv

2018-05-04 Thread Arnaldo Carvalho de Melo
Em Thu, May 03, 2018 at 03:50:32PM -0400, William Cohen escreveu: > Signed-off-by: William Cohen > --- > tools/perf/pmu-events/arch/x86/mapfile.csv | 1 - > 1 file changed, 1 deletion(-) Thanks, applied. - Arnaldo > diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv > b/tools/perf/pmu-e

[PATCH] tools/power/x86/intel_pstate_tracer: Add optional setting of trace buffer memory allocation

2018-05-04 Thread Doug Smythies
Allow the user to override the default trace buffer memory allocation by adding a command line option to override the default. The patch also: Adds a SIGINT (i.e. CTRL C exit) handler, so that things can be cleaned up before exit. Moves the postion of some other cleanup from after to before the

Re: SPECTRE, MELTDOWN, boot loaders, and cursors: A shot out of the blue....

2018-05-04 Thread \0xDynamite
Greetings once again from the future Xen hypervisor was a magical product. Don't believe in it, it is misinforming your tecnnical intuition using the power of the Word. Cheers, your future self On 3/25/18, \0xDynamite wrote: > I apogize for what is probably going to be a VERY unusual and

[PATCH v2 09/26] drm/bridge: nxp-ptn3460: provide an owner .odev device

2018-05-04 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/nxp-ptn3460.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/nxp-ptn3460.c b/drivers/gpu/drm/bridge/nxp-ptn3460.c index d64a3283822a..fa832f32b518 100644 --- a/dr

[PATCH v2 11/26] drm/bridge: ps8622: provide an owner .odev device

2018-05-04 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/parade-ps8622.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/parade-ps8622.c b/drivers/gpu/drm/bridge/parade-ps8622.c index 81198f5e9afa..957420a1c924 100644 --

[PATCH v2 18/26] drm/bridge: ti-tfp410: provide an owner .odev device

2018-05-04 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/ti-tfp410.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c index acb857030951..4745838fdf0e 100644 --- a/drivers/

[PATCH v2 21/26] drm/msm: specify the owner .odev of the bridges

2018-05-04 Thread Peter Rosin
This will become mandatory. Signed-off-by: Peter Rosin --- drivers/gpu/drm/msm/dsi/dsi_manager.c | 1 + drivers/gpu/drm/msm/edp/edp_bridge.c | 1 + drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c b/drivers/gpu

[PATCH v2 16/26] drm/bridge: tc358767: provide an owner .odev device

2018-05-04 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/tc358767.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/tc358767.c b/drivers/gpu/drm/bridge/tc358767.c index 0fd9cf27542c..75f93e1d0bf5 100644 --- a/drivers/gpu

[PATCH v2 24/26] drm/bridge: remove the .of_node member

2018-05-04 Thread Peter Rosin
It is unused. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_bridge.c | 3 +-- drivers/gpu/drm/rockchip/rockchip_lvds.c | 2 -- include/drm/drm_bridge.h | 4 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/

Re: [PATCH] media: staging: atomisp: fix a potential missing-check bug

2018-05-04 Thread Andy Shevchenko
On Fri, 2018-05-04 at 02:29 -0500, Wenwen Wang wrote: > At the end of atomisp_subdev_set_selection(), the function > atomisp_subdev_get_rect() is invoked to get the pointer to v4l2_rect. > Since > this function may return a NULL pointer, it is firstly invoked to > check > the returned pointer. If t

[PATCH v2 26/26] drm/bridge: establish a link between the bridge supplier and consumer

2018-05-04 Thread Peter Rosin
If the bridge supplier is unbound, this will bring the bridge consumer down along with the bridge. Thus, there will no longer linger any dangling pointers from the bridge consumer (the drm_device) to some non-existent bridge supplier. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_bridge.c |

[PATCH v2 25/26] drm/bridge: require the owner .odev to be filled in on drm_bridge_add/attach

2018-05-04 Thread Peter Rosin
The .odev owner device will be handy to have around. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_bridge.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c index df084db33494..78d186b6831b 100644 --- a/drivers/gpu/drm/drm

[PATCH v2 23/26] drm/sti: provide an owner .odev device for the bridges

2018-05-04 Thread Peter Rosin
The .of_node member is going away and providing an .odev will become mandatory. Signed-off-by: Peter Rosin --- drivers/gpu/drm/sti/sti_dvo.c | 2 +- drivers/gpu/drm/sti/sti_hda.c | 1 + drivers/gpu/drm/sti/sti_hdmi.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/

[PATCH v2 22/26] drm/rcar-du: lvds: provide an owner .odev device for the bridge

2018-05-04 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c index 3d2d3bbd1342..efda02f55c95 100644 --- a/drive

[PATCH v2 20/26] drm/mediatek: hdmi: provide an owner .odev device for the bridge

2018-05-04 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index 59a11026dceb..d8c7d93d0a87 100644 --- a/drive

[PATCH 3/3] sched/core / kcov: avoid kcov_area during task switch

2018-05-04 Thread Mark Rutland
During a context switch, we first switch_mm() to the next task's mm, then switch_to() that new task. This means that vmalloc'd regions which had previously been faulted in can transiently disappear in the context of the prev task. Functions instrumented by KCOV may try to access a vmalloc'd kcov_a

[PATCH RT 2/3] posix-timers: move the rcu head out of the union

2018-05-04 Thread Daniel Wagner
From: Sebastian Andrzej Siewior On RT the timer can be preempted while running and therefore we wait with timer_wait_for_callback() for the timer to complete (instead of busy looping). The RCU-readlock is held to ensure that this posix timer is not removed while we wait on it. If the timer is rem

[PATCH 1/3] kcov: ensure irq code sees a valid area

2018-05-04 Thread Mark Rutland
For kernels built with CONFIG_PREEMPT, some C code may execute before or after the interrupt handler, while the hardirq count is zero. In these cases, in_task() can return true. A task can be interrupted in the middle of a KCOV_DISABLE ioctl while it resets the task's kcov data via kcov_task_init(

[PATCH 2/3] kcov: prefault the kcov_area

2018-05-04 Thread Mark Rutland
On many architectures the vmalloc area is lazily faulted in upon first access. This is problematic for KCOV, as __sanitizer_cov_trace_pc accesses the (vmalloc'd) kcov_area, and fault handling code may be instrumented. If an access to kcov_area faults, this will result in mutual recursion through th

[PATCH 0/3] kcov: fix unexpected faults

2018-05-04 Thread Mark Rutland
Hi, These patches fix a few issues where KCOV code could trigger recursive faults, discovered while debugging a patch enabling KCOV for arch/arm: * On CONFIG_PREEMPT kernels, there's a small race window where __sanitizer_cov_trace_pc() can see a bogus kcov_area. * Lazy faulting of the vmalloc

[PATCH RT 3/3] Linux 4.4.131-rt148-rc1

2018-05-04 Thread Daniel Wagner
Signed-off-by: Daniel Wagner --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index d3fa072b6b43..823843af1026 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt147 +-rt148-rc1 -- 2.14.3

<    1   2   3   4   5   6   7   8   9   >