the decrementer registers. These macros will return the current
decrementer value as a 64 bit quantity regardless of the Host CPU or
guest decrementer operating mode. Additionally this patch corrects
several uses of decrementer values that assume a 32 bit register width.
Signed-off-by: Oliver O'Halloran <
is not supplied then the
traditional decrementer width of 32 bits is assumed and LD mode is disabled.
This patch was based on initial work by Jack Miller.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Balbir Singh <bsinghar...@gmail.com>
be enabled.
This patch was based on initial work by Jack Miller.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Signed-off-by: Balbir Singh <bsinghar...@gmail.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Jack Miller <j...@codezen.org>
---
arch/powerpc/include/asm/reg.h
ide a hvsi console
also provide a raw console so this is not an issue in practice.
Actually-written-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: sta...@vger.kernel.org
---
be enabled.
This patch was based on initial work by Jack Miller.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Signed-off-by: Balbir Singh <bsinghar...@gmail.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Jack Miller <j...@codezen.org>
---
arch/powerpc/include/asm/reg.h
ide a hvsi console
also provide a raw console so this is not an issue in practice.
Actually-written-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: sta...@vger.kernel.org
---
I think this bug can only be triggered if the instruction to
simulate is malformed. The switch in the else case only handles
the zero and one case, but it extracts bits 4:1 from the
instruction word so it may be other values. It's pretty minor, but
a bug is a bug.
Signed-off-by: Oliver O'Halloran
-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/lib/sstep.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c
index dc885b3..e25f73c 100644
--- a/arch/powerpc/lib/sstep.c
+++ b/arch/powerpc/lib/sstep.c
@@ -925,6 +925,7 @@ int __k
-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/lib/sstep.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c
index dc885b3..e25f73c 100644
--- a/arch/powerpc/lib/sstep.c
+++ b/arch/powerpc/lib/sstep.c
@@ -925,6 +925,7 @@ int __k
the decrementer registers. These macros will return the current
decrementer value as a 64 bit quantity regardless of the Host CPU or
guest decrementer operating mode. Additionally this patch corrects several
uses of decrementer values that assume a 32 bit register width.
Signed-off-by: Oliver O'Halloran <
. If this property
is not supplied then the traditional decrementer width of 32 bits is
assumed and LD mode is disabled.
This patch was based on inital work by Jack Miller.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Cc: Jack Miller <j...@codezen.org>
---
arch/powerpc/include/asm/reg.h
e of VRSAVE is used to determine if altivec is being used
in several code paths.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/kernel/process.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kerne
e of VRSAVE is used to determine if altivec is being used
in several code paths.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Signed-off-by: Anton Blanchard <an...@samba.org>
Fixes: 152d523e6307 ("powerpc: Create context switch helpers save_sprs() and
restore_sprs()&
managed zones (ZONE_CMA) we should aim to be
consistent with every other architecture and set the max PFN for these
zones to zero.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Reviewed-by: Balbir Singh <bsinghar...@gmail.com>
Cc: linux...@kvack.org
---
arch/powerpc/mm/mem.c | 8
managed zones (ZONE_CMA) we should
aim to be consistent with every other architecture and set the max PFN for
these zones to zero.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Cc: linux...@kvack.org
---
arch/powerpc/mm/mem.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Cc: linux...@kvack.org
---
arch/powerpc/mm/mem.c | 17 +
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index ac79dbde1015..8f4c19789a38 100644
--- a/arch/powerpc/mm
on the
contents arch_zone_highest_possible_pfn[].
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Cc: linuxppc-dev@lists.ozlabs.org
---
mm/page_alloc.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 59de90
of more mm managed zones (ZONE_CMA) we should
aim to be consistent with every other architecture and set the max PFN
for these zones to zero
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/mm/mem.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff
.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/mm/mem.c | 17 +
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index ac79dbde1015..8f4c19789a38 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powe
is not supplied then the
traditional decrementer width of 32 bits is assumed and LD mode is disabled.
This patch was based on initial work by Jack Miller.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Balbir Singh <bsinghar...@gmail.com>
the decrementer registers. These macros will return the current
decrementer value as a 64 bit quantity regardless of the Host CPU or
guest decrementer operating mode. Additionally this patch corrects
several uses of decrementer values that assume a 32 bit register width.
Signed-off-by: Oliver O'Halloran <
. If this property
is not supplied then the traditional decrementer width of 32 bits is
assumed and LD mode is disabled.
This patch was based on initial work by Jack Miller.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Cc: Jack Miller <j...@codezen.org>
Cc: Balbir Singh <bsinghar...@gmail
the decrementer registers. These macros will return the current
decrementer value as a 64 bit quantity regardless of the Host CPU or
guest decrementer operating mode. Additionally this patch corrects several
uses of decrementer values that assume a 32 bit register width.
Signed-off-by: Oliver O'Halloran <
.@neuling.org>
Suggested-by: Michael Ellerman <m...@ellerman.id.au>
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
Changes in from v1:
Renamed parameter from "no_tb_segs" to "disable_1tb_segments"
Added kernel-parameters.txt entry
Documentation
ide a hvsi console
also provide a raw console so this is not an issue in practice.
Actually-written-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: sta...@vger.kernel.org
---
C
nd LD mode will not be enabled.
This patch was based on initial work by Jack Miller.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
Signed-off-by: Balbir Singh <bsinghar...@gmail.com>
Acked-by: Michael Neuling <mi...@neuling.org>
Cc: Jack Miller <j...@codezen.org>
---
.@neuling.org>
Suggested-by: Michael Ellerman <m...@ellerman.id.au>
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/mm/hash_utils_64.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_u
On Tue, Feb 21, 2017 at 6:25 PM, abdul wrote:
> Hi,
>
> Today's mainline build, breaks on Power6 and Power7 (all BE config) with
> these build errors
>
> arch/powerpc/kernel/time.c: In function ‘running_clock’:
> arch/powerpc/kernel/time.c:712:2: error: implicit
2935..cae3745 100644
> --- a/arch/powerpc/platforms/powernv/opal.c
> +++ b/arch/powerpc/platforms/powernv/opal.c
> @@ -740,6 +740,8 @@ static int __init opal_init(void)
> opal_sys_param_init();
> /* Setup message log sysfs interface. */
> opal_msglog_sysfs_init();
> + /* Create hdat object under sys/firmware/opal */
> + opal_hdat_sysfs_init();
> }
>
> /* Initialize platform devices: IPMI backend, PRD & flash interface */
> --
> 2.9.3
>
Quibbling aside, look ok.
Reviewed-by: Oliver O'Halloran <ooh...@gmail.com>
"It's possible I missed one, but I did genuinely review all of it"
Cyril Bur, 2016
In a hobart pub, specifically The Winston
On 17/01/2017 8:53 PM, "Michael Ellerman" wrote:
> Cyril Bur writes:
>
> > On Thu, 2017-01-12 at 14:54 +1100, Russell Currey
It has been pointed out that this actually occured in 2017. My apologies.
On 17/01/2017 9:50 PM, "Oliver O'Halloran" <ooh...@gmail.com> wrote:
> "It's possible I missed one, but I did genuinely review all of it"
>
> Cyril Bur, 2016
> In a hobart pub, specif
On Mon, Feb 27, 2017 at 9:56 PM, Michael Ellerman wrote:
> Matt Brown writes:
>> diff --git a/arch/powerpc/platforms/powernv/opal-hdat.c
>> b/arch/powerpc/platforms/powernv/opal-hdat.c
>> new file mode 100644
>> index 000..3315dd3
>> ---
these manual lookups with the existing cpu_to_chip_id() function.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/kernel/smp.c | 39 +--
1 file changed, 13 insertions(+), 26 deletions(-)
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/
-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/kernel/smp.c | 61 ---
1 file changed, 31 insertions(+), 30 deletions(-)
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index dfe0e1d9cd06..1c531887ca51 100644
--- a/arch/p
.
This patch moves all the logic for rebuilding these masks into a single
function and simplifies the logic which determines which CPUs are within
a "core".
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/kernel/smp.c | 90 ---
this.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/include/asm/smp.h | 6 ++
arch/powerpc/kernel/smp.c | 5 +
2 files changed, 11 insertions(+)
diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc/include/asm/smp.h
index 32db16d2e7ad..a7fc3a105d61 100644
---
to
make more intelligent migration decisions. When one core in the pair is
overloaded tasks can be migrated to its paired core to improve throughput
without cache-refilling penality typically associated with task
migration.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/
On Thu, Feb 23, 2017 at 8:39 AM, Rashmica Gupta wrote:
> Some powerpc hardware features may want to gain access to a
> chunk of undisturbed real memory. This update provides a means to unplug
> said memory from the kernel with a set of sysfs calls. By writing an integer
of the GNU General Public License
>> + * as published by the Free Software Foundation; either version
>> + * 2 of the License, or (at your option) any later version.
>> + */
>> +
>> +#include
>> +#include
>> +#include
>> +#include
>> +
>> +struct hdat_info {
>> + char *base;
>> + u64 size;
>> +};
>> +
>> +static struct hdat_info hdat_inf;
>
>
> As Oliver pointed out, we could do with a better name than hdat_inf - it's
> only one character away from the name of the struct type. Hmm, perhaps
> "hdat_location", or maybe Oliver has a better suggestion.
I'm not that bothered by it.
Reviewed-by: Oliver O'Halloran <ooh...@gmail.com>
>
>
> --
> Andrew Donnellan OzLabs, ADL Canberra
> andrew.donnel...@au1.ibm.com IBM Australia Limited
>
algorithms. This patch converts the wrapper to use this new
API, but does not add support for using new algorithms.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/boot/Makefile | 10 ++-
arch/powerpc/boot/decompress.c | 142 +
ed
headers are copied into the build directory via several sed scripts
which rewrite problematic includes. This patch moves these fixups out of
the makefile into a separate .sed script file to clean up makefile
slightly.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/power
-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/boot/Makefile | 7 --
arch/powerpc/boot/wrapper | 61 ++
2 files changed, 50 insertions(+), 18 deletions(-)
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
Most architectures allow the compression algorithm used to produced the
vmlinuz image to be selected as a kernel config option. In preperation
for supporting algorithms other than gzip in the powerpc boot wrapper
the makefile needs to be modified to use these config options.
Signed-off-by: Oliver
This patch adds an option to use XZ compression for the kernel image.
Currently this is only enabled for PPC64 targets since the bulk of the
32bit platforms produce uboot images which do not use the wrapper.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/boot/Ma
This series adds support for using XZ compression in addition to gzip in the
kernel boot wrapper. Currently this is only enabled for 64bit Book3S processors
since it seems that some embedded platforms rely on uBoot (or similar) to
decompress the image rather than having the kernel decompress
This code is no longer used and can be removed.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/boot/gunzip_util.c | 204
arch/powerpc/boot/gunzip_util.h | 45 -
2 files changed, 249 deletions(-)
delete mode 10064
Hi, Heiner
Could you send me a copy of the kernel .config (or which defconfig)
that you're using, the name of the HW platform that you're using and
if possible the kernel image itself?
Thanks,
Oliver
algorithms. This patch converts the wrapper to use this new
API, but does not add support for using new algorithms.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/boot/Makefile | 34 +++---
arch/powerpc/boot/decompress.c
ed
headers are copied into the build directory via several sed scripts
which rewrite problematic includes. This patch moves these fixups out of
the makefile into a separate .sed script file to clean up makefile
slightly.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/power
This series adds support for using XZ compression in addition to gzip in the
kernel boot wrapper. Currently this is only enabled for 64bit Book3S processors
since it seems that some embedded platforms rely on uBoot (or similar) to
decompress the image rather than having the kernel decompress
This patch adds an option to use XZ compression for the kernel image.
Currently this is only enabled for PPC64 targets since the bulk of the
32bit platforms produce uboot images which do not use the wrapper.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/boot/Ma
-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/boot/Makefile | 7 --
arch/powerpc/boot/wrapper | 61 ++
2 files changed, 50 insertions(+), 18 deletions(-)
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
Most architectures allow the compression algorithm used to produced the
vmlinuz image to be selected as a kernel config option. In preperation
for supporting algorithms other than gzip in the powerpc boot wrapper
the makefile needs to be modified to use these config options.
Signed-off-by: Oliver
This code is no longer used and can be removed.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/boot/cuboot-c2k.c | 1 -
arch/powerpc/boot/gunzip_util.c | 204
arch/powerpc/boot/gunzip_util.h | 45 -
3 files change
ed
headers are copied into the build directory via several sed scripts
which rewrite problematic includes. This patch moves these fixups out of
the makefile into a separate .sed script file to clean up makefile
slightly.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/power
This code is no longer used and can be removed.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/boot/cuboot-c2k.c | 1 -
arch/powerpc/boot/gunzip_util.c | 204
arch/powerpc/boot/gunzip_util.h | 45 -
3 files change
is used for compression rather than xz -9. Using compression
levels higher than 6 requires the decompressor to build a large (64MB)
dictionary when decompressing and some environments cannot satisfy large
allocations (e.g. POWER 6 LPAR partition firmware).
Signed-off-by: Oliver O'Halloran <
This series adds support for using XZ compression in addition to gzip in the
kernel boot wrapper. Currently this is only enabled for 64bit Book3S processors
since it seems that some embedded platforms rely on uBoot (or similar) to
decompress the image rather than having the kernel decompress
This patch adds an option to use XZ compression for the kernel image.
Currently this is only enabled for PPC64 targets since the bulk of the
32bit platforms produce uboot images which do not use the wrapper.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/boot/Ma
algorithms. This patch converts the wrapper to use this new
API, but does not add support for using new algorithms.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/boot/Makefile | 34 +++---
arch/powerpc/boot/decompress.c
Most architectures allow the compression algorithm used to produced the
vmlinuz image to be selected as a kernel config option. In preperation
for supporting algorithms other than gzip in the powerpc boot wrapper
the makefile needs to be modified to use these config options.
Signed-off-by: Oliver
On Tue, Aug 23, 2016 at 1:21 PM, Balbir Singh wrote:
>
>> zImage on ppc64 BE is an ELF32 file. This patch set only supports loading
>> ELF files of the same class as the kernel, so a 64 bit kernel can't load an
>> ELF32 file. It would be possible to add such support, but it
The
modes of tlbie that use the AP field place it in bits 56:59 so I think
Balbir's fix is correct.
Reviewed-By: Oliver O'Halloran <ooh...@gmail.com>
On Mon, Oct 10, 2016 at 3:41 PM, Michael Ellerman <m...@ellerman.id.au> wrote:
> Heiner Kallweit <hkallwe...@gmail.com> writes:
>
>> Am 07.10.2016 um 21:26 schrieb Heiner Kallweit:
>>> Am 07.10.2016 um 07:51 schrieb Oliver O'Halloran:
>>>>
: 656ad58ef19e
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/boot/main.c | 8 ++--
arch/powerpc/boot/opal-calls.S | 13 +
arch/powerpc/boot/opal.c | 11 +++
arch/powerpc/boot/ops.h| 1 +
4 files changed, 31 insertions(+), 2 del
On Thu, Nov 24, 2016 at 1:38 AM, Segher Boessenkool
wrote:
> On Thu, Nov 24, 2016 at 12:08:40AM +1100, Nicholas Piggin wrote:
>> Question, are there any fundamental reasons we shouldn't use the ELFv2
>> ABI to build big endian kernels if the compiler supports it?
>
>
Currently the code to perform an OPAL call is duplicated between the
normal path and path taken when tracepoints are enabled. There's no
real need for this and combining them makes opal_tracepoint_entry
considerably easier to understand.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.
c) {
> - powernv_states[nr_idle_states].target_residency =
> - ((unsigned int)residency_ns[i]) / 1000;
> - }
> -
> nr_idle_states++;
> }
> out:
> diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h
> index bb31373..c4e10f8 100644
> --- a/include/linux/cpuidle.h
> +++ b/include/linux/cpuidle.h
> @@ -62,6 +62,7 @@ struct cpuidle_state {
> };
>
> /* Idle State Flags */
> +#define CPUIDLE_FLAG_NONE (0x00)
> #define CPUIDLE_FLAG_COUPLED (0x02) /* state applies to multiple cpus */
> #define CPUIDLE_FLAG_TIMER_STOP (0x04) /* timer is stopped on this state */
>
> --
> 1.9.4
>
Looks good otherwise.
Reviewed-by: Oliver O'Halloran <ooh...@gmail.com>
On Tue, Oct 11, 2016 at 7:06 AM, Heiner Kallweit wrote:
>> IMHO in case of using cuboot no CONFIG_KERNEL_ config option
>> should be set and Makefile + code in arch/powerpc/boot should be able
>> to deal with this situation:
>> - don't copy and build the decompression stuff
Currently the kernel will enable LD mode at boot when required. However,
when using kexec the second kernel may not want to have the LD enabled.
This patch ensures the second kernel will explicitly clear the LD flag
when not required by the current kernel.
Signed-off-by: Oliver O'Halloran <
On Fri, Jan 13, 2017 at 2:44 PM, Gautham R Shenoy
wrote:
> On Thu, Jan 12, 2017 at 03:17:33PM +0530, Balbir Singh wrote:
>> On Tue, Jan 10, 2017 at 02:37:01PM +0530, Gautham R. Shenoy wrote:
>> > From: "Gautham R. Shenoy"
>> >
>> > Balbir pointed
where someone will (hopefully) look at them.
For the companion skiboot patches see:
https://lists.ozlabs.org/pipermail/skiboot/2016-December/005861.html
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/include/asm/opal-api.h| 5 +++-
arch/powerpc/i
Currently the code to perform an OPAL call is duplicated between the
normal path and path taken when tracepoints are enabled. There's no
real need for this and combining them makes opal_tracepoint_entry
considerably easier to understand.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
or 1
> make[1]: *** [uImage] Error 2
> make[1]: Leaving directory `/nobackup/danielwa/linux/t1040'
> make: *** [sub-make] Error 2
>
>
> and it bisects to ,
>
>
> commit 656ad58ef19e2a763fa5c938b20ae0f6b8d67242
> Author: Oliver O'Halloran <ooh...@gmail.com>
> Date: Fr
On Wed, Mar 15, 2017 at 10:18 PM, Michael Ellerman <m...@ellerman.id.au> wrote:
> Oliver O'Halloran <ooh...@gmail.com> writes:
>> diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
>> index dfe0e1d9cd06..1c531887ca51 100644
>> --- a/arch/powerpc/k
On Wed, Mar 15, 2017 at 10:18 PM, Michael Ellerman <m...@ellerman.id.au> wrote:
> Oliver O'Halloran <ooh...@gmail.com> writes:
>
>> To determine which logical CPUs are on the same core the kernel uses the
>> ibm,chipid property from the device tree node associate
On Wed, Mar 15, 2017 at 10:26 PM, Michael Ellerman <m...@ellerman.id.au> wrote:
> Oliver O'Halloran <ooh...@gmail.com> writes:
>
>> Traditionally we have only ever tracked which CPUs are in the same core
>> (cpu_sibling_mask) and on the same die (cpu_core_mask). For
On Tue, Mar 28, 2017 at 2:03 PM, Michael Ellerman <m...@ellerman.id.au> wrote:
> Oliver O'Halloran <ooh...@gmail.com> writes:
>> On Wed, Mar 15, 2017 at 10:18 PM, Michael Ellerman <m...@ellerman.id.au>
>> wrote:
>>> Oliver O'Halloran <ooh...@gmail.
the range coalescing so that only ranges that are both physically
and virtually contiguous are combined. This patch also adds to the dump
output the physical address at the start of each range.
Cc: Rashmica Gupta <rashmic...@gmail.com>
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
On Thu, Mar 2, 2017 at 4:44 PM, Matt Brown wrote:
> The HDAT data area is consumed by skiboot and turned into a device-tree.
> In some cases we would like to look directly at the HDAT, so this patch
> adds a sysfs node to allow it to be viewed. This is not possible
The code to fix the problem it describes was removed in c40785a and it
uses the stupid comment style. Away it goes!
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/mm/hash_utils_64.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/arch/powe
that require it.
Other architectures should see no functional changes.
Cc: "Aneesh Kumar K.V" <aneesh.ku...@linux.vnet.ibm.com>
Cc: linux...@kvack.org
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
mm/huge_memory.c | 20 ++--
1 file changed, 18 insertions(+)
r K.V" <aneesh.ku...@linux.vnet.ibm.com>
Cc: "Kirill A. Shutemov" <kirill.shute...@linux.intel.com>
Cc: linux...@kvack.org
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
For reference:
void zap_deposited_table(struct mm_struct *mm, pmd_t *pmd)
{
From: "Aneesh Kumar K.V" <aneesh.ku...@linux.vnet.ibm.com>
Add a _PAGE_DEVMAP bit for PTE and DAX PMD entires. PowerPC doesn't
currently support PUD faults so we haven't extended it to the PUD
level.
Cc: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com>
Signed-off-by:
pressure on main system memory by allowing the mm/
metadata to be stored on the device itself rather in main memory.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/mm/init_64.c | 20 +++-
arch/powerpc/mm/mem.c | 16 +---
2 files chang
Flip the switch. Running around and screaming "IT'S ALIVE" is optional,
but recommended.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
mm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/Kconfig b/mm/Kconfig
index 43d000e44424..d696af58f97f
Initial powerpc support for the arch-specific bit of the persistent
memory API. Nothing fancy here.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/Kconfig| 1 +
arch/powerpc/include/asm/pmem.h | 109
arch/powerpc/
Hi all,
This series adds support for ZONE_DEVICE and the pmem api on powerpc. Namely,
support for altmaps and the various bits and pieces required for DAX PMD faults.
The first two patches touch generic mm/ code, but otherwise this is fairly well
contained in arch/powerpc.
If the nvdimm folks
Removes an indentation level and shuffles some code around to make the
following patch cleaner. No functional changes.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/mm/init_64.c | 47 +--
1 file changed, 25 insertions(
The default implementation of ioremap_cache() is aliased to ioremap().
On powerpc ioremap() creates cache-inhibited mappings by default which
is almost certainly not what you wanted.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/include/asm/io.h | 2 ++
1 file chan
t;
Cc: Anton Blanchard <an...@samba.org>
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
Could the original author of this add their S-o-b? I pulled it out of
Rashmica's memtrace patch, but I remember someone saying Anton wrote
it originally.
---
arch/powerpc/
.
Cc: Rashmica Gupta <rashmic...@gmail.com>
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/mm/dump_linuxpagetables.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/powerpc/mm/dump_linuxpagetables.c
b/arch/powerpc/mm/dump_linuxpageta
On Wed, Apr 12, 2017 at 4:22 AM, Dan Williams <dan.j.willi...@intel.com> wrote:
> On Tue, Apr 11, 2017 at 10:42 AM, Oliver O'Halloran <ooh...@gmail.com> wrote:
>> Hi all,
>>
>> This series adds support for ZONE_DEVICE and the pmem api on powerpc. Namely,
>> s
sysfs_create_bin_file(kobj, attr_tmp);
> + if (rc)
> + pr_warn("Error %d creating OPAL sysfs exports/%s
> file\n",
> + rc, prop->name);
> + }
> +
> +cleanup:
> + of_node_put(np);
> +}
&
On Wed, Apr 12, 2017 at 4:52 PM, Michael Ellerman <m...@ellerman.id.au> wrote:
> Rashmica Gupta <rashmic...@gmail.com> writes:
>
>> On 31/03/17 12:37, Oliver O'Halloran wrote:
>>> On Book3s we have two PTE flags used to mark cache-inhibited mappings:
>>&g
On Wed, Apr 12, 2017 at 11:53 AM, Balbir Singh <bsinghar...@gmail.com> wrote:
> On Wed, 2017-04-12 at 03:42 +1000, Oliver O'Halloran wrote:
>> From: Rashmica Gupta <rashmic...@gmail.com>
>>
>> Adds support for removing bolted (i.e kernel linear mapping) mappi
to use each.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/include/asm/ppc_asm.h | 12
arch/powerpc/kernel/misc_64.S | 4 ++--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/include/asm/ppc_asm.h
b/arch/powerpc/inclu
On Wed, Apr 19, 2017 at 2:46 AM, Rob Herring wrote:
> On Mon, Apr 17, 2017 at 7:32 PM, Tyrel Datwyler
> wrote:
>> This patch introduces event tracepoints for tracking a device_nodes
>> reference cycle as well as reconfig notifications generated in
for everything except leaf (PTE) entries.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
arch/powerpc/include/asm/book3s/64/pgtable.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/include/asm/book3s/64/pgtable.h
b/arch/powerpc/include/asm/book3s/64/pgt
for everything except leaf (PTE) entries.
Signed-off-by: Oliver O'Halloran <ooh...@gmail.com>
---
"i'll just tweak the mbox before i sent it, what's the worst that can happen"
*completely breaks KVM*
"..."
---
arch/powerpc/include/asm/book3s/64/pgtable.h | 4 +++-
1 file c
1 - 100 of 690 matches
Mail list logo