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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1501CD4F3A for ; Fri, 22 Sep 2023 08:29:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232589AbjIVI3z (ORCPT ); Fri, 22 Sep 2023 04:29:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231814AbjIVI3y (ORCPT ); Fri, 22 Sep 2023 04:29:54 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E49DDCA for ; Fri, 22 Sep 2023 01:29:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695371343; 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: in-reply-to:in-reply-to:references:references; bh=xUT8FtJmdwXZ1XdzLxxJQDSF0F15AqqVAfggCoYwa/o=; b=JQjm1m5Y6NdPRz6o1+yrBAU9eudVCHhMq9LCtrhYC4kEIyOPB2ngin6g7Q1rSkuiUj6wXV JJBVMVDmoN0/qwDBLv8lF5mndDx8wylqRtTAOwCuOle9tXPaSZJIzdjNRXPqmK3PAzUJsj oruXWwnndZpEeO3LjQDJABQyWqGTM3o= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-472-t3zhO7hePPiNAAB54NK8rg-1; Fri, 22 Sep 2023 04:29:02 -0400 X-MC-Unique: t3zhO7hePPiNAAB54NK8rg-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-40526a782f7so14588155e9.2 for ; Fri, 22 Sep 2023 01:29:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695371340; x=1695976140; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xUT8FtJmdwXZ1XdzLxxJQDSF0F15AqqVAfggCoYwa/o=; b=k00OIseXEZlNoaxZIoV94l2ck2P+L6AwIQlBGYyF/B0gCwRBnuwWeFAQ8fYbC1r5He 6tSMK2dQnbSb6yU82KWD+ZtO15AO836qoBrrr4/cCopoPgCxTRNdtiiH/+zZA5cL4Oh4 Rsuzs3Oz5hZzibz7VBuk5mKJa/yUAD1UJmo+UTfzgps8DQsXd+48fWKYBazd2tXaVIBm 9WoC6k3goTCwVToUJHIGeSYUmG9+8h7fIIzOnYjYcJHIRJd/Pe5HIA2OffhPd+eLmI7e Dk2lHNq++pnM3oGBV5uSTGwJVXB0GgraYeZReTFGkY+e03UtB6T0uYQIRGfcXLo1Gi+E fInA== X-Gm-Message-State: AOJu0Yw/dQ6jMX9q3NR1xLzFlwoVly2PmUzesa37GV3jBVqwXH6FxbsM CPyanBvTbirLP3ZyjAbssInDcOMO+cJ6sxsqN0sdYREMPgs+ZBtmTA3ogq+jAp5OgBc5KO/ptQZ +T4MjCBwC8Fv7oX6f51ZzDuyWUeRZ7w== X-Received: by 2002:a05:600c:1e0b:b0:405:4002:825a with SMTP id ay11-20020a05600c1e0b00b004054002825amr568115wmb.13.1695371340717; Fri, 22 Sep 2023 01:29:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGrR9BIVVw8Y2WgBOUvl/XqDvvu2Yb9s8zAvf4Vn3nfvNA1NNc3OCwyRPJ1UY+bCHomzJ5jcg== X-Received: by 2002:a05:600c:1e0b:b0:405:4002:825a with SMTP id ay11-20020a05600c1e0b00b004054002825amr568100wmb.13.1695371340371; Fri, 22 Sep 2023 01:29:00 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id x14-20020a05600c21ce00b003fefcbe7fa8sm4004012wmj.28.2023.09.22.01.28.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 01:29:00 -0700 (PDT) From: Javier Martinez Canillas To: Thomas Zimmermann , mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, arnd@arndb.de, deller@gmx.de Cc: linuxppc-dev@lists.ozlabs.org, linux-fbdev@vger.kernel.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, sparclinux@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arch@vger.kernel.org, Thomas Zimmermann , Geert Uytterhoeven Subject: Re: [PATCH v5 2/5] fbdev: Replace fb_pgprotect() with pgprot_framebuffer() In-Reply-To: <20230922080636.26762-3-tzimmermann@suse.de> References: <20230922080636.26762-1-tzimmermann@suse.de> <20230922080636.26762-3-tzimmermann@suse.de> Date: Fri, 22 Sep 2023 10:28:59 +0200 Message-ID: <87wmwik3w4.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Thomas Zimmermann writes: > Rename the fbdev mmap helper fb_pgprotect() to pgprot_framebuffer(). > The helper sets VMA page-access flags for framebuffers in device I/O > memory. > > Also clean up the helper's parameters and return value. Instead of > the VMA instance, pass the individial parameters separately: existing > page-access flags, the VMAs start and end addresses and the offset > in the underlying device memory rsp file. Return the new page-access > flags. These changes align pgprot_framebuffer() with other pgprot_() > functions. > > v4: > * fix commit message (Christophe) > v3: > * rename fb_pgprotect() to pgprot_framebuffer() (Arnd) > > Signed-off-by: Thomas Zimmermann > Reviewed-by: Arnd Bergmann > Acked-by: Geert Uytterhoeven # m68k > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat