From patchwork Wed Aug 4 14:25:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 12419067 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,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 13CD3C4338F for ; Wed, 4 Aug 2021 14:25:36 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 5817C60EBC for ; Wed, 4 Aug 2021 14:25:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5817C60EBC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7DDFF6EA80; Wed, 4 Aug 2021 14:25:34 +0000 (UTC) Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by gabe.freedesktop.org (Postfix) with ESMTPS id BAE7B6EA82 for ; Wed, 4 Aug 2021 14:25:30 +0000 (UTC) Received: by mail-wr1-x42e.google.com with SMTP id z4so2464631wrv.11 for ; Wed, 04 Aug 2021 07:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oQuykCSU14ER7aPsdknDej3VA3if5Vgjwk83wDTNP4U=; b=c+1Com2d9MSmj+7DRCIbNDCR0CNSe2ror5XQ1lFkF6zn/tr5+S1X7nlsKUExjuOfU1 mCQ8x9rwazZPwiV5jDd7Ms+wD2Ztp/bKlh0bhyttBxfHUhxiC325N61A5XM3FzK7qFF3 lXgMFwgk5auZkuHPHa8isJsZ7OLi35r6+fm7M= 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=oQuykCSU14ER7aPsdknDej3VA3if5Vgjwk83wDTNP4U=; b=dD6abbQBHcht9O8toQ1uDi+fRfWlzZb+nrrRw0A3QltqSJRsr/xe/4eg0IZJaQ8m8v ZEmrO22tgnjQhpUzza+Pj6v5EbnXw3Xn34BPOaMiZx9VvfPC1eFpsjY7PJ4tSxko3+11 HmvXrdzQjFpKI4R7SVq2lka1d+rjo98sjNiytpVbEbvgW/54Zi/sZDniaL2gE0HFrnhz dI9wiHwxS3x2paCR4MWNGehpqf58jEJEa7VO+ir4+j5l+zj+8FDLNZdZ2hPtw+IEIAZP PSq89MaTm9LL4HIbD/BgMhxv6TSHEgIeI9t4Ic7Oa/EQ7LCf/tf/y2Nf1NorHqaxAEk9 Nedw== X-Gm-Message-State: AOAM530Ux/y9yUTm0lWiIFbRoneslkqi05YjpLtxhX2Jhra+Tqb9LuQH NG5H5LXpPCQ7c48yhU6lzCu0YVnkHNU09Q== X-Google-Smtp-Source: ABdhPJy8fcbEbDT8RNWR//usYi0ul/CStS9yFX4fX4X1i0akAs306zpAA9prmx83fdgLH0bDFbkdlg== X-Received: by 2002:adf:cf0c:: with SMTP id o12mr29065841wrj.143.1628087129232; Wed, 04 Aug 2021 07:25:29 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id b6sm3222682wrn.9.2021.08.04.07.25.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 07:25:27 -0700 (PDT) From: Daniel Vetter To: Intel Graphics Development Cc: DRI Development , Daniel Vetter Date: Wed, 4 Aug 2021 16:25:13 +0200 Message-Id: <20210804142522.4113021-1-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/9] remove rcu support from i915_address_space X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi all, Next round with some fixes: - missed a conversion, 0day spotted it running sparse - missed virtual engines in the last patch, intel-gfx-ci spotted that too (except it was mostly filtered out by a bogus cibuglog entry, so took a while to realize what's going on). Old version: https://lore.kernel.org/dri-devel/20210802154806.3710472-1-daniel.vetter@ffwll.ch/ Cheers, Daniel Daniel Vetter (9): drm/i915: Drop code to handle set-vm races from execbuf drm/i915: Rename i915_gem_context_get_vm_rcu to i915_gem_context_get_eb_vm drm/i915: Use i915_gem_context_get_eb_vm in ctx_getparam drm/i915: Add i915_gem_context_is_full_ppgtt drm/i915: Use i915_gem_context_get_eb_vm in intel_context_set_gem drm/i915: Drop __rcu from gem_context->vm drm/i915: use xa_lock/unlock for fpriv->vm_xa lookups drm/i915: Stop rcu support for i915_address_space drm/i915: Split out intel_context_create_user drivers/gpu/drm/i915/gem/i915_gem_context.c | 86 ++++--------------- drivers/gpu/drm/i915/gem/i915_gem_context.h | 13 ++- .../gpu/drm/i915/gem/i915_gem_context_types.h | 2 +- .../gpu/drm/i915/gem/i915_gem_execbuffer.c | 12 ++- .../gpu/drm/i915/gem/selftests/huge_pages.c | 8 +- .../drm/i915/gem/selftests/i915_gem_context.c | 34 +++----- .../gpu/drm/i915/gem/selftests/mock_context.c | 2 +- drivers/gpu/drm/i915/gt/intel_context.c | 22 ++++- drivers/gpu/drm/i915/gt/intel_context.h | 2 + drivers/gpu/drm/i915/gt/intel_engine.h | 4 + drivers/gpu/drm/i915/gt/intel_engine_cs.c | 21 ++++- drivers/gpu/drm/i915/gt/intel_ggtt.c | 1 - drivers/gpu/drm/i915/gt/intel_gtt.c | 6 +- drivers/gpu/drm/i915/gt/intel_gtt.h | 2 +- drivers/gpu/drm/i915/gt/selftest_execlists.c | 2 +- drivers/gpu/drm/i915/gt/selftest_hangcheck.c | 2 +- drivers/gpu/drm/i915/i915_drv.h | 4 +- drivers/gpu/drm/i915/i915_trace.h | 2 +- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 4 +- drivers/gpu/drm/i915/selftests/i915_vma.c | 4 +- 20 files changed, 105 insertions(+), 128 deletions(-)