Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp641367rwi; Thu, 20 Oct 2022 03:29:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4FSixB6fr6ZFJG8UQg7mFtaZvzaexKlUAIEWGJ8ChHDNrACOrL9om/i5DnG9Zn0VYrqFrB X-Received: by 2002:a17:90b:1c0e:b0:20d:8cc5:23e5 with SMTP id oc14-20020a17090b1c0e00b0020d8cc523e5mr15528629pjb.111.1666261791537; Thu, 20 Oct 2022 03:29:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666261791; cv=none; d=google.com; s=arc-20160816; b=t3wSg9w7u9x4ELT0nyD9hxasZ2CCB/1vM3/y+sAH4Z4DGkZKm6FFTbJwBNxzRuRb8E KZxD3OSz0lu29qE5eH+7UbElPjqVLUt1rrJTS7dV4IDUKYwZ7IsJeJGHOjuSdL6GIhSK 50whJOcr3kQ/Ap7tY5JCiCpE7RAgzDO/H732gEuu3idt7kN0tiZI6boQKXqbrgyUY+Rc +pqysbUMqQ4qV7XkcAyEu1s3V8iwIAUAr6Nz6aYl3iTYqHqpXeXbGB3ROe0PdEA/ZRsf milGGiz2frvtSJJeg+1kEH1u9JEzTOaIiifygmwfGdKmPqtIfpm7Mx1M/mb7sMODVtam y4eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=uMb4H+GBp1aMpwhcfHPPZLIWbiFvqmvzlkTp0l/lnQA=; b=I5a9LY7E7XYKGOo6ThzbSrpvZsT6AwI81Yfjdm+XuLYSW9dt9H6T+U9iJaHJTnJM/f nG0BaJG9BFEdTiIIphjnIDFbR4RY0y+f6+j4bvjl+mxUMzD/nhXGVR+mMo2chJj8MaFH T/9zAa2Eq58T4WsMGvPeZ9p/SfC9G4RHzd/WlJYwk1BAsyyRotGAjOHHI0CvEG3B3Bop V9Qli+lQchsjZ0zrIQerUqnwNVrAWoEa9+MhEswc8aedoJQK+ri5fERaz3pjzParod/E ssoTeP+YdSPz1cuLz1vB70KKirYNPjoPSb3B8RP77zoKdivSUrjOt91Do6UTmGPNUrQm pKmQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u8-20020a654c08000000b0043c9d3b9c83si21713867pgq.140.2022.10.20.03.29.39; Thu, 20 Oct 2022 03:29:51 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231152AbiJTKSD (ORCPT + 99 others); Thu, 20 Oct 2022 06:18:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229937AbiJTKRl (ORCPT ); Thu, 20 Oct 2022 06:17:41 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D33D51DC806 for ; Thu, 20 Oct 2022 03:17:12 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8E650ED1; Thu, 20 Oct 2022 03:17:17 -0700 (PDT) Received: from [10.1.33.24] (e122027.cambridge.arm.com [10.1.33.24]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 02FE33F792; Thu, 20 Oct 2022 03:17:09 -0700 (PDT) Message-ID: Date: Thu, 20 Oct 2022 11:17:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v2 0/2] drm/panfrost: Fix UAPI for C++/BSD compatibility To: Alyssa Rosenzweig Cc: Alyssa Rosenzweig , Adri??n Larumbe , Rob Herring , Tomeu Vizoso , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Robin Murphy References: <20221017104602.142992-1-steven.price@arm.com> Content-Language: en-GB From: Steven Price In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE 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 On 17/10/2022 16:44, Alyssa Rosenzweig wrote: > Series is > > Reviewed-by: Alyssa Rosenzweig > > Thank you for this, please push to the appropriate trees so we can fix > the Mesa build. Thanks! I've pushed the patches to drm-misc-fixes. Steve > 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 >>