Re: [PATCH v1 1/2] ARM: dts: sun8i: Add board dts file for t3-cqa3t-bv3.

2018-11-22 Thread Maxime Ripard
On Wed, Nov 21, 2018 at 11:43:57PM +0800, Hao Zhang wrote: > The T3/R40/V40 using the same sdk and config file in allwinner > sdk, it seem they are the same SOC just with different name, so > compatible with R40. > > The t3-cqa3t-bv3 based on Allwinner T3 SoC, it has various connectors, > leds, bu

Re: [PATCH 0/9] drm: remove deprecated functions

2018-11-22 Thread Daniel Vetter
On Wed, Nov 21, 2018 at 08:21:29PM +0200, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday, 21 November 2018 11:42:33 EET Daniel Vetter wrote: > > On Thu, Nov 15, 2018 at 11:38:35PM +0100, Linus Walleij wrote: > > > On Thu, Nov 15, 2018 at 11:17 PM Fernando Ramos wrote: > > >> One of the thin

[PATCH v2 2/8] mm: convert PG_balloon to PG_offline

2018-11-22 Thread David Hildenbrand
PG_balloon was introduced to implement page migration/compaction for pages inflated in virtio-balloon. Nowadays, it is only a marker that a page is part of virtio-balloon and therefore logically offline. We also want to make use of this flag in other balloon drivers - for inflated pages or when on

[PATCH v2 1/8] mm: balloon: update comment about isolation/migration/compaction

2018-11-22 Thread David Hildenbrand
Commit b1123ea6d3b3 ("mm: balloon: use general non-lru movable page feature") reworked balloon handling to make use of the general non-lru movable page feature. The big comment block in balloon_compaction.h contains quite some outdated information. Let's fix this. Cc: Andrew Morton Cc: Matthew Wi

[PATCH v2 3/8] kexec: export PG_offline to VMCOREINFO

2018-11-22 Thread David Hildenbrand
Right now, pages inflated as part of a balloon driver will be dumped by dump tools like makedumpfile. While XEN is able to check in the crash kernel whether a certain pfn is actuall backed by memory in the hypervisor (see xen_oldmem_pfn_is_ram) and optimize this case, dumps of other balloon inflate

[PATCH v2 4/8] xen/balloon: mark inflated pages PG_offline

2018-11-22 Thread David Hildenbrand
Mark inflated and never onlined pages PG_offline, to tell the world that the content is stale and should not be dumped. Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Stefano Stabellini Cc: Andrew Morton Cc: Matthew Wilcox Cc: Michal Hocko Cc: "Michael S. Tsirkin" Signed-off-by: David Hildenbran

[PATCH v2 6/8] vmw_balloon: mark inflated pages PG_offline

2018-11-22 Thread David Hildenbrand
Mark inflated and never onlined pages PG_offline, to tell the world that the content is stale and should not be dumped. Cc: Xavier Deguillard Cc: Nadav Amit Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Julien Freche Cc: Andrew Morton Cc: Matthew Wilcox Cc: Michal Hocko Cc: "Michael S. Tsir

[PATCH v2 5/8] hv_balloon: mark inflated pages PG_offline

2018-11-22 Thread David Hildenbrand
Mark inflated and never onlined pages PG_offline, to tell the world that the content is stale and should not be dumped. Cc: "K. Y. Srinivasan" Cc: Haiyang Zhang Cc: Stephen Hemminger Cc: Kairui Song Cc: Vitaly Kuznetsov Cc: Andrew Morton Cc: Matthew Wilcox Cc: Michal Hocko Cc: "Michael S.

[PATCH v2 7/8] PM / Hibernate: use pfn_to_online_page()

2018-11-22 Thread David Hildenbrand
Let's use pfn_to_online_page() instead of pfn_to_page() when checking for saveable pages to not save/restore offline memory sections. Cc: "Rafael J. Wysocki" Cc: Pavel Machek Cc: Len Brown Cc: Andrew Morton Cc: Matthew Wilcox Cc: Michal Hocko Cc: "Michael S. Tsirkin" Suggested-by: Michal Ho

[PATCH v2 8/8] PM / Hibernate: exclude all PageOffline() pages

2018-11-22 Thread David Hildenbrand
The content of pages that are marked PG_offline is not of interest (e.g. inflated by a balloon driver), let's skip these pages. In saveable_highmem_page(), move the PageReserved() check to a new check along with the PageOffline() check to separate it from the swsusp checks. Cc: "Rafael J. Wysocki

[PATCH v2] makedumpfile: exclude pages that are logically offline

2018-11-22 Thread David Hildenbrand
Linux marks pages that are logically offline via a page flag (map count). Such pages e.g. include pages infated as part of a balloon driver or pages that were not actually onlined when onlining the whole section. While the hypervisor usually allows to read such inflated memory, we basically read a

Re: [PATCH v2] Add /proc/pid_gen

2018-11-22 Thread Cyrill Gorcunov
On Wed, Nov 21, 2018 at 04:35:34PM -0700, Andy Lutomirski wrote: > > > > I'm going to have Android's systrace and Perfetto use this approach. > > Exactly how many tools signed up to use this feature do you need? > > > >> Those people are the intended audience and the > >> best-positioned reviewer

Re: [PATCH v2] Add /proc/pid_gen

2018-11-22 Thread Mathieu Desnoyers
- On Nov 21, 2018, at 7:30 PM, Daniel Colascione dan...@google.com wrote: [...] >> > > >> > > The problem here is the possibility of confusion, even if it's rare. >> > > Does the naive approach of just walking /proc and ignoring the >> > > possibility of PID reuse races work most of the time? S

Re: [RFC PATCH v6 00/26] Control-flow Enforcement: Shadow Stack

2018-11-22 Thread Andy Lutomirski
[cc some more libc folks] I have a general question about this patch set: If I'm writing a user program, and I write a signal handler, there are two things I want to make sure I can still do: 1. I want to be able to unwind directly from the signal handler without involving sigreturn() -- that is

[PATCH] i3c: master: dw: split dw-i3c-master.c into master and bus specific parts

2018-11-22 Thread Vitor Soares
From: Vitor Soares This patch slipts dw-i3c-master.c into three pieces: dw-i3c-master.c - contains the code that interacts directly with the core in master mode. dw-i3c-platdrv.c - contains the code specific to the platform driver. dw-i3c-core.h - contains the de

Re: [PATCH v9 01/13] x86/resctrl: Rename and move rdt files to new directory

2018-11-22 Thread Borislav Petkov
On Wed, Nov 21, 2018 at 08:28:25PM +, Moger, Babu wrote: > New generation of AMD processors start supporting RDT(or QOS) > features. Together these features will be called as RESCTRL. > With more than one vendors supporting these features, it seems > more appropriate to rename these files. > >

Re: [PATCH v9 08/13] x86/resctrl: Rename config parameter INTEL_RDT to RESCTRL

2018-11-22 Thread Borislav Petkov
On Wed, Nov 21, 2018 at 08:28:39PM +, Moger, Babu wrote: > Resource control feature is supported by both Intel and AMD. > So, rename the INTEL_RDT to vendor neutral RESCTRL. > > Now CONFIG_RESCTRL will be used for both Intel and AMD to enable > Resource Control support. Update the texts in con

Re: [PATCH 10/17] prmem: documentation

2018-11-22 Thread Igor Stoppa
On 21/11/2018 20:15, Andy Lutomirski wrote: On Nov 21, 2018, at 9:34 AM, Igor Stoppa wrote: [...] There might be other reasons for replicating the mm_struct. If I understand correctly how the text patching works, it happens sequentially, because of the text_mutex used by arch_jump_label_t

Re: [PATCH] i3c: master: dw: split dw-i3c-master.c into master and bus specific parts

2018-11-22 Thread Boris Brezillon
On Thu, 22 Nov 2018 17:54:54 + Vitor Soares wrote: > From: Vitor Soares > > This patch slipts dw-i3c-master.c into three pieces: > dw-i3c-master.c - contains the code that interacts directly with the > core in master mode. > > dw-i3c-platdrv.c - contains the code specific

Re: [PATCH 10/17] prmem: documentation

2018-11-22 Thread Matthew Wilcox
On Thu, Nov 22, 2018 at 09:27:02PM +0200, Igor Stoppa wrote: > I have studied the code involved with Nadav's patchset. > I am perplexed about these sentences you wrote. > > More to the point (to the best of my understanding): > > poking_init() > - > 1. it gets one random poking addr

[PATCH] Documentation: dev-tools: Fix typos in index.rst

2018-11-22 Thread Shreyans Devendra Doshi
Fixes a spelling error and removes an extra whitespace character. Signed-off-by: Shreyans Devendra Doshi <0xinfosec...@gmail.com> --- Documentation/dev-tools/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/dev-tools/index.rst b/Documentation/dev-to

Re: [PATCH 10/17] prmem: documentation

2018-11-22 Thread Andy Lutomirski
On Thu, Nov 22, 2018 at 12:04 PM Matthew Wilcox wrote: > > On Thu, Nov 22, 2018 at 09:27:02PM +0200, Igor Stoppa wrote: > > I have studied the code involved with Nadav's patchset. > > I am perplexed about these sentences you wrote. > > > > More to the point (to the best of my understanding): > > >

Re: [PATCH] Documentation: dev-tools: Fix typos in index.rst

2018-11-22 Thread Matthew Wilcox
On Thu, Nov 22, 2018 at 10:34:56AM -0500, Shreyans Devendra Doshi wrote: > Fixes a spelling error and removes an extra whitespace character. There is a fierce battle amongst those who insist on one space after a full stop and those who insist on two. I recommend not getting caught up in this batt

[tip:x86/cache] x86/resctrl: Rename and move rdt files to a separate directory

2018-11-22 Thread tip-bot for Babu Moger
Commit-ID: fa7d949337ccad32c76740c88e0e0351c349053b Gitweb: https://git.kernel.org/tip/fa7d949337ccad32c76740c88e0e0351c349053b Author: Babu Moger AuthorDate: Wed, 21 Nov 2018 20:28:25 + Committer: Borislav Petkov CommitDate: Thu, 22 Nov 2018 20:16:18 +0100 x86/resctrl: Rename and

[tip:x86/cache] x86/resctrl: Rename the RDT functions and definitions

2018-11-22 Thread tip-bot for Babu Moger
Commit-ID: 352940ececaca58536a7fc4ff6b41d181156fd65 Gitweb: https://git.kernel.org/tip/352940ececaca58536a7fc4ff6b41d181156fd65 Author: Babu Moger AuthorDate: Wed, 21 Nov 2018 20:28:27 + Committer: Borislav Petkov CommitDate: Thu, 22 Nov 2018 20:16:18 +0100 x86/resctrl: Rename the

[tip:x86/cache] x86/resctrl: Re-arrange the RDT init code

2018-11-22 Thread tip-bot for Babu Moger
Commit-ID: 0f00717ecce4b366b3f530153e982cb2eeadafd1 Gitweb: https://git.kernel.org/tip/0f00717ecce4b366b3f530153e982cb2eeadafd1 Author: Babu Moger AuthorDate: Wed, 21 Nov 2018 20:28:29 + Committer: Borislav Petkov CommitDate: Thu, 22 Nov 2018 20:16:19 +0100 x86/resctrl: Re-arrange

[tip:x86/cache] x86/resctrl: Move all the macros to resctrl/internal.h

2018-11-22 Thread tip-bot for Babu Moger
Commit-ID: aa50453a448ad645ea05788505680aa403934aa8 Gitweb: https://git.kernel.org/tip/aa50453a448ad645ea05788505680aa403934aa8 Author: Babu Moger AuthorDate: Wed, 21 Nov 2018 20:28:31 + Committer: Borislav Petkov CommitDate: Thu, 22 Nov 2018 20:16:19 +0100 x86/resctrl: Move all th

[tip:x86/cache] x86/resctrl: Bring cbm_validate() into the resource structure

2018-11-22 Thread tip-bot for Babu Moger
Commit-ID: a36c5ff560fb32d17c020fa3e7f4c70f753d8834 Gitweb: https://git.kernel.org/tip/a36c5ff560fb32d17c020fa3e7f4c70f753d8834 Author: Babu Moger AuthorDate: Wed, 21 Nov 2018 20:28:35 + Committer: Borislav Petkov CommitDate: Thu, 22 Nov 2018 20:16:19 +0100 x86/resctrl: Bring cbm_v

[tip:x86/cache] x86/resctrl: Initialize the vendor-specific resource functions

2018-11-22 Thread tip-bot for Babu Moger
Commit-ID: 1ad4fa41d99f606098fd7b90c1f5deb2b3dfae5d Gitweb: https://git.kernel.org/tip/1ad4fa41d99f606098fd7b90c1f5deb2b3dfae5d Author: Babu Moger AuthorDate: Wed, 21 Nov 2018 20:28:33 + Committer: Borislav Petkov CommitDate: Thu, 22 Nov 2018 20:16:19 +0100 x86/resctrl: Initialize

[tip:x86/cache] x86/resctrl: Add vendor check for the MBA software controller

2018-11-22 Thread tip-bot for Babu Moger
Commit-ID: 580ebb66cbb3de979adb4becbad7bd383746f162 Gitweb: https://git.kernel.org/tip/580ebb66cbb3de979adb4becbad7bd383746f162 Author: Babu Moger AuthorDate: Wed, 21 Nov 2018 20:28:37 + Committer: Borislav Petkov CommitDate: Thu, 22 Nov 2018 20:16:19 +0100 x86/resctrl: Add vendor

[tip:x86/cache] x86/resctrl: Rename the config option INTEL_RDT to RESCTRL

2018-11-22 Thread tip-bot for Babu Moger
Commit-ID: 6fe07ce35e8ad870ba1cf82e0481e0fc0f526eff Gitweb: https://git.kernel.org/tip/6fe07ce35e8ad870ba1cf82e0481e0fc0f526eff Author: Babu Moger AuthorDate: Wed, 21 Nov 2018 20:28:39 + Committer: Borislav Petkov CommitDate: Thu, 22 Nov 2018 20:16:19 +0100 x86/resctrl: Rename the

[tip:x86/cache] x86/resctrl: Add AMD's X86_FEATURE_MBA to the scattered CPUID features

2018-11-22 Thread tip-bot for Sherry Hurwitz
Commit-ID: 9f72f855a6cdbb5313787145a69b474cd9f55f28 Gitweb: https://git.kernel.org/tip/9f72f855a6cdbb5313787145a69b474cd9f55f28 Author: Sherry Hurwitz AuthorDate: Wed, 21 Nov 2018 20:28:41 + Committer: Borislav Petkov CommitDate: Thu, 22 Nov 2018 20:16:19 +0100 x86/resctrl: Add AMD

[tip:x86/cache] x86/resctrl: Fixup the user-visible strings

2018-11-22 Thread tip-bot for Babu Moger
Commit-ID: 723f1a0dd8e26a7523ba068204bee11c95ded38d Gitweb: https://git.kernel.org/tip/723f1a0dd8e26a7523ba068204bee11c95ded38d Author: Babu Moger AuthorDate: Wed, 21 Nov 2018 20:28:43 + Committer: Borislav Petkov CommitDate: Thu, 22 Nov 2018 20:16:20 +0100 x86/resctrl: Fixup the u

[tip:x86/cache] x86/resctrl: Introduce AMD QOS feature

2018-11-22 Thread tip-bot for Babu Moger
Commit-ID: 4d05bf71f157d756932e77cdee16dc99e235d636 Gitweb: https://git.kernel.org/tip/4d05bf71f157d756932e77cdee16dc99e235d636 Author: Babu Moger AuthorDate: Wed, 21 Nov 2018 20:28:45 + Committer: Borislav Petkov CommitDate: Thu, 22 Nov 2018 20:16:20 +0100 x86/resctrl: Introduce A

[tip:x86/cache] Documentation: Rename and update intel_rdt_ui.txt to resctrl_ui.txt

2018-11-22 Thread tip-bot for Babu Moger
Commit-ID: a6f771c9bf4eea2da1516e70c283ede61a7d666f Gitweb: https://git.kernel.org/tip/a6f771c9bf4eea2da1516e70c283ede61a7d666f Author: Babu Moger AuthorDate: Wed, 21 Nov 2018 20:28:47 + Committer: Borislav Petkov CommitDate: Thu, 22 Nov 2018 20:16:20 +0100 Documentation: Rename an

[tip:x86/cache] MAINTAINERS: Update resctrl filename patterns

2018-11-22 Thread tip-bot for Babu Moger
Commit-ID: 1f8251d3bfadf42357cf6c3eebb5cda6cd3987b5 Gitweb: https://git.kernel.org/tip/1f8251d3bfadf42357cf6c3eebb5cda6cd3987b5 Author: Babu Moger AuthorDate: Wed, 21 Nov 2018 20:28:49 + Committer: Borislav Petkov CommitDate: Thu, 22 Nov 2018 20:16:20 +0100 MAINTAINERS: Update resc

Re: [PATCH] kbuild: announce removal of SUBDIRS if used

2018-11-22 Thread Masahiro Yamada
On Wed, Nov 21, 2018 at 1:25 AM Guenter Roeck wrote: > > On Wed, Nov 21, 2018 at 12:04:18AM +0900, Masahiro Yamada wrote: > > SUBDIRS has been kept as a backward compatibility since > > commit ("[PATCH] kbuild: external module support") in 2002. > > > > We do not need multiple ways to do the same

Re: [PATCH v9 01/13] x86/resctrl: Rename and move rdt files to new directory

2018-11-22 Thread Ingo Molnar
* Moger, Babu wrote: > New generation of AMD processors start supporting RDT(or QOS) > features. Together these features will be called as RESCTRL. > With more than one vendors supporting these features, it seems > more appropriate to rename these files. > > Create a new directory with the nam

[PATCH 1/1] scripts/kernel-doc: Fix struct and struct field attribute processing

2018-11-22 Thread Sakari Ailus
The kernel-doc attempts to clear the struct and struct member attributes from the API documentation it produces. It falls short of the job in the following respects: - extra whitespaces are left where __attribute__((...)) was removed, - only a single attribute is removed per struct, - attributes