Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp588067pxb; Sat, 18 Sep 2021 11:22:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjmTQLhYKzw+4zMUouSBqZLxNrHZiGFy3rSgmGER8Wmj070NIY5YO75ZzCKIEgIKXWtbhD X-Received: by 2002:a05:6e02:1111:: with SMTP id u17mr12131306ilk.262.1631989339408; Sat, 18 Sep 2021 11:22:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631989339; cv=none; d=google.com; s=arc-20160816; b=Wx21lz9uNjmTyqr3rHvhC5ZnFDqHMwq9gNUJsuFArbe7Y5mXPTqHbBvHEn2bfjrq4B QRTTRMHhljkJ96xAOyHt+CcVlc2TphBAvDt9L9NN076phQ84nxiZ1c5zjMoQ0+m1mUPR Frdt719FNv2AAQ9XBhESDUEDiWDJaFPQ8dHVu6iXC4YeTJkod8CCLFGRmQgJGXJMUJme 7NEIM+C+wIM3x5dTkbU03XKKTwfzMosIZDikUH+lM2u/GDEzG9/Y9fYJNuR0OGwGgZlw 2zXp5EP77U1S0X/qB3F0UyvZM+X6+Csdv+i8PtC2cABvwzjzOw0ColTLNrctvBjhbfiS pgCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date; bh=wcFfG6j3qBfUQskHDCdXStWmI3Udz7nYXviKvbqhixM=; b=wE01II5Cg7RwtST0D03Jiod2MdfWUkbQXb1HTpudUFyHnEetTOlrfaelbRchz2akTt IoilCstLGSd2W+Fa0pVl92LNSlJFcJ64h1uVzQJbo8JSfQaIGHuGJwI89DmrkkvxSjdW O7Dw5JcO2dmXnIUAhaX2fh+nuqCre3EeFdCRwD4NR4iMViDdJmypmOTcSU9eo4r7xTqT je+bf1+pnA0KTAE+PWO19qewCVGgbu+OE+iLZz0BzhD7M0fxQGDJP0Pm75oIkfA4KOp4 hxsj5vI47/b/crn+Iq6qoV2NSF7kp7eUn1/l3SP82jVb5YyUE2GtvtyTxNWbZXPTqbQF anvw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=orcon.net.nz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z14si9342460ill.35.2021.09.18.11.22.07; Sat, 18 Sep 2021 11:22:19 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=orcon.net.nz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238863AbhIRJxd (ORCPT + 99 others); Sat, 18 Sep 2021 05:53:33 -0400 Received: from smtp-1.orcon.net.nz ([60.234.4.34]:47989 "EHLO smtp-1.orcon.net.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232402AbhIRJxc (ORCPT ); Sat, 18 Sep 2021 05:53:32 -0400 Received: from [121.99.228.40] (port=57284 helo=tower) by smtp-1.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1mRX0V-0006SB-Bq; Sat, 18 Sep 2021 21:51:40 +1200 Date: Sat, 18 Sep 2021 21:51:34 +1200 From: Michael Cree To: Linus Torvalds Cc: Guenter Roeck , 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 Subject: Re: [PATCH v2 0/4] Introduce and use absolute_pointer macro Message-ID: <20210918095134.GA5001@tower> Mail-Followup-To: Michael Cree , Linus Torvalds , Guenter Roeck , 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 References: <20210915035227.630204-1-linux@roeck-us.net> <47fcc9cc-7d2e-bc79-122b-8eccfe00d8f3@roeck-us.net> <20210915223342.GA1556394@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-GeoIP: NZ X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 16, 2021 at 11:35:36AM -0700, Linus Torvalds wrote: > 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? Ah, yeah, not really. I am not familiar with the Jensen hardware, and have never played around with the EISA slot on the Alphas I do have. Cheers Michael.