Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3378557imm; Fri, 20 Jul 2018 15:47:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdq8CRRLcgDv1KgrEKWh9qrcrPKkI82J6vJzEFDkkqXHBoTUWDtbzyHCNE0v6Pptb6CmJ6b X-Received: by 2002:a63:a011:: with SMTP id r17-v6mr3573508pge.90.1532126823320; Fri, 20 Jul 2018 15:47:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532126823; cv=none; d=google.com; s=arc-20160816; b=B4PBZSCvwpbmec3f74TJ/lXYyTomziHnigShd/SNmC6xi4W3e5RrMlCw9hPgWuOq8U UKP9CZUjko3T+UDbJTdLqbBGNybmphE27YAAOouKxP97PXq/gMQWN0PJvgfdqBCjGmkE xo82stXCozu5ja7WVfUTBQinPrr9j8oJjDA45t+uvfaMAI98tYh1/MZ67q4nMw1+ELuI Yjr9+Ho4jWUhxiOgStkk7O7EctpEIHU5Qy0/wZageAZa0sI7fOJNyFTnnQ/kZshlBs1Y LmhqaeUb6AQ4Ya3l8ruPFOM9+tyjNeZN2NoyFifTPaPlXQgFZs3i+9AEFr161gKlPGxD soSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=VeeLMjNI9729p/6J4BkOIUQ0hV1G9AJAOlCyXMbo74A=; b=GuXYt7jnPSOI6g5Hg15fDa+cy/fTwn7tcFTl7cGJRDCFT7JtPZ9Xr3Vin1uEpZdSDC FRDiy/qDYJQgImlbxzrvTK0hQIR/F/P1j0fgYAzFrHYUWWfrqmVLI7cyp7g9ZTdBw9e9 UCImbRT3PCjpBRMEvrIV+5zmlsiourYjMT1qW/PMvUszilnoBEXaa37D53gj7y0URIiG ANb96HoLSxT/9alyYGmrhPIW7d+C0Z8QUxdJQfXds147384UHDyghrv33lTIhpoeZq45 LdA5dzjNTQnIV/ewvs4ANjIwzhbaybGrt7XHStisfOgucmYIvmRBZ/Pj0qZ0rCBpInIe Dyvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=lpOUIL20; 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 g12-v6si2685478pfh.346.2018.07.20.15.46.48; Fri, 20 Jul 2018 15:47:03 -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; dkim=pass header.i=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=lpOUIL20; 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 S1727973AbeGTXgT (ORCPT + 99 others); Fri, 20 Jul 2018 19:36:19 -0400 Received: from mail-eopbgr680118.outbound.protection.outlook.com ([40.107.68.118]:59857 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727518AbeGTXgS (ORCPT ); Fri, 20 Jul 2018 19:36:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wavesemi.onmicrosoft.com; s=selector1-wavecomp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VeeLMjNI9729p/6J4BkOIUQ0hV1G9AJAOlCyXMbo74A=; b=lpOUIL20ogrdTdvV9YL+8+qkHqmiQkHNT3Mx91ewcNhLnXH5kmFCYCMXu8h9xxmUE6NDbIKF+oc40XFxVQAecuvtFI/YVucuDmpptXZG8tjnOPPOCHIFibg+PnRMQj9t51vZcYFI6Q8Gg1Y5g5l1ON3kSK6zA+rmz5KTT7DGd/I= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=pburton@wavecomp.com; Received: from localhost (4.16.204.77) by BN7PR08MB4931.namprd08.prod.outlook.com (2603:10b6:408:28::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.16; Fri, 20 Jul 2018 22:45:53 +0000 Date: Fri, 20 Jul 2018 15:45:49 -0700 From: Paul Burton To: Serge Semin Cc: jhogan@kernel.org, ralf@linux-mips.org, hch@infradead.org, okaya@codeaurora.org, chenhc@lemote.com, Sergey.Semin@t-platforms.ru, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org Subject: Re: [PATCH] mips: mm: Discard ioremap_cacheable_cow() method Message-ID: <20180720224549.ykwuwfam5ud7trho@pburton-laptop> References: <20180720201427.18845-1-fancer.lancer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180720201427.18845-1-fancer.lancer@gmail.com> User-Agent: NeoMutt/20180622 X-Originating-IP: [4.16.204.77] X-ClientProxiedBy: BN4PR13CA0020.namprd13.prod.outlook.com (2603:10b6:403:3::30) To BN7PR08MB4931.namprd08.prod.outlook.com (2603:10b6:408:28::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6669c11c-3d7c-4634-d9b4-08d5ee928cc8 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(7021125)(8989117)(5600053)(711020)(4534165)(7022125)(4603075)(4627221)(201702281549075)(8990107)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020);SRVR:BN7PR08MB4931; X-Microsoft-Exchange-Diagnostics: 1;B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CorMINCan99DK/j1Td4dabfJ8ATvTPJxD03M2bPLEVuH0+eUEDwKKjjIgodtZxjUpsVFt93FgqG1O20XeqLWpCeZLDqpGv6qVTlm;4:N8kRdDhqpIo3uG4xfXv6kf3tEHADW6X2AtiVrpau1JmlSF+erclvwR0GATc0B1AcXUIhrO6FdeX+/hBXbqlt1RRzZqUdpIbB0WIFxJ7Mw5pqEIgTzcqAdzocFC3n3PIFdBnCLgDVUZBPP662tC2uqr/lQstceaFHGUkVvtfZ1xhVJ2I3AjbJ1bkUQo9yRrAAMFXtR0Asw46yhD2I2MVt8GMKI69/hBfUuX56lhsfnaulyL7GLke2GMxvvmxgowYkugo2nACNS60bu0YzTTKjIk3/saHHIwcIAeNQbxpqEZC7Joz30jpVf8qh4dHFc09xQtXgzEvrRZnZqHFuvL49osj36Uy1nYqiCBjCWqkrvuM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(85827821059158); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(3002001)(3231311)(944501410)(52105095)(149027)(150027)(6041310)(20161123560045)(20161123562045)(20161123558120)(2016111802025)(20161123564045)(6072148)(6043046)(201708071742011)(7699016);SRVR:BN7PR08MB4931;BCL:0;PCL:0;RULEID:;SRVR:BN7PR08MB4931; X-Forefront-PRVS: 073966E86B X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6069001)(7916004)(136003)(346002)(396003)(366004)(39840400004)(376002)(199004)(189003)(81166006)(2906002)(105586002)(8936002)(476003)(106356001)(68736007)(9686003)(50466002)(25786009)(47776003)(42882007)(956004)(6916009)(3846002)(8676002)(23726003)(97736004)(6496006)(11346002)(446003)(1076002)(44832011)(486006)(6116002)(81156014)(6246003)(76506005)(305945005)(4326008)(58126008)(16586007)(186003)(33716001)(4477795004)(16526019)(316002)(33896004)(7736002)(52116002)(386003)(478600001)(76176011)(229853002)(39060400002)(26005)(6666003)(6486002)(53936002)(66066001)(5660300001);DIR:OUT;SFP:1102;SCL:1;SRVR:BN7PR08MB4931;H:localhost;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: wavecomp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN7PR08MB4931;23:iH7BxCkcNTSZTwOGeBD6xLKKgeRwkIM+t3CuxYwTt?= =?us-ascii?Q?1kfLRl2I5ln+Slc3YmY1lZdKUKP7h3F6D7EOPiCA2yKh8q4gDuzsfcolecSg?= =?us-ascii?Q?PomHRb//AKPvHVwWENYXggl/OfPXFPJTpXn+yTzus6OOmbAmrKB+QYBfU4tU?= =?us-ascii?Q?HaIWaC9zjvOgagWWynDQ+iUKe+Nkkx956ogEOHAn0aGVKEXA5VwINwWyoCc0?= =?us-ascii?Q?cJu7lX50r8bbqIB04CAOdcEUj2gVTyL1+rkV9O7UOtOTMv/ce7+bfdP+bdu8?= =?us-ascii?Q?H6zKHccxkyL5nv8sZvtOFBwl+v18uS67JGXjrxl/lCJjZ7YHk2QAC0VC7HqG?= =?us-ascii?Q?mkKAOxOvfB6uhrKLbnK4BJ4MQJx3p6ZrTIZgvrAzc15hh9XpoEwugU53Z32m?= =?us-ascii?Q?c6y+obzC2QollggqeO95qrk+2pyvVpM95D/zg+BT+FaI0ehNLUDkX5TRKVDL?= =?us-ascii?Q?qjpC2OOCChTd4AtgS6L6Fj0OqhN4kmVo10f4XhljDTYSIZTAROZWKWHVHNJW?= =?us-ascii?Q?2lVNDXDKEitdcyoW02Vrdj4jXzT19JGI9d+jSVU13gcQl/aioYz4r1x8lg+N?= =?us-ascii?Q?n4Zb4rUpAymwlxhw8q2Db6yCXXl4VYllegmgkFiapi6kOtI6hqvo4pty9FN8?= =?us-ascii?Q?EFh1xS8OY0h1tQoxZSyc557rcG/rZDbkZOsDAE/hdmpyqEufPfy2RjQEKCLm?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1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2018 22:45:53.5214 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6669c11c-3d7c-4634-d9b4-08d5ee928cc8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 463607d3-1db3-40a0-8a29-970c56230104 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR08MB4931 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Serge, On Fri, Jul 20, 2018 at 11:14:27PM +0300, Serge Semin wrote: > This macro substitution is the shortcut to map cacheable IO memory > with coherent and write-back attributes. Since it is entirely unused > by kernel, lets just remove it. > > Signed-off-by: Serge Semin > Suggested-by: Christoph Hellwig > CC: Paul Burton > Cc: James Hogan > Cc: Ralf Baechle > Cc: Sinan Kaya > Cc: Huacai Chen > Cc: Sergey.Semin@t-platforms.ru > Cc: linux-mips@linux-mips.org > Cc: linux-kernel@vger.kernel.org > --- > arch/mips/include/asm/io.h | 7 ------- > 1 file changed, 7 deletions(-) Applied to mips-next for 4.19, thanks! Paul