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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_SANE_1 autolearn=no 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 5DAA8ECE59E for ; Tue, 15 Oct 2019 23:27:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3F8FF20872 for ; Tue, 15 Oct 2019 23:27:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387910AbfJOX1Q (ORCPT ); Tue, 15 Oct 2019 19:27:16 -0400 Received: from eddie.linux-mips.org ([148.251.95.138]:46178 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726974AbfJOX1Q (ORCPT ); Tue, 15 Oct 2019 19:27:16 -0400 Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S23994554AbfJOX1JicQhA (ORCPT + 2 others); Wed, 16 Oct 2019 01:27:09 +0200 Date: Wed, 16 Oct 2019 00:27:09 +0100 (BST) From: "Maciej W. Rozycki" To: Paul Burton cc: Jiaxun Yang , "linux-mips@vger.kernel.org" , Meng Zhuo , Paul Burton , "stable@vger.kernel.org" , "linux-mips@vger.kernel.org" Subject: Re: [PATCH v1] MIPS: elf_hwcap: Export userspace ASEs In-Reply-To: Message-ID: References: <20191010150157.17075-1-jiaxun.yang@flygoat.com> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Thu, 10 Oct 2019, Paul Burton wrote: > > A Golang developer reported MIPS hwcap isn't reflecting instructions > > that the processor actually supported so programs can't apply optimized > > code at runtime. > > > > Thus we export the ASEs that can be used in userspace programs. > > Applied to mips-fixes. This makes a part of the user ABI, so I would advise discussing this with libc folks. Also you probably want to report microMIPS support too. Maciej