Re: [PATCH 0/12] PM / sleep: Driver flags for system suspend/resume

2017-10-20 Thread Rafael J. Wysocki
On Friday, October 20, 2017 10:46:07 PM CEST Bjorn Helgaas wrote: > On Mon, Oct 16, 2017 at 03:12:35AM +0200, Rafael J. Wysocki wrote: > > Hi All, > > > > Well, this took more time than expected, as I tried to cover everything I > > had > > in mind regarding PM flags for drivers. > > For the par

Re: [PATCH 0/12] PM / sleep: Driver flags for system suspend/resume

2017-10-20 Thread Bjorn Helgaas
On Mon, Oct 16, 2017 at 03:12:35AM +0200, Rafael J. Wysocki wrote: > Hi All, > > Well, this took more time than expected, as I tried to cover everything I had > in mind regarding PM flags for drivers. For the parts that touch PCI, Acked-by: Bjorn Helgaas I doubt there'll be conflicts with chan

[PATCH] bug-hunting.rst: Fix an example and a typo in a Sphinx tag

2017-10-20 Thread Christophe JAILLET
- Use the same file name in the explanation and in the example (conex.c vs sonixj.c) - Add a missing ':' in a :ref: tag which leads to incorrect Shpinx output - Add some missing ',' and ';' Signed-off-by: Christophe JAILLET --- Documentation/admin-guide/bug-hunting.rst | 8 1 file chang

[PATCH v1 1/2] thunderbolt: Make pathname to force_power shorter

2017-10-20 Thread Andy Shevchenko
WMI is the bus inside kernel, so, we may access the GUID via /sys/bus/wmi instead of doing this through /sys/devices path. Signed-off-by: Andy Shevchenko --- Documentation/admin-guide/thunderbolt.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/th

[PATCH v1 2/2] thunderbolt: Additional step for built-in module to power on

2017-10-20 Thread Andy Shevchenko
The device will not appear until we rescan the bus. Signed-off-by: Andy Shevchenko --- Documentation/admin-guide/thunderbolt.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/admin-guide/thunderbolt.rst b/Documentation/admin-guide/thunderbolt.rst index 9b55952039a6..869

Re: [PATCH 1/3] printk: Introduce per-console loglevel setting

2017-10-20 Thread Calvin Owens
On 10/20/2017 01:05 AM, Petr Mladek wrote: On Thu 2017-10-19 16:40:45, Calvin Owens wrote: On 09/28/2017 05:43 PM, Calvin Owens wrote: Not all consoles are created equal: depending on the actual hardware, the latency of a printk() call can vary dramatically. The worst examples are serial consol

[PATCH v9 10/10] sparc64: Add support for ADI (Application Data Integrity)

2017-10-20 Thread Khalid Aziz
ADI is a new feature supported on SPARC M7 and newer processors to allow hardware to catch rogue accesses to memory. ADI is supported for data fetches only and not instruction fetches. An app can enable ADI on its data pages, set version tags on them and use versioned addresses to access the data p

[PATCH v9 00/10] Application Data Integrity feature introduced by SPARC M7

2017-10-20 Thread Khalid Aziz
SPARC M7 processor adds additional metadata for memory address space that can be used to secure access to regions of memory. This additional metadata is implemented as a 4-bit tag attached to each cacheline size block of memory. A task can set a tag on any number of such blocks. Access to such bloc

Re: [PATCH 7/8] Documentation: fix selftests related file refs

2017-10-20 Thread Jerry Hoemann
On Thu, Oct 12, 2017 at 03:24:10PM -0500, Tom Saeger wrote: > Make refs to selftests files valid including: > - watchdog-test.c > - dnotify_test.c > > Signed-off-by: Tom Saeger > --- > Documentation/filesystems/dnotify.txt| 2 +- > Documentation/watchdog/hpwdt.txt | 2 +- > Docum

Re: rcu kernel-doc issues (4.14-rc1)

2017-10-20 Thread Randy Dunlap
On 10/20/17 09:42, Paul E. McKenney wrote: > On Wed, Oct 18, 2017 at 10:36:47AM -0600, Jonathan Corbet wrote: >> On Wed, 18 Oct 2017 09:27:01 -0700 >> "Paul E. McKenney" wrote: >> >>> On a related topic... Is there anything that test-builds docbook prior >>> to patches hitting mainline? My exper

Re: rcu kernel-doc issues (4.14-rc1)

2017-10-20 Thread Paul E. McKenney
On Wed, Oct 18, 2017 at 10:36:47AM -0600, Jonathan Corbet wrote: > On Wed, 18 Oct 2017 09:27:01 -0700 > "Paul E. McKenney" wrote: > > > On a related topic... Is there anything that test-builds docbook prior > > to patches hitting mainline? My experience indicates that the answer is > > "no". >

Re: [PATCH v7 1/4] arm64: kvm: route synchronous external abort exceptions to EL2

2017-10-20 Thread gengdongjiu
Hi james, Thanks for the mail and sorry for my late response. 2017-10-19 1:21 GMT+08:00, James Morse : > Hi Dongjiu Geng, > > On 17/10/17 15:14, Dongjiu Geng wrote: >> ARMv8.2 adds a new bit HCR_EL2.TEA which controls to >> route synchronous external aborts to EL2, and adds a >> trap control bi

Re: [PATCH v2 1/2] mm, thp: introduce dedicated transparent huge page allocation interfaces

2017-10-20 Thread Christopher Lameter
On Fri, 20 Oct 2017, changbin...@intel.com wrote: > diff --git a/mm/huge_memory.c b/mm/huge_memory.c > index 269b5df..2a960fc 100644 > --- a/mm/huge_memory.c > +++ b/mm/huge_memory.c > @@ -501,6 +501,43 @@ void prep_transhuge_page(struct page *page) > set_compound_page_dtor(page, TRANSHUGE_P

Re: [Update][PATCH v2 01/12] PM / core: Add NEVER_SKIP and SMART_PREPARE driver flags

2017-10-20 Thread Rafael J. Wysocki
On Friday, October 20, 2017 1:35:27 PM CEST Greg Kroah-Hartman wrote: > On Fri, Oct 20, 2017 at 01:11:22PM +0200, Rafael J. Wysocki wrote: > > On Thursday, October 19, 2017 9:33:15 AM CEST Greg Kroah-Hartman wrote: > > > On Thu, Oct 19, 2017 at 01:17:31AM +0200, Rafael J. Wysocki wrote: > > > > Fro

Re: [Update][PATCH v2 01/12] PM / core: Add NEVER_SKIP and SMART_PREPARE driver flags

2017-10-20 Thread Greg Kroah-Hartman
On Fri, Oct 20, 2017 at 01:11:22PM +0200, Rafael J. Wysocki wrote: > On Thursday, October 19, 2017 9:33:15 AM CEST Greg Kroah-Hartman wrote: > > On Thu, Oct 19, 2017 at 01:17:31AM +0200, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > The motivation for this change is to provid

Re: [Update][PATCH v2 01/12] PM / core: Add NEVER_SKIP and SMART_PREPARE driver flags

2017-10-20 Thread Rafael J. Wysocki
On Thursday, October 19, 2017 9:33:15 AM CEST Greg Kroah-Hartman wrote: > On Thu, Oct 19, 2017 at 01:17:31AM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The motivation for this change is to provide a way to work around > > a problem with the direct-complete mechanism used

Re: [PATCH 0/2] Make squashfs fragments' cache size more configurable

2017-10-20 Thread Wuqixuan
Hi Phillip, Thank you for your fast reply. On Fri, Oct 20, 2017 at 2:18 PM, Phillip Lougher ‎ wrote: > On Thu, Oct 19, 2017 at 12:50 AM, Qixuan Wu wrote: >> Hi All, >> >> Currently, squashfs fragments' cache size is only determined by >> config option CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE. Use

Re: [RFC PATCH 3/5] gpio: gpiolib: Add chardev support for maintaining GPIO values on reset

2017-10-20 Thread Andrew Jeffery
On Fri, 2017-10-20 at 09:27 +0200, Linus Walleij wrote: > I paged Bartosz and Michael on this, they are experts on the use cases for > the character device and their opinions are likely more valuable than mine. > > > On Fri, Oct 20, 2017 at 5:37 AM, Andrew Jeffery wrote: > > Similar to devicetree

[PATCH v2 1/2] mm, thp: introduce dedicated transparent huge page allocation interfaces

2017-10-20 Thread changbin . du
From: Changbin Du This patch introduced 4 new interfaces to allocate a prepared transparent huge page. The aim is to remove duplicated code and simplify transparent huge page allocation. These are similar to alloc_hugepage_xxx which are for hugetlbfs pages. - alloc_transhuge_page_vma - alloc_

[PATCH v2 0/2] mm, thp: introduce dedicated transparent huge page allocation interfaces

2017-10-20 Thread changbin . du
From: Changbin Du The first one introduce new interfaces, the second one kills naming confusion. The aim is to simplify transparent huge page allocation and remove duplicated code. V2: - Coding improvment. - Fix build error if thp is disabled. Changbin Du (2): mm, thp: introduce dedicated

[PATCH v2 2/2] mm: rename page dtor functions to {compound,huge,transhuge}_page__dtor

2017-10-20 Thread changbin . du
From: Changbin Du The current name free_{huge,transhuge}_page are paired with alloc_{huge,transhuge}_page functions, but the actual page free function is still free_page() which will indirectly call free_{huge,transhuge}_page. So this patch removes this confusion by renaming all the compound pag

Re: [PATCH 1/2] mm, thp: introduce dedicated transparent huge page allocation interfaces

2017-10-20 Thread Du, Changbin
Hi Hocko, On Thu, Oct 19, 2017 at 02:49:31PM +0200, Michal Hocko wrote: > On Wed 18-10-17 19:00:26, Du, Changbin wrote: > > Hi Hocko, > > > > On Tue, Oct 17, 2017 at 12:20:52PM +0200, Michal Hocko wrote: > > > [CC Kirill] > > > > > > On Mon 16-10-17 17:19:16, changbin...@intel.com wrote: > > > >

Re: [RFC PATCH 1/5] gpio: gpiolib: Add core support for maintaining GPIO values on reset

2017-10-20 Thread Andrew Jeffery
On Fri, 2017-10-20 at 09:43 +0200, Linus Walleij wrote: > On Fri, Oct 20, 2017 at 9:17 AM, Linus Walleij > wrote: > > > > On Fri, Oct 20, 2017 at 5:37 AM, Andrew Jeffery wrote: > > > > > GPIO state reset tolerance is implemented in gpiolib through the > > > addition of a new pinconf parameter.

Re: [RFC PATCH 1/5] gpio: gpiolib: Add core support for maintaining GPIO values on reset

2017-10-20 Thread Andrew Jeffery
On Fri, 2017-10-20 at 09:17 +0200, Linus Walleij wrote: > > On Fri, Oct 20, 2017 at 5:37 AM, Andrew Jeffery wrote: >  > > GPIO state reset tolerance is implemented in gpiolib through the > > addition of a new pinconf parameter. With that, some renaming of helpers > > is done to clarify the scope o

Re: [PATCH 1/3] printk: Introduce per-console loglevel setting

2017-10-20 Thread Petr Mladek
On Thu 2017-10-19 16:40:45, Calvin Owens wrote: > On 09/28/2017 05:43 PM, Calvin Owens wrote: > >Not all consoles are created equal: depending on the actual hardware, > >the latency of a printk() call can vary dramatically. The worst examples > >are serial consoles, where it can spin for tens of mi

Re: [RFC PATCH 1/5] gpio: gpiolib: Add core support for maintaining GPIO values on reset

2017-10-20 Thread Linus Walleij
On Fri, Oct 20, 2017 at 9:17 AM, Linus Walleij wrote: > On Fri, Oct 20, 2017 at 5:37 AM, Andrew Jeffery wrote: > >> GPIO state reset tolerance is implemented in gpiolib through the >> addition of a new pinconf parameter. With that, some renaming of helpers >> is done to clarify the scope of the a

Re: [RFC PATCH 4/5] gpio: gpiolib: Add sysfs support for maintaining GPIO values on reset

2017-10-20 Thread Andrew Jeffery
On Fri, 2017-10-20 at 09:29 +0200, Linus Walleij wrote: > On Fri, Oct 20, 2017 at 5:37 AM, Andrew Jeffery > wrote: > > > Expose a new 'maintain' sysfs attribute to control both suspend and > > reset tolerance. > > > > Signed-off-by: Andrew Jeffery > > NAK. You will find the actual ABI document

Re: [RFC PATCH 4/5] gpio: gpiolib: Add sysfs support for maintaining GPIO values on reset

2017-10-20 Thread Linus Walleij
On Fri, Oct 20, 2017 at 5:37 AM, Andrew Jeffery wrote: > Expose a new 'maintain' sysfs attribute to control both suspend and > reset tolerance. > > Signed-off-by: Andrew Jeffery NAK. You will find the actual ABI documentation in Documentation/ABI/obsolete/sysfs-gpio that's why. This is being ph

Re: [RFC PATCH 2/5] gpio: gpiolib: Add OF support for maintaining GPIO values on reset

2017-10-20 Thread Andrew Jeffery
On Fri, 2017-10-20 at 09:18 +0200, Linus Walleij wrote: > On Fri, Oct 20, 2017 at 5:37 AM, Andrew Jeffery > wrote: >  > > @@ -32,6 +32,7 @@ enum of_gpio_flags { > > OF_GPIO_SINGLE_ENDED = 0x2, > > OF_GPIO_OPEN_DRAIN = 0x4, > > OF_GPIO_SLEEP_MAY_LOSE_VALUE = 0x8, > > +  

Re: [RFC PATCH 3/5] gpio: gpiolib: Add chardev support for maintaining GPIO values on reset

2017-10-20 Thread Linus Walleij
I paged Bartosz and Michael on this, they are experts on the use cases for the character device and their opinions are likely more valuable than mine. On Fri, Oct 20, 2017 at 5:37 AM, Andrew Jeffery wrote: > Similar to devicetree support, add flags and mappings to expose reset > tolerance configu

Re: [RFC PATCH 2/5] gpio: gpiolib: Add OF support for maintaining GPIO values on reset

2017-10-20 Thread Linus Walleij
On Fri, Oct 20, 2017 at 5:37 AM, Andrew Jeffery wrote: > @@ -32,6 +32,7 @@ enum of_gpio_flags { > OF_GPIO_SINGLE_ENDED = 0x2, > OF_GPIO_OPEN_DRAIN = 0x4, > OF_GPIO_SLEEP_MAY_LOSE_VALUE = 0x8, > + OF_GPIO_RESET_TOLERANT = 0x16, Now you're mixing up decimal and hex.

Re: [RFC PATCH 1/5] gpio: gpiolib: Add core support for maintaining GPIO values on reset

2017-10-20 Thread Linus Walleij
On Fri, Oct 20, 2017 at 5:37 AM, Andrew Jeffery wrote: > GPIO state reset tolerance is implemented in gpiolib through the > addition of a new pinconf parameter. With that, some renaming of helpers > is done to clarify the scope of the already existing > gpiochip_line_is_persistent(), as it's now