Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp562451ybl; Wed, 4 Dec 2019 07:18:47 -0800 (PST) X-Google-Smtp-Source: APXvYqwqw8VEQydi1S47AsUVqKFli/bBGWK6/np4tm265CDHp+wfumA7mbGrY6NbImPqC6nr4pVD X-Received: by 2002:a05:6808:48:: with SMTP id v8mr2961230oic.71.1575472727757; Wed, 04 Dec 2019 07:18:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575472727; cv=none; d=google.com; s=arc-20160816; b=DE8sGOZGibGQr5MX/H0yFm79A2TL+Qa/iXPqrb/VkjgoRxx0XFFb0A3r2clwhYi935 kBUAEbMmKIFyTEs6KNSifNCPIF3bO2HYG0sK0TWRC2eoreWwgsHxLSPfweMJY7v7xsCw HpJdeMeZQ8gSpRbR8nXea/xkOS3YIb6XmnCh0S6JYQQ4o6kFli6oFACTPqP8qPb8D+YT i40GjMswXpXDT8knpTUPKoLF7ilGSynK2OJ2uf+DXuN3N5hJEMk7quuI5hTyHiv3mRMv gsS/X62Q0a/ICuMGX9QrHbBMN4yAfw7Oc+zoNgA99DGkL8A7MenROKi8tZ/wbGHPE9OH Eq1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=37JrwM9sRj2b4BvchNjQWReT+CXlgOG7RBB2JDf8em0=; b=NB8qHDsAaQeRyMJSI2NnShd6fzRnYyc2JzYplH6l8yhf1+wdx9AfQK8rT1huPgDWje zyd0Ta+bof0ZmAmtpqyaKJPmzrJpgQNtdz4A7D224MW3DFepN5Zin2PjXbNrrIRpUzz0 jcmIcwjs2i7uI0hcyXr30i0nQnl4qSrhqHkiqpyFgyxryzwzRICLuS1a5OMnKFN2eEp8 VSl3xRsH/ER2/zIjp0smwONeHd+7+PzIZTbyZQ/TFVWo2HUXsHQGItpTpS04rIdLJQ70 DXxS14epRUaJdlyj0Knd2a7NAKjLC5OiJ/0bbROLHdKygttjU203kph62S+3NkyMB927 r1jA== 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 s17si3064212otr.155.2019.12.04.07.18.31; Wed, 04 Dec 2019 07:18:47 -0800 (PST) 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 S1728198AbfLDPRj convert rfc822-to-8bit (ORCPT + 99 others); Wed, 4 Dec 2019 10:17:39 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:39507 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727828AbfLDPRi (ORCPT ); Wed, 4 Dec 2019 10:17:38 -0500 Received: by mail-ot1-f66.google.com with SMTP id 77so6624348oty.6; Wed, 04 Dec 2019 07:17:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=fsokDCNhL4pai+t3v/JumPHu5Uv1VUcK2gbmN8Wh5bE=; b=Hp9LshcZeAeBGoyke9wPpHFR6vT5naujxsDhyojpBp8lv7MaGcUi3EiHnFeEgVavql HaFwpK5C/hN9+a1oNXJqmc8tgWflxA5jwRMpVDfF6VYv9ZVJKTPw7uAhuKB61IBxvDfU lBpDlMqjW/2u62JMLPy9NWJYKkcgtG/3SVv+aXnwpkFqVZplh7ddUeM/y9Dfnagl2Q/q O/lSVi8t9m1gamGz9zXOhwmk1MD3hB8eKqTHFhwFoyMBCEWqHXDSSGFB5gEUy0Z0BUQZ EH/4WcU8f0jLNFzze/AsWO5Tu+vpXsL6VnOF77B3oaq1KUWJ2RDf7Aivq2RQ0QKttAoX 7x7w== X-Gm-Message-State: APjAAAWFW0PUCXoMZGMwnjjBqVEEgNo8Or9NSt/aq9gZl/sB+FGUgEYf z/FQTjTH0NgH0ozmU3tjVmXg7rxYU0cjBUJYBzc= X-Received: by 2002:a9d:2073:: with SMTP id n106mr2843943ota.145.1575472657861; Wed, 04 Dec 2019 07:17:37 -0800 (PST) MIME-Version: 1.0 References: <20190219103148.192029670@infradead.org> <20190219103233.443069009@infradead.org> <20191204104733.GR2844@hirez.programming.kicks-ass.net> <156fa92f-4c5a-08bd-bcda-20029724c0de@roeck-us.net> In-Reply-To: <156fa92f-4c5a-08bd-bcda-20029724c0de@roeck-us.net> From: Geert Uytterhoeven Date: Wed, 4 Dec 2019 16:17:26 +0100 Message-ID: Subject: Re: [PATCH v6 10/18] sh/tlb: Convert SH to generic mmu_gather To: Guenter Roeck Cc: Peter Zijlstra , Will Deacon , "Aneesh Kumar K.V" , Andrew Morton , Nicholas Piggin , Linux-Arch , Linux MM , Linux Kernel Mailing List , Russell King , Heiko Carstens , Rik van Riel , Yoshinori Sato , Rich Felker , Linux-sh list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Günter, On Wed, Dec 4, 2019 at 2:22 PM Guenter Roeck wrote: > On 12/4/19 4:32 AM, Geert Uytterhoeven wrote: > > On Wed, Dec 4, 2019 at 11:48 AM Peter Zijlstra wrote: > >> On Tue, Dec 03, 2019 at 12:19:00PM +0100, Geert Uytterhoeven wrote: > >>> On Tue, Feb 19, 2019 at 11:35 AM Peter Zijlstra wrote: > >>>> Generic mmu_gather provides everything SH needs (range tracking and > >>>> cache coherency). > >>> I got remote access to an SH7722-based Migo-R again, which spews a long > >>> sequence of BUGs during userspace startup. I've bisected this to commit > >>> c5b27a889da92f4a ("sh/tlb: Convert SH to generic mmu_gather"). > >> > >> Whoopsy.. also, is this really the first time anybody booted an SH > >> kernel in over a year ?!? > > > > Nah, but the v5.4-rc3 I booted recently on qemu -M r2d had > > CONFIG_PGTABLE_LEVELS=2, so it didn't show the problem. > > > > Guess that explains why I do not see the problem with my qemu boots. > I use rts7751r2dplus_defconfig. Is it possible to reproduce the problem > with qemu ? I don't think so, but maybe I am missing something. Qemu seems to support r2d and shix only. For the latter, the website pointed to by the qemu sources no longer exists. But according to those sources, it's also sh7750-based, so no luck. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds