Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp931010ybp; Wed, 9 Oct 2019 06:29:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeYwCokNJKMRHYvITsjqwskO66MmVIfAIOpxx/EUWYGfi+98t9Sgxq47Nd/NEALCwwgvNE X-Received: by 2002:aa7:df07:: with SMTP id c7mr2952020edy.110.1570627755294; Wed, 09 Oct 2019 06:29:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570627755; cv=none; d=google.com; s=arc-20160816; b=Y0LFFftq9Aa3/NKGBRtT2vPN388dQLmhaQq10QJxjDnKUkACur0+DUihx/KqmLRPNy vGozY+Q6jPUbS04BtO/9dfQsr1J21f+vOZj6v2ngWsLdbYSUg/9CuNuMRzPeuMgpQYUH 9/bZbssm7qtXGRtw9tBION9AWJZ149zXujKaUNbsv20UyGwiYi4fOJtUEoq4ajmP/v4w cEibNwfjPYChdk5Xu/0YJa4nCgC0KrA0YtxCTAZwhgX3VTSK060nNJ0M8CeL8OxRZjHb TvGii8k1Tax8YLkpwy1+HRUM1yT/YTtpP1Q3+Ae4fU6ieXvdaQT/rXEVpZHTKhbswuls Y+bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from; bh=U6DDMah/9YcXUx+4ccMnhdv0VqQn/hGJvsjs1OGWgoM=; b=ABHlmir37VFl6+EZz06qvlvhijYQBCk4kX7sywGxQa6Z7wlGMvX30+FqXm0NjoZfLg KWmf13EP+d4ft+sBRoZ2iVe1pDdXpR4br42sizbZRZ1UIYNCJl9gaZYEtfuxK8hmEpeY 2jhjQJLBIFslC1Qa4IPCvqKYq1/5amgeHGk/iTtmVBa5jRfiPkU2HIcXaCY3xdr0WpE8 3EGnIvDVBPoic0H86rMuPcrH0ITWr5RnIaO5oHTljjNChS7/14eRH+xNnhaKQWZ5Frwz DaBQcHTAFRR8eDwjQQFr68jhydkG/JFHvJBBwlXK0BE7OwxJo3Ve/3gIP7JA5ArgUDpe pSrA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ca7si1145042ejb.319.2019.10.09.06.28.52; Wed, 09 Oct 2019 06:29:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731511AbfJIN1s (ORCPT + 99 others); Wed, 9 Oct 2019 09:27:48 -0400 Received: from mx2.suse.de ([195.135.220.15]:47498 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731430AbfJIN1b (ORCPT ); Wed, 9 Oct 2019 09:27:31 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 801F2B17E; Wed, 9 Oct 2019 13:27:29 +0000 (UTC) From: Thomas Bogendoerfer To: Ralf Baechle , Paul Burton , James Hogan , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/6] MIPS: SGI-IP22: set PHYS_OFFSET to memory start Date: Wed, 9 Oct 2019 15:27:16 +0200 Message-Id: <20191009132718.25346-6-tbogendoerfer@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191009132718.25346-1-tbogendoerfer@suse.de> References: <20191009132718.25346-1-tbogendoerfer@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org IP22 started at physical 0x08000000. To avoid wasting memory for page structs set PHYS_OFFSET. Signed-off-by: Thomas Bogendoerfer --- arch/mips/include/asm/mach-ip22/spaces.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/mips/include/asm/mach-ip22/spaces.h b/arch/mips/include/asm/mach-ip22/spaces.h index 7f9fa6f66059..78d0335f5f2e 100644 --- a/arch/mips/include/asm/mach-ip22/spaces.h +++ b/arch/mips/include/asm/mach-ip22/spaces.h @@ -10,11 +10,10 @@ #ifndef _ASM_MACH_IP22_SPACES_H #define _ASM_MACH_IP22_SPACES_H +#define PHYS_OFFSET _AC(0x08000000, UL) #ifdef CONFIG_64BIT -#define PAGE_OFFSET 0xffffffff80000000UL - #define CAC_BASE 0xffffffff80000000 #define IO_BASE 0xffffffffa0000000 #define UNCAC_BASE 0xffffffffa0000000 -- 2.16.4