Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2009861pxb; Thu, 16 Sep 2021 23:17:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4XKpcu1llrUVs7gVgKcAjjOfiW8zJp5eAhB9mNc8/ExQgIZco3ah40XuudvFJbpkhBhoo X-Received: by 2002:a17:907:2651:: with SMTP id ar17mr10441368ejc.15.1631859432416; Thu, 16 Sep 2021 23:17:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631859432; cv=none; d=google.com; s=arc-20160816; b=eKbnmr4DU8VQBW2nlJ3DQii16aUCnyarRf+pfX2YZKnNYYt497o3VzQBEgWQDeJHdr 2Y444hYaFITLpdw/lK5n5AQ7JsM9ZrnLFaItEwhHaCCWmSVO5fOUqWSlYjsutsyUUs5F oiLDI4GU1xjrhCDURq7DomxBzOrrclwMDx4cesvbffgCwi5tfI7Widp27/BjTYkawTzP TZjKCASPbdNSgXermGAN1r9TbRh944A/Ek2zOVBFV8k4gAIEjuRTDVpSl4ExkMOxs6dM m9Gx9ioRPVIixeJLgFZZdf+1LVIqJZHa7kPtTR4uCBk+lesg8+pSIlTwgXPkv0RZ6aqV 6GGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=t51QwKIKWkGOiuP6SJMrhP/dJST+bSD7Qp/ejqOgA0s=; b=XuceLP1fDNH2XFA/Dlso/DzQ7nnLLwo0ahBzTRzw2KtGD7g+iP1kbC1B0VVgfQ1hKM vcN/X4eDrasYzeNuBUoLHw88y7wzV7N9Kk8cJGE5DEepuMRK2quIHKeFK30MFD43b//r K6GX3u1AANCBpzVQTHtGq6OWMz1490jszK7vbMnuEMnO21cfuAKgD+nlmsbtLPnoSC1Q 2Rb8Y6lsXbkdrWMDP8zz4zAnhoXJ9H+pgPkaT46WObpPRleabRXjS5ykY69IUlq1nd8Y X9fVwpWC0YxNo+MdJxMJnfm4TFT9NXja2NOXTp7zHGGEZzq38yVHdLsgNQoJFRTDB70v EAlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=PYrRSLFV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m2si5839383eds.578.2021.09.16.23.16.47; Thu, 16 Sep 2021 23:17:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=PYrRSLFV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234729AbhIPTDx (ORCPT + 99 others); Thu, 16 Sep 2021 15:03:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346240AbhIPTDh (ORCPT ); Thu, 16 Sep 2021 15:03:37 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB60DC07E5C1 for ; Thu, 16 Sep 2021 11:35:57 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id g1so22286296lfj.12 for ; Thu, 16 Sep 2021 11:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=t51QwKIKWkGOiuP6SJMrhP/dJST+bSD7Qp/ejqOgA0s=; b=PYrRSLFVlXcDD2+pFS2QiDv72x9PP+CSDGgHHxrtNHys/SFAhFt/K9Dl2YKY3s46v4 n1V6egkmODP63nyS2heOSJmRcvJd8e+uQG22Bg5vVGD2JMQ2HAT6BYtwWfythdLKnTmE 1gprbKiTFCMpaERdEBSQKexI+QYMoZlOHeBbU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=t51QwKIKWkGOiuP6SJMrhP/dJST+bSD7Qp/ejqOgA0s=; b=WCtio8hgyPKOy8tBv51+WvbmBstyyd/giFHgi+gYrMM4E57GjKQYbiz2IpTOFsiQOE gcNVg31DFeaYtRUG1WZ9JhJ25qxUpAYTJKeCtHY42IJvNHCoaW7epyzPDpmoEdm5/LKB hpFC5VKpw2EJ740oIKDia9SI8I9kKDLS+uZowE6OyHtWjABNMiyX0DNTXgbHEUjhzrK9 PIuuBeqjPXFAw3kA+AW9eedjnt11CBbVfoNqhWBA5+efbG5p6ySgp6lTaeWw4joTNoqR uL9TnTOL9K3w3C5EPbxFvkggIMrMJTopj9AhRk7ePR0Igp/DQjgZpwA9Zpa6fda8sMle Pt6w== X-Gm-Message-State: AOAM530duMmz26B3hwyM9Bok7i4FWuj1vyflC5B1J+8/03TPJ1GnFoji 9ji6rzPXkzSrWUeqRPbgl9c/qczt4aMt7Tuh X-Received: by 2002:a2e:b5a7:: with SMTP id f7mr6133123ljn.19.1631817355751; Thu, 16 Sep 2021 11:35:55 -0700 (PDT) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com. [209.85.167.42]) by smtp.gmail.com with ESMTPSA id d7sm358846lfa.80.2021.09.16.11.35.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Sep 2021 11:35:54 -0700 (PDT) Received: by mail-lf1-f42.google.com with SMTP id c8so22421087lfi.3 for ; Thu, 16 Sep 2021 11:35:53 -0700 (PDT) X-Received: by 2002:a2e:b53a:: with SMTP id z26mr5708746ljm.95.1631817352669; Thu, 16 Sep 2021 11:35:52 -0700 (PDT) MIME-Version: 1.0 References: <20210915035227.630204-1-linux@roeck-us.net> <47fcc9cc-7d2e-bc79-122b-8eccfe00d8f3@roeck-us.net> <20210915223342.GA1556394@roeck-us.net> In-Reply-To: <20210915223342.GA1556394@roeck-us.net> From: Linus Torvalds Date: Thu, 16 Sep 2021 11:35:36 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/4] Introduce and use absolute_pointer macro To: Guenter Roeck , Michael Cree Cc: Richard Henderson , Ivan Kokshaysky , Matt Turner , "James E . J . Bottomley" , Helge Deller , "David S . Miller" , Jakub Kicinski , alpha , Geert Uytterhoeven , Linux Kernel Mailing List , linux-parisc@vger.kernel.org, Netdev , Sparse Mailing-list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 15, 2021 at 3:33 PM Guenter Roeck wrote: > > drivers/net/ethernet/3com/3c515.c: In function 'corkscrew_start_xmit': > drivers/net/ethernet/3com/3c515.c:1053:22: error: > cast from pointer to integer of different size > > That is a typecast from a pointer to an int, which is then sent to an > i/o port. That driver should probably be disabled for 64-bit builds. Naah. I think the Jensen actually had an ISA slot. Came with a whopping 8MB too, so the ISA DMA should work just fine. Or maybe it was EISA only? I really don't remember. It's possible that alpha should get rid of the ISA config option, and use ISA_BUS instead. That would be the proper config if there aren't actually any ISA _slots_, and it would disable the 3c515 driver. But it turns out that the compile error is easy to fix. Just make it use isa_virt_to_bus(), which that driver does elsewhere anyway. I have no way - or interest - to test that on real hardware, but I did check that if I relax the config I can at least build it cleanly on x86-64 with that change. It can't make matters worse, and it's the RightThing(tm). Since Micheal replied about that other alpha issue, maybe he knows about the ISA slot situation too? But anyway, 3c515 should compile cleanly again. > drivers/net/wan/lmc/lmc_main.c: In function 'lmc_softreset': > drivers/net/wan/lmc/lmc_main.c:1782:50: error: > passing argument 1 of 'virt_to_bus' discards 'volatile' qualifier from pointer target type > > and several other similar errors. > > patch: > https://lore.kernel.org/lkml/20210909050033.1564459-1-linux@roeck-us.net/ > Arnd sent an Ack, but it doesn't look like it was picked up. I picked it up manually now along with the arm vexpress cpufreq one. > m68k: I think these should be fixed as of the pull request this morning. > mips: > > In file included from arch/mips/include/asm/sibyte/sb1250.h:28, > from drivers/watchdog/sb_wdog.c:58: > arch/mips/include/asm/sibyte/bcm1480_scd.h:261: error: "M_SPC_CFG_CLEAR" redefined > > and similar. Patch: > > https://patchwork.kernel.org/project/linux-watchdog/patch/20210913073220.1159520-1-liu.yun@linux.dev/ > > I'll need to get Wim to push it. Ok, that hasn't hit my tree yet. > parisc: This one should be fixed as of the parisc pull this morning. So a few more remaining (mainly the suspend/resume ones), but slowly making progress. Linus