From: Paul Mundt <lethal@linux-sh.org>
To: Andreas Kleen <ak@suse.de>
Cc: torvalds@osdl.org, linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: [PATCH 13/17] 4level support for sh
Date: Mon, 25 Oct 2004 11:22:33 +0300 [thread overview]
Message-ID: <20041025082232.GA1419@linux-sh.org> (raw)
In-Reply-To: <417CAA06.mail3ZK11VJ7Y@wotan.suse.de>
[-- Attachment #1: Type: text/plain, Size: 2814 bytes --]
On Mon, Oct 25, 2004 at 09:23:50AM +0200, Andreas Kleen wrote:
> 4level support for sh
>
> Converted, but doesn't compile for other reasons
>
> Signed-off-by: Andi Kleen <ak@suse.de>
>
I'll see about fixing up the build. On another note, it looks like these
got grouped in accidentally:
> diff -urpN -X ../KDIFX linux-2.6.10rc1/drivers/macintosh/via-pmu.c linux-2.6.10rc1-4level/drivers/macintosh/via-pmu.c
> --- linux-2.6.10rc1/drivers/macintosh/via-pmu.c 2004-10-19 01:55:14.000000000 +0200
> +++ linux-2.6.10rc1-4level/drivers/macintosh/via-pmu.c 2004-10-25 04:48:10.000000000 +0200
> @@ -2504,7 +2504,7 @@ powerbook_sleep_grackle(void)
> _set_L2CR(save_l2cr);
>
> /* Restore userland MMU context */
> - set_context(current->active_mm->context, current->active_mm->pgd);
> + set_context(current->active_mm->context, (pml4_t *)current->active_mm->pml4);
>
> /* Power things up */
> pmu_unlock();
> @@ -2604,7 +2604,7 @@ powerbook_sleep_Core99(void)
> _set_L3CR(save_l3cr);
>
> /* Restore userland MMU context */
> - set_context(current->active_mm->context, current->active_mm->pgd);
> + set_context(current->active_mm->context, (pgd_t *)current->active_mm->pml4);
>
> /* Tell PMU we are ready */
> pmu_unlock();
> diff -urpN -X ../KDIFX linux-2.6.10rc1/include/asm-parisc/cacheflush.h linux-2.6.10rc1-4level/include/asm-parisc/cacheflush.h
> --- linux-2.6.10rc1/include/asm-parisc/cacheflush.h 2004-10-19 01:55:33.000000000 +0200
> +++ linux-2.6.10rc1-4level/include/asm-parisc/cacheflush.h 2004-10-25 04:48:10.000000000 +0200
> @@ -113,7 +113,7 @@ static inline void flush_cache_range(str
> static inline pte_t *__translation_exists(struct mm_struct *mm,
> unsigned long addr)
> {
> - pgd_t *pgd = pgd_offset(mm, addr);
> + pgd_t *pgd = pml4_pgd_offset(pml4_offset(mm, addr), addr);
> pmd_t *pmd;
> pte_t *pte;
>
> @@ -155,7 +155,7 @@ flush_user_cache_page_non_current(struct
> preempt_disable();
>
> /* make us current */
> - mtctl(__pa(vma->vm_mm->pgd), 25);
> + mtctl(__pa(vma->vm_mm->pml4), 25);
> mtsp(vma->vm_mm->context, 3);
>
> flush_user_dcache_page(vmaddr);
> diff -urpN -X ../KDIFX linux-2.6.10rc1/include/asm-s390/tlbflush.h linux-2.6.10rc1-4level/include/asm-s390/tlbflush.h
> --- linux-2.6.10rc1/include/asm-s390/tlbflush.h 2004-03-21 21:11:56.000000000 +0100
> +++ linux-2.6.10rc1-4level/include/asm-s390/tlbflush.h 2004-10-25 04:48:10.000000000 +0200
> @@ -105,7 +105,7 @@ static inline void __flush_tlb_mm(struct
> if (MACHINE_HAS_IDTE) {
> asm volatile (".insn rrf,0xb98e0000,0,%0,%1,0"
> : : "a" (2048),
> - "a" (__pa(mm->pgd)&PAGE_MASK) : "cc" );
> + "a" (__pa(mm->pml4)&PAGE_MASK) : "cc" );
> return;
> }
> preempt_disable();
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-10-25 8:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-25 7:23 [PATCH 13/17] 4level support for sh Andreas Kleen
2004-10-25 8:22 ` Paul Mundt [this message]
2004-10-25 16:09 ` Andi Kleen
2004-10-25 16:25 ` Paul Mundt
2004-10-25 16:32 ` Tom Rini
2004-10-25 17:04 ` Andi Kleen
2004-10-25 17:16 ` Tom Rini
2004-10-25 17:26 ` Andi Kleen
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=20041025082232.GA1419@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).