Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1197668imm; Tue, 15 May 2018 15:33:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqLO0ClLiGIs6AnQk28LD9h3UafZA3jV6xMDWITYXZDMK39W7JNrjfXFwgnHW+sxIYtYjyF X-Received: by 2002:a63:7b10:: with SMTP id w16-v6mr14133571pgc.355.1526423639275; Tue, 15 May 2018 15:33:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526423639; cv=none; d=google.com; s=arc-20160816; b=AE+XIAI0SeuKBeBzQXouqe5FvpPg4tNSTV7Qhye5XsLJOKYmBCJPaAnHUGfaN0yxzw r0aDox+ZgY4lAi4ngUnUPQseBerMrt+avpPWzfettNoqtR3UJmS2ZT8T0SbqXQPo2NO9 xgxOegc66NzZ2gSH/nyL2US91BKIsapnfa3w1An8wt78rSepRatD7Z1jH/lZL93/Vj2t jXMMoHx0qShgrXv5JoUaJPM1lllQCcuVVeShsqrBBI8Rcj+ryv4A8gNUmXa6nEqhHc2S gTkMJPgIlRSQoqAjByGFjtfqYbYpTv2ee6hP7qlTpwGt5FEZPp3V4B4Rd9goleGWLx0z uEzw== 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 :subject:cc:to:from:date:arc-authentication-results; bh=mvjsimLFYlEt6vg5tH4yGkTnNge1qv+YeWpvhQyprNA=; b=ZcphuRFEL4Y0Xo6hPwgc7DmUMqRKeJallFpt+i28CI1KWW8oOSUFWmbdWTBQwWRiIr citc8SlksHAaMGZ6i1YGDzl3qqeX+7iKHDginUi8LsAP9djF6fh0GOYOvKIdGmvox9go Ke/MBT+OjCnLBzUtUtJIXuaIUWtYpld5eIY2e1R7O5B2KITYyTPzVKwGGgDoq4qFqZX7 91/s4wDNZkJWYDXDtopXk4Dw4xozO4tO+LszKPD/2oHOn8rREBlRTHJkPefZjRvqSKCi QY0Q4qsEjt9awAxt2cFKhJeSrlytJcR0IiRervBAqxEEoo9tswVdvvFeE5hBEOVmeUG4 0j+g== 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 71-v6si1047725plc.164.2018.05.15.15.33.44; Tue, 15 May 2018 15:33:59 -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 S1752024AbeEOWdP (ORCPT + 99 others); Tue, 15 May 2018 18:33:15 -0400 Received: from 9pmail.ess.barracuda.com ([64.235.150.224]:39311 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751149AbeEOWdO (ORCPT ); Tue, 15 May 2018 18:33:14 -0400 Received: from mipsdag02.mipstec.com (mail2.mips.com [12.201.5.32]) by mx26.ess.sfj.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=NO); Tue, 15 May 2018 22:32:22 +0000 Received: from [10.20.78.107] (10.20.78.107) by mipsdag02.mipstec.com (10.20.40.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1415.2; Tue, 15 May 2018 15:32:50 -0700 Date: Tue, 15 May 2018 23:32:11 +0100 From: "Maciej W. Rozycki" To: Alexander Viro , James Hogan CC: Ralf Baechle , , , Subject: [PATCH 0/3] MIPS: DSP ASE regset support Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [10.20.78.107] X-ClientProxiedBy: mipsdag02.mipstec.com (10.20.40.47) To mipsdag02.mipstec.com (10.20.40.47) X-BESS-ID: 1526423542-853316-32019-19570-1 X-BESS-VER: 2018.6-r1805102334 X-BESS-Apparent-Source-IP: 12.201.5.32 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.193020 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, For years, quite oddly, we have been missing DSP ASE register state from core files. These days regsets are used to define what goes into a core file, so here's a change adding one. As a side effect ptrace(2) can now also access this regset, however no complementing client implementation has been made. Eventually that'll have to change though so that DSP ASE registers can be correctly accessed in n32 processes, which suffer from ptrace(2) 32-bit data types truncating contents exchanged by PTRACE_PEEKUSR and PTRACE_POKEUSR requests with 64-bit registers and no means defined to access partial registers via this API. In the course of this implementation I came across two bugs affecting the area being updated and hence this has become a small patch series with the audience wider than originally expected. See individual commit descriptions for the details of changes made. NB there is no strict functional dependency between 1/3 and 2/3-3/3, so the order of commits does not have to be preserved as far as these two subsets are concerned. However 3/3 does trigger the problem addressed with 1/3 (and gracefully handles it), hence the grouping in a series. Please apply. Maciej