Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1256488ybi; Wed, 3 Jul 2019 12:17:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwW38v6A6GFfnAR/qK5WZYx1FGyChFXGU++znzaYCQrDDoWsHMZPZ+nVx2IK1VVBOd4KqRh X-Received: by 2002:a65:654f:: with SMTP id a15mr5114085pgw.73.1562181441709; Wed, 03 Jul 2019 12:17:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562181441; cv=none; d=google.com; s=arc-20160816; b=PIOZcPXli3OIVmKFs1X8fk4qlDJIa5PMwB7XuADp4Wm+quOuKTpytX3J/l7s3gPHrC KSpOuRmGzuk1uREZnms3QvIRAfhuWBtrInOhBaKdRrX7anhvGN+hu1SDNiqZSqRTvCFB Vue4L1PZy28TOsscBlZvnax+24gkxDznlmiXbk16GiwW6BzhBLDdSOdcDLbxOb1q7yeG 2M2GQzWGJtY/ARV4vorXvb5UT081ba2V0/AJYkC0QmbBJY7dnZBZ76gEyjqcIHXiIOgo oHrbm4N3TrwROZDnYqdvrNAHGAkYqL7U5JvBnJ/Wj+kEYVCglOsxQHyc4DT6Wll6e9Sk fajQ== 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:dkim-signature; bh=9+1ik/vvOveRHv6gC+vDCsa/NHe6vb//8HQCEW5cYfo=; b=CBRdAFbSsxstMv8eOfqn6clBASFfl5HKV2FJGzGmH5R9dcKUsosWMP+FsQhefD1CeO WHt3Fp5EQEjW/mb9Z2g6PiJNjOLBVpNo9XK2r6tF3ZysUknieG1J9wIL9iC3qjAxJT5Q exaZqvBYUIfIePofYCKrlI0W7zncuU9b6lWC6xM47ttUhNXshLfwc2LQ0qvk07MOFhAw NUGWiq1bFPfMzJKHdPaaBTjMQ7Pkwq6WxAXe1qKZN/qLxuFQNGGiGNwJke5cwFNIbnKk ALj8e1BUHqVijorFo3Itv2Kgrl8tvZEBWC3owM2zWrDeJLiYYpaJJiQeZr/WxkyXlVgD 9fOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ON3AqXpT; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i94si2906378plb.78.2019.07.03.12.17.06; Wed, 03 Jul 2019 12:17:21 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ON3AqXpT; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726805AbfGCSnq (ORCPT + 99 others); Wed, 3 Jul 2019 14:43:46 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:39265 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726430AbfGCSnq (ORCPT ); Wed, 3 Jul 2019 14:43:46 -0400 Received: by mail-lf1-f65.google.com with SMTP id p24so2495514lfo.6 for ; Wed, 03 Jul 2019 11:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9+1ik/vvOveRHv6gC+vDCsa/NHe6vb//8HQCEW5cYfo=; b=ON3AqXpT0V7isG9+j7JZBvuqy4Kap3GDnft3GXOvwOEvAH4TZZ/Eo4sp5enHq9mcK1 xYgaHeZ1s5Z12So406hFfrw+DQcBIj8VhduCBb+4Bkx7My8FsU2wmNHWiJN/osCBKthw 6x7O2b/tkLQ8KRvUw/iD9Gp8gShZQpqQsJo+ImQIq6YbleUsyiIPTuSvRtfpr4YBy7hb 53v6O6RmJAc3h5GslmR5dSdLqf+gQzuw0VYvoEVyV06CBPoF52GEPnG6mfXEZLLa3+jQ RsaW/o6aLqQxidSpWMECeGAf4cDvDxHnGQiwHouPN8us1AZ6Kf19a+81ruAuMXfLWOh0 T7AQ== 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=9+1ik/vvOveRHv6gC+vDCsa/NHe6vb//8HQCEW5cYfo=; b=t8d4mzXH2s2C1y7CVQYZSYf3FTU++8E3+5PKeiDXlGKgbNaDk2ZcdwfUYQdetTOExU RZzvWyEpY69auU7Z67GdtQAZaca8lM8F4+P4zrPP4m9Ey7goGW4SYF5MrfDstVTfGMso eMQEiH24oZEBMCIauuraHOa3Caium++QkPi59V8lVHTMSaUA8kkCV2MCfbGsQG98jpri L4KT8qwuW+Fo7irWJlWcZtn//X7UxcfHcqUA6FIaQVpBVTPoMeMOrcvenKOO9+HJwM/1 gI83x+8uTKgH7qmEGB7F1fgZN9iE6DilMNwyjM/ljsjH5WH2TSkph2HV//WU/5/+RH+1 rDjQ== X-Gm-Message-State: APjAAAUHwYfo9XwMSyJm2z028JazUav/TYXdpJerWm4DomL+zMtIAVLJ 3JhXrCaZpXF/aj+hgkC+qd2o9ud8WUGd29Zrqlk= X-Received: by 2002:a05:6512:29a:: with SMTP id j26mr363525lfp.44.1562179423948; Wed, 03 Jul 2019 11:43:43 -0700 (PDT) MIME-Version: 1.0 References: <20190703005202.7578-1-alistair.francis@wdc.com> In-Reply-To: From: Alistair Francis Date: Wed, 3 Jul 2019 11:40:39 -0700 Message-ID: Subject: Re: [PATCH RESEND 0/2] RISC-V: Handle the siginfo_t offset problem To: Andreas Schwab Cc: Alistair Francis , linux-riscv@lists.infradead.org, Arnd Bergmann , linux-kernel@vger.kernel.org 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 12:08 AM Andreas Schwab wrote: > > On Jul 02 2019, Alistair Francis wrote: > > > In the RISC-V 32-bit glibc port [1] the siginfo_t struct in the kernel > > doesn't line up with the struct in glibc. In glibc world the _sifields > > union is 8 byte alligned (although I can't figure out why) > > Try ptype/o in gdb. That's a useful tip, I'll be sure to use that next time. Alistair > > Andreas. > > -- > Andreas Schwab, SUSE Labs, schwab@suse.de > GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 > "And now for something completely different."