Migrate to the new API in order to remove arch_validate_hwbkpt_settings()
that clumsily mixes up architecture validation and commit.
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc
Migrate to the new API in order to remove arch_validate_hwbkpt_settings()
that clumsily mixes up architecture validation and commit
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc
Remove the dance around old and new attributes. Just don't modify the
previous breakpoint at all until we have verified everything.
Reported-by: Linus Torvalds <torva...@linux-foundation.org>
Original-patch-by: Andy Lutomirski <l...@kernel.org>
Signed-off-by: Frederic Weisb
All architectures have implemented it, we can now remove the poor weak
version.
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Yoshinori Sato <ys...@users.sourceforge.jp&
Migrate to the new API in order to remove arch_validate_hwbkpt_settings()
that clumsily mixes up architecture validation and commit
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Andy Lutomirski <l...@kernel.org>
Remove the dance around old and new attributes. Just don't modify the
previous breakpoint at all until we have verified everything.
Reported-by: Linus Torvalds
Original-patch-by: Andy Lutomirski
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc
All architectures have implemented it, we can now remove the poor weak
version.
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Will Deacon
Cc: Mark Rutland
Cc: Max Filippov
Cc: Chris
Migrate to the new API in order to remove arch_validate_hwbkpt_settings()
that clumsily mixes up architecture validation and commit
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc
ing breakpoint before we actually know if the
modification will be validated.
In order to prepare for that, allow modify_breakpoint_slot() to take
the new breakpoint type.
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: And
ing breakpoint before we actually know if the
modification will be validated.
In order to prepare for that, allow modify_breakpoint_slot() to take
the new breakpoint type.
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Mol
Migrate to the new API in order to remove arch_validate_hwbkpt_settings()
that clumsily mixes up architecture validation and commit.
Original-patch-by: Andy Lutomirski <l...@kernel.org>
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-fou
the probing struct instead.
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Yoshinori Sato <ys...@users.sourceforge.jp>
Cc: Rich Felker <dal...@libc.org>
Cc: Ingo Molnar
Migrate to the new API in order to remove arch_validate_hwbkpt_settings()
that clumsily mixes up architecture validation and commit.
Original-patch-by: Andy Lutomirski
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo
the probing struct instead.
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Will Deacon
Cc: Mark Rutland
Cc: Max Filippov
Cc: Chris Zankel
Cc: Catalin Marinas
Cc: Benjamin Herrenschmidt
Cc
Migrate to the new API in order to remove arch_validate_hwbkpt_settings()
that clumsily mixes up architecture validation and commit
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Andy Lutomirski <l...@kernel.org>
This field seem to be unused, perhaps a leftover from old code...
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Yoshinori Sato <ys...@users.sourceforge.jp>
Cc: Rich Fel
Migrate to the new API in order to remove arch_validate_hwbkpt_settings()
that clumsily mixes up architecture validation and commit
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc
This field seem to be unused, perhaps a leftover from old code...
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Will Deacon
Cc: Mark Rutland
Cc: Max Filippov
Cc: Chris Zankel
Cc
then need to implement the new API.
Reported-by: Linus Torvalds <torva...@linux-foundation.org>
Original-patch-by: Andy Lutomirski <l...@kernel.org>
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Andy Lutomirs
then need to implement the new API.
Reported-by: Linus Torvalds
Original-patch-by: Andy Lutomirski
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Will Deacon
Cc: Mark Rutland
Cc: Max Fi
attributes progresses.
If something goes wrong in the middle, the architecture data changes
aren't rolled back and we are left with a halfway fiddled breakpoint.
This set fixes the various misdesigns that back this bad behaviour.
Thanks,
Frederic
---
Frederic Weisbecker (12):
perf
attributes progresses.
If something goes wrong in the middle, the architecture data changes
aren't rolled back and we are left with a halfway fiddled breakpoint.
This set fixes the various misdesigns that back this bad behaviour.
Thanks,
Frederic
---
Frederic Weisbecker (12):
perf
On Tue, May 15, 2018 at 09:58:03PM -0700, Andy Lutomirski wrote:
>
>
> > On May 15, 2018, at 8:11 PM, Frederic Weisbecker <frede...@kernel.org>
> > wrote:
> >
> >> On Wed, May 09, 2018 at 11:17:03AM +0200, Peter Zijlstra wrote:
> >>>
On Tue, May 15, 2018 at 09:58:03PM -0700, Andy Lutomirski wrote:
>
>
> > On May 15, 2018, at 8:11 PM, Frederic Weisbecker
> > wrote:
> >
> >> On Wed, May 09, 2018 at 11:17:03AM +0200, Peter Zijlstra wrote:
> >>> On Sun, May 06, 2018 at 09:19:54PM
On Wed, May 09, 2018 at 11:17:03AM +0200, Peter Zijlstra wrote:
> On Sun, May 06, 2018 at 09:19:54PM +0200, Frederic Weisbecker wrote:
> > arch/arm/include/asm/hw_breakpoint.h | 5 -
> > arch/arm/kernel/hw_breakpoint.c | 22 +++---
> > a
On Wed, May 09, 2018 at 11:17:03AM +0200, Peter Zijlstra wrote:
> On Sun, May 06, 2018 at 09:19:54PM +0200, Frederic Weisbecker wrote:
> > arch/arm/include/asm/hw_breakpoint.h | 5 -
> > arch/arm/kernel/hw_breakpoint.c | 22 +++---
> > a
On Tue, May 15, 2018 at 08:57:47AM +0200, Ingo Molnar wrote:
>
> * Peter Zijlstra <pet...@infradead.org> wrote:
>
> > On Sun, May 06, 2018 at 09:19:54PM +0200, Frederic Weisbecker wrote:
> > > arch/arm/include/asm/hw_breakpoint.h | 5 -
> >
On Tue, May 15, 2018 at 08:57:47AM +0200, Ingo Molnar wrote:
>
> * Peter Zijlstra wrote:
>
> > On Sun, May 06, 2018 at 09:19:54PM +0200, Frederic Weisbecker wrote:
> > > arch/arm/include/asm/hw_breakpoint.h | 5 -
> > > arch/arm/ker
On Mon, May 07, 2018 at 12:46:06AM +, Joel Fernandes wrote:
> On Sun, May 6, 2018 at 12:22 PM Frederic Weisbecker <frede...@kernel.org>
> wrote:
>
> > arch_validate_hwbkpt_settings() mixes up attribute check and commit into
> > a single code entity. Therefor
On Mon, May 07, 2018 at 12:46:06AM +, Joel Fernandes wrote:
> On Sun, May 6, 2018 at 12:22 PM Frederic Weisbecker
> wrote:
>
> > arch_validate_hwbkpt_settings() mixes up attribute check and commit into
> > a single code entity. Therefore the validation ma
On Wed, May 09, 2018 at 12:32:57PM +0100, Mark Rutland wrote:
> On Tue, May 08, 2018 at 12:13:23PM +0100, Mark Rutland wrote:
> > Hi Frederick,
> >
> > On Sun, May 06, 2018 at 09:19:50PM +0200, Frederic Weisbecker wrote:
> > > The breakpoint code mixes up attribute
On Wed, May 09, 2018 at 12:32:57PM +0100, Mark Rutland wrote:
> On Tue, May 08, 2018 at 12:13:23PM +0100, Mark Rutland wrote:
> > Hi Frederick,
> >
> > On Sun, May 06, 2018 at 09:19:50PM +0200, Frederic Weisbecker wrote:
> > > The breakpoint code mixes up attribute
Commit-ID: 30d723340c30ff9afe200ef5ecbbdc77e6d1f816
Gitweb: https://git.kernel.org/tip/30d723340c30ff9afe200ef5ecbbdc77e6d1f816
Author: Frederic Weisbecker <frede...@kernel.org>
AuthorDate: Tue, 8 May 2018 15:38:18 +0200
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 30d723340c30ff9afe200ef5ecbbdc77e6d1f816
Gitweb: https://git.kernel.org/tip/30d723340c30ff9afe200ef5ecbbdc77e6d1f816
Author: Frederic Weisbecker
AuthorDate: Tue, 8 May 2018 15:38:18 +0200
Committer: Ingo Molnar
CommitDate: Mon, 14 May 2018 11:25:27 +0200
softirq/sh: Use
Commit-ID: 48bda43eabb8d086204f543cf8bbad696b8c6391
Gitweb: https://git.kernel.org/tip/48bda43eabb8d086204f543cf8bbad696b8c6391
Author: Frederic Weisbecker <frede...@kernel.org>
AuthorDate: Tue, 8 May 2018 15:38:26 +0200
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 48bda43eabb8d086204f543cf8bbad696b8c6391
Gitweb: https://git.kernel.org/tip/48bda43eabb8d086204f543cf8bbad696b8c6391
Author: Frederic Weisbecker
AuthorDate: Tue, 8 May 2018 15:38:26 +0200
Committer: Ingo Molnar
CommitDate: Mon, 14 May 2018 11:25:28 +0200
softirq/s390: Move
Commit-ID: 1a8bc8f8d6a7980a75edbd29578fbce09359
Gitweb: https://git.kernel.org/tip/1a8bc8f8d6a7980a75edbd29578fbce09359
Author: Frederic Weisbecker <frede...@kernel.org>
AuthorDate: Tue, 8 May 2018 15:38:25 +0200
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 1a8bc8f8d6a7980a75edbd29578fbce09359
Gitweb: https://git.kernel.org/tip/1a8bc8f8d6a7980a75edbd29578fbce09359
Author: Frederic Weisbecker
AuthorDate: Tue, 8 May 2018 15:38:25 +0200
Committer: Ingo Molnar
CommitDate: Mon, 14 May 2018 11:25:28 +0200
softirq/x86: Switch
Commit-ID: 424f7d3e3b950c88a4127b7dfa78ea54e287413e
Gitweb: https://git.kernel.org/tip/424f7d3e3b950c88a4127b7dfa78ea54e287413e
Author: Frederic Weisbecker <frede...@kernel.org>
AuthorDate: Tue, 8 May 2018 15:38:24 +0200
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 424f7d3e3b950c88a4127b7dfa78ea54e287413e
Gitweb: https://git.kernel.org/tip/424f7d3e3b950c88a4127b7dfa78ea54e287413e
Author: Frederic Weisbecker
AuthorDate: Tue, 8 May 2018 15:38:24 +0200
Committer: Ingo Molnar
CommitDate: Mon, 14 May 2018 11:25:28 +0200
softirq/sparc
Commit-ID: 1321a5de1ecb0d2981394ff2111c75c4dcb0c237
Gitweb: https://git.kernel.org/tip/1321a5de1ecb0d2981394ff2111c75c4dcb0c237
Author: Frederic Weisbecker <frede...@kernel.org>
AuthorDate: Tue, 8 May 2018 15:38:23 +0200
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 1321a5de1ecb0d2981394ff2111c75c4dcb0c237
Gitweb: https://git.kernel.org/tip/1321a5de1ecb0d2981394ff2111c75c4dcb0c237
Author: Frederic Weisbecker
AuthorDate: Tue, 8 May 2018 15:38:23 +0200
Committer: Ingo Molnar
CommitDate: Mon, 14 May 2018 11:25:28 +0200
softirq/powerpc
Commit-ID: 03979f8a72e6576248e7b9e3abb72a760312dd7d
Gitweb: https://git.kernel.org/tip/03979f8a72e6576248e7b9e3abb72a760312dd7d
Author: Frederic Weisbecker <frede...@kernel.org>
AuthorDate: Tue, 8 May 2018 15:38:22 +0200
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 03979f8a72e6576248e7b9e3abb72a760312dd7d
Gitweb: https://git.kernel.org/tip/03979f8a72e6576248e7b9e3abb72a760312dd7d
Author: Frederic Weisbecker
AuthorDate: Tue, 8 May 2018 15:38:22 +0200
Committer: Ingo Molnar
CommitDate: Mon, 14 May 2018 11:25:27 +0200
softirq/parisc
Commit-ID: a58bdf25b98bf765b4b732f2c56097ddcb9f2d5a
Gitweb: https://git.kernel.org/tip/a58bdf25b98bf765b4b732f2c56097ddcb9f2d5a
Author: Frederic Weisbecker <frede...@kernel.org>
AuthorDate: Tue, 8 May 2018 15:38:21 +0200
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: a58bdf25b98bf765b4b732f2c56097ddcb9f2d5a
Gitweb: https://git.kernel.org/tip/a58bdf25b98bf765b4b732f2c56097ddcb9f2d5a
Author: Frederic Weisbecker
AuthorDate: Tue, 8 May 2018 15:38:21 +0200
Committer: Ingo Molnar
CommitDate: Mon, 14 May 2018 11:25:27 +0200
softirq/ia64
Commit-ID: 0fd7d86285290ccebc0dc6eb536b6b043dd6a1e4
Gitweb: https://git.kernel.org/tip/0fd7d86285290ccebc0dc6eb536b6b043dd6a1e4
Author: Frederic Weisbecker <frede...@kernel.org>
AuthorDate: Tue, 8 May 2018 15:38:20 +0200
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 0fd7d86285290ccebc0dc6eb536b6b043dd6a1e4
Gitweb: https://git.kernel.org/tip/0fd7d86285290ccebc0dc6eb536b6b043dd6a1e4
Author: Frederic Weisbecker
AuthorDate: Tue, 8 May 2018 15:38:20 +0200
Committer: Ingo Molnar
CommitDate: Mon, 14 May 2018 11:25:27 +0200
softirq/core
Commit-ID: 0f6f47bacba514f4e9f61de0d85940dfb41498cc
Gitweb: https://git.kernel.org/tip/0f6f47bacba514f4e9f61de0d85940dfb41498cc
Author: Frederic Weisbecker <frede...@kernel.org>
AuthorDate: Tue, 8 May 2018 15:38:19 +0200
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 0f6f47bacba514f4e9f61de0d85940dfb41498cc
Gitweb: https://git.kernel.org/tip/0f6f47bacba514f4e9f61de0d85940dfb41498cc
Author: Frederic Weisbecker
AuthorDate: Tue, 8 May 2018 15:38:19 +0200
Committer: Ingo Molnar
CommitDate: Mon, 14 May 2018 11:25:27 +0200
softirq/core: Turn
Commit-ID: 49892dbc2cb349f78eccfc1f55eac0ec718f44bb
Gitweb: https://git.kernel.org/tip/49892dbc2cb349f78eccfc1f55eac0ec718f44bb
Author: Frederic Weisbecker <frede...@kernel.org>
AuthorDate: Tue, 8 May 2018 15:38:17 +0200
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 49892dbc2cb349f78eccfc1f55eac0ec718f44bb
Gitweb: https://git.kernel.org/tip/49892dbc2cb349f78eccfc1f55eac0ec718f44bb
Author: Frederic Weisbecker
AuthorDate: Tue, 8 May 2018 15:38:17 +0200
Committer: Ingo Molnar
CommitDate: Mon, 14 May 2018 11:25:26 +0200
softirq/sparc
Commit-ID: 2e5c4632dcc0365a97c36817a368507e6a4c89b2
Gitweb: https://git.kernel.org/tip/2e5c4632dcc0365a97c36817a368507e6a4c89b2
Author: Frederic Weisbecker <frede...@kernel.org>
AuthorDate: Tue, 8 May 2018 15:38:16 +0200
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate:
Commit-ID: 2e5c4632dcc0365a97c36817a368507e6a4c89b2
Gitweb: https://git.kernel.org/tip/2e5c4632dcc0365a97c36817a368507e6a4c89b2
Author: Frederic Weisbecker
AuthorDate: Tue, 8 May 2018 15:38:16 +0200
Committer: Ingo Molnar
CommitDate: Mon, 14 May 2018 11:25:26 +0200
softirq/ia64
On Wed, May 09, 2018 at 07:51:28PM +, Andy Lutomirski wrote:
> On Wed, May 9, 2018 at 4:33 AM Mark Rutland <mark.rutl...@arm.com> wrote:
>
> > On Tue, May 08, 2018 at 12:13:23PM +0100, Mark Rutland wrote:
> > > Hi Frederick,
> > >
> > > On Su
On Wed, May 09, 2018 at 07:51:28PM +, Andy Lutomirski wrote:
> On Wed, May 9, 2018 at 4:33 AM Mark Rutland wrote:
>
> > On Tue, May 08, 2018 at 12:13:23PM +0100, Mark Rutland wrote:
> > > Hi Frederick,
> > >
> > > On Sun, May 06, 2018 at 09:1
The actual subject is "softirq: Consolidate and optimize softirq mask v4" :-)
Sorry...
The actual subject is "softirq: Consolidate and optimize softirq mask v4" :-)
Sorry...
Use nmi_count() instead of accessing directly the irq_stat structure.
Its implementation is going to change to use per-CPU, so defer the guts
to standard API instead.
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Peter Z
Use nmi_count() instead of accessing directly the irq_stat structure.
Its implementation is going to change to use per-CPU, so defer the guts
to standard API instead.
Signed-off-by: Frederic Weisbecker
Cc: Thomas Gleixner
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Sebastian Andrzej Siewior
Cc
In order to consolidate and optimize generic softirq mask accesses, we
first need to convert architectures to use per-cpu operations when
possible.
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Peter Zijlstra <pet...@infradea
In order to consolidate and optimize generic softirq mask accesses, we
first need to convert architectures to use per-cpu operations when
possible.
Signed-off-by: Frederic Weisbecker
Cc: Thomas Gleixner
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Sebastian Andrzej Siewior
Cc: David S. Miller
Cc
Consolidate and optimize default softirq mask API implementations.
Per-CPU operations are expected to be faster and a few architectures
already rely on them to implement local_softirq_pending() and related
accessors/mutators. Those will be migrated to the new generic code.
Signed-off-by: Frederic
Consolidate and optimize default softirq mask API implementations.
Per-CPU operations are expected to be faster and a few architectures
already rely on them to implement local_softirq_pending() and related
accessors/mutators. Those will be migrated to the new generic code.
Signed-off-by: Frederic
Benefit from the generic softirq mask implementation that rely on per-CPU
mutators instead of working with raw operators on top of this_cpu_ptr().
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Peter Zijlstra <pet...@infradea
Benefit from the generic softirq mask implementation that rely on per-CPU
mutators instead of working with raw operators on top of this_cpu_ptr().
Signed-off-by: Frederic Weisbecker
Cc: Thomas Gleixner
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Sebastian Andrzej Siewior
Cc: David S. Miller
Cc
org>
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Sebastian Andrzej Siewior <bige...@linutronix.de>
Cc: David S. Miller <da...@davem
Remove the ad-hoc implementation, the generic code now allows us not to
reinvent the wheel.
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: S
s390 is now the last architecture that entirely overwrites
local_softirq_pending() and uses the according default definitions of
set_softirq_pending() and or_softirq_pending().
Just move these to s390 to debloat the generic code complexity.
Suggested-by: Peter Zijlstra
Signed-off-by: Frederic
Remove the ad-hoc implementation, the generic code now allows us not to
reinvent the wheel.
Signed-off-by: Frederic Weisbecker
Cc: Thomas Gleixner
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Sebastian Andrzej Siewior
Cc: David S. Miller
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Michael
Remove the ad-hoc implementation, the generic code now allows us not to
reinvent the wheel.
Acked-by: Michael Ellerman <m...@ellerman.id.au>
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Peter Zijlstra <pet...@infradead
Remove the ad-hoc implementation, the generic code now allows us not to
reinvent the wheel.
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: S
Remove the ad-hoc implementation, the generic code now allows us not to
reinvent the wheel.
Acked-by: Michael Ellerman
Signed-off-by: Frederic Weisbecker
Cc: Thomas Gleixner
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Sebastian Andrzej Siewior
Cc: David S. Miller
Cc: Benjamin Herrenschmidt
Cc
Remove the ad-hoc implementation, the generic code now allows us not to
reinvent the wheel.
Signed-off-by: Frederic Weisbecker
Cc: Thomas Gleixner
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Sebastian Andrzej Siewior
Cc: David S. Miller
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Michael
Benefit from the generic softirq mask implementation that rely on per-CPU
mutators instead of working with raw operators on top of this_cpu_ptr().
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Peter Zijlstra <pet...@infradea
Benefit from the generic softirq mask implementation that rely on per-CPU
mutators instead of working with raw operators on top of this_cpu_ptr().
Signed-off-by: Frederic Weisbecker
Cc: Thomas Gleixner
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Sebastian Andrzej Siewior
Cc: David S. Miller
Cc
In order to optimize and consolidate softirq mask accesses, let's
convert the default irq_cpustat_t implementation to per-CPU standard API.
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Peter Zijlstra <pet...@infradead.org&g
In order to optimize and consolidate softirq mask accesses, let's
convert the default irq_cpustat_t implementation to per-CPU standard API.
Signed-off-by: Frederic Weisbecker
Cc: Thomas Gleixner
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Sebastian Andrzej Siewior
Cc: David S. Miller
Cc
In order to consolidate and optimize generic softirq mask accesses, we
first need to convert architectures to use per-cpu operations when
possible.
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Peter Zijlstra <pet...@infradea
In order to consolidate and optimize generic softirq mask accesses, we
first need to convert architectures to use per-cpu operations when
possible.
Signed-off-by: Frederic Weisbecker
Cc: Thomas Gleixner
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Sebastian Andrzej Siewior
Cc: David S. Miller
Cc
an provide instead a generic efficient version that
most of them can use. In fact s390 is the only exception because the
field is stored in lowcore.
Thanks,
Frederic
---
Frederic Weisbecker (11):
ia64: Convert local_softirq_pending() to per-cpu ops
sparc: Convert local_softi
an provide instead a generic efficient version that
most of them can use. In fact s390 is the only exception because the
field is stored in lowcore.
Thanks,
Frederic
---
Frederic Weisbecker (11):
ia64: Convert local_softirq_pending() to per-cpu ops
sparc: Convert local_softi
this
misdesigned function and call directly the arch check and commit
functions instead. This allows us to later avoid commiting
a breakpoint to architecture when its slot couldn't be allocated.
Original-patch-by: Andy Lutomirski <l...@kernel.org>
Signed-off-by: Frederic Weisbecker
this
misdesigned function and call directly the arch check and commit
functions instead. This allows us to later avoid commiting
a breakpoint to architecture when its slot couldn't be allocated.
Original-patch-by: Andy Lutomirski
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy
-patch-by: Andy Lutomirski <l...@kernel.org>
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Yoshinori Sato <ys...@users.sourceforge.jp>
Cc: Rich Felker <dal
-patch-by: Andy Lutomirski
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Will Deacon
Cc: Mark Rutland
Cc: Max Filippov
Cc: Chris Zankel
Cc: Catalin Marinas
Cc: Benjamin Herrenschmidt
Cc
-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Yoshinori Sato <ys...@users.sourceforge.jp>
Cc: Rich Felker <dal...@libc.org>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Tho
-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Will Deacon
Cc: Mark Rutland
Cc: Max Filippov
Cc: Chris Zankel
Cc: Catalin Marinas
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Michael Ellerman
the attribute check and commit code, we can avoid
commiting a breakpoint to the architecture until its slot reservation
has been accepted and completed.
Reported-by: Linus Torvalds <torva...@linux-foundation.org>
Original-patch-by: Andy Lutomirski <l...@kernel.org>
Signed-off-by: Frederi
the attribute check and commit code, we can avoid
commiting a breakpoint to the architecture until its slot reservation
has been accepted and completed.
Reported-by: Linus Torvalds
Original-patch-by: Andy Lutomirski
Signed-off-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc
-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Yoshinori Sato <ys...@users.sourceforge.jp>
Cc: Rich Felker <dal...@libc.org>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Tho
/linux/kernel/git/frederic/linux-dynticks.git
perf/breakpoint
HEAD: 0a788eff09988e58708c4a3ce7b8441ce3e7df95
Thanks,
Frederic
---
Frederic Weisbecker (9):
x86/breakpoint: Split validation into "check" and "commit"
sh: Remove "struct arch_hw_break
-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Will Deacon
Cc: Mark Rutland
Cc: Max Filippov
Cc: Chris Zankel
Cc: Catalin Marinas
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Michael Ellerman
/linux/kernel/git/frederic/linux-dynticks.git
perf/breakpoint
HEAD: 0a788eff09988e58708c4a3ce7b8441ce3e7df95
Thanks,
Frederic
---
Frederic Weisbecker (9):
x86/breakpoint: Split validation into "check" and "commit"
sh: Remove "struct arch_hw_break
-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Yoshinori Sato <ys...@users.sourceforge.jp>
Cc: Rich Felker <dal...@libc.org>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Tho
-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Yoshinori Sato <ys...@users.sourceforge.jp>
Cc: Rich Felker <dal...@libc.org>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Tho
-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Will Deacon
Cc: Mark Rutland
Cc: Max Filippov
Cc: Chris Zankel
Cc: Catalin Marinas
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Michael Ellerman
-by: Frederic Weisbecker
Cc: Linus Torvalds
Cc: Andy Lutomirski
Cc: Yoshinori Sato
Cc: Rich Felker
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Will Deacon
Cc: Mark Rutland
Cc: Max Filippov
Cc: Chris Zankel
Cc: Catalin Marinas
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Michael Ellerman
-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Yoshinori Sato <ys...@users.sourceforge.jp>
Cc: Rich Felker <dal...@libc.org>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Tho
This field seem to be unused, perhaps a leftover from old code...
Signed-off-by: Frederic Weisbecker <frede...@kernel.org>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Yoshinori Sato <ys...@users.sourceforge.jp>
Cc: Rich Fel
1101 - 1200 of 8299 matches
Mail list logo