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=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 08FD8C433E0 for ; Mon, 4 Jan 2021 12:37:12 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8695620770 for ; Mon, 4 Jan 2021 12:37:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8695620770 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=raspberrypi.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4CC4A85F94; Mon, 4 Jan 2021 12:37:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RbOeZ2rMZgiZ; Mon, 4 Jan 2021 12:37:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2CB3385F74; Mon, 4 Jan 2021 12:37:10 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id F3E9A1BF355 for ; Mon, 4 Jan 2021 12:37:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id ED90885F74 for ; Mon, 4 Jan 2021 12:37:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dPZacO1_RzwS for ; Mon, 4 Jan 2021 12:37:08 +0000 (UTC) X-Greylist: delayed 00:20:28 by SQLgrey-1.7.6 Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 0677885F2D for ; Mon, 4 Jan 2021 12:37:08 +0000 (UTC) Received: by mail-ej1-f49.google.com with SMTP id jx16so36536726ejb.10 for ; Mon, 04 Jan 2021 04:37:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NKzEXkRu9uc/1CbMh/oq34zAp/WkX7HSeewQ3vRITpI=; b=EUFpO9SOvDFpMJ5W7SyxF3MV5Sti2owhjuA+c1qJ3/oSG+msy1ir5fZDEEFbT5LR3J 9YHWs5CyQLLCEU8UMzZy96RKapIRCryOOt3zrkmeyqsDzJJM3FlonigFVsVt8ulVCGOp TOuBkl/c1zoTvxRwgUwrufVhxdKpUhesnSLxc5a9N8zIRImcNtaH2/ozKB6Db6ny3IPg IWAPyKQggYYllbmHu+MUeZc7p/Nj9oG/uwq6Md0LG0BZCNQ+OxAV08TsIRGhwTEEBQxs 91S7iJLMbXo7cDQeFZOw5UGTDoNzlW9VzAyddYwP3hkFBm+dQUvfNJvuY95VVMwWKWam 3wDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NKzEXkRu9uc/1CbMh/oq34zAp/WkX7HSeewQ3vRITpI=; b=pJUeQn79SukbTC7Asibnx6d7UF+tuuqHPtMlI7wFj13/aTXbMQpyeuiXj5etT5A6Y1 EbUBCwRQHkp/4m+13y1dIqs2RLiNlanSTZeF0TUlLCIef7bLDhczOH2RX9yBs1scbU9+ dg5vUhholHVkv12HcwA2mEoJNrqzTx3f/cZ3je/iuryLP/iK1g2goNIgNJhSLXUbli2Y UrIJ4A5h0mu78v+9QefR0LtlpSZSIwAD9+tfYXVc4dyct/RLHfKko+gK1X5WmfkT7ZP6 IIu0bVMEYI0VHeqs14HxqN5gtjw5xVtRPJQbllZAgw3LSthfl42BwnXSZCOiXDAAeC/Z x6TQ== X-Gm-Message-State: AOAM530e5nTqdd9vXy1gfg9/0NWyd3CP/RZnT74QsI5Uf+eplcXkn995 2ukCijeoC+zomaXZYbx52YllNH9P1JCHkQ== X-Google-Smtp-Source: ABdhPJxbCJWslVNpxvqew/Yc279x2bH/jXeewgXMHbdVlRQ65xBHqKRyFc8JFm/eI0xs0cJDeBHrug== X-Received: by 2002:adf:fb05:: with SMTP id c5mr78582449wrr.69.1609762190239; Mon, 04 Jan 2021 04:09:50 -0800 (PST) Received: from buildbot.pitowers.org ([2a00:1098:3142:14:ae1f:6bff:fedd:de54]) by smtp.gmail.com with ESMTPSA id x66sm33692952wmg.26.2021.01.04.04.09.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jan 2021 04:09:49 -0800 (PST) From: Phil Elwell To: Nicolas Saenz Julienne , Greg Kroah-Hartman , Arnd Bergmann , Dan Carpenter , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 0/2] A brace of vchiq bulk transfer fixes Date: Mon, 4 Jan 2021 12:09:26 +0000 Message-Id: <20210104120929.294063-1-phil@raspberrypi.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Phil Elwell Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" The recent batch of vchiq improvements broke bulk transfers in two ways: 1. The userdata associated with a transfer was lost in the case that a non-blocking mode was used. 2. The 64-bit ioctl compatibility shim for a bulk transfer used the wrong ioctl command. This patch set fixes both of those bugs. Phil Elwell (2): staging: vchiq: Fix bulk userdata handling staging: vchiq: Fix bulk transfers on 64-bit builds .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.25.1 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel 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=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 4E986C433E0 for ; Mon, 4 Jan 2021 12:11:19 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 09ED921E92 for ; Mon, 4 Jan 2021 12:11:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 09ED921E92 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=raspberrypi.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=CNOkwB4zGDtTXIp9ITJZUKFhOCs2RI5hQqrb9Tw8czg=; b=Ij8pbfWejdwGlCdTXtV1BuTyCv L10l2c/psTQ3gNhM55bChJv83h3aywDTu9xfBY28zw4SgV8iArgLfEEtlHmnaHkjHsmM5vHuZJcJH 4qR+oKRh/F6lbHGpnDP3iIRBHbCwrYA5eyQ2tTvs8lx84Ngtpv4/WjYJWpSRKokoEEnOuMvLGU2tH XUZey7eI46hdXELC1IVsVDw/A2LjikN3xqClaHnPpiOVZHz1wVM+741rPoZX7hsONnfVeQUZ7E6kI +vn/0hy9NG8RYAYWZoEzXzJ1qkZxm2ANqOXBpzxSwbRoeWkRMuemwSiliuMV9iOgbCQMEiX6scUKb cqgPcLsw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kwOgO-00007i-GX; Mon, 04 Jan 2021 12:09:56 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kwOgK-00005q-HC for linux-arm-kernel@lists.infradead.org; Mon, 04 Jan 2021 12:09:53 +0000 Received: by mail-wr1-x42f.google.com with SMTP id t30so31961990wrb.0 for ; Mon, 04 Jan 2021 04:09:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NKzEXkRu9uc/1CbMh/oq34zAp/WkX7HSeewQ3vRITpI=; b=EUFpO9SOvDFpMJ5W7SyxF3MV5Sti2owhjuA+c1qJ3/oSG+msy1ir5fZDEEFbT5LR3J 9YHWs5CyQLLCEU8UMzZy96RKapIRCryOOt3zrkmeyqsDzJJM3FlonigFVsVt8ulVCGOp TOuBkl/c1zoTvxRwgUwrufVhxdKpUhesnSLxc5a9N8zIRImcNtaH2/ozKB6Db6ny3IPg IWAPyKQggYYllbmHu+MUeZc7p/Nj9oG/uwq6Md0LG0BZCNQ+OxAV08TsIRGhwTEEBQxs 91S7iJLMbXo7cDQeFZOw5UGTDoNzlW9VzAyddYwP3hkFBm+dQUvfNJvuY95VVMwWKWam 3wDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NKzEXkRu9uc/1CbMh/oq34zAp/WkX7HSeewQ3vRITpI=; b=e0uUWynkEGKwpMevFInuUDYhLWN63W7sL2Ucnea3NWo2Ud23syQl0u0/26r0M5wU5q a8VXHXSqSasEi57hQzHMEYNATNHQERdToELtrgT3gZ5UE+YN6ApKBmRdHAvmfGguwZUL KYoZF54w3WV3Dk1EnC/mDjzQEuZEqjKxZy0GISQ/yZCTK0vAGnDkN+cvWHbWi0SLdDco UnE4Q6AxMnHzo/lEpHzTI8SdcECxnxkVtOS/om/vSMp3pupgjNI7/Y3uyA4flMJY16BU HKEbCvyCDYmTr0E2YTpayZZRA39BADUTGUGLdrfw/eLzYPoN4rFL44qimakzLBfOfPr7 8sXA== X-Gm-Message-State: AOAM533joW35PwEnEqxhT923xa6Bbjh+LGccpm0i3qc86aBbsafu7Yp9 xXPgkD7U+YXH+/DmjrAALI3pzQ== X-Google-Smtp-Source: ABdhPJxbCJWslVNpxvqew/Yc279x2bH/jXeewgXMHbdVlRQ65xBHqKRyFc8JFm/eI0xs0cJDeBHrug== X-Received: by 2002:adf:fb05:: with SMTP id c5mr78582449wrr.69.1609762190239; Mon, 04 Jan 2021 04:09:50 -0800 (PST) Received: from buildbot.pitowers.org ([2a00:1098:3142:14:ae1f:6bff:fedd:de54]) by smtp.gmail.com with ESMTPSA id x66sm33692952wmg.26.2021.01.04.04.09.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jan 2021 04:09:49 -0800 (PST) From: Phil Elwell To: Nicolas Saenz Julienne , Greg Kroah-Hartman , Arnd Bergmann , Dan Carpenter , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 0/2] A brace of vchiq bulk transfer fixes Date: Mon, 4 Jan 2021 12:09:26 +0000 Message-Id: <20210104120929.294063-1-phil@raspberrypi.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210104_070952_669646_94A79A30 X-CRM114-Status: GOOD ( 10.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Phil Elwell Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The recent batch of vchiq improvements broke bulk transfers in two ways: 1. The userdata associated with a transfer was lost in the case that a non-blocking mode was used. 2. The 64-bit ioctl compatibility shim for a bulk transfer used the wrong ioctl command. This patch set fixes both of those bugs. Phil Elwell (2): staging: vchiq: Fix bulk userdata handling staging: vchiq: Fix bulk transfers on 64-bit builds .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel