Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2486143rdb; Fri, 8 Dec 2023 09:25:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFJN29JPBILat0oXX/KjKVzJu2wtrOYrWePw6wsr8E3lP0i/3w3VbM+NGV9oXsaRP6k+seZ X-Received: by 2002:a17:902:7809:b0:1cf:bf7b:adf2 with SMTP id p9-20020a170902780900b001cfbf7badf2mr334997pll.32.1702056317463; Fri, 08 Dec 2023 09:25:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702056317; cv=none; d=google.com; s=arc-20160816; b=l99nS5taTR9YmkiPxlp/8zIuyXpgSa6eeJXxxT1THXIFu3gawzGoRTJMfZmqvzmeku Sjb5hfxYtedKkhPHFCSnUnBVT4rWS6HRxv6gpl6Vn06O+PFxRNix7Rxz36SyYQqUetj4 lACBS0G27jZ39IbfquO0EA+heuZd6QAEqU5gLENqUCMLDo8TpKjCWR4NHI57Dqtn5tgH iCH43bZdJNZXczioDNHN7Kfvc7Vy2Qweexh4ZRPYH99+u2B0KV2f619KoSu/p+An5t+d 8XB7R7uK9UZoIArCSBSTQBsdrocLwnGQ9vV37AxlKvZJrVaO8RZFGVN7RJl/VlqnIFtL Grmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject; bh=VWMht+nSrnk5DwSeIX/N5bzdSjlLzzfptjhVpFAODrw=; fh=4ceizjbic+bV4OQheHSfiR1nb1zdT9ouEN0tgKMHg/w=; b=S4r+hibgHgzwMptjrrF7szn6uYga/UxTuoJmTQ5bhJFV2df/QUPOFvU2g6txP0F6Af q1+bJPRR19j0pxj9v4B7ixwe4k4DevhWWwFrcBroAJEDqL9YB0KXtChWRz4OggFXz7bJ tc2qNFAXS42MHkxU6aYGjXaktkcbhE/31AkdKCD6X16CZ6xD3H3A6KqYbsri7yEd9hI9 SMyuQQOVIE6Uvt+cVeZ3clfGpGiplNgvejv6nm4DoeGoMuKNdXUHdl1anCCQG3YX+Y0S tjgV+JS8D+JpGBRvSOFgCPAvBR7eBKUSVsX/HYQ/bV/lOzNqjPNu9mzO2wBnJQ4WWgNt 7CtA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id a18-20020a170902ecd200b001d098c03fe9si1901482plh.361.2023.12.08.09.25.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 09:25:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 96FDA82662EB; Fri, 8 Dec 2023 09:25:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574139AbjLHRZB (ORCPT + 99 others); Fri, 8 Dec 2023 12:25:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232094AbjLHRZA (ORCPT ); Fri, 8 Dec 2023 12:25:00 -0500 Received: from mx01.omp.ru (mx01.omp.ru [90.154.21.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2F84E0; Fri, 8 Dec 2023 09:25:06 -0800 (PST) Received: from [192.168.1.104] (178.176.72.145) by msexch01.omp.ru (10.188.4.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1258.12; Fri, 8 Dec 2023 20:24:59 +0300 Subject: Re: [PATCH v4 03/22] MIPS: spaces: Define a couple of handy macros To: Gregory CLEMENT , Paul Burton , Thomas Bogendoerfer , , Jiaxun Yang , Rob Herring , Krzysztof Kozlowski , , CC: Vladimir Kondratiev , Tawfik Bayouk , Alexandre Belloni , =?UTF-8?Q?Th=c3=a9o_Lebrun?= , Thomas Petazzoni References: <20231208161249.1827174-1-gregory.clement@bootlin.com> <20231208161249.1827174-4-gregory.clement@bootlin.com> From: Sergey Shtylyov Organization: Open Mobile Platform Message-ID: Date: Fri, 8 Dec 2023 20:24:58 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20231208161249.1827174-4-gregory.clement@bootlin.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [178.176.72.145] X-ClientProxiedBy: msexch01.omp.ru (10.188.4.12) To msexch01.omp.ru (10.188.4.12) X-KSE-ServerInfo: msexch01.omp.ru, 9 X-KSE-AntiSpam-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 6.0.0, Database issued on: 12/08/2023 17:06:02 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 59 X-KSE-AntiSpam-Info: Lua profiles 181987 [Dec 08 2023] X-KSE-AntiSpam-Info: Version: 6.0.0.2 X-KSE-AntiSpam-Info: Envelope from: s.shtylyov@omp.ru X-KSE-AntiSpam-Info: LuaCore: 6 0.3.6 62f5a4619c57459c9a142aa1486ed27913162963 X-KSE-AntiSpam-Info: {rep_avail} X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: {relay has no DNS name} X-KSE-AntiSpam-Info: {SMTP from is not routable} X-KSE-AntiSpam-Info: {Found in DNSBL: 178.176.72.145 in (user) b.barracudacentral.org} X-KSE-AntiSpam-Info: {Found in DNSBL: 178.176.72.145 in (user) dbl.spamhaus.org} X-KSE-AntiSpam-Info: omp.ru:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2 X-KSE-AntiSpam-Info: ApMailHostAddress: 178.176.72.145 X-KSE-AntiSpam-Info: {DNS response errors} X-KSE-AntiSpam-Info: Rate: 59 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-AntiSpam-Info: Auth:dmarc=temperror header.from=omp.ru;spf=temperror smtp.mailfrom=omp.ru;dkim=none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Heuristic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 12/08/2023 17:10:00 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 12/8/2023 1:21:00 PM X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: InTheLimit X-Spam-Status: No, score=0.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 08 Dec 2023 09:25:14 -0800 (PST) On 12/8/23 7:12 PM, Gregory CLEMENT wrote: > KSEGX_SIZE is defined to size of each KSEG segment. To the size? > TO_CAC and TO_UNCAC are defined for 32bits builds and point to KSEG 0 KSEG0. > and KSEG1. > TO_PHYS remains to be 64bits only as we want people to > use __pa to avoid mixup compat address space. Mixing up? > Co-developed-by: Jiaxun Yang > Signed-off-by: Gregory CLEMENT [...] MBR, Sergey