On Wed, 2015-03-25 at 13:34 -0400, Sowmini Varadhan wrote:
Investigation of multithreaded iperf experiments on an ethernet
interface show the iommu-lock as the hottest lock identified by
lockstat, with something of the order of 21M contentions out of
27M acquisitions, and an average wait time
We can disable a THP split or a hugepage collapse by disabling irq.
We do send IPI to all the cpus in the early part of split/collapse,
and disabling local irq ensure we don't make progress with
split/collapse. If the THP is getting split we return NULL from
find_linux_pte_or_hugepte(). For all
For THP that is marked trans splitting, we return the pte.
This require the callers to handle the pmd_trans_splitting scenario,
if they care. All the current callers are either looking at pfn or
write_ok, hence we don't need to update them.
Signed-off-by: Aneesh Kumar K.V
pte can get updated from other CPUs as part of multiple activities
like THP split, huge page collapse, unmap. We need to make sure we
don't reload the pte value again and again for different checks.
Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com
---
Note:
This is posted
On Fri, 2015-03-27 at 17:39 +0100, Cédric Le Goater wrote:
OPAL has its own list of return codes. The patch provides a translation
of such codes in errnos for the opal_sensor_read call, and possibly
others if needed.
Index: linux.git/arch/powerpc/platforms/powernv/opal.c
We have a powerpc specific global called mem_init_done which is set on
boot once kmalloc can be called.
But that's not *quite* true. We set it at the bottom of mem_init(), and
rely on the fact that mm_init() calls kmem_cache_init() immediately
after that, and nothing is running in parallel.
So
Signed-off-by: Sam Bobroff sam.bobr...@au1.ibm.com
---
v2:
Discovered some typos while updating the documentation.
Documentation/powerpc/transactional_memory.txt |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/powerpc/transactional_memory.txt
See the first patch for a description of the reasoning behind this
change.
This set includes the change, a kernel selftest for it and
some slight refactoring of the selftest code.
v2:
Patch 1/4: powerpc/tm: Abort syscalls in active transactions
Also update the failure code table.
Patch 3/4:
On Mon, 2015-03-30 at 10:39 +0530, Aneesh Kumar K.V wrote:
This patch remove helpers which we had used only once in the code.
Limiting page table walk variants help in ensuring that we won't
end up with code walking page table with wrong assumptions.
Signed-off-by: Aneesh Kumar K.V
Use orderly_reboot so userspace will to shut itself down via the reboot
path. This is required for graceful reboot initiated by the BMC, such
as when a user uses ipmitool to issue a 'chassis power cycle' command.
Signed-off-by: Joel Stanley j...@jms.id.au
---
The kernel has orderly_poweroff which allows the kernel to initiate a
graceful shutdown of userspace, by running /sbin/poweroff. This adds
orderly_reboot that will cause userspace to shut itself down by calling
/sbin/reboot.
This will be used for shutdown initiated by a system controller on
This patch remove helpers which we had used only once in the code.
Limiting page table walk variants help in ensuring that we won't
end up with code walking page table with wrong assumptions.
Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com
---
arch/powerpc/include/asm/pgtable.h
On 24/03/15 13:02, Michael Ellerman wrote:
On Tue, 2015-03-24 at 12:52 +1100, Sam Bobroff wrote:
On 20/03/15 20:25, Anshuman Khandual wrote:
On 03/19/2015 10:13 AM, Sam Bobroff wrote:
Check that a syscall made during an active transaction will fail with
the correct failure code and that one
On Mon, 2015-03-30 at 12:45 +1030, Joel Stanley wrote:
Use orderly_reboot so userspace will to shut itself down via the reboot
path. This is required for graceful reboot initiated by the BMC, such
as when a user uses ipmitool to issue a 'chassis power cycle' command.
Signed-off-by: Joel
On Fri, 2015-03-27 at 17:39 +0100, Cédric Le Goater wrote:
The opal sensor mutex protects the opal_sensor_read call which
can return a OPAL_BUSY code on IBM Power systems if a previous
request is in progress.
This can be handled at user level with a retry.
It can, but how does it actually
Move get_auxv_entry() from pmu/lib.c up to harness.c in order to make
it available to other tests.
Signed-off-by: Sam Bobroff sam.bobr...@au1.ibm.com
---
tools/testing/selftests/powerpc/harness.c | 47 +
tools/testing/selftests/powerpc/pmu/lib.c | 47
This patch changes the syscall handler to doom (tabort) active
transactions when a syscall is made and return immediately without
performing the syscall.
Currently, the system call instruction automatically suspends an
active transaction which causes side effects to persist when an active
On Fri, 2015-03-27 at 13:07 -0500, Scott Wood wrote:
On Fri, 2015-03-27 at 10:45 +1100, Michael Ellerman wrote:
On Thu, 2015-03-26 at 10:31 -0500, Emil Medve wrote:
Hello Kumar,
On 03/26/2015 10:18 AM, Kumar Gala wrote:
Why no commit message with what issue this change was
Check that a syscall made during an active transaction will fail with
the correct failure code and that one made during a suspended
transaction will succeed.
Signed-off-by: Sam Bobroff sam.bobr...@au1.ibm.com
---
v2:
Further testing has shown that the success or failure of the transactions was
Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h,
use the new header directly so we can drop
the wrapper in include/linux/pci_ids.h.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
arch/powerpc/platforms/embedded6xx/mpc10x.h | 4 ++--
1 file changed, 2 insertions(+), 2
Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h,
use the new header directly so we can drop
the wrapper in include/linux/pci_ids.h.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
drivers/misc/cxl/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h,
use the new header directly so we can drop
the wrapper in include/linux/pci_ids.h.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
drivers/edac/pasemi_edac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h,
use the new header directly so we can drop
the wrapper in include/linux/pci_ids.h.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
drivers/macintosh/macio_asic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Michael Ellerman m...@ellerman.id.au writes:
On Thu, 2015-26-03 at 13:13:39 UTC, Aneesh Kumar K.V wrote:
pte can get updated from other CPUs as part of multiple activities
like THP split, huge page collapse, unmap. We need to make sure we
don't reload the pte value again and again for
just need to share to developer the success we face today
the Tursk is running in full 2D and 3D on Linux PPC (lubuntu 14.04.2 kernel
4.0.0-rc3) on Quad G5
Need to say a big thankyou to Christian (Xeno74) Zigotzky
I share a video for the community
On Sun, 2015-03-29 at 22:16 +0530, Aneesh Kumar K.V wrote:
Michael Ellerman m...@ellerman.id.au writes:
On Thu, 2015-26-03 at 13:13:39 UTC, Aneesh Kumar K.V wrote:
pte can get updated from other CPUs as part of multiple activities
like THP split, huge page collapse, unmap. We need to make
26 matches
Mail list logo