This adds dt-binding documentation for Mediatek MT6797. Only
include very basic items, gic, uart timer and cpu.
Signed-off-by: Mars Cheng
---
Documentation/devicetree/bindings/arm/mediatek.txt |4
.../interrupt-controller/mediatek,sysirq.txt |1 +
.../devicetree/bindings/seria
This adds clk nodes for MT6797
Signed-off-by: Mars Cheng
Signed-off-by: Kevin-CW Chen
---
arch/arm64/boot/dts/mediatek/mt6797.dtsi | 71 --
1 file changed, 67 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi
b/arch/arm64/boot/dt
This describes how to specify multiple base addresses for sysirq
in mediatek platforms.
Signed-off-by: Mars Cheng
---
.../interrupt-controller/mediatek,sysirq.txt | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git
a/Documentation/devicetree/bindings/interrup
This adds basic chip support for MT6797 SoC.
Signed-off-by: Mars Cheng
---
arch/arm64/boot/dts/mediatek/Makefile |1 +
arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 36 ++
arch/arm64/boot/dts/mediatek/mt6797.dtsi| 187 +++
3 files changed, 224 inserti
On Mon, 2017-02-06 at 11:31 +0100, Ingo Molnar wrote:
> * Mike Galbraith wrote:
>
> > Hi Ingo,
> >
> > Doing my ~daily tip merge of -rt, I couldn't help noticing $subject, as
> > they grow more functionality in -rt, which is allegedly slowly but
> > surely headed toward merge. I don't suppose t
Hi James,
On Fri, Feb 3, 2017 at 2:02 AM, James Morris wrote:
> On Thu, 2 Feb 2017, Djalal Harouni wrote:
>
>> *) The per-process prctl() settings are:
>> prctl(PR_TIMGAD_OPTS, PR_TIGMAD_SET_MOD_RESTRICT, value, 0, 0)
>>
>> Where value means:
>>
>> 0 - Classic module load and unload permi
* Borislav Petkov wrote:
> Hi guys,
>
> so I've been tracing recently on an AMD F15h which has those funky counter
> constraints and am seeing this:
>
> # ./perf stat sleep 1
>
> Performance counter stats for 'sleep 1':
>
> 0.749208 task-clock (msec) #0.001 CPUs u
During global reclaim, the nr_reclaimed passed to vmpressure includes the
pages reclaimed from slab. But the corresponding scanned slab pages is
not passed. This can cause total reclaimed pages to be greater than
scanned, causing an unsigned underflow in vmpressure resulting in a
critical event b
At the end of a window period, if the reclaimed pages
is greater than scanned, an unsigned underflow can
result in a huge pressure value and thus a critical event.
Reclaimed pages is found to go higher than scanned because
of the addition of reclaimed slab pages to reclaimed in
shrink_node without
On Mon, Feb 06, 2017 at 01:13:19PM +0100, Noralf Trønnes wrote:
>
> Den 06.02.2017 11.50, skrev Maxime Ripard:
> > Hi Noralf,
> >
> > On Fri, Feb 03, 2017 at 07:53:58PM +0100, Noralf Trønnes wrote:
> > > Den 03.02.2017 10.59, skrev Maxime Ripard:
> > > > Signed-off-by: Maxime Ripard
> > > > ---
- move logical continuations at the end of line
- move else if statement to a single line
- Replace spaces with tabstop.
Signed-off-by: Maksymilian Piechota
---
drivers/staging/wlan-ng/prism2mgmt.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wlan-ng/
On Saturday 04 February 2017 01:36 AM, Bjorn Helgaas wrote:
> On Wed, Jan 11, 2017 at 05:36:50PM +0530, Kishon Vijay Abraham I wrote:
>> This series includes miscellaneous cleanups and fixes in dra7xx
>> pci driver and it also adds COMPILE_TEST to all designware
>> based drivers (except dra7xx dr
On 06/02/17 12:15, Mars Cheng wrote:
> This adds basic chip support for MT6797 SoC.
>
> Signed-off-by: Mars Cheng
> ---
> arch/arm64/boot/dts/mediatek/Makefile |1 +
> arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 36 ++
> arch/arm64/boot/dts/mediatek/mt6797.dtsi| 187
> +++
The two front-ends to the codec can now be selected individually, but fail to
build when the bus support is missing:
sound/built-in.o: In function `es8328_spi_probe':
es8328-spi.c:(.text+0x125854): undefined reference to `__devm_regmap_init_spi'
sound/built-in.o: In function `es8328_spi_driver_ini
On Saturday 04 February 2017 12:49 AM, Bjorn Helgaas wrote:
> On Fri, Jan 06, 2017 at 06:22:48PM +0530, Kishon Vijay Abraham I wrote:
>> Group all the PCI drivers that use designware core in dwc directory.
>> dwc IP is capable of operating in both host mode and device mode and
>> keeping it insid
* Mike Galbraith wrote:
> On Mon, 2017-02-06 at 11:31 +0100, Ingo Molnar wrote:
> > * Mike Galbraith wrote:
> >
> > > Hi Ingo,
> > >
> > > Doing my ~daily tip merge of -rt, I couldn't help noticing $subject, as
> > > they grow more functionality in -rt, which is allegedly slowly but
> > > sur
With the new authenc support, we get a harmless Kconfig warning:
warning: (CRYPTO_DEV_ATMEL_AUTHENC) selects CRYPTO_DEV_ATMEL_SHA which has
unmet direct dependencies (CRYPTO && CRYPTO_HW && ARCH_AT91)
The problem is that each of the options has slightly different dependencies,
although they all
When we enable COMPILE_TEST building for the Atmel sha and tdes implementations,
we run into a couple of warnings about incorrect format strings, e.g.
In file included from include/linux/platform_device.h:14:0,
from drivers/crypto/atmel-sha.c:24:
drivers/crypto/atmel-sha.c: In fun
On 06.02.2017 12:53, Thierry Reding wrote:
> On Mon, Feb 06, 2017 at 01:30:09PM +0200, Jani Nikula wrote:
>> On Mon, 06 Feb 2017, Thierry Reding wrote:
>>> On Tue, Jan 31, 2017 at 05:03:15PM +0100, Noralf Trønnes wrote:
Add support for MIPI DBI compatible controllers.
Interface type C op
Em Sun, 5 Feb 2017 22:15:21 +
Dave Stevenson escreveu:
> Hi Mauro.
>
> I'm going to stick my head above the parapet as one of the original
> authors back when I worked at Broadcom.
> As it happens I started working at Raspberry Pi last Monday, so that
> puts me in a place where I can work
On Mon, 2017-02-06 at 12:28 +, Marc Zyngier wrote:
> On 06/02/17 12:15, Mars Cheng wrote:
> > This adds basic chip support for MT6797 SoC.
> >
> > Signed-off-by: Mars Cheng
> > ---
> > arch/arm64/boot/dts/mediatek/Makefile |1 +
> > arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 3
Unify definitions for MIPS performance counter register fields in
mipsregs.h rather than duplicating them in perf_events and oprofile.
This will allow future patches to use them to expose performance
counters to KVM guests.
Signed-off-by: James Hogan
Cc: Ralf Baechle
Cc: Peter Zijlstra
Cc: Ingo
On Mon 06-02-17 17:54:10, Vinayak Menon wrote:
[...]
> diff --git a/mm/vmpressure.c b/mm/vmpressure.c
> index 149fdf6..3281b34 100644
> --- a/mm/vmpressure.c
> +++ b/mm/vmpressure.c
> @@ -112,8 +112,10 @@ static enum vmpressure_levels
> vmpressure_calc_level(unsigned long scanned,
>
Hi Tetsuo,
On Mon, Feb 6, 2017 at 11:49 AM, Tetsuo Handa
wrote:
> Djalal Harouni wrote:
>> To achieve the above we add the security_task_copy() hook that allows us
>> to clone the Timgad context of parent into child task_struct.
>>
>> The security hook can also be used by new LSMs after the child
On Mon, Feb 06, 2017 at 01:22:31PM +0100, Ingo Molnar wrote:
> Looks sensible, and I'd in fact make this the new default behavior (if root
> runs
> perf stat) - i.e. add a flag to re-enable it, for the rare case where we want
> to
> debug a hard deadlock while running perf stat ...
I'd probabl
[resending as plain text]
Hello,
The following program triggers WARNING in kcm_write_msgs:
WARNING: CPU: 3 PID: 2936 at net/kcm/kcmsock.c:627
kcm_write_msgs+0x12e3/0x1b90 net/kcm/kcmsock.c:627
CPU: 3 PID: 2936 Comm: a.out Not tainted 4.10.0-rc6+ #209
Hardware name: QEMU Standard PC (i440FX + PII
* Borislav Petkov wrote:
> On Mon, Feb 06, 2017 at 01:22:31PM +0100, Ingo Molnar wrote:
> > Looks sensible, and I'd in fact make this the new default behavior (if root
> > runs
> > perf stat) - i.e. add a flag to re-enable it, for the rare case where we
> > want to
> > debug a hard deadlock
On 5 February 2017 at 10:34, Elaine Zhang wrote:
>
>
> On 01/26/2017 05:30 AM, Ulf Hansson wrote:
>>
>> On 22 January 2017 at 04:34, Elaine Zhang
>> wrote:
>>>
>>>
>>>
>>> On 01/20/2017 09:16 PM, Ulf Hansson wrote:
On 20 January 2017 at 03:21, Elaine Zhang
wrote:
>
>
please ignore this, sorry.
on 2017/2/6 20:35, yi zhang said:
> From: zhangyi
>
> Because of the disk and hardware issue, the ext3/4 filesystem have
> many errors, the inode->i_nlink of ext3/4 becomes zero abnormally
> but the dentry is still positive, it will cause memory corruption
> after the
On Mon, 2017-02-06 at 13:29 +0100, Ingo Molnar wrote:
> * Mike Galbraith wrote:
>
> > On Mon, 2017-02-06 at 11:31 +0100, Ingo Molnar wrote:
> > > * Mike Galbraith wrote:
> > >
> > > > Hi Ingo,
> > > >
> > > > Doing my ~daily tip merge of -rt, I couldn't help noticing $subject, as
> > > > they
On Mon, Feb 06, 2017 at 01:44:48PM +0100, Ingo Molnar wrote:
> Yeah, if for some whatever reason perf locks up while running perf stat as
> root,
> so I'd keep the option, as a general principle. :-/
--dont-disable-hwdt it is.
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid
On Mon, Feb 06, 2017 at 07:26:56AM -0500, Maksymilian Piechota wrote:
> - move logical continuations at the end of line
> - move else if statement to a single line
> - Replace spaces with tabstop.
That's a lot of different things, happening all at once. Please break
this up into multiple patches,
On Fri, Feb 03, 2017 at 03:59:55PM -0500, Tejun Heo wrote:
> Hello, Peter.
>
> On Fri, Feb 03, 2017 at 09:20:48PM +0100, Peter Zijlstra wrote:
> > So my proposal was to do the inverse of what you propose here. Instead
> > of marking special 'thread' subtrees, explicitly mark resource domains
> > i
Em Mon, Feb 06, 2017 at 04:20:34PM +0900, Namhyung Kim escreveu:
> Hello,
>
> This patchset adds 'delta-abs' compute method to -c/--compute option.
> The 'delta-abs' is same as 'delta' but shows entries with bigger
> absolute delta first instead of sorting numerically. This is only
> useful toget
From: zhangyi
Because of the disk and hardware issue, the ext3/4 filesystem have
many errors, the inode->i_nlink of ext3/4 becomes zero abnormally
but the dentry is still positive, it will cause memory corruption
after the following process:
1) Due to the inode->i_nlink is 0, this inode will be
On Sat 2016-02-20 21:04:32, Pavel Machek wrote:
> Hi!
>
> > > > > > I know it is normal to spawn 8 threads for every single function,
> > > > > ...
> > > > > > but 28 threads?
> > > > > >
> > > > > > root 974 0.0 0.0 0 0 ?S< Dec08 0:00
> > > > > > [bioset]
> > > > >
On Mon 06-02-17 17:54:09, Vinayak Menon wrote:
> During global reclaim, the nr_reclaimed passed to vmpressure includes the
> pages reclaimed from slab. But the corresponding scanned slab pages is
> not passed. This can cause total reclaimed pages to be greater than
> scanned, causing an unsigned
Hi Herbert,
[auto build test WARNING on cryptodev/master]
[also build test WARNING on v4.10-rc7 next-20170206]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Herbert-Xu/crypto-atmel-Fix-authenc
On Mon, Feb 06, 2017 at 01:50:02PM +0100, Greg Kroah-Hartman wrote:
> On Mon, Feb 06, 2017 at 07:26:56AM -0500, Maksymilian Piechota wrote:
> > - move logical continuations at the end of line
> > - move else if statement to a single line
> > - Replace spaces with tabstop.
>
> That's a lot of diffe
linux-arm-ker...@lists.infradead.org, linux-kernel@vger.kernel.org
Bcc:
Subject: [PATCH] Signed-off-by: Ran Algawi
Reply-To:
Signed-off-by: Ran Algawi
Description: fixed errors and warnings in file at:
/drivers/staging/bcm2835-audio/bcm
mostly, i have changed syntax, like using null isntead of
On 02/06/2017 12:37 PM, Dave Stevenson wrote:
> Hi Hans.
>
> On 06/02/17 09:08, Hans Verkuil wrote:
>> Hi Eric,
>>
>> Great to see this driver appearing for upstream merging!
>>
>> See below for my review comments, focusing mostly on V4L2 specifics.
>>
>> On 01/27/2017 10:54 PM, Eric Anholt wrote:
Hi Marc,
On 02/06/2017 03:33 AM, Marc Zyngier wrote:
Hi Shanker,
On 06/02/17 02:17, Shanker Donthineni wrote:
On systems where it supports two security states, both the register
GICR_WAKE and GICD_IGROUPR accesses are RAZ/WI from non-secure.
The function gic_enable_redist() to wake/sleep redi
On 01/27/2017 10:54 PM, Eric Anholt wrote:
> - Supports raw YUV capture, preview, JPEG and H264.
> - Uses videobuf2 for data transfer, using dma_buf.
> - Uses 3.6.10 timestamping
> - Camera power based on use
> - Uses immutable input mode on video encoder
>
> This code comes from the Raspberry Pi
On Sat, Feb 04, 2017 at 05:03:20PM +0800, Hekuang wrote:
> hi
>
> 在 2017/2/3 21:00, Will Deacon 写道:
> >On Fri, Feb 03, 2017 at 11:06:05AM +, He Kuang wrote:
> >>This patch changes the 'dwarfnum' to 'offset' in register table, so
> >>the index of array becomes the dwarfnum (the index of each re
On 6 Feb 2017, at 1:43, Naoya Horiguchi wrote:
> On Sun, Feb 05, 2017 at 11:12:41AM -0500, Zi Yan wrote:
>> From: Zi Yan
>>
>> Originally, zap_pmd_range() checks pmd value without taking pmd lock.
>> This can cause pmd_protnone entry not being freed.
>>
>> Because there are two steps in changing
On Mon, Feb 06, 2017 at 02:56:23PM +0200, Ran Algawi wrote:
> linux-arm-ker...@lists.infradead.org, linux-kernel@vger.kernel.org
> Bcc:
> Subject: [PATCH] Signed-off-by: Ran Algawi
> Reply-To:
> Signed-off-by: Ran Algawi
> Description: fixed errors and warnings in file at:
> /drivers/staging/bc
On Mon, Feb 06, 2017 at 07:56:39AM -0500, Maksymilian Piechota wrote:
> On Mon, Feb 06, 2017 at 01:50:02PM +0100, Greg Kroah-Hartman wrote:
> > On Mon, Feb 06, 2017 at 07:26:56AM -0500, Maksymilian Piechota wrote:
> > > - move logical continuations at the end of line
> > > - move else if statement
On Sat, Feb 04, 2017 at 11:47:31PM +0100, Alban Browaeys wrote:
> Diving the divider by the multiplier before applying to the input.
> When this would "divide by zero", divide the multiplier by the divider
> first then multiply the input by this value.
>
> Currently user2creds outputs zero when in
On Fri, 2017-02-03 at 18:31 -0300, Javier Martinez Canillas wrote:
> On 01/02/2017 10:02 AM, Javier Martinez Canillas wrote:
> >
> > If the driver is built as a module, autoload won't work because the module
> > alias information is not filled. So user-space can't match the registered
> > device wi
On Mon, Feb 06, 2017 at 02:58:13PM +0800, Jisheng Zhang wrote:
> From: Jingju Hou
>
> The mvneta itself does not support WOL, but the PHY might.
> So pass the calls to the PHY
>
> Signed-off-by: Jingju Hou
> Signed-off-by: Jisheng Zhang
Reviewed-by: Andrew Lunn
Andrew
On Fri, 2017-02-03 at 18:31 -0300, Javier Martinez Canillas wrote:
> On 01/02/2017 10:02 AM, Javier Martinez Canillas wrote:
> >
> > If the driver is built as a module, autoload won't work because the module
> > alias information is not filled. So user-space can't match the registered
> > device w
On Fri, Feb 03, 2017 at 02:26:00PM +0100, Peter Zijlstra wrote:
> Use the refcount_t 'atomic' type to implement kref, this makes kref
> more robust by bringing saturation semantics.
>
> Signed-off-by: Peter Zijlstra (Intel)
Acked-by: Greg Kroah-Hartman
On Fri, Feb 03, 2017 at 10:59:05AM +0100, Maxime Ripard wrote:
> The Sitronix ST7789V is an LCD panel controller, controlled over SPI, that
> can drive 18-bits 240x320 LCD displays.
>
> Signed-off-by: Maxime Ripard
> ---
> Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt | 36
On Fri, Feb 03, 2017 at 05:35:02PM +0800, Zhen Lei wrote:
> Move the assignment statement into if branch above, where it only
> needs to be.
>
> Signed-off-by: Zhen Lei
> ---
> drivers/iommu/iommu.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Applied, thanks.
On Mon, Feb 06, 2017 at 10:11:38AM +0100, Eric Auger wrote:
> In case the device reserved region list is void, the returned value
> of iommu_insert_device_resv_regions is uninitialized. Let's return 0
> in that case.
>
> This fixes commit 6c65fb318e8b ("iommu: iommu_get_group_resv_regions").
>
>
This patch adds a new API to indicate S0ix residency in usec. It utilizes
the PMC Global Control Registers (GCR) to read deep and shallow
S0ix residency.
PMC MMIO resources:
o Lower 4kB: IPC1 (PMC inter-processor communication) interface
o Upper 4kB: GCR (Global Control Registers)
On Mon, Feb 6, 2017 at 6:10 PM, Michal Hocko wrote:
> On Mon 06-02-17 17:54:10, Vinayak Menon wrote:
> [...]
>> diff --git a/mm/vmpressure.c b/mm/vmpressure.c
>> index 149fdf6..3281b34 100644
>> --- a/mm/vmpressure.c
>> +++ b/mm/vmpressure.c
>> @@ -112,8 +112,10 @@ static enum vmpressure_levels
>
On Mon, Feb 6, 2017 at 11:49 AM, Tetsuo Handa
wrote:
> Djalal Harouni wrote:
>> To achieve the above we add the security_task_copy() hook that allows us
>> to clone the Timgad context of parent into child task_struct.
>>
>> The security hook can also be used by new LSMs after the child task has
>>
On 06.02.17 13:49:37, Borislav Petkov wrote:
> On Mon, Feb 06, 2017 at 01:44:48PM +0100, Ingo Molnar wrote:
> > Yeah, if for some whatever reason perf locks up while running perf stat as
> > root,
> > so I'd keep the option, as a general principle. :-/
>
> --dont-disable-hwdt it is.
Isn't there
Em Wed, Feb 01, 2017 at 10:38:01PM -0800, David Carrillo-Cisneros escreveu:
> Python's CC and link Makefile variables were not passed to feature
> detection, causing feature detection to use system's Python rather than
> PYTHON_CONFIG's one. This created a mismatch between the detected Python
> sup
On Mon, Feb 6, 2017 at 1:10 PM, Bartosz Golaszewski
wrote:
> The following patch tries to improve the readability of the mockup
> driver.
>
> The driver is called gpio-mockup, so add the same prefix to all
> functions and structures.
>
> Add some newlines and use a temporary pointer in gpio_mocku
On 04/02/17 00:18, Andi Kleen wrote:
> From: Andi Kleen
>
> Currently a filter like
> --filter "filter _text / _end"
> doesn't work because _end doesn't have a size. The
> filter resolution always wants to use the end of the function
> as end.
>
> Allow this case by assuming the filter just spaw
On Mon, Feb 6, 2017 at 1:10 PM, Bartosz Golaszewski
wrote:
> Moving a couple of lines around allows us to shrink the code a bit
> while keeping the same functionality.
>
> Signed-off-by: Bartosz Golaszewski
Patch applied.
Yours,
Linus Walleij
On Mon, Feb 6, 2017 at 1:10 PM, Bartosz Golaszewski
wrote:
> In order to allow testing line lookup by name from user space, add
> a new boolean parameter that indicates whether we want the lines to
> be named. The name is created by concatenating the chip name and the
> line offset value.
>
> Sig
On Mon, Feb 06, 2017 at 02:18:32PM +0100, Robert Richter wrote:
> Isn't there the danger the previous watchdog state is never restored
> if for some reason perf got killed? So maybe have some other task
> running that restores it once perf is gone.
Currently, I'm restoring it in the atexit() sigha
On 6 February 2017 at 09:33, Wanpeng Li wrote:
> Hi Vincent,
> 2017-02-06 16:07 GMT+08:00 Vincent Guittot :
>> Hi Wanpeng
>>
>> On 5 February 2017 at 10:57, Wanpeng Li wrote:
>>> From: Wanpeng Li
>>>
>>> The commit:
>>> c5afb6a87f2 ("sched/fair: Fix nohz.next_balance update")
>>>
>>> intends t
On Mon 06-02-17 18:39:03, vinayak menon wrote:
> On Mon, Feb 6, 2017 at 6:10 PM, Michal Hocko wrote:
> > On Mon 06-02-17 17:54:10, Vinayak Menon wrote:
> > [...]
> >> diff --git a/mm/vmpressure.c b/mm/vmpressure.c
> >> index 149fdf6..3281b34 100644
> >> --- a/mm/vmpressure.c
> >> +++ b/mm/vmpressu
On Mon, Feb 6, 2017 at 1:10 PM, Bartosz Golaszewski
wrote:
> Add a devres flavor of __devm_irq_alloc_descs() and corresponding
> helper macros.
>
> Signed-off-by: Bartosz Golaszewski
Oh that was interesting. I will leave the IRQ subsystems specific
review to Thomas and Marc, but I think you nee
On Fri, Feb 03, 2017 at 10:59:06AM +0100, Maxime Ripard wrote:
> Signed-off-by: Maxime Ripard
> ---
> drivers/gpu/drm/panel/Kconfig | 4 +-
> drivers/gpu/drm/panel/Makefile | 1 +-
> drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 435 ++-
> 3
On Mon, 6 Feb 2017 13:16:52 +0100
Petr Mladek wrote:
> > > just in case, the patch (which I prefer to be ignored)
> >
> > let's keep printk_safe_flush_line().
>
> I do not have strong opinion but I would slightly prefer
> to keep the helper function. The use of printk_deferred()
> is a bi
On Mon, Feb 6, 2017 at 1:10 PM, Bartosz Golaszewski
wrote:
> Setup a dummy irqchip that will allow us to inject line events for
> testing purposes.
>
> Signed-off-by: Bartosz Golaszewski
This is obviously exactly how we should do this.
However since it needs the devm* helpers from the irq
subs
is still needed - but we at least don't have MM
headers in sched.h anymore, except .
Fix dependencies in files that depended on this include.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
---
include
Split the CPU hotplug scheduler APIs out of the common header
and update the usage sites.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
---
arch/arm/kernel/smp.c| 1 +
arch/arm
No need to clutter with this rarely used prototype.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
---
include/linux/sched.h | 2 --
include/linux/sched/idle.h | 2 ++
kernel/smp.c |
The in_vfork() function deals with task->mm, so it better belongs
into .
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
---
include/linux/sched.h| 26 --
include/linux/sched/
include/linux/delayacct.h relies on 'struct taskstats' but does
not include the header that defines it.
This worked so far because files that included
also happened to include other headers that included
uapi/linux/taskstats.h.
Fix it.
Cc: Mike Galbraith
Cc: Peter Zijlstra
Cc: Thomas Gleixner
Collect the various scheduler and task state debugging APIs scattered
around into the new header.
In particular the show_regs() and show_stack() prototype affects many files,
update them.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kern
threadgroup_change_begin()/end() is a pointless wrapper around
cgroup_threadgroup_change_begin()/end(), minus a might_sleep()
in the !CONFIG_CGROUPS=y case.
Remove the wrappery, move the might_sleep() (the down_read()
already has a might_sleep() check).
This debloats a bit and simplifies this AP
Move the following task->mm helper APIs into a new header file,
, to further reduce the size and complexity
of :
# mm_alloc():
arch/arm/mach-rpc/ecard.c
fs/exec.c
include/linux/sched/mm.h
kernel/fork.c
# __mmdrop():
arch/arc/include/asm/mmu_context.h
include/linux/sched/mm.h
ker
The length of TASK_STATE_TO_CHAR_STR was still checked using the old
link-time manual error method - convert it to BUILD_BUG_ON(). This
has a couple of advantages:
- it's more obvious what's going on
- it reduces the size and complexity of
- BUILD_BUG_ON() will fail during compilation, with
These methods don't belong into , they are neither directly
related to task_struct or are scheduler functionality.
Put them next to the other watchdog methods in .
( Arguably that header's name is a misnomer, and this patch makes it
more so - but it should be renamed in another patch. )
Cc: Pe
Only a small fraction of sched.h users actually utilizes these defines,
and they are not scheduler functionality in any case, so move them
into their separate header.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: In
Make each header self-sufficient, so that it can be built successfully
both in an allnoconfig and allyesconfig kernel.
Also standardize the naming of their header guards.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-b
Move the update_process_times() and xtime_update() prototypes
to .
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
---
include/linux/sched.h | 1 -
include/linux/time.h| 2 --
include/linux
We don't actually need the full rculist.h header anymore, include
the smaller rcupdate.h header instead.
Update code that relied on the implicit header inclusion.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo
So the original intention of tsk_cpus_allowed() was to 'future-proof'
the field - but it's pretty ineffectual at that, because half of
the code uses ->cpus_allowed directly ...
Also, the wrapper makes the code longer than the original expression!
So just get rid of it. This also shrinks a bit.
Unclutter some more.
Also move the CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH condition inside the
structure body definition, to remove a pair of #ifdefs from sched.h.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: I
So rcupdate.h is a pretty complex header, in particular it includes
which includes - creating a
dependency that includes in ,
which prevents the isolation of from the derived
header.
Solve part of the problem by decoupling rcupdate.h from completions:
this can be done by separating out the rc
2017-02-06 14:29 GMT+01:00 Linus Walleij :
> On Mon, Feb 6, 2017 at 1:10 PM, Bartosz Golaszewski
> wrote:
>
>> Setup a dummy irqchip that will allow us to inject line events for
>> testing purposes.
>>
>> Signed-off-by: Bartosz Golaszewski
>
> This is obviously exactly how we should do this.
>
>
We want to simplify 's header dependencies, but one
roadblock to that is 's inclusion of pm.h,
which brings in other, problematic headers.
Remove it, as it appears to be entirely spurious, apic.h does not
actually make use of any PM facilities.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas G
So we want to simplify 's header dependencies, but one
roadblock of that is 's inclusion of sysctl.h,
which brings in other, problematic headers.
Note that timer.h's inclusion of sysctl.h can be avoided if we
pre-declare ctl_table - so do that.
Also update usage sites that depended on the inclusi
Also update usage sites.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
---
drivers/dma/dmatest.c | 1 +
drivers/gpu/drm/etnaviv/etnaviv_gem.c | 1 +
drivers/infiniband
In the next couple of patches we are going to remove various headers
from sched.h and other headers that sched.h includes.
To make those patches build cleanly prepare the scene by adding
dependencies to various files that learned to rely on those
to-be-removed dependencies.
These changes all make
On Mon, Feb 06, 2017 at 01:29:28PM +0100, Ingo Molnar wrote:
> > +/* Future-safe accessor for struct task_struct's cpus_allowed. */
> > +static inline const struct cpumask *tsk_cpus_allowed(struct task_struct *p)
> > +{
> > + if (__migrate_disabled(p))
> > + return cpumask_of(ta
In our quest to simplify 's header dependencies, remove
the inclusion from - which does
not appear to be necessary, as hrtimer.h does not use waitqueues.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
It's not used by any of the scheduler methods, but
needs it to pick up STACK_END_MAGIC.
Update files that depended on the magic.h inclusion.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
---
drivers/
trap_init() and cpu_init() belong into , sched_init*() into
.
... and update usage sites where necessary.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
---
arch/ia64/kernel/setup.c | 1 +
arch/m32
These two functions are task management related, not core scheduler APIs.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
---
include/linux/sched.h | 4
include/linux/sched/task.h | 3 +++
kern
It's used only by a single (rarely used) inline function (task_node(p)),
which we can move to .
( Add , because we rely on that. )
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
---
include/linux/sched
sched_exec() better fits into the task lifetime APIs than into the core
scheduler
APIs.
This reduces the size of a bit.
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Thomas Gleixner
Cc: Linus Torvalds
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
---
include/linux/sched.h |
201 - 300 of 1064 matches
Mail list logo