RE: [PATCH 03/11] x86 topology: Add CPUID.1F multi-die/package support

2019-02-25 Thread Brown, Len
Hi Brice, Yes, you re-discovered the bug that Kan Liang pointed out last week. I have updated this patch set, and the latest for testing is in my git tree on kernel.org or https://github.com/lenb/linux.git x86 Note that I took your advice and left the core_siblings with its original definitio

Re: [RFC v9 2/5] dt-bindings: pstore-block: new support for blkoops

2019-02-25 Thread liaoweixiong
On 2019-02-22 23:36, Rob Herring wrote: > +boot-architecture list > > On Tue, Feb 19, 2019 at 07:52:47PM +0800, liaoweixiong wrote: >> Create DT binding document for blkoops. >> >> Signed-off-by: liaoweixiong >> --- >> .../devicetree/bindings/pstore/blkoops.txt | 53 >> +++

Re: [PATCH v9 04/27] clocksource: Add a new timer-ingenic driver

2019-02-25 Thread Daniel Lezcano
Hi Paul, sorry for the delay but this driver requires a bit more of attention. Overall I disagree the driver because of its complexity. We should not see that for this driver. Did you check if using node alias to specify the clocksource and the clockevent can fit your need. https://git.kernel.o

Re: [RFC][PATCH 0/3] arm64 relaxed ABI

2019-02-25 Thread Catalin Marinas
Hi Szabolcs, Thanks for looking into this. Comments below. On Tue, Feb 19, 2019 at 06:38:31PM +, Szabolcs Nagy wrote: > i think these rules work for the cases i care about, a more > tricky question is when/how to check for the new syscall abi > and when/how the TCR_EL1.TBI0 setting may be tur

Re: [RFC][PATCH 0/3] arm64 relaxed ABI

2019-02-25 Thread Szabolcs Nagy
On 25/02/2019 16:57, Catalin Marinas wrote: > On Tue, Feb 19, 2019 at 06:38:31PM +, Szabolcs Nagy wrote: >> i think these rules work for the cases i care about, a more >> tricky question is when/how to check for the new syscall abi >> and when/how the TCR_EL1.TBI0 setting may be turned off. >

Re: [PATCH v8 05/26] clocksource: Add driver for the Ingenic JZ47xx OST

2019-02-25 Thread Stephen Boyd
Quoting Paul Cercueil (2019-02-22 19:17:25) > Hi, > > Anything new on this? It still happens on 5.0-rc7. > It probes with late_initcall, and not with device_initcall. > I have no clue what's going on. > I'm not sure what's going on either. You'll probably have to debug when the device is created

Re: [PATCH v2] Documentation/process/howto: Update for 4.x -> 5.x versioning

2019-02-25 Thread Jonathan Corbet
On Sun, 24 Feb 2019 23:45:23 +0800 Zenghui Yu wrote: > As linux-5.0 is coming up soon, the howto.rst document can be > updated for the new kernel version. Change all 4.x references > to 5.x now. > > Signed-off-by: Zenghui Yu Overall: I think there's value in having the docs reflect current num

[PATCH] docs: driver-api: iio: fix errors in documentation

2019-02-25 Thread Tomasz Duszynski
Improve IIO documentation by fixing a few mistakes. Signed-off-by: Tomasz Duszynski --- Documentation/driver-api/iio/buffers.rst | 2 +- Documentation/driver-api/iio/core.rst| 6 +++--- Documentation/driver-api/iio/hw-consumer.rst | 2 +- Documentation/driver-api/iio/triggers.rst

Re: [PATCH v9 04/27] clocksource: Add a new timer-ingenic driver

2019-02-25 Thread Paul Cercueil
Hi, Le lun. 25 févr. 2019 à 12:55, Daniel Lezcano a écrit : Hi Paul, sorry for the delay but this driver requires a bit more of attention. Overall I disagree the driver because of its complexity. We should not see that for this driver. What's complex in this driver? Did you check if usin

[PATCH 01/14] x86 topology: Fix doc typo

2019-02-25 Thread Len Brown
From: Len Brown Syntax only, no functional or semantic change. reflect actual cpuinfo_x86 field name: s/logical_id/logical_proc_id/ Signed-off-by: Len Brown Cc: linux-doc@vger.kernel.org --- Documentation/x86/topology.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Do

[PATCH 05/14] cpu topology: Export die_id

2019-02-25 Thread Len Brown
From: Len Brown Export die_id in cpu topology, for the benefit of hardware that has multiple-die/package. Signed-off-by: Len Brown Cc: linux-doc@vger.kernel.org --- Documentation/cputopology.txt | 6 ++ arch/x86/include/asm/topology.h | 1 + drivers/base/topology.c | 4 incl

[PATCH 02/14] topolgy: Simplify cputopology.txt formatting and wording

2019-02-25 Thread Len Brown
From: Len Brown Syntax only, no functional or semantic change. Signed-off-by: Len Brown Cc: linux-doc@vger.kernel.org --- Documentation/cputopology.txt | 46 +-- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/Documentation/cputopology.txt b/Docu

[PATCH 04/14] x86 topology: Add CPUID.1F multi-die/package support

2019-02-25 Thread Len Brown
From: Len Brown Some new systems have multiple software-visible die within each package. Update Linux parsing of the Intel CPUID "Extended Topology Leaf" to handle either CPUID.B, or the new CPUID.1F. Add cpuinfo_x86.die_id and cpuinfo_x86.max_dies to store the result. die_id will be non-zero

[RFC v10 1/4] pstore/blk: new support logger for block devices

2019-02-25 Thread liaoweixiong
pstore_blk is similar to pstore_ram, but dump log to block devices rather than persistent ram. Why should we need pstore_blk? 1. Most embedded intelligent equipment have no persistent ram, which increases costs. We perfer to cheaper solutions, like block devices. In fact, there is already a sample

[RFC v10 4/4] Documentation: pstore/blk: create document for pstore_blk

2019-02-25 Thread liaoweixiong
The document, at Documentation/admin-guide/pstore-block.rst, tells user how to use pstore_blk and the attentions about panic read/write Signed-off-by: liaoweixiong --- Documentation/admin-guide/pstore-block.rst | 233 + MAINTAINERS| 1

[RFC v10 2/4] pstore/blk: add blkoops for pstore_blk

2019-02-25 Thread liaoweixiong
blkoops is a sample for pstore/blk. It can only record oops, excluding panics as no read/write apis for panic registered. It support settings on Kconfg/module parameters. It can record oops log even power failure if "PSTORE_BLKOOPS_BLKDEV" on Kconfig or "blkdev" on module parameter is valid. Otherw

[RFC v10 0/4] pstore/block: new support logger for block devices

2019-02-25 Thread liaoweixiong
Why should we need pstore_block? 1. Most embedded intelligent equipment have no persistent ram, which increases costs. We perfer to cheaper solutions, like block devices. In fast, there is already a sample for block device logger in driver MTD (drivers/mtd/mtdoops.c). 2. Do not any equipment have b

[RFC v10 3/4] pstore/blk: support pmsg for pstore block

2019-02-25 Thread liaoweixiong
To enable pmsg, just set pmsg_size when block device register blkzone. Signed-off-by: liaoweixiong --- fs/pstore/Kconfig | 21 fs/pstore/blkoops.c| 10 ++ fs/pstore/blkzone.c| 253 + include/linux/pstore_blk.h | 1 + 4