Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2137252imm; Thu, 19 Jul 2018 13:57:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpczKBkjf8V+GDliJ052TbNl+2Q7QeYP4dh5ICXOKzRp6zJM67p1JAW+nGE2EyZnzOdANKig X-Received: by 2002:a63:d80f:: with SMTP id b15-v6mr11599945pgh.347.1532033849121; Thu, 19 Jul 2018 13:57:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532033849; cv=none; d=google.com; s=arc-20160816; b=r4c8dl1T5UxdEAG3751xWB99tMjEBzkuUkAS6f0CtewTBVGBS9cvtWWMnZUUCC9vSP rDLHYWijB8fAcz91OYIwtSmg0AlUF/eBmia/AkytIwLGcf2sSMupkGhW8jpETiKw2EUV f5CCAzowso0j0zsPBOQtnZ/YM2qZArHUfNtm/yie7Fvq+mKa9bSh5kO5SNG2EN+Vba/K TJauCbm+Vj6F4XqfpJGmS5pCSVnYCEAppHWe6R2EZoJawpxVOtyhvNC4XG1H5KP6sNA6 JJGw+ipR0Q43ld5DdbRJVI/aR7IBaHe+9AY0HySgwjEsAbKQjTl/CcFSWNvifmFyd+XR ZtLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=6WCGlswDEitIpwyseAFFAtNNEEDNFaIlEt7/1sO0RCU=; b=Vnonydfh/EtONImcidDLHhxlLxRO0juGFRNuez2RJUlo05NYwo5Bp1GbQ5p2dQpBgo GabSws8dXW8H947G+V+t+XsJNnZatHSSIuxKMXsKIQVwF7Z8SR63srWNiPGihYHAm61e 1oTDwPrnJeqvaPoz1jZUejuyd6Mgb7WB44XSqMHtb/qLO5ZIDccsrbfwmUeRbyYtwKs8 7C36YmOoFaPc3D7RXjs7KLc3WR11e1+4U8oT/jDUp8CGWZL7lLxGlge8iw7VVXHbIagn PxCn0JppRmrJmWkvYydUUfMGpmEUNl4emCp+/w9QiDCNLc5POiGxEXt8TQFrreNILYiH /fhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=iNvLvOie; 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 g11-v6si136530plb.100.2018.07.19.13.57.14; Thu, 19 Jul 2018 13:57:29 -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=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=iNvLvOie; 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 S1730328AbeGSVl3 (ORCPT + 99 others); Thu, 19 Jul 2018 17:41:29 -0400 Received: from mail-by2nam01on0105.outbound.protection.outlook.com ([104.47.34.105]:59104 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727706AbeGSVl3 (ORCPT ); Thu, 19 Jul 2018 17:41:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wavesemi.onmicrosoft.com; s=selector1-wavecomp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6WCGlswDEitIpwyseAFFAtNNEEDNFaIlEt7/1sO0RCU=; b=iNvLvOieiwCNFMg63OtfSBiiHjxJhiuuI2zF2RsCmzLTcy/MqSLNqTeJNQfHangXzQCI/Dz/wCbac89Z7yiUDxVS2YtYp8W9FXa0SB+D2lGms+alYbQNeicqPD4167/lHMpv9jn5GVrw/+3vBdUufyE8v0yOR4fOIM3OSoW9PrA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=pburton@wavecomp.com; Received: from localhost (4.16.204.77) by BN7PR08MB4929.namprd08.prod.outlook.com (2603:10b6:408:28::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.16; Thu, 19 Jul 2018 20:56:34 +0000 Date: Thu, 19 Jul 2018 13:56:30 -0700 From: Paul Burton To: "Maciej W. Rozycki" Cc: Alexander Viro , James Hogan , Ralf Baechle , linux-fsdevel@vger.kernel.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] MIPS: DSP ASE regset support Message-ID: <20180719205630.osfdzk7gqv4djvqc@pburton-laptop> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180622 X-Originating-IP: [4.16.204.77] X-ClientProxiedBy: MWHPR19CA0057.namprd19.prod.outlook.com (2603:10b6:300:94::19) To BN7PR08MB4929.namprd08.prod.outlook.com (2603:10b6:408:28::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0dd747d7-2a35-4344-49bc-08d5edba1d1a X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(2017052603328)(7153060)(7193020);SRVR:BN7PR08MB4929; X-Microsoft-Exchange-Diagnostics: 1;BN7PR08MB4929;3:z6/UGt3pQj8yHRfPKTHbanRbWWY06RTJdPTWR0Re7+AXUyyF4sj4X2t6MlcmPM4aKXcZ/hxWNlCErn7ljee0YdUQC18ppfjmytIMHfWecGt6kaRZfJu/OaNGc6rlp4sGheOgzaRKE6udzVSGTTfVO0rZ7ge2tuOHe3XTTBh/LBVoj3TpYLW68il+jvdAQrRumyDYvA2RozgxnKaH23xcGQdulqbMcM+wcfomsC3zerE0MnidOwdEq+v79cvwFDg8;25:gahIum/dVwfiKiMrJVVBIlW37li0hmYpiPEBVHe+GIR16g7zwN7m6oCf0p8j7eevP0Vbg+ksct/MeR+H08juL//WFIwVaPd+wGXKaDqU+URZORwgRNoYzxiTbWa9ZSQfwi8d9YQF3j2Nak2/1VdgQMgYAEq+56olJNkPI/+b/m9LiUuk75+goOwv5epYSs9NgSK4HRUlYqoKKlF4kQO39YMz6qVNr9z/mffRqcNuNHGtj1lOgvgDSYoVqmGm5Sgt9UrX9BqvHX5w7QIP2aC5iJg0VABqRHdHqpnUk0KWGjQ2Qv+XH85Vm1hW7YZkmG0nxzBATQiZVz7R9hN8q4FrxA==;31:p7m1IaEpMY3odBQ528Evp8DKQR93daIzQnu/cG6nq/DN6ZLGi1UnNqy9ahkChPeanlrU096u0Cw7tJlS7+4hDnCuMwf8oay8rs99A4LYQx/7sApgRatnmTFp22jzjZM/cEh9F+KJFJWQC9Y09zYT1iN6yK9eNtJI5QqM8oumpkWtWcbuydX0AvkqJS8rDTLfMf+SQdQ65E7yXr5y77xweGv0gq2OcGrsEuef7qykJi0= X-MS-TrafficTypeDiagnostic: BN7PR08MB4929: X-LD-Processed: 463607d3-1db3-40a0-8a29-970c56230104,ExtAddr X-Microsoft-Exchange-Diagnostics: 1;BN7PR08MB4929;20:LKnCYclcaDZfYSTJgiEKP1zuzq1iwvgZpdRYwvOaQhotlWXtFQZ9LIqcybTRfeQj3oV0mhKudq1lKdI8Ud08ozH6p1z552W6MEbeyrSEyAJWKcSGf9RE+L0Mvm4qTN1sOPzIoIdnkB2bA5Blzf55nCZucCIzsWSaBFXTXThAt/rqKe7vtCwssCclSyEXJU7gLMlkA7mJBVv7+uZstqx1Lr9jwkc0QR61RUNSLY+LNImctXUnlVqtRoCln7nxiP+G;4:K1zQ+ME4E+nYhgrFZNcu6hLIxhYrhLQWsrH1kNnrHZswDd/ZpdIxcbY5iBK69nbQv0thY8/eE9DWXjI8urMQkH99gZwvlsqHrHm0mq5nLwAnutW1omle7AprYa26rzStHEL1wWEJkauglGCfS1Wj+gG+MlRHdqS5Geo6GuLD5qi1nSj9JPYToDPJCV/HJDWp5irh28RQGOl5HcRITWEJchIDUe21c1PILIb/siPDnFmZ1Zg/AbNxnFEPRjf4zVTIQYQH6VyKge6ommGAYXZZxA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(3231311)(944501410)(52105095)(3002001)(93006095)(10201501046)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(2016111802025)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(6043046)(201708071742011)(7699016);SRVR:BN7PR08MB4929;BCL:0;PCL:0;RULEID:;SRVR:BN7PR08MB4929; X-Forefront-PRVS: 0738AF4208 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6069001)(7916004)(376002)(366004)(39840400004)(346002)(396003)(136003)(189003)(199004)(44832011)(8676002)(6666003)(53936002)(50466002)(52116002)(6496006)(26005)(16526019)(6636002)(68736007)(76176011)(33896004)(229853002)(106356001)(6486002)(6246003)(105586002)(97736004)(386003)(14444005)(81166006)(6862004)(81156014)(33716001)(4326008)(47776003)(54906003)(16586007)(58126008)(316002)(66066001)(76506005)(305945005)(486006)(956004)(1076002)(23726003)(2906002)(478600001)(7736002)(5660300001)(25786009)(217873002)(42882007)(9686003)(476003)(11346002)(446003)(8936002)(3846002)(6116002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN7PR08MB4929;H:localhost;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: wavecomp.com does not designate permitted sender hosts) X-Microsoft-Exch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ics: 1;BN7PR08MB4929;6:ojwrpn6zMW7yhV3U7KgKqZ/HEmixm2qnpYPRguGSjQnA2K3DXM7wJqGjtxP6FXFGiPNaKczr2iE7NVuZXNIxo5YdgzwWc10IGJ6VcI/VBeiwCsmmMYALuRNSg/MHC8ffGjvfm1JgfwGWQB+V68+s0eKTnxqfzjUNDD/BDfjLkc64DA+q9+bLbFXEYIkHf5G2M3effVl4WnBEs4oiGTH3siDwBhXLy4R2Uf4wS4aK2nbmJaZ+NcxyZVwKy2v4pSdlWSnrhS+m2IjGr0VPpmm2aB+7laJQEYOekiFcF0BYe178pYSsE5dPuAYtm3uqkwPIHG1zzfFccS349nsnrZAyHirbiKycGZAwGJF1MhtO7K02nlt1pc5Q4sJ+JB7ljpd+m2o7b2NFTbP/0U+NKK8L6ywubs+598rdW1wrArYjNjZDSxhEaYtvyfgqgiX9208wvdjyIuPQ14xQnCZfRNKziA==;5:MAqj8wv/vRRxmVD+qTxz9/2YZmxcCQe+wHZuvHPMn/5E0JILHz2r35BDgmPtAPjK6bpwRMmx8cYwJ1MsZsPCRmvHER/z1U5upSKmkHJi2n+QK8sOZCln3EnQXitiodKZNCWOesQ4vj+C/1Tg+1QvTTG/tluraaHuXZIdsQ6jn4k=;7:OUHWTzgMeuwk1POII0ozYksXaogbG1BC4JoUWm8baPmvaQgvvSZTYfRbPxXPsowr8uciLsNiO0V7cQK7YWIQwWFq6MT3559wSkhWDTJL+g2udyqhsQAaJFkLv02eXEHcW/sxzd9GL1r3Nbyk/1lIQ53ehoUGytSXpK7UUxfoh9UKZLS2RvPFgSHyhIlKn3GqyBu5+ExvdF28Vk2UPVX9R55j8D+TkxbtCaVROgQhPPYHvDr28e83qZ0YnP6IG+hS SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2018 20:56:34.8411 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0dd747d7-2a35-4344-49bc-08d5edba1d1a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 463607d3-1db3-40a0-8a29-970c56230104 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR08MB4929 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maciej, On Tue, May 15, 2018 at 11:32:11PM +0100, Maciej W. Rozycki wrote: > 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. Thanks - applied to mips-next for 4.19, though I removed the stable tags on patches 1/3 & 3/3 & it's worth noting that the ELF note numbers are changed to from 0x70X to 0x80X, since 0x700 has been used already. If you really care about a stable backport for 3/3 let's talk, but I'm doubtful as to its use when we've been missing this for so long. Paul