From patchwork Mon Nov 30 23:09:49 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Albert Herranz X-Patchwork-Id: 39867 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 9E338101138 for ; Tue, 1 Dec 2009 10:10:23 +1100 (EST) Received: from smtp125.mail.ukl.yahoo.com (smtp125.mail.ukl.yahoo.com [77.238.184.56]) by ozlabs.org (Postfix) with SMTP id A75691007D6 for ; Tue, 1 Dec 2009 10:09:53 +1100 (EST) Received: (qmail 35033 invoked from network); 30 Nov 2009 23:09:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References:In-Reply-To:References; b=slaavMNEmcLfOtApM3XmGn2kipVjih6yr+dhSO+o+zZoJEoxzsZOe3Pzszp31A1KqtuTlrFIij5pSz0jk4E7cE4G2TciCI8dGDYYTrnlpeHYU2G1rmzoGad3K/AZHkf8AC5n/rz5jKd17Khl7J0Nxcl1E9KuHiU5w9XTAmS1wJA= ; Received: from 59.Red-88-24-158.staticIP.rima-tde.net (albert_herranz@88.24.158.59 with login) by smtp125.mail.ukl.yahoo.com with SMTP; 30 Nov 2009 23:09:51 +0000 GMT X-Yahoo-SMTP: czee06uswBAtfIYshc.kP27UlfEXaxwWNSjJ X-YMail-OSG: e.OEJj4VM1kTI6P5Z2XxMziIwQe3zkZydqqnD.shsWFQ0p.RfwxoJx9bLxalnLbrcRyOHpo4j.u1Ig9saZqbVaS1RX.PuIr57Oi1ohTnIhI2BvFSh.irb5wwuNYnC8RBdcY7vOqu3cJft1FXk47DmjfyT2e26WZdVND1CZEIoko79A2xW_sYgRsApVV6IMalTEshorZjzSXMkJLFy7h.H6VcfAm_4xbp4qCQeW9c4NlR7tOZflsPHpdc5TNOuC6OHpf6njM3hOX_Mrdhh2cTRrgGtFRP8AJCrL0kZXJsLaQt1Y6jE7buXEN0jCfzNcVlhfIEFWDvy3woFz5csNzjV7Y- X-Yahoo-Newman-Property: ymail-3 From: Albert Herranz To: linuxppc-dev@lists.ozlabs.org Subject: [RFC PATCH v3 2/3] powerpc: udbg: add fixmap entry for early debug Date: Tue, 1 Dec 2009 00:09:49 +0100 Message-Id: <0a6994b5a257def375c8114b132d044a7f416d11.1259609263.git.albert_herranz@yahoo.es> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: References: In-Reply-To: References: Cc: Albert Herranz X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Add a new entry to the fixmap table to allow low level early udbg drivers to safely reserve virtual address space and create their I/O mappings. Signed-off-by: Albert Herranz --- arch/powerpc/include/asm/fixmap.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/fixmap.h b/arch/powerpc/include/asm/fixmap.h index f1f4e23..424e5a6 100644 --- a/arch/powerpc/include/asm/fixmap.h +++ b/arch/powerpc/include/asm/fixmap.h @@ -48,6 +48,9 @@ enum fixed_addresses { FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, #endif +#ifdef CONFIG_PPC_EARLY_DEBUG + FIX_EARLY_DEBUG_BASE, +#endif /* FIX_PCIE_MCFG, */ __end_of_fixed_addresses };