From: Jon Tollefson <kniht@linux.vnet.ibm.com>
To: Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] Use 1TB segments
Date: Mon, 06 Aug 2007 17:23:57 -0500 [thread overview]
Message-ID: <46B79F7D.6080305@linux.vnet.ibm.com> (raw)
In-Reply-To: <18095.59959.698141.565343@cargo.ozlabs.ibm.com>
Paul Mackerras wrote:
> diff --git a/arch/powerpc/mm/slb.c b/arch/powerpc/mm/slb.c
>
A couple of hunks fail in this file when applying to the current tree.
...
> diff --git a/include/asm-powerpc/mmu-hash64.h b/include/asm-powerpc/mmu-hash64.h
> index 695962f..053f86b 100644
> --- a/include/asm-powerpc/mmu-hash64.h
> +++ b/include/asm-powerpc/mmu-hash64.h
> @@ -47,6 +47,8 @@ extern char initial_stab[];
>
> /* Bits in the SLB VSID word */
> #define SLB_VSID_SHIFT 12
> +#define SLB_VSID_SHIFT_1T 24
> +#define SLB_VSID_SSIZE_SHIFT 62
> #define SLB_VSID_B ASM_CONST(0xc000000000000000)
> #define SLB_VSID_B_256M ASM_CONST(0x0000000000000000)
> #define SLB_VSID_B_1T ASM_CONST(0x4000000000000000)
> @@ -66,6 +68,7 @@ extern char initial_stab[];
> #define SLB_VSID_USER (SLB_VSID_KP|SLB_VSID_KS|SLB_VSID_C)
>
> #define SLBIE_C (0x08000000)
> +#define SLBIE_SSIZE_SHIFT 25
>
> /*
> * Hash table
> @@ -77,7 +80,7 @@ extern char initial_stab[];
> #define HPTE_V_AVPN_SHIFT 7
> #define HPTE_V_AVPN ASM_CONST(0x3fffffffffffff80)
> #define HPTE_V_AVPN_VAL(x) (((x) & HPTE_V_AVPN) >> HPTE_V_AVPN_SHIFT)
> -#define HPTE_V_COMPARE(x,y) (!(((x) ^ (y)) & HPTE_V_AVPN))
> +#define HPTE_V_COMPARE(x,y) (!(((x) ^ (y)) & 0xffffffffffffff80))
> #define HPTE_V_BOLTED ASM_CONST(0x0000000000000010)
> #define HPTE_V_LOCK ASM_CONST(0x0000000000000008)
> #define HPTE_V_LARGE ASM_CONST(0x0000000000000004)
> @@ -164,16 +167,25 @@ struct mmu_psize_def
> #define MMU_SEGSIZE_256M 0
> #define MMU_SEGSIZE_1T 1
>
> +/*
> + * Supported segment sizes
> + */
> +#define MMU_SEGSIZE_256M 0
> +#define MMU_SEGSIZE_1T 1
>
It looks like this is repeating the definitions just above it.
Jon
next prev parent reply other threads:[~2007-08-06 22:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 2:04 [PATCH] Use 1TB segments Paul Mackerras
2007-08-02 20:41 ` Will Schmidt
2007-08-02 22:37 ` Benjamin Herrenschmidt
2007-08-02 23:56 ` Will Schmidt
2007-08-03 2:53 ` David Gibson
2007-08-06 22:23 ` Jon Tollefson [this message]
2007-08-10 3:53 ` Michael Neuling
2007-10-02 18:37 ` Will Schmidt
2007-10-03 2:11 ` Olof Johansson
2007-10-03 3:07 ` Paul Mackerras
2007-10-03 3:27 ` Olof Johansson
2007-10-03 3:13 ` Paul Mackerras
2007-10-03 14:22 ` Will Schmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46B79F7D.6080305@linux.vnet.ibm.com \
--to=kniht@linux.vnet.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.