Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1839953/?format=api
{ "id": 1839953, "url": "http://patchwork.ozlabs.org/api/patches/1839953/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/fd879f60-3f0b-48d1-bfa1-6d337768207e@linux.ibm.com/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api", "name": "Linux PPC development", "link_name": "linuxppc-dev", "list_id": "linuxppc-dev.lists.ozlabs.org", "list_email": "linuxppc-dev@lists.ozlabs.org", "web_url": "https://github.com/linuxppc/wiki/wiki", "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git", "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/", "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/", "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}" }, "msgid": "<fd879f60-3f0b-48d1-bfa1-6d337768207e@linux.ibm.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/fd879f60-3f0b-48d1-bfa1-6d337768207e@linux.ibm.com/", "date": "2023-09-26T22:02:25", "name": "uapi/auxvec: Define AT_HWCAP3 and AT_HWCAP4 aux vector, entries", "commit_ref": null, "pull_url": null, "state": "handled-elsewhere", "archived": true, "hash": "36ce46b7c51d4ddcc11a59f610704df945c6966c", "submitter": { "id": 74386, "url": "http://patchwork.ozlabs.org/api/people/74386/?format=api", "name": "Peter Bergner", "email": "bergner@linux.ibm.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/fd879f60-3f0b-48d1-bfa1-6d337768207e@linux.ibm.com/mbox/", "series": [ { "id": 375007, "url": "http://patchwork.ozlabs.org/api/series/375007/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=375007", "date": "2023-09-26T22:02:25", "name": "uapi/auxvec: Define AT_HWCAP3 and AT_HWCAP4 aux vector, entries", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/375007/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1839953/comments/", "check": "success", "checks": "http://patchwork.ozlabs.org/api/patches/1839953/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=hrnDU6sY;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)", "lists.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=hrnDU6sY;\n\tdkim-atps=neutral", "lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=hrnDU6sY;\n\tdkim-atps=neutral", "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=linux.ibm.com\n (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com;\n envelope-from=bergner@linux.ibm.com; receiver=lists.ozlabs.org)" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4RwDJR1xqMz1ypJ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 27 Sep 2023 08:03:02 +1000 (AEST)", "from boromir.ozlabs.org (localhost [IPv6:::1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4RwDJP4mFzz3cBd\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 27 Sep 2023 08:03:01 +1000 (AEST)", "from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com\n [148.163.156.1])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4RwDHz3JvLz2yD7\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 27 Sep 2023 08:02:39 +1000 (AEST)", "from pps.filterd (m0356517.ppops.net [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 38QLnYC9021734;\n\tTue, 26 Sep 2023 22:02:30 GMT", "from pps.reinject (localhost [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3tc7hw07sd-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n\tTue, 26 Sep 2023 22:02:30 +0000", "from m0356517.ppops.net (m0356517.ppops.net [127.0.0.1])\n\tby pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 38QLx22g014239;\n\tTue, 26 Sep 2023 22:02:30 GMT", "from ppma13.dal12v.mail.ibm.com\n (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221])\n\tby mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3tc7hw07qj-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n\tTue, 26 Sep 2023 22:02:29 +0000", "from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1])\n\tby ppma13.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id\n 38QK3o16030753;\n\tTue, 26 Sep 2023 22:02:27 GMT", "from smtprelay02.wdc07v.mail.ibm.com ([172.16.1.69])\n\tby ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3tacjjxa79-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n\tTue, 26 Sep 2023 22:02:27 +0000", "from smtpav01.wdc07v.mail.ibm.com (smtpav01.wdc07v.mail.ibm.com\n [10.39.53.228])\n\tby smtprelay02.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 38QM2QDj54133134\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n\tTue, 26 Sep 2023 22:02:26 GMT", "from smtpav01.wdc07v.mail.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id 996525805B;\n\tTue, 26 Sep 2023 22:02:26 +0000 (GMT)", "from smtpav01.wdc07v.mail.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id C502C58059;\n\tTue, 26 Sep 2023 22:02:25 +0000 (GMT)", "from [9.61.104.45] (unknown [9.61.104.45])\n\tby smtpav01.wdc07v.mail.ibm.com (Postfix) with ESMTP;\n\tTue, 26 Sep 2023 22:02:25 +0000 (GMT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com;\n h=message-id : date :\n mime-version : to : cc : from : subject : content-type :\n content-transfer-encoding; s=pp1;\n bh=zZB0dYUR3FFVNmHrxi9HQc22uG3RrL+fhXjXqsYEZiw=;\n b=hrnDU6sYSrDJR9uVrEze/U4yIj2DuSNzTAEZe4PC3SBiEZxVYmrBdvwG3hpFbZebh0Iu\n BbFDF4AzmZvn+2XQEzD/2iIhVlhc+hPsh6kQInrNoKPkUqrg966jupfLb5DIIlr1wzLj\n y9lTID71M2kLSwUfd9XQISyyQAtXibueOXIsjXVP0/+z/fq3speynzlJXhIcthqG1ZoN\n wnIdUfexsGKubD9xH+lnt8atVb1j9NOYFqQwWVErHTtTqnKvYgwC8CjRkeO7RY1tRpus\n CVKF5XMGFjlyRK/wHIhgX0iqQrO//lhkVT+SESJR0g3JVZFCaiCRiJSn49qUefi2GRB3 Bg==", "Message-ID": "<fd879f60-3f0b-48d1-bfa1-6d337768207e@linux.ibm.com>", "Date": "Tue, 26 Sep 2023 17:02:25 -0500", "MIME-Version": "1.0", "User-Agent": "Mozilla Thunderbird", "Content-Language": "en-US", "To": "linux-api@vger.kernel.org, linux-arch@vger.kernel.org,\n \"linuxppc-dev@lists.ozlabs.org\" <linuxppc-dev@lists.ozlabs.org>", "From": "Peter Bergner <bergner@linux.ibm.com>", "Subject": "[PATCH] uapi/auxvec: Define AT_HWCAP3 and AT_HWCAP4 aux vector,\n entries", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "7bit", "X-TM-AS-GCONF": "00", "X-Proofpoint-GUID": "gO_5ccXBsh6B5i09S1LfJSWkSowyQdRR", "X-Proofpoint-ORIG-GUID": "h-kAgeXMqo_4QcCKYyxNVFZtgAGCP97Z", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2023-09-26_15,2023-09-26_01,2023-05-22_02", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n phishscore=0\n lowpriorityscore=0 adultscore=0 bulkscore=0 priorityscore=1501\n suspectscore=0 mlxscore=0 impostorscore=0 spamscore=0 clxscore=1011\n mlxlogscore=999 malwarescore=0 classifier=spam adjust=0 reason=mlx\n scancount=1 engine=8.12.0-2309180000 definitions=main-2309260189", "X-BeenThere": "linuxppc-dev@lists.ozlabs.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Linux on PowerPC Developers Mail List <linuxppc-dev.lists.ozlabs.org>", "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>", "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>", "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>", "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>", "Cc": "GNU C Library <libc-alpha@sourceware.org>,\n Nicholas Piggin <npiggin@gmail.com>", "Errors-To": "linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org", "Sender": "\"Linuxppc-dev\"\n <linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>" }, "content": "The powerpc toolchain keeps a copy of the HWCAP bit masks in our TCB for fast\naccess by our __builtin_cpu_supports built-in function. The TCB space for\nthe HWCAP entries - which are created in pairs - is an ABI extension, so\nwaiting to create the space for HWCAP3 and HWCAP4 until we need them is\nproblematical, given distro unwillingness to apply ABI modifying patches\nto distro point releases. Define AT_HWCAP3 and AT_HWCAP4 in the generic\nuapi header so they can be used in GLIBC to reserve space in the powerpc\nTCB for their future use.\n\nI scanned both the Linux and GLIBC source codes looking for unused AT_*\nvalues and 29 and 30 did not seem to be used, so they are what I went\nwith. If anyone sees a problem with using those specific values, I'm\namenable to using other values, just let me know what would be better.\n\nPeter\n\n\nSigned-off-by: Peter Bergner <bergner@linux.ibm.com>\n---\n include/uapi/linux/auxvec.h | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/include/uapi/linux/auxvec.h b/include/uapi/linux/auxvec.h\nindex 6991c4b8ab18..cc61cb9b3e9a 100644\n--- a/include/uapi/linux/auxvec.h\n+++ b/include/uapi/linux/auxvec.h\n@@ -32,6 +32,8 @@\n #define AT_HWCAP2 26\t/* extension of AT_HWCAP */\n #define AT_RSEQ_FEATURE_SIZE\t27\t/* rseq supported feature size */\n #define AT_RSEQ_ALIGN\t\t28\t/* rseq allocation alignment */\n+#define AT_HWCAP3 29\t/* extension of AT_HWCAP */\n+#define AT_HWCAP4 30\t/* extension of AT_HWCAP */\n \n #define AT_EXECFN 31\t/* filename of program */\n \n", "prefixes": [] }