On Friday 16 September 2016 04:33 PM, Nicholas Piggin wrote:
On Thu, 15 Sep 2016 18:32:00 +0530
Madhavan Srinivasan wrote:
Make it explicit the interrupt masking supported
by a gievn interrupt handler. Patch correspondingly
extends the MASKABLE_* macros with an
On Friday 16 September 2016 03:46 PM, Nicholas Piggin wrote:
On Thu, 15 Sep 2016 18:31:59 +0530
Madhavan Srinivasan wrote:
Currently soft_enabled is used as the flag to determine
the interrupt state. Patch extends the soft_enabled
to be used as a mask instead of a
On Friday 16 September 2016 03:42 PM, Nicholas Piggin wrote:
On Thu, 15 Sep 2016 18:31:58 +0530
Madhavan Srinivasan wrote:
To support addition of "bitmask" to MASKABLE_* macros,
factor out the EXCPETION_PROLOG_1 macro.
Signed-off-by: Madhavan Srinivasan
Christophe Leroy writes:
> +#else
> +static void hugepd_free(struct mmu_gather *tlb, void *hugepte)
> +{
> + BUG();
> +}
> +
> #endif
I was expecting that BUG will get removed in the next patch. But I don't
see it in the next patch. Considering
@@ -475,11 +453,10
Christophe Leroy writes:
> Today there are two implementations of hugetlbpages which are managed
> by exclusive #ifdefs:
> * FSL_BOOKE: several directory entries points to the same single hugepage
> * BOOK3S: one upper level directory entry points to a table of hugepages
On Friday 16 September 2016 03:35 PM, Nicholas Piggin wrote:
On Thu, 15 Sep 2016 18:31:56 +0530
Madhavan Srinivasan wrote:
"paca->soft_enabled" is used as a flag to mask some of interrupts.
Currently supported flags values and their details:
soft_enabled
On Friday 16 September 2016 03:27 PM, Nicholas Piggin wrote:
On Thu, 15 Sep 2016 18:31:55 +0530
Madhavan Srinivasan wrote:
Add new soft_enabled_* manipulation function and implement
arch_local_* using the soft_enabled_* wrappers.
Signed-off-by: Madhavan Srinivasan
On Monday 19 September 2016 08:22 AM, Nicholas Piggin wrote:
On Fri, 16 Sep 2016 13:22:24 +
David Laight wrote:
From: Nicholas Piggin
Sent: 16 September 2016 12:59
On Fri, 16 Sep 2016 11:43:13 +
David Laight wrote:
From:
On Mon, 2016-09-19 at 12:47 +0800, Simon Guo wrote:
> On Wed, Sep 14, 2016 at 06:02:16PM +1000, Cyril Bur wrote:
> >
> > @@ -954,8 +963,16 @@ static inline void __switch_to_tm(struct
> > task_struct *prev,
> > struct task_struct *new)
> > {
> > if (cpu_has_feature(CPU_FTR_TM)) {
pSeries run as a guest and might need pv-qspinlock.
Signed-off-by: Pan Xinhui
---
arch/powerpc/kernel/Makefile | 1 +
arch/powerpc/platforms/pseries/Kconfig | 8
2 files changed, 9 insertions(+)
diff --git a/arch/powerpc/kernel/Makefile
The default pv-qspinlock uses qspinlock(native version of pv-qspinlock).
pv_lock initialization should be done in bootstage with irq disabled.
And if we run as a guest with powerKVM/pHyp shared_processor mode,
restore pv_lock_ops callbacks to pv-qspinlock(pv version) which makes
full use of
Add two corresponding helper functions to support pv-qspinlock.
For normal use, __spin_yield_cpu will confer current vcpu slices to the
target vcpu(say, a lock holder). If target vcpu is not specified or it
is in running state, such conferging to lpar happens or not depends.
Because hcall itself
pseries will use qspinlock by default.
Signed-off-by: Pan Xinhui
---
arch/powerpc/platforms/pseries/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/platforms/pseries/Kconfig
b/arch/powerpc/platforms/pseries/Kconfig
index bec90fb..f669323
This patch add basic code to enable qspinlock on powerpc. qspinlock is
one kind of fairlock implemention. And seen some performance improvement
under some scenarios.
queued_spin_unlock() release the lock by just one write of NULL to the
->locked field which sits at different places in the two
cmpxchg_release() is more lighweight than cmpxchg() on some archs(e.g.
PPC), moreover, in __pv_queued_spin_unlock() we only needs a RELEASE in
the fast path(pairing with *_try_lock() or *_lock()). And the slow path
has smp_store_release too. So it's safe to use cmpxchg_release here.
Suggested-by:
Hi All,
this is the fairlock patchset. You can apply them and build successfully.
patches are based on 4.8-rc4.
qspinlock can avoid waiter starved issue. It has about the same speed in
single-thread and it can be much faster in high contention situations
especially when the spinlock is
Christophe Leroy writes:
> Today powerpc64 uses a set of pgtable_caches while powerpc32 uses
> standard pages when using 4k pages and a single pgtable_cache
> if using other size pages.
>
> In preparation of implementing huge pages on the 8xx, this patch
> replaces the
> diff --git a/include/linux/bit_spinlock.h b/include/linux/bit_spinlock.h
> index 3b5bafc..695743c 100644
> --- a/include/linux/bit_spinlock.h
> +++ b/include/linux/bit_spinlock.h
> @@ -25,9 +25,8 @@ static inline void bit_spin_lock(int bitnum, unsigned long
> *addr)
> #if defined(CONFIG_SMP)
On Friday 16 September 2016 05:13 PM, David Laight wrote:
From: Nicholas Piggin
Sent: 16 September 2016 10:53
On Thu, 15 Sep 2016 18:31:54 +0530
Madhavan Srinivasan wrote:
Force use of soft_enabled_set() wrapper to update paca-soft_enabled
wherever possisble. Also
On Wed, Sep 14, 2016 at 06:02:16PM +1000, Cyril Bur wrote:
> @@ -954,8 +963,16 @@ static inline void __switch_to_tm(struct task_struct
> *prev,
> struct task_struct *new)
> {
> if (cpu_has_feature(CPU_FTR_TM)) {
> - tm_enable();
> -
On Friday 16 September 2016 03:23 PM, Nicholas Piggin wrote:
On Thu, 15 Sep 2016 18:31:54 +0530
Madhavan Srinivasan wrote:
Force use of soft_enabled_set() wrapper to update paca-soft_enabled
wherever possisble. Also add a new wrapper function,
On Friday 16 September 2016 03:20 PM, Nicholas Piggin wrote:
On Thu, 15 Sep 2016 18:31:53 +0530
Madhavan Srinivasan wrote:
Move set_soft_enabled() from powerpc/kernel/irq.c to
asm/hw_irq.c. and rename it soft_enabled_set().
THis way paca->soft_enabled updates can
On Friday 16 September 2016 03:17 PM, Nicholas Piggin wrote:
On Thu, 15 Sep 2016 18:31:52 +0530
Madhavan Srinivasan wrote:
Replace the hardcoded values used when updating
paca->soft_enabled with IRQ_DISABLE_MASK_* #def.
No logic change.
This could be folded with
On Fri, 16 Sep 2016 13:22:24 +
David Laight wrote:
> From: Nicholas Piggin
> > Sent: 16 September 2016 12:59
> > On Fri, 16 Sep 2016 11:43:13 +
> > David Laight wrote:
> >
> > > From: Nicholas Piggin
> > > > Sent: 16 September 2016
On Sun, Sep 18, 2016 at 03:20:53PM +0200, Thorsten Leemhuis wrote:
> Hi! Here is my fourth regression report for Linux 4.8. It lists 14
> regressions I'm aware of. 5 of them are new; 1 mentioned in last
> weeks report got fixed.
>
> As always: Are you aware of any other regressions? Then please
On 三, 2016-09-14 at 11:40 -0500, Leo Li wrote:
> On Wed, Jun 8, 2016 at 2:52 PM, Rob Herring wrote:
> >
> > On Tue, Jun 07, 2016 at 11:27:34AM +0800, Jia Hongtao wrote:
> > >
> > > For different types of SoC the sensor id and endianness may vary.
> > > "#thermal-sensor-cells"
On Wed, Sep 14, 2016 at 03:04:12PM +1000, Cyril Bur wrote:
> On Mon, 2016-09-12 at 15:33 +0800, wei.guo.si...@gmail.com wrote:
> > From: Anshuman Khandual
> >
> > This patch adds ptrace interface test for TM SPR registers. This
> > also adds ptrace interface based
In pci_update_resource(), the PCI device's memory decoding (0x2 in
PCI_COMMAND) is disabled when 64-bits memory BAR is updated if the
PCI device's memory space wasn't asked to be always on by @pdev->
mmio_always_on. The PF's memory decoding might be disabled when
updating its IOV BARs in the
Am Samstag, 17 September 2016, 00:17:37 schrieb Eric W. Biederman:
> Thiago Jung Bauermann writes:
> > Hello Eric,
> >
> > Am Freitag, 16 September 2016, 14:47:13 schrieb Eric W. Biederman:
> >> I can see tracking to see if the list has changed at some
> >> point and
Hi! Here is my fourth regression report for Linux 4.8. It lists 14
regressions I'm aware of. 5 of them are new; 1 mentioned in last
weeks report got fixed.
As always: Are you aware of any other regressions? Then please let me
know (simply CC regressi...@leemhuis.info). And pls tell me if there
We can use the front led of powerbooks/ibooks as a disk activitiy imagination
without the deprecated IDE_GD_ATA.
Signed-off-by: Elimar Riesebieter
---
drivers/macintosh/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/macintosh/Kconfig
31 matches
Mail list logo