From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57D6EC48BDF for ; Tue, 15 Jun 2021 14:47:31 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D61226141D for ; Tue, 15 Jun 2021 14:47:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D61226141D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:53840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltALh-0000rt-UF for qemu-devel@archiver.kernel.org; Tue, 15 Jun 2021 10:47:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltAIm-0004yv-AX for qemu-devel@nongnu.org; Tue, 15 Jun 2021 10:44:28 -0400 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:40471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltAIg-00044r-Sh for qemu-devel@nongnu.org; Tue, 15 Jun 2021 10:44:27 -0400 Received: by mail-pj1-x102e.google.com with SMTP id bb10-20020a17090b008ab029016eef083425so1568702pjb.5 for ; Tue, 15 Jun 2021 07:44:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0qsaxlyOIhSmsUd0KcVpooQvUcEoQDH1QT8uCxb5vTQ=; b=mQ6UjbrTHsVzw/nYZoDPIZu3jNwtUUsK1ihjkV67PAN/JLqH2WAukcyHVDbeQXkYtA E9AkGE3sQGlys/yYoGFGpRMuXwHAt0nEgxuZTPbWZ8PfmaMtp0Qzmmfl9ZcGlV4rKeKu lniRhS5mjhoLpD35od8lRZwza1KAH32if0lovt9hiH/3Do8YvYperv+lJN8a8yumflRg aoQeZWbOhngzDz18sIBUyzVs2FDtHnTjqWnddvJtB+eQAFnMD8ZSDRxr//H6qCNfvWWV ki1TZ+ZLkRdZdMuCAcdcKSE308khCcPu5EuwwXbw3aumZCUaGzmVIkRj4buvR5uLKWK1 rvfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0qsaxlyOIhSmsUd0KcVpooQvUcEoQDH1QT8uCxb5vTQ=; b=STp9ssO1TpXOezbf6vNBKZcL7TVnhy/HWepOmQSynnx9J6Gdu4fIOrcmyap9ycfywB iDBFjn9sDU9UJW+EwcycdOXYrtRawn237jsEr7LZ0kaxC7EkFtKJfBqbt1x83o3/FFox Lw8FAotqxzHnz0VArBQA8JhWSkW6TKCEmIaPbUHGQW2ndCHEMVMdBGaxXXORZMI+MswS ItBVuNsFkPRK5wIFJ0zpC9SLZpaP0ssoovipPCwnFfSYteb9dBmTNiYNFBmyDNi3p4r3 PjrW/Zkh2FmPArXcJZgt2fDIDAvnJkOepeXPRyWHQueBORslGg799XSkvg/gWu3J0HYn XO1A== X-Gm-Message-State: AOAM532CzlaHvytN2W+qKzutxHmcjkYS66geESbpMnlviTg73vh68Xp+ EIsGkQnJasNqjiH1ojMlXwU4ig== X-Google-Smtp-Source: ABdhPJx4gfpW85cSvgODiUMW5ZjwE4bwc7NBsyCmG038D2h/KsiXQfU/64R0eiBW16YiNkyH7+CeBQ== X-Received: by 2002:a17:90a:c7d0:: with SMTP id gf16mr5178504pjb.78.1623768261126; Tue, 15 Jun 2021 07:44:21 -0700 (PDT) Received: from [192.168.1.11] (174-21-70-228.tukw.qwest.net. [174.21.70.228]) by smtp.gmail.com with ESMTPSA id u24sm16553091pfm.200.2021.06.15.07.44.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Jun 2021 07:44:20 -0700 (PDT) Subject: Re: [RFC PATCH] linux-user/sparc: Implement v8plus signals To: Laurent Vivier , qemu-devel@nongnu.org References: <20210526011340.440284-1-richard.henderson@linaro.org> From: Richard Henderson Message-ID: <2a3fb13c-d793-c910-7f86-0b021d2c1642@linaro.org> Date: Tue, 15 Jun 2021 07:44:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102e.google.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.095, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.cave-ayland@ilande.co.uk Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 6/14/21 11:48 PM, Laurent Vivier wrote: > Le 26/05/2021 à 03:13, Richard Henderson a écrit : >> Sparc v8plus is a sparc64 running a 32-bit ABI. >> The significant difference vs sparc32 is that all 64 bits of >> the %g and %o registers, plus %xcc, are saved across interrupts, >> context switches, and signals. >> >> There's a special marker in the saved %psr value that's used to >> indicate that %xcc and the high bits are present in the frame. >> >> Signed-off-by: Richard Henderson >> --- >> >> I have been unable to find an extant v8plus distribution with >> which to test this beyond compilation. Thus the RFC. I know >> debian used to have one, but they have moved to pure sparc64 now. >> >> Thoughts? > > In my test, I use debian wheezy, and it seems to be sparc32plus v8+: > > $ file chroot/sparc/wheezy/bin/ls > chroot/sparc/wheezy/bin/ls: ELF 32-bit MSB executable, SPARC32PLUS, V8+ Required, total store > ordering, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux > 2.6.26, BuildID[sha1]=3fdfb5b9f829824f6110b7a2d91efd9947614263, stripped > > I get wheezy from http://archive.debian.org/debian > > If you want I can make a try with your patch. Yes, please. r~