Received: by 10.213.65.68 with SMTP id h4csp3348022imn; Mon, 9 Apr 2018 19:41:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx499goIg99x5/DciELA8U2bdYgeT6C32hZ3PxtvgPFFQ5raNWgM8tdEHlBfD3Chwx21zw0Zb X-Received: by 2002:a17:902:8546:: with SMTP id d6-v6mr3474757plo.106.1523328103847; Mon, 09 Apr 2018 19:41:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523328103; cv=none; d=google.com; s=arc-20160816; b=tCZh5r0aiAGfS075KGCRl9lEZAC1KLs4n5+Iq4EosTkSh+kCyB8noLnkYwFSjVsj+k ySvQWnTVz3v3QKyOOLy9oVDpHiLMmVgBh5LS/wrgGP2NWrjP9qBQPriXN7/C5RXu/MI3 lpT/kAP9Q2hIC3dVfcaTNkXbjhAZY0IafsLndpaYpV8qcWGdqtIm3ghfC0AU2iT6hSNj ipbfsphhsFkkkLWiHxKzcb+oFbYGzPZ9K0uv+lybFFJn9TpXUSExuwmTHvZMEN1tivyB /rYvYbvGuHtmQBlcQAOhqQ0vNx8sugr+WOz4wQhSzU+m5GKKWxHpEQBaEaKP27KjFrm3 GKHA== 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=jv2LW9K9SEApuBNcjDzs1ujmpBcnjloAu75Xydcqgro=; b=zvwCZe+tZIKjcGIqlgeNkqd3YMn2NKOAMaKjR/YdouGVIUMnQlfIeu4bdPHZbUZ2wa neGK8ghkDsTrIWE5TP52W++EFJPIncWntn9k7XgJQ7HSt/fcJ6yiehN0vhbwgkt3uioS CZAd8nNtxYva7TNyEbt8dFJ2uDAD60bEpch98//9G4jrGDLltBTyvGTrvmRbxjj4zVET qsp+aknXpkYEGqFQ+mGUVpvgEYXo2KZrOaAfDOA3jOBVSq1Jv2W03V3s3sJAlRXWo4DP FoeK3opa5MXCuh9Kdi5X7Vo+ONlOTah7FHDHARSU/vNiU3iUZdr5gPn0sKiUYWg+ErFT DrKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N+/TPOyE; 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 a63-v6si1557069pla.718.2018.04.09.19.41.06; Mon, 09 Apr 2018 19:41:43 -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=N+/TPOyE; 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 S1751767AbeDJCiX (ORCPT + 99 others); Mon, 9 Apr 2018 22:38:23 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:43311 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751550AbeDJCiV (ORCPT ); Mon, 9 Apr 2018 22:38:21 -0400 Received: by mail-pf0-f194.google.com with SMTP id j2so6991950pff.10 for ; Mon, 09 Apr 2018 19:38:21 -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=jv2LW9K9SEApuBNcjDzs1ujmpBcnjloAu75Xydcqgro=; b=N+/TPOyE411kEfB9gS0Mb6phlfmzLUuhb/xEzyKnbujRYHtdN0gNiPPhu4cMiFFv+U 6f43uWR302IxcGVlX8/rBgUJR85tmZ8DkLNiMyEmN3179NmvyNwfQKRT05MeCjMLUrzJ Rg0nqiGTSVzR2N/Z7i7kUbl61SnbE//df3NgQrz2nFJyP25+2F1VrP4DK6J8bbgghWv1 I43gkWzmbCdurJkVbSlYj95SUa3/r8nXfozKS3zt/4zKfZ7BRJ1+j7b/Cu6HMv3p69C3 R6EJMO/U5I6mi4B65wK2gbHL/WFamLj3J26RHSzdsuWNj3+4VCE04xvK7dMMVC2IizdH lF6Q== 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=jv2LW9K9SEApuBNcjDzs1ujmpBcnjloAu75Xydcqgro=; b=rs7G5DD2J2RubP7ROnMLwVPQ1fmsie5BBsrcgCylVP76oS+t6R5usGPNE7BDlknQim g7hQCDguuQQ6nutsddr9I+H4pMGFsuAn7zDX4TXGWfz8y5z0A1Tv50/yzjck35MjOWnf hZSpRcEE4KGt8exfQeIEpDJbtf1lXiqwaeW11qVMFiE9ekyJwP94wNL0OhHyI/joJfoj ColSW3UagUEn1Z3GMopv6RfCGYhdhgK+JboaAUuwrI352c9ge7C2hLQ+VX5395CfCB97 sJnSBAAHSjmzItPNIdLBM59uJzaaDgh6IS8GF78OTq7/opjIFdzcyNn/tU0j41+10ZWm uAtw== X-Gm-Message-State: ALQs6tAbcjbU6oyYYt0W/1/aBPbY+u7O4pLc3BldQ06pT5ed2SnxAiDC ygxAe5omEVm4A9lHV+opfYHT6Hkj5dp7BbxXl+w= X-Received: by 10.98.201.70 with SMTP id k67mr1135286pfg.141.1523327901441; Mon, 09 Apr 2018 19:38:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.150.143 with HTTP; Mon, 9 Apr 2018 19:38:21 -0700 (PDT) In-Reply-To: References: From: Michael Schmitz Date: Tue, 10 Apr 2018 14:38:21 +1200 Message-ID: Subject: Re: [PATCH 03/12] m68k/mac: Don't remap SWIM MMIO region To: Geert Uytterhoeven Cc: Finn Thain , Laurent Vivier , Jens Axboe , linux-m68k , Linux Kernel Mailing List 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 Hi Geert, I haven't seen that weird behaviour in quite some time - we discussed changing the arch_initcall to some later priority at that time but I never got around to trying that. No change to mappings in head.S either as far as I could see. Was there any rearrangement of MM init relative to arch init since? Cheers, Michael On Tue, Apr 10, 2018 at 12:54 AM, Geert Uytterhoeven wrote: > Hi Finn, > > On Sun, Apr 1, 2018 at 3:41 AM, Finn Thain wrote: >> For reasons I don't understand, calling ioremap() then iounmap() on >> the SWIM MMIO region causes a hang on 68030 (but not on 68040). > > Michael Schmitz also notices strange things with ioremap() on '030. > >> There's no need to call ioremap() for the SWIM address range, as it lies >> within the usual IO device region at 0x5000 0000, which is already mapped. > > by head.S, right? > >> --- a/drivers/block/swim.c >> +++ b/drivers/block/swim.c >> @@ -911,7 +911,7 @@ static int swim_probe(struct platform_device *dev) >> goto out; >> } >> >> - swim_base = ioremap(res->start, resource_size(res)); >> + swim_base = (struct swim __iomem *)res->start; > > I guess you need a __force to please sparse? > > 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 > -- > To unsubscribe from this list: send the line "unsubscribe linux-m68k" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html