Received: by 10.213.65.68 with SMTP id h4csp3778368imn; Tue, 3 Apr 2018 10:28:23 -0700 (PDT) X-Google-Smtp-Source: AIpwx48PE5WoYzcer633QyJr9JPm+tZaJMCgRr6qY6Ozs/bd/B8mMi51cjyAHp2aBQ0QAnnS7SK3 X-Received: by 10.99.3.216 with SMTP id 207mr9753947pgd.163.1522776503845; Tue, 03 Apr 2018 10:28:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522776503; cv=none; d=google.com; s=arc-20160816; b=TZ+JLS5IKxP2yqtW5bF2Vx/Pyke5+jsLKW++9MRh3BI6VbB/NkYESCLXvgM6TnA33r EPaNtDlHlXSi8CqaIjZXO9pKfoC6qkvT48ONozAczilMYPpImBBLW0YPm4nEkIw678S2 S+a806tDBJWEhVuTTETnTjglF6DBpbr+VhKeVsIrAa6g4Ivl5SL6bYKbESJWXqKB7G7a 5Rs6A09KDtSBAH0Au5Jr8ZZFiLvlNqmDLt3lruHpF7EDCMkeF0AptX8I2fOzZPGcc8Iz A72qN5nxi8qACEl/zPQLqZZUSF0+DJ+BhV/HYK6ZW/dUs5i+2dO3MW2fBCrUqZ19988G 5SXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from :arc-authentication-results; bh=rSfQ0W12LehxEYRf8+89WGfsjGFh8MVWqPGElyBlsUc=; b=atfxeWsYSH7DBEc2bc55RkvW5uLyAgNc/GZ8EGFhXBpL2idtSAqt4Z8P25sxT11bQF fkIg9Z/qcFkRa853/R38NRxL7cODRHOiSGdDkvjb56SIEFMOusggx/MtLiwzQdn5TxUn UCwRL+rhqIP8tSDSod5Vs+xknyOEz3tac1SIms1RCT+KEL9XJV9uRnv3EOCTZ6BaD5TI IQEeTBeTO7gwoCvTBFzIUJg4MsHBHm3yjnMbNmjDVuCyzFiaa2VUDTsRxlSFSKO7f/U8 LNSjZDq9KkZlc8m1BMD2mQ67wb7FmNWLZoN0uVffjAx9U7DJODh4DIUysuEJezxlC/Df I3rA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t25si2271863pge.714.2018.04.03.10.28.08; Tue, 03 Apr 2018 10:28:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752425AbeDCR07 (ORCPT + 99 others); Tue, 3 Apr 2018 13:26:59 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:46211 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751561AbeDCR06 (ORCPT ); Tue, 3 Apr 2018 13:26:58 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 40Fwxr17Nsz1qyCJ; Tue, 3 Apr 2018 19:26:56 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 40Fwxr0WDTz1qqkR; Tue, 3 Apr 2018 19:26:56 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id sPKWCGOQgcF7; Tue, 3 Apr 2018 19:26:55 +0200 (CEST) X-Auth-Info: CBLwkKn814HMSeUbS9h4Dzklj+mJoxOeK2pvrlVRqfdVYyVledmqvU3ri/znScW6 Received: from localhost (ppp-188-174-144-137.dynamic.mnet-online.de [188.174.144.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 3 Apr 2018 19:26:55 +0200 (CEST) Received: by localhost (Postfix, from userid 1000) id 94BFE2C134C; Tue, 3 Apr 2018 19:26:54 +0200 (CEST) From: Andreas Schwab To: Josh Juran Cc: "Eric W. Biederman" , Geert Uytterhoeven , Eugene Syromiatnikov , Linus Torvalds , Linux Kernel Mailing List , Linux/m68k Subject: Re: [GIT PULL] siginfo fix for v4.16-rc5 References: <87woypy8zc.fsf@xmission.com> <20180331105658.GA4332@asgard.redhat.com> <87woxpz7k9.fsf@xmission.com> <87in98xt4p.fsf@xmission.com> <4A16C7EF-B8B7-457C-B49C-829B44F12FFE@gmail.com> X-Yow: We just joined the civil hair patrol! Date: Tue, 03 Apr 2018 19:26:54 +0200 In-Reply-To: <4A16C7EF-B8B7-457C-B49C-829B44F12FFE@gmail.com> (Josh Juran's message of "Tue, 3 Apr 2018 11:24:58 -0400") Message-ID: <87y3i442w1.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Apr 03 2018, Josh Juran wrote: > On Apr 3, 2018, at 10:27 AM, Eric W. Biederman wrote: > >> Geert Uytterhoeven writes: >> >>> On Mon, Apr 2, 2018 at 10:17 PM, Eric W. Biederman wrote: >>> >>>> A 2-byte alignment for 4 byte pointers. That is a new one to me. >>> >>> Not just for pointers, also for int and long. >> >> The smallest I have seen previously has been 64bit integers having >> 32bit alignment. 32bit entities having only 16bit alignment on a 32bit >> arch was simply a surprise. Even when it works there tend to be good >> reasons not to do that by default. > > The 68K architecture began as 16-bit with the 68000. Rather than tightening requirements, the 68020 not only maintained compatibility with 16-bit alignment, but also forgave byte-misaligned data accesses (albeit with a performance penalty). Jumping to an odd address is still an error, though. The m68k-linux gcc port started as a clone of the Sun3 port, which has a history dating back to the 68000, which is why it has a maximum of 16-bit alignment. When I implemented ELF support for m68k-linux I wanted to follow the SVR4 ABI (which has 32-bit alignment), but there were too many UAPI structures (esp. struct stat) that would have become incompatible (it would have made it impossible to run ELF binaries on an a.out kernel or vice-versa), so I had to keep the historical mistake. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."