Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2586621pxj; Mon, 10 May 2021 06:28:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsW0jxbw08eek4e24VpIj2DyUYOPooAscxJkeMCMHrhAMyY0EwNKqmYHwskLrc973hbJ1I X-Received: by 2002:a05:6402:10c9:: with SMTP id p9mr29831168edu.268.1620653292415; Mon, 10 May 2021 06:28:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620653292; cv=none; d=google.com; s=arc-20160816; b=sMwvQhU9KOzWCh7Jxh7bLyh7VPm0AVe/kxIS2CDsMz6h6c6gsAI72lgAv4B/zExcOe uZaH9ByuEm6n2I3yqP8SkqHiJLPXUAPhfjN9btjWH0KTXm5ePgLXi9YssK7dNOV9e2wo /h2DETy2sqevR9bhkA8QoQEg+4LS+9hVFL0SZ/yUGuDfz79rWcVDPoOankPHReNPLpj6 CeRburdK1EJfaIEaXFoDFAzXq92jvzHUcEx+UmdPbpMWTpC6rMjLyJAfLaRpvBYDBW4J NKlrU0HoZZotpO/yqr788vFlrff2pOFwupxeBATv4k7B3T07DmUK+nUXl7g0MoMjtm1J o9eg== 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=8fUyufy3LKS6Mu6OLNKSBxYZfW5rIw+DHHIRh+fTUWo=; b=mnhWXrPmRW5Bto7Oh9hBD2tHlAPb3ihQNzaYvjNuuRF1dtUMiFm8Q8Ektqh/N2WxAs IzD7Z/z9hRzfnXcMoKEaRiYfWUTp9hpdwADbuIad7D8FVuhQfA+ADelzqll8MlJiUAYQ KAcvTOBm5psT3JZn1RWp7/hX6fTcjy/BXSaC/gZmD2JdcM+N7ax1UZTnHSs8htAowYx2 ToP8Z9HMo05ShWo+3SFnM0cv+9pKPN3iTrycImiK6Po1dMp1lDuAXGI4+uG+EZJ6IgFv peIZpCK46/CL1nmQxygSfO5YqxfAeFGGu04emnBQRhDC4yDm5c8g9T6bW+kNgFe0yfUF I6qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="MUrtxCT/"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f10si7383666ejf.291.2021.05.10.06.27.48; Mon, 10 May 2021 06:28: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=@kernel.org header.s=k20201202 header.b="MUrtxCT/"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345073AbhEJNU1 (ORCPT + 99 others); Mon, 10 May 2021 09:20:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:43526 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352184AbhEJNOI (ORCPT ); Mon, 10 May 2021 09:14:08 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 012C56128D; Mon, 10 May 2021 13:13:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620652384; bh=PSzgBT970qRtHokrpRLHj29TDKDvchKrZWRzijLqSCs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=MUrtxCT/+rGukywuzRkfaC1xwjapGbNy2+3e8bzZ3aQ0cOAmyYUq3azbb6IhtO0Nw p5XyHu4VOgBYEa957EVxU3BgA230WNLISuTb4U+Pxccg2CidCpYSBYUsyP2pl1C4D6 Ssp9VBJpOqOM9as1+ff4+s82GbQYrLj4/Ccvp6Fe5+4Wjf0bmQsntVsK1aQkAHLaNN OiwPqMreqj7coc2PgsKzQusD9bUl92VBwDav2aumK3/lvRA4sE3dFXc1aRT3/acR7J 3ZcBejsOp9FNMrKrm2GMmyruGRR0lg3Ay1HMkJhYM5TQBY6g2bR+aDaeYkug9UNRRC ZfVFhhHeOiFKw== Received: by mail-wr1-f46.google.com with SMTP id s8so16591678wrw.10; Mon, 10 May 2021 06:13:03 -0700 (PDT) X-Gm-Message-State: AOAM530yLHNKu70tP3ZjE5Rfa0f7Af+BTvdHN58iYf7/Bd/8PSIEi1ZQ n4iy879wTfBE8H+d7X/3M6VzC4naLMBWVuYiF1Q= X-Received: by 2002:a5d:6a52:: with SMTP id t18mr31871475wrw.361.1620652382506; Mon, 10 May 2021 06:13:02 -0700 (PDT) MIME-Version: 1.0 References: <20210507220813.365382-1-arnd@kernel.org> <20210507220813.365382-2-arnd@kernel.org> In-Reply-To: From: Arnd Bergmann Date: Mon, 10 May 2021 15:12:09 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC 01/12] asm-generic: use asm-generic/unaligned.h for most architectures To: Geert Uytterhoeven Cc: Linux-Arch , Linus Torvalds , Vineet Gupta , Richard Henderson , Ivan Kokshaysky , Matt Turner , Michal Simek , "James E.J. Bottomley" , Helge Deller , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "the arch/x86 maintainers" , "H. Peter Anvin" , Chris Zankel , Max Filippov , alpha , Linux Kernel Mailing List , "linux-ia64@vger.kernel.org" , linux-m68k , Parisc List , sparclinux , "open list:TENSILICA XTENSA PORT (xtensa)" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 10, 2021 at 12:16 PM Geert Uytterhoeven wrote: > On Sat, May 8, 2021 at 12:09 AM Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > There are several architectures that just duplicate the contents > > of asm-generic/unaligned.h, so change those over to use the > > file directly, to make future modifications easier. > > > > The exceptions are: > > > > - arm32 sets HAVE_EFFICIENT_UNALIGNED_ACCESS, but wants the > > unaligned-struct version > > > > - ppc64le disables HAVE_EFFICIENT_UNALIGNED_ACCESS but includes > > the access-ok version > > > > - m68k (non-dragonball) also uses the access-ok version without > > setting HAVE_EFFICIENT_UNALIGNED_ACCESS. > > This not only applies to dragonball, which has the CPU32 core, but also > to plain 68000, and any SoCs including the 68EC000 core. I meant out of the machines that are currently supported in the kernel. As far as I can tell, the only 68000 variants that are supported are all Dragonball CONFIG_M68328, CONFIG_M68EZ328 and CONFIG_M68VZ328. CONFIG_MCPU32 has been dead since a3595962d824 ("m68knommu: remove obsolete 68360 support") > Reviewed-by: Geert Uytterhoeven > Acked-by: Geert Uytterhoeven Thanks! Arnd