Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1202721ybg; Tue, 2 Jun 2020 04:06:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNS46XBh/v5IfUXWtAgdHZdoJS0uPEJHtLstB9VV84Nr/aOKYPnKBYVHwxkXPSIO7icY8v X-Received: by 2002:a50:b0a1:: with SMTP id j30mr1669817edd.387.1591096016774; Tue, 02 Jun 2020 04:06:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591096016; cv=none; d=google.com; s=arc-20160816; b=i9Ac0eI4P4fZ4OTjKK5RTlChFHjJXqWc5tExUdlXm3kRYdAF5LorDjqx9NCSOPcER8 rt/5RNHdSiVBDhN1SjOza56eIyjDv0qWnNMObgY/Mjciat1NC1Ob+MBVCzrNYuMEoQHC +SYFO45+yDOUmngKK3FLDMmfwDhNwT/4vELSeBc32GOuwsQGYKBnhBEHjDxNILkEMtC1 4NahPZH8Dsn3QkuiC5b7XKcbjJc34QgoZwJtfm/DbPuzxFVlhqe/7dejGVajotmJn+9Y oJNEBL8Nzs9Hf9QG4Wuu7QGsWZHj0MepNx/BOy7h+54wAqIaNV3g0+7Iw6X0fcu3sUP9 ZJKQ== 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 :in-reply-to:references:mime-version; bh=SnU67PM5tYuOxOQ+ffnEXx7IP/EaDf221A3j8p4Bihs=; b=cfuDCL1hmx1WiWcGFK5FRLWCIu7V4U8RKx3iixlQxuiKI+EL6rj48DL6Lz0ku5ujf3 YleG/lSOeX7G9jNNUokQ228tXHe45tsf9hxyiaPt8qKz0r8anyI4n1ZcGOHZvW+ZA7jm EtTJhvHt1BnEMY72I6HaSujxi/fiNQm3DMGKmP6O1oq/yIyKIb/yAZ5BJsipxw3FG4M3 O6Pga7zB6InIXm/K1Fu3YB4Y2wu9xuBqyoP6LFM5yi8t6SbWu52Mjv+SX0RCbM3SZniQ t9Lt0JoW5zR+Wo+CtVppSs0miZS6sDTgUOiTZQAtZkv1wJ+cQ3bB3aa216DcVpJ172Wi hCJQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q21si1302130edg.563.2020.06.02.04.06.31; Tue, 02 Jun 2020 04:06:56 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726139AbgFBLEr (ORCPT + 99 others); Tue, 2 Jun 2020 07:04:47 -0400 Received: from mail-oo1-f68.google.com ([209.85.161.68]:44234 "EHLO mail-oo1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725802AbgFBLEr (ORCPT ); Tue, 2 Jun 2020 07:04:47 -0400 Received: by mail-oo1-f68.google.com with SMTP id e8so1632751ooi.11; Tue, 02 Jun 2020 04:04:45 -0700 (PDT) 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; bh=SnU67PM5tYuOxOQ+ffnEXx7IP/EaDf221A3j8p4Bihs=; b=TZfncMOjIFrBbaZ31JJa1FvBWRjbJUH8oifaOiq7nQowyup+3lWbN2xdrz7AeqUloV PKalo02TpG5AAwmjcWrmPwVj0x0CEUwfPHbpqVwLi3iCcoW/7e3Hb8HcMUieiN0iZTY2 S15uZR43Jw6J8Hc7+D8c+NbB7EqJc9ebsow6TT/ZuWfFfGyR6t4MEW0nh+ZL2Ecsfz1E iEU8lHzAAb4bM80vZpJryLB5GupO9xAX7oT6DjgI1iwYS52ud9hqo8jB7csR/hKmPfSQ PL3wG8fSQrW5DxzugA/LyhmM1eSqs0V20P+mHt1B4Em+RowYW/jhqX0T3F3kZUrIEa3t 9bIg== X-Gm-Message-State: AOAM533YoHfZ5+Iqq7eZAOvlspirNN4zYA88IZz0buk3xLgjgrcN2133 /rSxmEOvzZ/18QVf+wNDY/MiDoV/d5g3TTwpZjc= X-Received: by 2002:a4a:e295:: with SMTP id k21mr20587446oot.11.1591095884883; Tue, 02 Jun 2020 04:04:44 -0700 (PDT) MIME-Version: 1.0 References: <839133dd-8ed4-5fec-c311-ce9f8abf3d5f@samsung.com> <72e0871c-d4bb-4887-4d6f-a60fd905bec1@physik.fu-berlin.de> In-Reply-To: <72e0871c-d4bb-4887-4d6f-a60fd905bec1@physik.fu-berlin.de> From: Geert Uytterhoeven Date: Tue, 2 Jun 2020 13:04:33 +0200 Message-ID: Subject: Re: [PATCH 1/2] video: fbdev: amifb: remove dead APUS support To: John Paul Adrian Glaubitz Cc: Bartlomiej Zolnierkiewicz , Linux Fbdev development list , DRI Development , Linux Kernel Mailing List , linux-m68k , Al Viro 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 Adrian, On Tue, Jun 2, 2020 at 12:41 PM John Paul Adrian Glaubitz wrote: > On 6/2/20 12:37 PM, Bartlomiej Zolnierkiewicz wrote: > >> These #ifdefs are relics from APUS (Amiga Power-Up System), which > >> added a PPC board. APUS support was killed off a long time ago, > >> when arch/ppc/ was still king, but these #ifdefs were missed, because > >> they didn't test for CONFIG_APUS. > > > > Reported-by: Al Viro > > Reported-by: Geert Uytterhoeven > > Signed-off-by: Bartlomiej Zolnierkiewicz > > --- > > drivers/video/fbdev/amifb.c | 63 -------------------------------------------- > > 1 file changed, 63 deletions(-) > > What do you mean with the sentence "when arch/ppc/ was still king"? Ah, Bartl copied that from my email ;-) There used to be APUS support under arch/ppc/. Later, 32-bit arch/ppc/ and 64-bit arch/ppc64/ were merged in a new\ architecture port under arch/powerpc/, and the old ones were dropped. APUS was never converted, and thus dropped. > Does that mean - in the case we would re-add APUS support in the future, that > these particular changes would not be necessary? They would still be necessary, as PowerPC doesn't grok m68k instructions. Alternatively, we could just drop the m68k inline asm, and retain the C version instead? I have no idea how big of a difference that would make on m68k, using a more modern compiler than when the code was written originally. Note that all of this is used only for cursor handling, which I doubt is actually used by any user space application. The only exception is the DIVUL() macro, which is used once during initialization, thus also not performance critical. 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