Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E8E56C04A94 for ; Mon, 7 Aug 2023 16:29:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 076EE10E2D7; Mon, 7 Aug 2023 16:29:10 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id A4D5710E2C3 for ; Mon, 7 Aug 2023 16:29:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1691425745; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8RzhR0Defsn9yPdyrBq2FgdXanmnGOPFDzct4NabJUc=; b=HTb9leyluem+KGVyrPjpSRaI//6RuTUBMsDchTV/3qjC1Z11LBR+wEDvvl+9g60Mr8YouU ciNH8d1sVsvIlTMPKVGHAWfujDKzJ6GnEXF9HUx1KwEd0w5NAp3P5HOIYKd3CdVnIgxa1V oijzrBQg5nydTSmRAWeIfPOlUoUN3H4= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-534-DGj3kTu6NUS0dmz_jq5D2g-1; Mon, 07 Aug 2023 12:29:04 -0400 X-MC-Unique: DGj3kTu6NUS0dmz_jq5D2g-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-99cb1b83eacso368416366b.1 for ; Mon, 07 Aug 2023 09:29:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691425743; x=1692030543; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8RzhR0Defsn9yPdyrBq2FgdXanmnGOPFDzct4NabJUc=; b=Vea6KlBJ+kNmYn47bVee0+OvXoGWdrfZh2CxMr2hfozDg0aC4/LqGszIwo9rzfUsjV aj5xWwxU4akBaQaaJN0WUVIpgMAXrfP/cN0l1d1UhmtUKJmAgoPN7HldjYiTnpmlTIm8 GvM+BJNSxlh9b1h4V8k+CYmF/ZRtvxbH1xQWWBU1QBS5eH8QVtccq+QaO2tbccxHOQdu X0py1DYakhUKB8Bfo+4WXGHBC1545CFx0OlXfcinaVpvYVsuxX6KSNgQQBBzj7BTJdbI z/7sCvPmUWHb7PKRCoxT8KirXf0Cj160sw2mssVJQ0ZyfZ4aucsKU6klu4Ixqh5w91QO F1WA== X-Gm-Message-State: AOJu0YxduHbPR90ArxwJU3tkQyPPZCpMc1z0xTnMKZ875sDhapvYjieg XkDXqHiQWXIlifX0D90vOhK63DesYr+bcVp5G1HlbczMh95Lul+5d/qNcb4luqvzxh81J1/NVIC mb+OGFKesu6/40uKdKsFCBuDKzmj7 X-Received: by 2002:a17:907:3f93:b0:99b:cadd:c2ee with SMTP id hr19-20020a1709073f9300b0099bcaddc2eemr9291169ejc.29.1691425743722; Mon, 07 Aug 2023 09:29:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFw6akvBExQRKLRcc48yHKLdyy5YgC26FFwO36Jpq7vnN3NYThd0gduelCV3L44tmqlcvtGLg== X-Received: by 2002:a17:907:3f93:b0:99b:cadd:c2ee with SMTP id hr19-20020a1709073f9300b0099bcaddc2eemr9291145ejc.29.1691425743314; Mon, 07 Aug 2023 09:29:03 -0700 (PDT) Received: from cassiopeiae.. ([2a02:810d:4b3f:de9c:642:1aff:fe31:a19f]) by smtp.gmail.com with ESMTPSA id m8-20020a1709066d0800b0099cadcf13cesm4504419ejr.66.2023.08.07.09.29.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 09:29:02 -0700 (PDT) From: Danilo Krummrich To: airlied@gmail.com, daniel@ffwll.ch, bskeggs@redhat.com, kherbst@redhat.com, lyude@redhat.com, sfr@canb.auug.org.au Subject: [PATCH drm-misc-next 0/5] Nouveau VM_BIND uAPI Fixes Date: Mon, 7 Aug 2023 18:28:44 +0200 Message-ID: <20230807162859.68905-1-dakr@redhat.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nouveau@lists.freedesktop.org, Danilo Krummrich , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The patch series provides a few fixes for the recently merged VM_BIND uAPI mostly addressing a couple of warnings. It also contains one patch to slightly reduce the memory footprint of struct nouveau_uvma. Danilo Krummrich (5): nouveau/dmem: fix copy-paste error in nouveau_dmem_migrate_chunk() drm/nouveau: nvkm: vmm: silence warning from cast drm/nouveau: remove incorrect __user annotations drm/nouveau: uvmm: remove incorrect calls to mas_unlock() drm/nouveau: uvmm: remove dedicated VM pointer from VMAs drivers/gpu/drm/nouveau/nouveau_dmem.c | 2 +- drivers/gpu/drm/nouveau/nouveau_exec.c | 6 ++--- drivers/gpu/drm/nouveau/nouveau_exec.h | 2 +- drivers/gpu/drm/nouveau/nouveau_uvmm.c | 23 ++++++++----------- drivers/gpu/drm/nouveau/nouveau_uvmm.h | 14 +++++------ .../gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c | 5 ++-- 6 files changed, 24 insertions(+), 28 deletions(-) base-commit: 82d750e9d2f5d0594c8f7057ce59127e701af781 -- 2.41.0