Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp592614ybi; Wed, 3 Jul 2019 01:33:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqykBCjwLfjymL4MNyBeUED8L20GgFp6WutMw/hzFClzVV16YchsKBNp+G145ZCnSu1GbKkX X-Received: by 2002:a63:1226:: with SMTP id h38mr35251667pgl.196.1562142829976; Wed, 03 Jul 2019 01:33:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562142829; cv=none; d=google.com; s=arc-20160816; b=Zog2wgDin5epbthFfMWH92HoAohE2LzF1hU4PWgfDYoAq9Q9ac0EhI2njZZ9OmDif+ 2a510XM/4t2Xet7j32lJdgjQoXb2HZM3PHW/WJ5650azuhh34VfWwdfY94q4Ik1S+FgH hzmIAUubzOspdZ9OfwdkDdbGNy3fWbsEZjQIxfwiI8mkeUvI8TAFfQxtuappPdCOOpeH sTBrxoDjZFYMKUhaN5PZSj8hxXp7joo+prfKzQ69El/mV4HP2AehnmxMr9hiPFDUxL2K yu/+uEPlHXTBXXAbJSCeZXSPJgPdjcyrsrXuhTDL0RDUF8Uwgnhtr7xdOsCQn07rRDYg 3Y3Q== 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=gupEF9jHb4RzPuAg+T8xsoakul4xbVXicnB4KpLcvrc=; b=jCaP1YGGCG0W6j3afyrBxRGHAV5QoltH41SbgSd/K+JiHpvpldy9mI6HR1NpS3tUga nId/2Ef2bAcknvLGdvwfIuKXOD/b2SkQoponM29htuACU3CA5hDTUp53Ks+kvQvQJr+2 HuZ2HF0koSJwsAz9P/jPvunXfMRbtAFk3MS7Qq58GJ3DzI5nYzetLXj/gmYK798PPsKA GZgIpdlTJpZRbMMoWcPDgfoClUOm5KsFMAdutiHM8BcTyXx+hP3hvbIoPZkJSFThV5e1 sAu5CCe1RHVF0ggnppK0J0QpS9JL0MEjBmqDoYuA3z1SY2H8feXFComqdA0Tezt51qYe qmfw== 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 x4si1743658pgh.292.2019.07.03.01.33.34; Wed, 03 Jul 2019 01:33:49 -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 S1727276AbfGCIba (ORCPT + 99 others); Wed, 3 Jul 2019 04:31:30 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:34044 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727203AbfGCIba (ORCPT ); Wed, 3 Jul 2019 04:31:30 -0400 Received: by mail-qk1-f196.google.com with SMTP id t8so1574192qkt.1 for ; Wed, 03 Jul 2019 01:31:29 -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=gupEF9jHb4RzPuAg+T8xsoakul4xbVXicnB4KpLcvrc=; b=oUcMr8nRbGfJA0GfRpBimD/vix6wb35Ehd+ZXW5dACIgbdli9lzvqPzKRcIwmbWw2E NPtjHN1WQRs3J+/HdeO2dd5ubDPJZJfkWreY3Hqnvd2+AGwaVP3k8optRvO+G2a1EfSu pRVmd4QY9eto7pIEBnpY+PXgQvtMuq92cznp+VnWvRt1LFC6GDHOn6VmcaQe/1tfmuTU tFqIjOSizfKTCBts7gjmbxzHrgegXFaPcaupue4xZpp6r4JUFmqIzWsaTECMZlT7+cPm ZKAvz7FJOg+0r7IRY2XEck++hkdn8dlO9HFxnB+Tw3WecJ8RWekfXIjdWsl9HpNrm72S 3ilA== X-Gm-Message-State: APjAAAXN/oFY/fY8SeEWrpN0bFHtBs57BdWjp4LIpDGHxsVPt7cRoItP iaeV+YhAKfuV1oLMCKRJATflmII4XJJZXcQi6G4qfWNY X-Received: by 2002:a05:620a:12db:: with SMTP id e27mr29913352qkl.352.1562142688972; Wed, 03 Jul 2019 01:31:28 -0700 (PDT) MIME-Version: 1.0 References: <20190703001842.12238-1-alistair.francis@wdc.com> <20190703001842.12238-2-alistair.francis@wdc.com> In-Reply-To: <20190703001842.12238-2-alistair.francis@wdc.com> From: Arnd Bergmann Date: Wed, 3 Jul 2019 10:31:11 +0200 Message-ID: Subject: Re: [PATCH 1/2] uapi/asm-generic: Allow defining a custom __SIGINFO struct To: Alistair Francis Cc: linux-riscv-bounces@lists.infradead.org, Linux Kernel Mailing List , Alistair Francis 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 On Wed, Jul 3, 2019 at 2:21 AM Alistair Francis wrote: > > Allow defining a custom __SIGINFO struct. This allows architectures to > apply their own padding and allignment requirements to the struct. This > is similar to the __ARCH_SI_ATTRIBUTES #define that already exists, but > applies to the __SIGINFO struct instead of the siginfo_t struct. > > Signed-off-by: Alistair Francis I don't think there should be another special case for rv32 here, we already have too many exceptions for architectures that were different for no good reason. Please keep the same definition that everything else has. Arnd