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=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 3C5F5C433F5 for ; Fri, 17 Sep 2021 14:47:35 +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 DE52E6112E for ; Fri, 17 Sep 2021 14:47:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DE52E6112E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com 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 2D8F86EC84; Fri, 17 Sep 2021 14:47:34 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 859686EC84 for ; Fri, 17 Sep 2021 14:47:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631890051; 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: in-reply-to:in-reply-to:references:references; bh=2rkt90TAydOsFexCe7JVTwkkB2M9YRQUiexnhQR/3k8=; b=JJiw/MFiKIaKL3+0LPJDdpjL9j8UXXF0rUTo61W652PZPdeqAbKQc0QHLYPPg+66HsGSN/ ud2Ts3X46Y56XIFGR4QnmwDJd9KFLX3sYVBR+qr8Dk8dF6rdvnvdu6oPYawrFo50kfkUUZ CXk4UOQGVPFQxnoCQhfii7RHiYjpeC8= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-55-iTzdmmyVOxmpI0LU8URX5g-1; Fri, 17 Sep 2021 10:47:30 -0400 X-MC-Unique: iTzdmmyVOxmpI0LU8URX5g-1 Received: by mail-ed1-f69.google.com with SMTP id h24-20020a50cdd8000000b003d8005fe2f8so5185102edj.6 for ; Fri, 17 Sep 2021 07:47:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2rkt90TAydOsFexCe7JVTwkkB2M9YRQUiexnhQR/3k8=; b=b4DIqFufOktnM0VjA2T59RRBBdRYa4SUN66c9q1G7en1/coJJ7ms3VR0lqjkz5Rw41 tL6fMATntta4+kuziZPSlCNcKbYkJFSw7PwZclfIBmRtKVCz6NxjO5R/KIp3k0nK/BD3 LS64Nz31DTwgONaAcw/ssqQVZLdG5QxkXcRtWJQaV55JEyLV6y8hqsazxvYiVPGAXuL3 jIexBoPOUYEcr5WZsye+rs3WmWwOfTDrOpczP2hW3btvLSm8blYNEn5lsp6Ov6jX5Owk APxoiRmKFU4zXN9eF9LuEFHfC3RNd6dtKM5irNxkyKh1Y4sgto8tldc6Bc24iQ6pbYJt sBOQ== X-Gm-Message-State: AOAM5309+MR54M1ZN6i658qITtyXn1++TsBqOZNcNBhqLMRvHJeJTdmI +223Iv/2pn4uA5BUOqnLQ8+bP9copgRttV1HcoIsSzRo1WlsxLimP8paRKWFAxm3XIVwtVeLSoZ s/qWps8hm0C3vzpeOaJA4tF0P9dGi X-Received: by 2002:a17:906:1484:: with SMTP id x4mr12480776ejc.72.1631890049208; Fri, 17 Sep 2021 07:47:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4o8+2RbXPY8KxUEewXmnpdKigR8Ox/d2GQyrWqeXxZqNeTarJKA4tZZWAIj8C+Y+iXHw+sg== X-Received: by 2002:a17:906:1484:: with SMTP id x4mr12480752ejc.72.1631890049011; Fri, 17 Sep 2021 07:47:29 -0700 (PDT) Received: from x1.localdomain ([2a0e:5700:4:11:334c:7e36:8d57:40cb]) by smtp.gmail.com with ESMTPSA id lv10sm2362640ejb.66.2021.09.17.07.47.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Sep 2021 07:47:28 -0700 (PDT) Subject: Re: [PATCH 0/5] lib: devres: Add managed helpers for write-combine setup To: Thomas Zimmermann , airlied@redhat.com, airlied@linux.ie, daniel@ffwll.ch, marcan@marcan.st, maz@kernel.org, akpm@linux-foundation.org, npiggin@gmail.com, thunder.leizhen@huawei.com, gregkh@linuxfoundation.org Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20210916181601.9146-1-tzimmermann@suse.de> From: Hans de Goede Message-ID: <9e5e73d1-bb7b-055f-8c48-a877a2e9c0fd@redhat.com> Date: Fri, 17 Sep 2021 16:47:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210916181601.9146-1-tzimmermann@suse.de> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=hdegoede@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, On 9/16/21 8:15 PM, Thomas Zimmermann wrote: > Add devm_arch_phys_wc_add() and devm_arch_io_reserve_memtype_wc() for > automatic cleanup of writecombine setup. > > Several DRM drivers use the non-managed functions for setting their > framebuffer memory to write-combine access. Convert ast, mgag200 and > vboxvideo. Remove rsp clean-up code form drivers. > > Tested on mgag200 hardware. > > Thomas Zimmermann (5): > lib: devres: Add managed arch_phys_wc_add() > lib: devres: Add managed arch_io_reserve_memtype_wc() > drm/ast: Use managed interfaces for framebuffer write combining > drm/mgag200: Use managed interfaces for framebuffer write combining > drm/vboxvideo: Use managed interfaces for framebuffer write combining Thanks, the entire series looks good to me: Reviewed-by: Hans de Goede For the series. Regards, Hans