Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3821136rdh; Tue, 28 Nov 2023 05:01:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IF/aubN97fi0qc2G/7CVbEXtXq/4aRxfIsUA8hmv226YR2JS7nIB86tgxntmCLYyNz0CC0P X-Received: by 2002:a05:6830:3154:b0:6d8:31d8:879f with SMTP id c20-20020a056830315400b006d831d8879fmr5432363ots.37.1701176517663; Tue, 28 Nov 2023 05:01:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701176517; cv=none; d=google.com; s=arc-20160816; b=fkI5NyfFkxvcSvM86IWQ84RSrumjF7im92LsBUklyw/foyVcPfv88Qul0u8u7WJf0B OGC59GEqavkjfziQBJMDXWTW6IUH23bgbh6BPP0hTJnR1wmEaR1RcWXutx+Lhd0Yt2CI 72zONvrOm+uBhoRvuDV8vnPThRfWwIIQUS3bQKrm6gUhJnkEzWgx840M81bF6M8J3NKg ftHeIGMRAGm/N0BpFFupmF1iZz9FEJu5FEqZv3q9y94BYsVijeFpP6MGdRJCVUW2BxdA ybDfAvqcyAkvkF93T4OWTNFFGM731R9IA0cD1x8QpGtlH7ET9Sq9ovNVYjYb58ioiJv3 QL/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=PWYxMz5qZCYQFIkWhOjrepNtI8m11pW27dSMrnFDOn0=; fh=+9B8pDoow6Ly8ty9RpPXS8A/F1KZ6NQ9Q2IODC05p7Q=; b=fIPB6Uc4SJqvVrm+0s+0usXMbviXDfaFAW7YI2ReR2FF4yayrO0psXaj3hd0vkHDdx Mjj9+CJrjvITKyk61LFdWewQ+7b28h5DvaKljYKcv73oPeruRLIpnOS52vqPmX5UJEz2 iXy0QP3xj2z1hwPc9P9/ZL1/IPyqm6D5pEhmJpvJEl6kOfAoSP9jh6XmcsQJA/SyCONc NWuEW0XndM2RzjFDCs0kEIuc54yxl1AcQWp8TbAfoi/B+vUIDPd+PdkeHsBzD8JBDHFy jx5EWuZ4tMxavX5rpNiZTJ+6MIGOHL5o4QRcJ+PQxbX1N9M9fiQcMyJuVmRkUBmnEoGK neag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cdiir+Q2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id w24-20020a9d6398000000b006d64e71b2e9si4560307otk.92.2023.11.28.05.01.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 05:01:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cdiir+Q2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 8EDCC81583A3; Tue, 28 Nov 2023 05:01:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344882AbjK1NBF (ORCPT + 99 others); Tue, 28 Nov 2023 08:01:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344901AbjK1NAy (ORCPT ); Tue, 28 Nov 2023 08:00:54 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 327C5D63 for ; Tue, 28 Nov 2023 05:01:01 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F530C433C8; Tue, 28 Nov 2023 13:01:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701176460; bh=eNb/d406xgQ2BUi6ZWkdGu1qWx39Tq+M5tbfHdAGKkM=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=cdiir+Q2TW0rww5fa2/2e3cP5h8izbrR0u2XfDnFsYv7xNcXKv/zbISEpF975L98H gCzb11396ZNw8/8C5bI36zQYP6vdovckqEu4YR2RhPzuFnLeEOmsgICtymjZ7vZx3u B07Tdmqis+Qih87D0jTXo/BE0/mjHHUq4QDKfRgmmopVgHLx9UJKKalGeENSM2Kd0I 1OZGS+Qmlc6ZeqHHqy7geTTNxMOWjjimOMq+p/0cS2UlBMyU4J4E4YdSw5aMW2qdZq M3TdpBqLzCmkNfzq+hPA5Kv5msr7cla0V6cRsuoM2dvL0ddLhNbiKp2AghqmsCzXT+ 3fgoEVnJ1sK8A== From: Maxime Ripard To: airlied@gmail.com, daniel@ffwll.ch, frank.binns@imgtec.com, donald.robson@imgtec.com, matt.coster@imgtec.com, sarah.walker@imgtec.com, Danilo Krummrich Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org In-Reply-To: <20231124233650.152653-3-dakr@redhat.com> References: <20231124233650.152653-1-dakr@redhat.com> <20231124233650.152653-3-dakr@redhat.com> Subject: Re: (subset) [PATCH drm-misc-next 2/5] drm/imagination: vm: check for drm_gpuvm_range_valid() Message-Id: <170117645847.2825698.6258484637580832130.b4-ty@kernel.org> Date: Tue, 28 Nov 2023 14:00:58 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 28 Nov 2023 05:01:51 -0800 (PST) On Sat, 25 Nov 2023 00:36:37 +0100, Danilo Krummrich wrote: > Extend pvr_device_addr_and_size_are_valid() by the corresponding GPUVM > sanity checks. This includes a, previously missing, overflow check for > the base address and size of the requested mapping. > > Applied to drm/drm-misc (drm-misc-next). Thanks! Maxime