Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4662969rwi; Mon, 17 Oct 2022 09:04:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5nmZErnNnsGffx2iAr8wOcPPIPZRuprE0TuzLRvkFieOcPhm/XRWLmcrn+dJBWF4jMEtO/ X-Received: by 2002:a17:902:b942:b0:178:be25:203f with SMTP id h2-20020a170902b94200b00178be25203fmr12873288pls.101.1666022666221; Mon, 17 Oct 2022 09:04:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666022666; cv=none; d=google.com; s=arc-20160816; b=n6WfxyyxC0C0uLbbfzu+zMWAhCutl9ItbAoPzcB4iqSpsmdsb5yiXX3uOTNWb0EJlE VF+83CM64qZw08RtdRXXgaFt/fPGi4d7vPZmNlX2186zwWrLb4rR7Ol2crUcUVLnRZra EeWDhNF1aCXvT0Yrj2eGtr/XUCATgo1CTqAfVzBixuapPQM4hRipe1QUD3mSq9Zuux/L AVBhJrDzllNlTaCD0GKKGiLjzPvt1NDX23i5TfInG8VfAPPtv6XmJmZyqipOKbV5ZOvu 4b8yqPtTS1D62jcCag7VxVb4s6bm9Dyi/vTU6SgwwL/noVcckEm5XWXlvAimTGqt7Pif Wg/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CJkjVCmaCXM3FFlJ27DwzBXYvOMPrXF7Al3QHt77QuM=; b=BIqgNbnNc+g8WDiDjCEbjlVWI0Ku53h6C8RGPaw4Kv1wgoh0ajb66qfrSX3z5sPsnB 6d9TW0R2XYEw9BhBs+SoOMqZK7c1H9JYr8UpdrYahp1NZtLWVhQdoUedmAiUfWkzYIf3 LwTvKbjvfXT1gpWHzMiGhdYOBiq0yyLf8GchxKGpN+sL2mGHgXz1eBJmtGY+Jor7yUPC zLOMt23rNWJEOZoJ9U32VZReo1Sbu7hidLx4bCghFpwxUuHXb0lJ7w2NXr+8KY3rLbeN okbuGrc+GqEUgRf397LOOJXvc3S8rpumczahq+Ntv3VMrAcakr+vBrz6UfdzSLnOq+wp e+vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="F3m/J3xi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l7-20020a170903120700b001786399ba31si13667165plh.590.2022.10.17.09.04.02; Mon, 17 Oct 2022 09:04:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="F3m/J3xi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229914AbiJQPoh (ORCPT + 99 others); Mon, 17 Oct 2022 11:44:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229993AbiJQPoc (ORCPT ); Mon, 17 Oct 2022 11:44:32 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 000B3B7E5 for ; Mon, 17 Oct 2022 08:44:31 -0700 (PDT) Received: from maud (206-47-13-26.static.dsl.ncf.ca [206.47.13.26]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alyssa) by madras.collabora.co.uk (Postfix) with ESMTPSA id 3CA0D6602374; Mon, 17 Oct 2022 16:44:28 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666021470; bh=nA5oW84TlD9lx4SFh3dsX3JFoRKKBcKJQ4YZKlmDfWM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F3m/J3xinHDXomn9zuWZ3Pwbg52ZtYP8zjwHMA5q6cyoLb6XIwkfJaVDcOoLNbabp TXOmdXQqkLp3cwsvbvsdxYK/QjqJrQ67r9uAsXeVJZ6sgmHZ+GRvd5BTp88xb5xOPM ebed0AyWgzY/19AaZaKeikIksc8lAtTkRV/ZpV5tleLwoEIY8rHGOutnohOaCoBBxk SOq5Hz7K+C5eG8QiFzi/27OXUYU6l2TAlIEV7J8osfhVkkawN/RoEMe+sp1WnHC2tY faiLNCcS8K2xd3Y/XVR+OPbSFz550BoVuwKFYNRaGirrb/HJW1cQ8ikvX3S4M54XDo RRTHmfPlfFETg== Date: Mon, 17 Oct 2022 11:44:22 -0400 From: Alyssa Rosenzweig To: Steven Price Cc: Alyssa Rosenzweig , Adri??n Larumbe , Rob Herring , Tomeu Vizoso , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Robin Murphy Subject: Re: [PATCH v2 0/2] drm/panfrost: Fix UAPI for C++/BSD compatibility Message-ID: References: <20221017104602.142992-1-steven.price@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221017104602.142992-1-steven.price@arm.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Series is Reviewed-by: Alyssa Rosenzweig Thank you for this, please push to the appropriate trees so we can fix the Mesa build. On Mon, Oct 17, 2022 at 11:46:00AM +0100, Steven Price wrote: > The Panfrost DRM interface to user space is uesd in Mesa for targets > other than C/Linux. Specifically the header file needs to compile in C++ > code and for FreeBSD which shares the same UABI. > > The first patch fixes the C++ compilation issue by removing the > (unnecessary) type name from internal structs which is invalid in C++. > > The second patch technically changes the UABI by changing the header > values in the dump format to be native endian rather than fixed > little-endian. Since (a) there are no known big-endian Mali systems, and > (b) this has only appeared in -rc1, this shouldn't break user space. > Tools can use the 'magic' field to identify the endianness of the dump > if they want to support big-endian. > > This is effectively a 'v2' of Adri??n's series here [1]. > > [1] https://lore.kernel.org/r/20220920211545.1017355-1-adrian.larumbe%40collabora.com > > Steven Price (2): > drm/panfrost: Remove type name from internal structs > drm/panfrost: replace endian-specific types with native ones > > drivers/gpu/drm/panfrost/panfrost_dump.c | 36 ++++++++++++------------ > include/uapi/drm/panfrost_drm.h | 36 +++++++++++++----------- > 2 files changed, 38 insertions(+), 34 deletions(-) > > -- > 2.34.1 >