Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp767375lqj; Sun, 2 Jun 2024 23:02:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUDZy7HFX/xFaRO9K02camp1a4HS3FrgA6ub+OMIueO9vLTmoAbqk5It2C1yUwzCM5zvpgnL/GJ6Zog70tCZ56Zilbyxw3zDEd5oXs+rQ== X-Google-Smtp-Source: AGHT+IF+ZR3x9DyN9UzZR+Lt009r0FD8leAUor05TJ0KFdhvORfwhaWYztljw0E8urCC6dUkkqvH X-Received: by 2002:a50:cd9a:0:b0:57a:2756:9007 with SMTP id 4fb4d7f45d1cf-57a36496f43mr5168283a12.40.1717394538263; Sun, 02 Jun 2024 23:02:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717394538; cv=pass; d=google.com; s=arc-20160816; b=ywd1LI6xIV9ZcrsRLesCo7qqLGDcqjyu5B4Qg0IQbgBxlwu73UwLjzdIf5MnkXpkKA JfsFoqp0v83HDqa0l0bn6e10a8MtUWP13T7qGgdmbtV0NJEIuPTX23tV63S6G+jXgOiO 1FoIeQ6y8CGco8zH6hiz83ldCvPWG0QoYL5Ky9j7qTgpmjj9afoqmtfj/NL/gbp3S/Wn 0uAWfAgAIaJyMRthWJ3Ph/K0P0B0e4dxOPAxqNcC/ZaVUr8ap+TX92AfKKw+2x9mTY9/ jdMKuLRABJjyoHPyZMhTh2xrCmdeS48Wj4V7WVD0ke/Jq+vgdleguB9JDiACZlRslbjP mAYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id; bh=6NCsNeE14+9JLhxr6HvIVPI5xFevp5Z9uFKhwhyxPvA=; fh=UdY4dTUikug4jSHczBfHngXksGn3AkL4kafVI6lM0Do=; b=sg6T8tWsHfoMXac+WL9/QO6pEC6Ms2qXOLXyzQKcA/P7ZlMOknF9ybT4cdvWsN8e+6 OpDmOljTuOuN/WxcVyCf3McyQb+Q4ftVZZVzAV8Q31NQ/KZnazQ++98WLrrRA/yB+gxe l5LVO1NePQzRqQT9UYSslzwFhECf9L94yoztledF2Y29pl8HAYlU1B2XvuQVRiL0LsJP lR+0bld7kEb9vBOIEeHkeBdVoH7pTW99dqGlrFoVxE2dxj5Wj3bMBbaPg6j/oIxtseKD T2CHAcX3bXtbawI6BtIEPJP6eoRePw10O8tkiSDGEQZTgGp04ZAG3PZm7EB4Yb6vaqfu JLfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198621-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198621-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31c6303csi3784440a12.312.2024.06.02.23.02.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 23:02:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198621-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198621-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198621-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AC5071F21ABA for ; Mon, 3 Jun 2024 06:02:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED2EE23769; Mon, 3 Jun 2024 06:02:09 +0000 (UTC) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7FA22182DA; Mon, 3 Jun 2024 06:02:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717394529; cv=none; b=otzap2WHVyXI44B5HZn26Qswbug5myPlGvoABhMY5HdgGsC9v0UGS1ECHdVo2tn4tOBukjlVhd4SlS7xIQosKxeb7DauL7H7UktGfRCshal2cD1Gq8X1wKKdwselt+Ye55OXWj9zTfvt2pYOXstQgOtunmeiUVH33XX+bYT51hA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717394529; c=relaxed/simple; bh=PEAmHbpOHPfMuZlCU0nyxthw2AStx1/xTylZxwzdzQM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PkLCMJCiW/ZmZfPBKsijpbIGKu/wRcZdJ5NZWlvo+Y0sdnOxyPFWkyAcSP/WQaLhJ87oOlE3/jL5CHmwNWh+fkwTeqxTFFLT+DbNLEPp875RlSk4FA+CBKW0T2TuJjhZeSv8xi+bGjg+IFAlP9Yu/6yY4iitdU1IcMSpJbN4/9Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.208.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2e73359b979so36030101fa.1; Sun, 02 Jun 2024 23:02:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717394525; x=1717999325; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6NCsNeE14+9JLhxr6HvIVPI5xFevp5Z9uFKhwhyxPvA=; b=R4h9tD4uXQ7s4ZmPoCPhEq3e4mPDKAwucgSxJW1gml8r0IPbyKMeMQj0wh5L2PkYY5 Mzpno4xgQf5h8Psyr2OVm9qaL96wnI29M/8FM1IoJufPhtpujSktvu/a76A9H583l4Gq bh7GrTEZDWQGnTVTOjdZV588iuCF62o2VuMubVgrT3FCMeES5zer+b0YatyL+6sHq9R7 v7wYwZAH1OEl7ch8CmWTO7VRSV2s9dAhZ8pPBflArPCFdzPbYApcBXwaW6FZFqsaktLG FNfy+ek10/fwQ1BxWTgyaW+kDbXe6AoA+6Oq2c5+EAyufqB7DBIMdBkJ8wJHNq9pJ1Q4 01Xg== X-Forwarded-Encrypted: i=1; AJvYcCUDB55od9K901R/0dUVOKq2I2s7rNujOH56bz3lh08TCQMH76u8DWMxIOg8nCnMMKWzErGbAuxX6WSQbMY1FeQ9Sxo7vL1l7xGqrOQzCPL1f6OT+WhaNLxG7aG/M/4elu+3IBkXRT1FWrU= X-Gm-Message-State: AOJu0Yx9tEOjKs/VC2YAGnxWk1HU73thD/mXTBJpGr6yYwTw3wu3m2ib rFTInwXeKJapKUTCKKpo4w5MRLX4T6U+iSiAHtlohIKUvLOTN/Bz X-Received: by 2002:a05:6512:15a:b0:51f:5d0a:d71a with SMTP id 2adb3069b0e04-52b895580b8mr4550885e87.10.1717394525164; Sun, 02 Jun 2024 23:02:05 -0700 (PDT) Received: from ?IPV6:2a0b:e7c0:0:107::aaaa:69? ([2a0b:e7c0:0:107::aaaa:69]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a68cca704cfsm248835766b.169.2024.06.02.23.02.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Jun 2024 23:02:04 -0700 (PDT) Message-ID: Date: Mon, 3 Jun 2024 08:02:03 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 14/14] alpha: drop pre-EV56 support To: Arnd Bergmann , linux-alpha@vger.kernel.org Cc: Arnd Bergmann , Richard Henderson , Ivan Kokshaysky , Matt Turner , Alexander Viro , Marc Zyngier , Linus Torvalds , "Paul E. McKenney" , linux-kernel@vger.kernel.org, Greg KH References: <20240503081125.67990-1-arnd@kernel.org> <20240503081125.67990-15-arnd@kernel.org> Content-Language: en-US From: Jiri Slaby Autocrypt: addr=jirislaby@kernel.org; keydata= xsFNBE6S54YBEACzzjLwDUbU5elY4GTg/NdotjA0jyyJtYI86wdKraekbNE0bC4zV+ryvH4j rrcDwGs6tFVrAHvdHeIdI07s1iIx5R/ndcHwt4fvI8CL5PzPmn5J+h0WERR5rFprRh6axhOk rSD5CwQl19fm4AJCS6A9GJtOoiLpWn2/IbogPc71jQVrupZYYx51rAaHZ0D2KYK/uhfc6neJ i0WqPlbtIlIrpvWxckucNu6ZwXjFY0f3qIRg3Vqh5QxPkojGsq9tXVFVLEkSVz6FoqCHrUTx wr+aw6qqQVgvT/McQtsI0S66uIkQjzPUrgAEtWUv76rM4ekqL9stHyvTGw0Fjsualwb0Gwdx ReTZzMgheAyoy/umIOKrSEpWouVoBt5FFSZUyjuDdlPPYyPav+hpI6ggmCTld3u2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rrLDAJZ8Y5ioWcm99JtSIIxXxt9FJaGc1Bgsi5K/+dyTKL wLMJgiBzbVx8G+fCJJ9YtlNOPWhbKPlrQ8+AY52Aagi9WNhe6XfJdh5g6ptiOILm330mkR4g W6nEgZVyIyTq3ekOuruftWL99qpP5zi+eNrMmLRQx9iecDNgFr342R9bTDlb1TLuRb+/tJ98 f/bIWIr0cqQmqQ33FgRhrG1+Xml6UXyJ2jExmlO8JljuOGeXYh6ZkIEyzqzffzBLXZCujlYQ DFXpyMNVJ2ZwPmX2mWEoYuaBU0JN7wM+/zWgOf2zRwhEuD3A2cO2PxoiIfyUEfB9SSmffaK/ S4xXoB6wvGENZ85Hg37C7WDNdaAt6Xh2uQIly5grkgvWppkNy4ZHxE+jeNsU7tg= In-Reply-To: <20240503081125.67990-15-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc Greg for awareness too. On 03. 05. 24, 10:11, Arnd Bergmann wrote: > From: Arnd Bergmann > > All EV4 machines are already gone, and the remaining EV5 based machines > all support the slightly more modern EV56 generation as well. > Debian only supports EV56 and later. > > Drop both of these and build kernels optimized for EV56 and higher > when the "generic" options is selected, tuning for an out-of-order > EV6 pipeline, same as Debian userspace. > > Since this was the only supported architecture without 8-bit and > 16-bit stores, common kernel code no longer has to worry about > aligning struct members, and existing workarounds from the block > and tty layers can be removed. Yes! For TTY pieces below: Reviewed-by: Jiri Slaby > diff --git a/include/linux/tty.h b/include/linux/tty.h > index 2b2e6f0a54d6..2372f9357240 100644 > --- a/include/linux/tty.h > +++ b/include/linux/tty.h > @@ -145,15 +145,12 @@ struct tty_operations; > * @count: count of open processes, reaching zero cancels all the work for > * this tty and drops a @kref too (but does not free this tty) > * @winsize: size of the terminal "window" (cf. @winsize_mutex) > - * @flow: flow settings grouped together, see also @flow.unused > + * @flow: flow settings grouped together > * @flow.lock: lock for @flow members > * @flow.stopped: tty stopped/started by stop_tty()/start_tty() > * @flow.tco_stopped: tty stopped/started by %TCOOFF/%TCOON ioctls (it has > * precedence over @flow.stopped) > - * @flow.unused: alignment for Alpha, so that no members other than @flow.* are > - * modified by the same 64b word store. The @flow's __aligned is > - * there for the very same reason. > - * @ctrl: control settings grouped together, see also @ctrl.unused > + * @ctrl: control settings grouped together > * @ctrl.lock: lock for @ctrl members > * @ctrl.pgrp: process group of this tty (setpgrp(2)) > * @ctrl.session: session of this tty (setsid(2)). Writes are protected by both > @@ -161,7 +158,6 @@ struct tty_operations; > * them. > * @ctrl.pktstatus: packet mode status (bitwise OR of %TIOCPKT_ constants) > * @ctrl.packet: packet mode enabled > - * @ctrl.unused: alignment for Alpha, see @flow.unused for explanation > * @hw_stopped: not controlled by the tty layer, under @driver's control for CTS > * handling > * @receive_room: bytes permitted to feed to @ldisc without any being lost > @@ -216,8 +212,7 @@ struct tty_struct { > spinlock_t lock; > bool stopped; > bool tco_stopped; > - unsigned long unused[0]; > - } __aligned(sizeof(unsigned long)) flow; > + } flow; > > struct { > struct pid *pgrp; > @@ -225,8 +220,7 @@ struct tty_struct { > spinlock_t lock; > unsigned char pktstatus; > bool packet; > - unsigned long unused[0]; > - } __aligned(sizeof(unsigned long)) ctrl; > + } ctrl; > > bool hw_stopped; > bool closing; -- js suse labs