Re: [PATCH v9 1/3] watchdog: introduce watchdog.open_timeout commandline parameter

2019-01-29 Thread Rasmus Villemoes
On 29/01/2019 21.35, Rasmus Villemoes wrote: > On 22/01/2019 18.29, Guenter Roeck wrote: >> On Mon, Jan 21, 2019 at 08:45:39PM +, Rasmus Villemoes wrote: >>> >>> static void watchdog_ping_work(struct kthread_work *work) >>> @@ -297,7 +317,7 @@ static int watchdog_stop(struct watchdog_device

[PATCH] rcu docs: repair some whitespace damage

2019-01-29 Thread Tycho Andersen
While reading the docs I noticed some whitespace damage in diagram. Let's fix it up to be consistent with elsewhere in the document: use one leading tab, followed by spaces for any additional whitespace required. Signed-off-by: Tycho Andersen --- Documentation/RCU/whatisRCU.txt | 10 +-

Re: [PATCH v9 1/3] watchdog: introduce watchdog.open_timeout commandline parameter

2019-01-29 Thread Rasmus Villemoes
On 22/01/2019 18.29, Guenter Roeck wrote: > On Mon, Jan 21, 2019 at 08:45:39PM +, Rasmus Villemoes wrote: >> The watchdog framework takes care of feeding a hardware watchdog until >> userspace opens /dev/watchdogN. If that never happens for some reason >> (buggy init script, corrupt root filesy

[PATCH v3] drm/TODO: Add drm_display_mode.hsync/vrefresh removal

2019-01-29 Thread Sean Paul
From: Sean Paul Drivers shouldn't be using these values, add a TODO so someone removes them. Changes in v2: - Add drm_display_mode.vrefresh removal (Ville) - Add Sam's R-b and bonus points Changes in v3: - Add hsync removal todo item (Daniel) - Change vrefresh wording to make removal less option

Re: [PATCH v3 5/5] psi: introduce psi monitor

2019-01-29 Thread Peter Zijlstra
On Tue, Jan 29, 2019 at 10:18:20AM -0800, Suren Baghdasaryan wrote: > On Tue, Jan 29, 2019 at 4:38 AM Peter Zijlstra wrote: > > > > On Thu, Jan 24, 2019 at 01:15:18PM -0800, Suren Baghdasaryan wrote: > > > + atomic_set(&group->polling, polling); > > > + /* >

Re: [PATCH v3 5/5] psi: introduce psi monitor

2019-01-29 Thread Johannes Weiner
Hi Minchan, good to see your name on the lists again :) On Tue, Jan 29, 2019 at 08:53:58AM +0900, Minchan Kim wrote: > On Thu, Jan 24, 2019 at 01:15:18PM -0800, Suren Baghdasaryan wrote: > > @@ -68,6 +69,50 @@ struct psi_group_cpu { > > u32 times_prev[NR_PSI_STATES] cacheline_aligned_in_s

Re: [PATCH v3 5/5] psi: introduce psi monitor

2019-01-29 Thread Suren Baghdasaryan
On Tue, Jan 29, 2019 at 10:18 AM Suren Baghdasaryan wrote: > > On Tue, Jan 29, 2019 at 4:38 AM Peter Zijlstra wrote: > > > > On Thu, Jan 24, 2019 at 01:15:18PM -0800, Suren Baghdasaryan wrote: > > > + atomic_set(&group->polling, polling); > > > + /* > > > +

Re: [PATCH v3 5/5] psi: introduce psi monitor

2019-01-29 Thread Suren Baghdasaryan
On Tue, Jan 29, 2019 at 7:16 AM Peter Zijlstra wrote: > > On Tue, Jan 29, 2019 at 01:38:43PM +0100, Peter Zijlstra wrote: > > On Thu, Jan 24, 2019 at 01:15:18PM -0800, Suren Baghdasaryan wrote: > > > + atomic_set(&group->polling, polling); > > > + /* > > > +

Re: [PATCH v3 5/5] psi: introduce psi monitor

2019-01-29 Thread Suren Baghdasaryan
On Tue, Jan 29, 2019 at 4:38 AM Peter Zijlstra wrote: > > On Thu, Jan 24, 2019 at 01:15:18PM -0800, Suren Baghdasaryan wrote: > > + atomic_set(&group->polling, polling); > > + /* > > + * Memory barrier is needed to order group->polling >

Re: [PATCH v3 5/5] psi: introduce psi monitor

2019-01-29 Thread Suren Baghdasaryan
Thanks for review Peter! On Tue, Jan 29, 2019 at 2:44 AM Peter Zijlstra wrote: > > On Thu, Jan 24, 2019 at 01:15:18PM -0800, Suren Baghdasaryan wrote: > > static void psi_update_work(struct work_struct *work) > > { > > struct delayed_work *dwork; > > struct psi_group *group; > > +

Re: [PATCH v2] drm/TODO: Add vrefresh replacement to the todo

2019-01-29 Thread Daniel Vetter
On Tue, Jan 29, 2019 at 11:45:10AM -0500, Sean Paul wrote: > From: Sean Paul > > Changes in v2: > - Add drm_display_mode.vrefresh removal (Ville) > - Add Sam's R-b and bonus points hsync has the same problem, maybe add that too. With that: Reviewed-by: Daniel Vetter > Cc: Ville Syrjälä > Su

[PATCH v2] drm/TODO: Add vrefresh replacement to the todo

2019-01-29 Thread Sean Paul
From: Sean Paul Changes in v2: - Add drm_display_mode.vrefresh removal (Ville) - Add Sam's R-b and bonus points Cc: Ville Syrjälä Suggested-by: Daniel Vetter Reviewed-by: Sam Ravnborg Bonus-points-awarded-by: Sam Ravnborg Signed-off-by: Sean Paul --- Documentation/gpu/todo.rst | 18 +++

Re: [PATCH] drm/TODO: Add vrefresh replacement to the todo

2019-01-29 Thread Ville Syrjälä
On Tue, Jan 29, 2019 at 11:15:51AM -0500, Sean Paul wrote: > From: Sean Paul > > Suggested-by: Daniel Vetter > Signed-off-by: Sean Paul > --- > Documentation/gpu/todo.rst | 15 +++ > 1 file changed, 15 insertions(+) > > diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/t

Re: [PATCH] drm/TODO: Add vrefresh replacement to the todo

2019-01-29 Thread Sam Ravnborg
On Tue, Jan 29, 2019 at 11:15:51AM -0500, Sean Paul wrote: > From: Sean Paul > > Suggested-by: Daniel Vetter > Signed-off-by: Sean Paul Reviewed-by: Sam Ravnborg > --- > Documentation/gpu/todo.rst | 15 +++ > 1 file changed, 15 insertions(+) > > diff --git a/Documentation/gpu/to

[PATCH] drm/TODO: Add vrefresh replacement to the todo

2019-01-29 Thread Sean Paul
From: Sean Paul Suggested-by: Daniel Vetter Signed-off-by: Sean Paul --- Documentation/gpu/todo.rst | 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index 38360ede12215..7fc30380eaf6c 100644 --- a/Documentation/gpu/tod

[PATCH 3/3] media: vim2m: allow setting the default transaction time via parameter

2019-01-29 Thread Mauro Carvalho Chehab
While there's a control to allow setting it at runtime, as the control handler is per file handler, only the application setting the m2m device can change it. As this is a custom control, it is unlikely that existing apps would be able to set it. Due to that, and due to the fact that v4l2-mem2mem

[PATCH 1/3] media: vim2m: fix driver for it to handle different fourcc formats

2019-01-29 Thread Mauro Carvalho Chehab
Despite vim2m is reporting that it supports RGB565BE and YUYV, that's not true. Right now, it just says that it supports both format, but it doesn't actually support them. Also, horizontal flip is not properly implemented. It sounds that it was designed to do a pseudo-horizontal flip using 8 tile

[PATCH 2/3] media: vim2m: use per-file handler work queue

2019-01-29 Thread Mauro Carvalho Chehab
It doesn't make sense to have a per-device work queue, as the scheduler should be called per file handler. Having a single one causes failures if multiple streams are filtered by vim2m. So, move it to be inside the context structure. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platfo

[PATCH 0/3] vim2m: make it work properly

2019-01-29 Thread Mauro Carvalho Chehab
The vim2m driver has some issues... It currently fakes supporting two video formats, when in fact, it just copies the data to the buffer; It says it supports hflip, when, in fact, it does a 8 tiles flip... that doesn't end well, though, due to the lack of proper video format; If more than one o

Re: [PATCH] doc: Change LXR references to elixir.bootlin.com

2019-01-29 Thread Jonathan Neuschäfer
On Tue, Jan 29, 2019 at 03:01:18PM +, Kepplinger Martin wrote: [...] > -.. [4] http://lxr.free-electrons.com/ident?i=xpad_device > +.. [4] https://elixir.bootlin.com/ident?i=xpad_device > > that seems to be wrong. I think it's > https://elixir.bootlin.com/linux/latest/ident/xpad_device Oops.

Re: [PATCH v3 5/5] psi: introduce psi monitor

2019-01-29 Thread Peter Zijlstra
On Tue, Jan 29, 2019 at 01:38:43PM +0100, Peter Zijlstra wrote: > On Thu, Jan 24, 2019 at 01:15:18PM -0800, Suren Baghdasaryan wrote: > > + atomic_set(&group->polling, polling); > > + /* > > +* Memory barrier is needed to order group->polling

AW: [PATCH] doc: Change LXR references to elixir.bootlin.com

2019-01-29 Thread Kepplinger Martin
Von: linux-input-ow...@vger.kernel.org [linux-input-ow...@vger.kernel.org] im Auftrag von Jonathan Neuschäfer [j.neuschae...@gmx.net] Gesendet: Dienstag, 29. Jänner 2019 15:29 An: linux-doc@vger.kernel.org Cc: Jonathan Neuschäfer; Dmitry Torokhov; Jonathan

Re: [PATCH v2 2/2] efi: x86: convert x86 EFI earlyprintk into generic earlycon implementation

2019-01-29 Thread Ard Biesheuvel
On Tue, 29 Jan 2019 at 15:04, Alexander Graf wrote: > > On 01/29/2019 02:41 PM, Ard Biesheuvel wrote: > > Hi Alex, > > > > On Tue, 29 Jan 2019 at 14:37, Alexander Graf wrote: > >> On 01/29/2019 10:21 AM, Ard Biesheuvel wrote: > >>> Move the x86 EFI earlyprintk implementation to a shared location

[PATCH] doc: Change LXR references to elixir.bootlin.com

2019-01-29 Thread Jonathan Neuschäfer
Recently, Free Electrons was renamed to Bootlin[1]. Less recently, the Linux Cross Reference (LXR) at lxr.free-electrons.com was replaced by Elixir[2], and lxr.free-electrons.com redirected first to elixir.free-electrons.com and now to elixir.bootlin.com. [1]: https://bootlin.com/blog/free-electro

Re: [PATCH v2 2/2] efi: x86: convert x86 EFI earlyprintk into generic earlycon implementation

2019-01-29 Thread Alexander Graf
On 01/29/2019 02:41 PM, Ard Biesheuvel wrote: Hi Alex, On Tue, 29 Jan 2019 at 14:37, Alexander Graf wrote: On 01/29/2019 10:21 AM, Ard Biesheuvel wrote: Move the x86 EFI earlyprintk implementation to a shared location under drivers/firmware and tweak it slightly so we can expose it as an earl

Re: [PATCH v2 2/2] efi: x86: convert x86 EFI earlyprintk into generic earlycon implementation

2019-01-29 Thread Ard Biesheuvel
Hi Alex, On Tue, 29 Jan 2019 at 14:37, Alexander Graf wrote: > > On 01/29/2019 10:21 AM, Ard Biesheuvel wrote: > > Move the x86 EFI earlyprintk implementation to a shared location under > > drivers/firmware and tweak it slightly so we can expose it as an earlycon > > implementation (which is gene

Re: [PATCH v2 2/2] efi: x86: convert x86 EFI earlyprintk into generic earlycon implementation

2019-01-29 Thread Alexander Graf
On 01/29/2019 10:21 AM, Ard Biesheuvel wrote: Move the x86 EFI earlyprintk implementation to a shared location under drivers/firmware and tweak it slightly so we can expose it as an earlycon implementation (which is generic) rather than earlyprintk (which is only implemented for a few architectur

Re: [PATCH v3 5/5] psi: introduce psi monitor

2019-01-29 Thread Peter Zijlstra
On Thu, Jan 24, 2019 at 01:15:18PM -0800, Suren Baghdasaryan wrote: > + atomic_set(&group->polling, polling); > + /* > + * Memory barrier is needed to order group->polling > + * write before times[] read in collect_pe

[PATCH] vim2m: fix driver for it to handle handle different fourcc formats

2019-01-29 Thread Mauro Carvalho Chehab
Despite vim2m is reporting that it supports RGB565BE and YUYV, that's not true. Right now, it just says that it supports both format, but it doesn't actually support them. Also, horizontal flip is not properly implemented. It sounds that it was designed to do a pseudo-horizontal flip using 8 tile

Re: [PATCH v3 5/5] psi: introduce psi monitor

2019-01-29 Thread Peter Zijlstra
On Thu, Jan 24, 2019 at 01:15:18PM -0800, Suren Baghdasaryan wrote: > static void psi_update_work(struct work_struct *work) > { > struct delayed_work *dwork; > struct psi_group *group; > + bool first_pass = true; > + u64 next_update; > + u32 change_mask; > + int pollin

[PATCH v2 2/2] efi: x86: convert x86 EFI earlyprintk into generic earlycon implementation

2019-01-29 Thread Ard Biesheuvel
Move the x86 EFI earlyprintk implementation to a shared location under drivers/firmware and tweak it slightly so we can expose it as an earlycon implementation (which is generic) rather than earlyprintk (which is only implemented for a few architectures) This also involves switching to write-combi

[PATCH v2 1/2] x86: make ARCH_USE_MEMREMAP_PROT a generic Kconfig symbol

2019-01-29 Thread Ard Biesheuvel
Turn ARCH_USE_MEMREMAP_PROT into a generic Kconfig symbol, and fix the dependency expression to reflect that AMD_MEM_ENCRYPT depends on it, instead of the other way around. This will permit ARCH_USE_MEMREMAP_PROT to be selected by other architectures. Signed-off-by: Ard Biesheuvel --- arch/Kconf

[PATCH v2 0/2] efi: arm: add support for earlycon on EFI framebuffer

2019-01-29 Thread Ard Biesheuvel
Repurpose the existing EFI earlyprintk code to implement support for 'earlycon=efi' for arm64 systems, allowing the graphical console to be used instead of the serial port for early debug output. Changes since v1: - Rename earlycon= argument to 'efifb' to emphasize that this is specific to the E