Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1217512ybg; Tue, 2 Jun 2020 04:29:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4WC3P2pxoI6k6a6DI1V353Qnw8wUpdmxbHNeQsPQ4U5nMoXnrlfB5o0phEca4t+wQ/Htt X-Received: by 2002:a17:906:b79a:: with SMTP id dt26mr1500939ejb.422.1591097370934; Tue, 02 Jun 2020 04:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591097370; cv=none; d=google.com; s=arc-20160816; b=Zlqg00hN58J9aqZFJ8KHSRLkPpbdUlLhhH0lpwNSd5qUXmpoXOdOBQ9yV8WD3srhqG d/iIi3kwYMoKdZR4oXjv6I0xPLq0Hb+RVtBmLLeEwx4vnM7354FoGccJGymSWdaeEcU7 NBvkvWfavJf7p1Pg1AOOw7utEzVxb/PfKAoFL6+GHZRbmOJp+4V24NjO4+750yd3fuVf LzDUGwk7enMaXb0WMzWVHJ3vBH1MqvA+8uZ31AOJtMfRZ2Xukiv8IXkSS5N0eCz6mbxb Ofx/F/Fne9H3BpABhRpbcOpiOT4dEnraD7ZdWjknttxpEA3sDJBFVE3N9QkCeCPMPTcY y65Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:to:subject:dkim-signature :dkim-filter; bh=lws8h8ngyIRcVucQE/5GbxxYe7NmIBaTOcKoGnIjGUU=; b=YEv+t/tiB2iCc4Fq6MOv9uxgHBoDsA0VGtpfGb9KVxvYExFN/IYehu8NHUTgs0EzGf HRM4Qc8Z98qnyTPllNRzjOtQ7OAAaZb4xV4qcdb1LPbk1ObbYEfYXv5RtpCdUr2FhPYm S6Gfhfp7vncoeMnRCQJI51+OP+CWAQfvw4tcEUiJPrD3W7cbcUV+DI7tlNMzW0bRW2ae tDEmLFqYqKo8Z/lgvSYtdzW5P7EZRQK2fC3PdoXZQZXfZS9TxfhkgkPfe/txKW64wW9w wDivRzfPEAcRuGX8uqiBmsIobRWvONlSpz9EvtS3J1DdCIqG2YzWGHHi2Jv74dhdP2ci 9oOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=gIOp9sZE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g6si1306187edq.605.2020.06.02.04.29.07; Tue, 02 Jun 2020 04:29:30 -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=@samsung.com header.s=mail20170921 header.b=gIOp9sZE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726580AbgFBL1N (ORCPT + 99 others); Tue, 2 Jun 2020 07:27:13 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:49686 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726380AbgFBL1N (ORCPT ); Tue, 2 Jun 2020 07:27:13 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200602112711euoutp01f75a15ce2b493978a137d0e8e1c21bb7~UtoBqWoeq1161011610euoutp01R for ; Tue, 2 Jun 2020 11:27:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200602112711euoutp01f75a15ce2b493978a137d0e8e1c21bb7~UtoBqWoeq1161011610euoutp01R DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1591097231; bh=lws8h8ngyIRcVucQE/5GbxxYe7NmIBaTOcKoGnIjGUU=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=gIOp9sZEIvVU+qQ/0HYsoSbU0k5jFjzdLg6QcA1ilAViPyGj+67CR/bt7CpWfqJag gN7s7SmuxjzM6vj3KQWJNoi2ViqvokxPPR4sNMwNzZJ47tC0zql3StJvk1ykZ2PzbE Iuf3k3P5C+ZryKlvxOOz+H9h1CPfsB1+KmZCnVCk= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200602112710eucas1p167a6dd9ed602c468aeebd7123b2b51b4~UtoBXYYgd0788807888eucas1p1E; Tue, 2 Jun 2020 11:27:10 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 4D.25.60679.E8736DE5; Tue, 2 Jun 2020 12:27:10 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200602112710eucas1p116324667c77bec7a64faea095172e137~UtoBAkZfi1190611906eucas1p1h; Tue, 2 Jun 2020 11:27:10 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200602112710eusmtrp14ec2c8ebe5efdc2dcf98ee565202c7c2~UtoA-_2ZY0880308803eusmtrp1D; Tue, 2 Jun 2020 11:27:10 +0000 (GMT) X-AuditID: cbfec7f4-0cbff7000001ed07-97-5ed6378e49d3 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 01.76.08375.E8736DE5; Tue, 2 Jun 2020 12:27:10 +0100 (BST) Received: from [106.120.51.71] (unknown [106.120.51.71]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200602112709eusmtip154bc48d3d3b960aba90ffc6a50bf8e66~UtoApDL-Q1526715267eusmtip1i; Tue, 2 Jun 2020 11:27:09 +0000 (GMT) Subject: Re: [PATCH 1/2] video: fbdev: amifb: remove dead APUS support To: John Paul Adrian Glaubitz , Geert Uytterhoeven Cc: Linux Fbdev development list , DRI Development , Linux Kernel Mailing List , linux-m68k , Al Viro From: Bartlomiej Zolnierkiewicz Message-ID: <5cb15e20-e2e1-f79d-72af-74cc09debc19@samsung.com> Date: Tue, 2 Jun 2020 13:27:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <6d17452e-29ee-76dd-759c-b39d87bb82b8@physik.fu-berlin.de> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPKsWRmVeSWpSXmKPExsWy7djP87p95tfiDP5N0rS48vU9m8WzW3uZ LGa/V7Y40feB1eLyrjlsFsufrGW2OP/3OKsDu8ehwx2MHve7jzN5nGz9xuJx8Nw5Ro/Pm+Q8 Nj15yxTAFsVlk5Kak1mWWqRvl8CVsfbBDOaCW3wVvRMXMTUw3uTuYuTkkBAwkVh2biZzFyMX h5DACkaJS79uM0I4Xxglmk8cYIJwPjNKtM1azgjTMuPmYRaIxHJGiQfPH0C1vGWUuHduMQtI lbCAm8Svnf/BbBGBTIn25slgRcwCTUwSa7dsZAZJsAlYSUxsXwU2llfATmLLhA1gDSwCKhJ/ 328BqxEViJD49OAwK0SNoMTJmU/AajgF3CVubJ8N1sssIC5x68l8JghbXmL72znMEKfuYpeY cT+1i5EDyHaRmHeWAyIsLPHq+BZ2CFtG4vTkHrBvJATWMUr87XjBDOFsZ5RYPvkfG0SVtcSd c7/YQAYxC2hKrN+lDxF2lDhz4SUTxHw+iRtvBSF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hxhNgZ6byCwlmpwPTAx5JfGGpobmFpaG5sbm xmYWSuK8HQIHY4QE0hNLUrNTUwtSi2D6mDg4pRoYK7j1ZStmtVk+Z1nUFfS5Z4Ox/LyTlocX 9Fd6263o/SiVn16kfXjD29z6orqViRrmHalfj8W63rfKX3Ul4dAq92kOde8WcM7LfLdaamX1 4QoNf3n3N7ntk33KuuwOTTnAcDF7RpHnxRznv+slZoYxNLau8j/Vpn5vWe22+ytqyjxsNpcb vZRWYinOSDTUYi4qTgQARfAr6dQCAAA= X-CMS-MailID: 20200602112710eucas1p116324667c77bec7a64faea095172e137 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200504232908eucas1p296927bc7c736ad924cefaea9a546459d X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200504232908eucas1p296927bc7c736ad924cefaea9a546459d References: <839133dd-8ed4-5fec-c311-ce9f8abf3d5f@samsung.com> <72e0871c-d4bb-4887-4d6f-a60fd905bec1@physik.fu-berlin.de> <6d17452e-29ee-76dd-759c-b39d87bb82b8@physik.fu-berlin.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/2/20 1:07 PM, John Paul Adrian Glaubitz wrote: > Hi! > > On 6/2/20 1:04 PM, Geert Uytterhoeven wrote: >>> 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. > > Ah, yes. Similar to the merge with x86. > >>> 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. > > Hmm, no idea. I would keep the assembly for the time being. This was just > a question out of curiosity. We could still consider such a change if > someone should consider working on APUS support again. > >> 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. > I see, thanks. Since the code in question is not performance critical it indeed seems to be good idea to use C version. However it still would need be tested on the hardware (or emulator at least) so for the time being I think that we should just add another FIXME comment instead of doing real code changes.. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics