Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1953859imm; Thu, 23 Aug 2018 11:32:28 -0700 (PDT) X-Google-Smtp-Source: AA+uWPykwMZv0O8JHJ0kQDiwAX3UPDmVjrFFGKY4PcI3WHNPUeh0KmVavgZz9d2SCLlE/o4VoaNI X-Received: by 2002:a63:2a0b:: with SMTP id q11-v6mr55914475pgq.36.1535049148642; Thu, 23 Aug 2018 11:32:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535049148; cv=none; d=google.com; s=arc-20160816; b=isypBacv6WsJuda0peEPQ6MYrcfYlMOZqLm7vJpQHXYb6Oxps9KXvpz0dgYCo/1NCV 3Ps96LZG33z0RqZp/d7VbqGxHY1PoBtZ8MHEUUeWNmfufDWyMx8K7bN7w7gfkjW9Q19m Kw87try9QbKKCRDaURG9fMVOkeu9L7O5CSHcjdpTZnv9E00UhFI1Lb6rUhYXkFaF/1HB P9oddb9kPcv7aKpbWxRFDmE+LkFPeojRpZGtxy1GO2KH9KRRK/JRru1HedapzGATBIvQ YnzBxQvI1MlQh7T5cB3Lien//XLYmrAL4Hh01FHXRfGg1liFakwCwk88hFTCgXXJG1vn p7mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=7oRLMpHWCmGcE25vUXt/LkN9qeQ+aQ7Zx4/hNEPeHPM=; b=N2nKiSuCOzAjE9noS5iI8Dvvd3O1Mv01YqcUjk79Xv7eU6SdGPvnQytrFa7XDRhyEh 6buk/ZcFGhaKesB9O9ctrw4+hhg30CzUBVo+AUfZ3Aefrix1B0K18wWLwfc8MfpMKz+C I1B0lVCi41jodEPnJhHspTKxh4fWSszT7LFQc/mmnLYJQqxg9av7n7bfWU4s5HOaN1TX RByVzHwUZxjtsh6BHjyxMpnixj3QRQRpV8MUcXHPvpqqNMwVf/kLHKojlkzAoWExAPfZ qILW8tC1J9mmxX81oTxWS5pY+OtscuVWEz39S9dz/W72h8mnc3g8ljsccRBzIA/YVbG+ 1Vog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="WPt/lg+G"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1-v6si5075964pgs.594.2018.08.23.11.32.13; Thu, 23 Aug 2018 11:32:28 -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=@gmail.com header.s=20161025 header.b="WPt/lg+G"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727512AbeHWWB7 (ORCPT + 99 others); Thu, 23 Aug 2018 18:01:59 -0400 Received: from mail-yw1-f65.google.com ([209.85.161.65]:34708 "EHLO mail-yw1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726780AbeHWWB7 (ORCPT ); Thu, 23 Aug 2018 18:01:59 -0400 Received: by mail-yw1-f65.google.com with SMTP id y134-v6so2336095ywg.1 for ; Thu, 23 Aug 2018 11:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7oRLMpHWCmGcE25vUXt/LkN9qeQ+aQ7Zx4/hNEPeHPM=; b=WPt/lg+G84ak973HnATX/5k4Q3lQwRWb3YtnXZa+2VihD8mXOt5Tx5Q3hGI0nkzeJZ lWwLCsmHFflB4W/LYOn5itJLQFOoL/8y5F7u2WzSJt+k4WAZpMp3dvIhkOqLRXh7P3QU LGWcrBcMAEg1OyyfNudHAi6nZ5gM/Of4vC5ppQwk1G39G3Q4WdY/mr2/Yf6R5HIJFAkf uruUCuqGxal/BBGlRIH8h9E9lZwzCcyUTCKsWbjcl0cMhCxoHs/AhAlXVRI/R8d4Zfe7 dR+23IbwzgHVbpaN3nXMIQs6XsxcPA7vc2DcO3594NBGfnVXnZ1VtLi4q6ZREVmb29cA jAlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7oRLMpHWCmGcE25vUXt/LkN9qeQ+aQ7Zx4/hNEPeHPM=; b=f90XoOsICZX8VTxCXzYjQcQBJwnRMJvrGCcsOQZ5HJRqfBH+SFO41HyuioUvXGlSaB 6XUyYqyhtGqcvL55nVcpyaSMTMqwcbHYUmNp2YYBKCEcBxheZDe2HAld8pVnBreFm4ES 9uF/89VKXdlmbKvbqCPQchGAgnOYMGH99DqvK7v9taroGHPPss6DLS4Lvk/R+f4r8aa3 wUXoYtDET5cKxjss/cJxLJB5wsMZRd6BZVefXqohrk/BNmdkJGxtRDqozKVc10rt+zMQ Wve8+GZv14VRujJJVCOcKv93b7mcrtRjDM8SLveK2FdY6EM7DJhs0OEYlsslnxsLJsVb ptHw== X-Gm-Message-State: APzg51ClmtN8IyiWM2A0KL4VuU4b5diJm6iTZmR/ew13EYl9kgAahq7N mNtTRVoYiVWGBB211NQSvh/MOTMuMiiqZUcIKUg= X-Received: by 2002:a81:b1c6:: with SMTP id p189-v6mr3619331ywh.496.1535049062438; Thu, 23 Aug 2018 11:31:02 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:5457:0:0:0:0:0 with HTTP; Thu, 23 Aug 2018 11:31:02 -0700 (PDT) In-Reply-To: <20180823152143.GA3049@infradead.org> References: <20180822185034.30167-1-jcmvbkbc@gmail.com> <20180823152143.GA3049@infradead.org> From: Max Filippov Date: Thu, 23 Aug 2018 11:31:02 -0700 Message-ID: Subject: Re: [PULL 00/14] Xtensa updates for 4.19 To: Christoph Hellwig Cc: Linus Torvalds , LKML , linux-xtensa@linux-xtensa.org, Chris Zankel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 23, 2018 at 8:21 AM, Christoph Hellwig wrote: >> xtensa: platform-specific handling of coherent memory > > How is this supposed to be used? For the nommu version there only > are __weak stubs, but no actual implementation. The idea is that nommu xtensa platforms that have two views of the physical memory may map one of them as cached and the other as uncached. They will provide implementations for these four functions. A platform with single view of the physical memory but with CPU that has region translation still may create two views of the memory. Both situations are platform-specific as we don't have fixed address space layout for nommu systems. I had an example here, but the addresses in this example are incorrect as I misread the spec, so I didn't add it to the PR: https://github.com/jcmvbkbc/linux-xtensa/commit/21ec04090f59647e69fb775ae9d447fcc778701e -- Thanks. -- Max