[PATCH v2] NTB: switchtec_ntb: Update switchtec documentation with pre-requisites for NTB

2018-09-26 Thread Wesley.Sheng
Update switchtec documentation 1.add pre-requisites for NTB driver 2.misc updates change NTB hardware driver name to ntb_hw_switchtec update the description of 2 partitions limit add reference to Linux Documentation/ntb.txt add use of term 'Command ID' add use of term 'Command Return Value' a

Re: [0/5] rcu doc updates

2018-09-26 Thread Paul E. McKenney
On Tue, Sep 25, 2018 at 11:49:10AM -0700, Joel Fernandes wrote: > On Tue, Sep 25, 2018 at 11:26 AM Joel Fernandes (Google) > wrote: > > > > Hi Paul, > > These patches are documentation updates for the rcu_dynticks rolling into > > rcu_data and also the updates to the fact that there's a single rcu

Reminder,

2018-09-26 Thread Juliet Muhammad
Hello Please i still await your response regarding my previous email.

Re: [PATCH 0/3] x86/mm/doc: Clean up mm.txt

2018-09-26 Thread Baoquan He
On 09/21/18 at 10:05am, Baoquan He wrote: > This clean up is suggested by Ingo. This series is messy, have sent v2. So NACK this v1 series. > > It firstly fix the confusions in mm layout tables by unifying > each memory region description in the consistent style. > > Secondly take the KASLR wor

[PATCH v2 2/3] x86/mm/doc: Clean up the memory region layout descriptions

2018-09-26 Thread Baoquan He
In Documentation/x86/x86_64/mm.txt, the style of descritions about memory region layout is a little confusing: - mix size in TB with 'bits' - sometimes mention a size in the description and sometimes not - sometimes list holes by address, sometimes only as an 'unused hole' line So fix them to

[PATCH v2 1/3] x86/KASLR: Update document about KERNEL_IMAGE_SIZE

2018-09-26 Thread Baoquan He
Currently CONFIG_RANDOMIZE_BASE=y is default set, update the relevant document about KERNEL_IMAGE_SIZE. Signed-off-by: Baoquan He --- arch/x86/include/asm/page_64_types.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/x86/include/asm/page_64_types.h b/arch/x86/i

[PATCH v2 3/3] x86/doc/kaslr.txt: Create a separate part of document abourt KASLR at the end of file

2018-09-26 Thread Baoquan He
Take the original content as the first part to only list static mm layout tables in non-KASLR case. Then add KASLR document at the end. Signed-off-by: Baoquan He --- Documentation/x86/x86_64/mm.txt | 64 +++-- 1 file changed, 56 insertions(+), 8 deletions(-)

[PATCH v2 0/3] x86/mm/doc: Clean up mm.txt

2018-09-26 Thread Baoquan He
This clean up is suggested by Ingo. It firstly fix the confusions in mm layout tables by unifying each memory region description in the consistent style. Secondly take the KASLR words out of the mm layout tables to make it as a separate section to only list mm layout in non-KASLR case. Then add K

Re: [PATCH 2/2] hwmon: ina3221: Add enable sysfs nodes

2018-09-26 Thread Nicolin Chen
On Wed, Sep 26, 2018 at 01:44:55PM -0700, Guenter Roeck wrote: > On Wed, Sep 26, 2018 at 01:25:20PM -0700, Nicolin Chen wrote: > > Hello, > > > > On Wed, Sep 26, 2018 at 12:58:17PM -0700, Guenter Roeck wrote: > > > On Wed, Sep 26, 2018 at 11:02:44AM -0700, Nicolin Chen wrote: > > > > On Wed, Sep 2

Re: [PATCH 2/2] hwmon: ina3221: Add enable sysfs nodes

2018-09-26 Thread Guenter Roeck
On Wed, Sep 26, 2018 at 01:25:20PM -0700, Nicolin Chen wrote: > Hello, > > On Wed, Sep 26, 2018 at 12:58:17PM -0700, Guenter Roeck wrote: > > On Wed, Sep 26, 2018 at 11:02:44AM -0700, Nicolin Chen wrote: > > > On Wed, Sep 26, 2018 at 06:06:32AM -0700, Guenter Roeck wrote: > > > > On 09/25/2018 11:

Re: [PATCH 2/2] hwmon: ina3221: Add enable sysfs nodes

2018-09-26 Thread Nicolin Chen
Hello, On Wed, Sep 26, 2018 at 12:58:17PM -0700, Guenter Roeck wrote: > On Wed, Sep 26, 2018 at 11:02:44AM -0700, Nicolin Chen wrote: > > On Wed, Sep 26, 2018 at 06:06:32AM -0700, Guenter Roeck wrote: > > > On 09/25/2018 11:42 PM, Nicolin Chen wrote: > > > > The inX_enable interface allows user sp

Re: [PATCH 2/2] hwmon: ina3221: Add enable sysfs nodes

2018-09-26 Thread Guenter Roeck
Nicolin, On Wed, Sep 26, 2018 at 11:02:44AM -0700, Nicolin Chen wrote: > On Wed, Sep 26, 2018 at 06:06:32AM -0700, Guenter Roeck wrote: > > On 09/25/2018 11:42 PM, Nicolin Chen wrote: > > > The inX_enable interface allows user space to enable or disable > > > the corresponding channel. Meanwhile,

Re: [PATCH 1/2] hwmon: ina3221: Add power sysfs nodes

2018-09-26 Thread Nicolin Chen
Hello Guenter, On Wed, Sep 26, 2018 at 12:45:34PM -0700, Guenter Roeck wrote: > Hi Nicolin, > > On Wed, Sep 26, 2018 at 11:20:06AM -0700, Nicolin Chen wrote: > > On Wed, Sep 26, 2018 at 05:34:53AM -0700, Guenter Roeck wrote: > > > Hi Nicolin, > > > > > > On 09/25/2018 11:42 PM, Nicolin Chen wrot

Re: [PATCH 1/2] hwmon: ina3221: Add power sysfs nodes

2018-09-26 Thread Guenter Roeck
Hi Nicolin, On Wed, Sep 26, 2018 at 11:20:06AM -0700, Nicolin Chen wrote: > On Wed, Sep 26, 2018 at 05:34:53AM -0700, Guenter Roeck wrote: > > Hi Nicolin, > > > > On 09/25/2018 11:42 PM, Nicolin Chen wrote: > > > The hwmon sysfs ABI supports powerX_input and powerX_crit. This > > > can ease user

Re: [PATCH security-next v3 04/29] LSM: Remove initcall tracing

2018-09-26 Thread Kees Cook
On Wed, Sep 26, 2018 at 9:35 AM, Steven Rostedt wrote: > On Mon, 24 Sep 2018 17:18:07 -0700 > Kees Cook wrote: > >> This partially reverts commit 58eacfffc417 ("init, tracing: instrument >> security and console initcall trace events") since security init calls >> are about to no longer resemble r

Re: [PATCH 1/2] hwmon: ina3221: Add power sysfs nodes

2018-09-26 Thread Nicolin Chen
On Wed, Sep 26, 2018 at 05:34:53AM -0700, Guenter Roeck wrote: > Hi Nicolin, > > On 09/25/2018 11:42 PM, Nicolin Chen wrote: > > The hwmon sysfs ABI supports powerX_input and powerX_crit. This > > can ease user space programs who care more about power in total > > than voltage or current individua

Re: [PATCH 2/2] hwmon: ina3221: Add enable sysfs nodes

2018-09-26 Thread Nicolin Chen
On Wed, Sep 26, 2018 at 06:06:32AM -0700, Guenter Roeck wrote: > On 09/25/2018 11:42 PM, Nicolin Chen wrote: > > The inX_enable interface allows user space to enable or disable > > the corresponding channel. Meanwhile, according to hwmon ABI, a > > disabled channel/sensor should return -ENODATA as

Re: [PATCH security-next v3 04/29] LSM: Remove initcall tracing

2018-09-26 Thread Steven Rostedt
On Mon, 24 Sep 2018 17:18:07 -0700 Kees Cook wrote: > This partially reverts commit 58eacfffc417 ("init, tracing: instrument > security and console initcall trace events") since security init calls > are about to no longer resemble regular init calls. I'm not against the change, but how much are

[PATCH v3 1/4] fpga: mgr: add devm_fpga_mgr_create

2018-09-26 Thread Alan Tull
Add devm_fpga_mgr_create() which is the managed version of fpga_mgr_create(). Change current FPGA manager drivers to use devm_fpga_mgr_create() Signed-off-by: Alan Tull Suggested-by: Federico Vaga --- v2: add suggested-by v3: remove some unclear documentation about fpga_mgr_unregister --- Docu

[PATCH v3 4/4] docs: fpga: document programming fpgas using regions

2018-09-26 Thread Alan Tull
Clarify the intention that interfaces and upper layers use regions rather than managers directly. Rearrange API documentation to better group the API functions used to create FPGA mgr/bridge/regions and the API used for programming FPGAs. Signed-off-by: Alan Tull Suggested-by: Federico Vaga ---

[PATCH v3 3/4] fpga: add devm_fpga_region_create

2018-09-26 Thread Alan Tull
Add devm_fpga_region_create() which is the managed version of fpga_region_create(). Change current region drivers to use devm_fpga_region_create(). Signed-off-by: Alan Tull Suggested-by: Federico Vaga --- v2: add suggested-by v3: remove some unclear documentation about fpga_region_unregister --

[PATCH v3 2/4] fpga: bridge: add devm_fpga_bridge_create

2018-09-26 Thread Alan Tull
Add devm_fpga_bridge_create() which is the managed version of fpga_bridge_create(). Change current bridge drivers to use devm_fpga_bridge_create(). Signed-off-by: Alan Tull Suggested-by: Federico Vaga Acked-by: Moritz Fischer --- v2: add suggested-by v3: remove some unclear documentation about

[PATCH v3 0/4] fpga: add devm managed create APIs

2018-09-26 Thread Alan Tull
Implement managed devm_fpga_(mgr|bridge|region)_create() functions. Patchset is dependent on the patches that were acked/sent upstream: https://lkml.org/lkml/2018/9/12/639 v3 changes: * take out unclear explanation fpga_(mgr|br|region)_unregister * Add acks * drop the separately resent "dt-bin

Re: [PATCH 2/2] init: add support to directly boot to a mapped device

2018-09-26 Thread Randy Dunlap
On 9/25/18 10:00 PM, Helen Koike wrote: > From: Will Drewry > > Add a dm= kernel parameter modeled after the md= parameter from > do_mounts_md. It allows for device-mapper targets to be configured at > boot time for use early in the boot process (as the root device or > otherwise). > > Signed-of

Re: [PATCH 2/2] hwmon: ina3221: Add enable sysfs nodes

2018-09-26 Thread Guenter Roeck
Hi Nicolin, On 09/25/2018 11:42 PM, Nicolin Chen wrote: The inX_enable interface allows user space to enable or disable the corresponding channel. Meanwhile, according to hwmon ABI, a disabled channel/sensor should return -ENODATA as a read result. However, there're configurable nodes sharing t

Re: [PATCH 1/2] hwmon: ina3221: Add power sysfs nodes

2018-09-26 Thread Guenter Roeck
Hi Nicolin, On 09/25/2018 11:42 PM, Nicolin Chen wrote: The hwmon sysfs ABI supports powerX_input and powerX_crit. This can ease user space programs who care more about power in total than voltage or current individually. So this patch adds these two sysfs nodes for INA3221 driver. Ah, sorry

Re: [PATCH v2 5/6] powerpc/powernv: hold device_hotplug_lock when calling memtrace_offline_pages()

2018-09-26 Thread David Hildenbrand
On 25/09/2018 14:15, Balbir Singh wrote: > On Tue, Sep 25, 2018 at 11:14:56AM +0200, David Hildenbrand wrote: >> Let's perform all checking + offlining + removing under >> device_hotplug_lock, so nobody can mess with these devices via >> sysfs concurrently. >> >> Cc: Benjamin Herrenschmidt >> Cc:

Re: [PATCH v7 05/24] clocksource: Add a new timer-ingenic driver

2018-09-26 Thread Daniel Lezcano
On 26/09/2018 08:01, Paul Cercueil wrote: > > Le 25 sept. 2018 10:12 PM, Daniel Lezcano a écrit > : >> >> On 25/09/2018 15:38, Paul Cercueil wrote: >>> >>> Le 24 sept. 2018 9:14 AM, Daniel Lezcano a >>> écrit : On 24/09/2018 08:53, Paul Cercueil wrote: > > Le 24 sept. 2018

Re: [PATCH 0/2] boot to a mapped device

2018-09-26 Thread Richard Weinberger
Helen, On Wed, Sep 26, 2018 at 7:01 AM Helen Koike wrote: > > This series is reviving an old patchwork. > Booting from a mapped device requires an initramfs. This series is > allows for device-mapper targets to be configured at boot time for > use early in the boot process (as the root device or