Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp4513433pxb; Sat, 5 Feb 2022 16:47:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+lVJ87jw8n5fJAhw85EoP6VtsOblJZp4ie+gW16l3u01Qeb4GYYd5c7gj9CofsOOM/Xd2 X-Received: by 2002:a17:907:c0c:: with SMTP id ga12mr4857970ejc.592.1644108464331; Sat, 05 Feb 2022 16:47:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644108464; cv=none; d=google.com; s=arc-20160816; b=IT93A7JamAbK6CXhdV/pP67Ru46RiHy3N/HAMzuwc871TqSIn3PNQzXlwjueXZ2WCw WA5Kgy6bUiCokY4HT3rh8cahzzcmrM20zKS3oF8uliwj74D0km955XV9oJ68o3amEgtk 0NXgS6a7J98HsoRbU/XfmJ5gLm6zx1h6ORLS/nT5/uZqn6bslMREfdt0dVGR8+tn/A9S MGrvrxfX1MK1hvuXWLFiqXgqm0qiJi/+iGz4Pe+InrklaB5CKofumKbLI2RacEzmHyj8 A30ASJrMSmMk2z9NdrsTPp50ch2TeBCMDSoBYiRvfsVwisb5AsbbarYc4PKx8Zgt3vwz 5QBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=4gBoBap8+njHKzcJECWF4nMoCNJ4jSM2JE6fyGOPigI=; b=aA8P2MzXd2DdCeaEuPzBDkiFt+czxFDQPriYCEFd+YFSGeasUoxp7GoLPAlHRDtheC CauabyeTfJo2IdpxIDt4d1+D0b7dna/1x5okVUSJGZX42I8A8rA1njFrgi/npS2nN7Ux qv8hQdYcdhu9gJK4bGW/wx8Qxx9FvwXO4aH6+YphgNp+RF4z1pDWUEH085kTRZvvlwG8 I/P9QPp81mE2m0cPbnVnxSZ9jHgHsLMaUJSptZuTYrdzSkOV1XXIpbqfUvm7xl9bAONy Eeld+4QGFhjliiqtyOhGk/ggrJ6MOltxMtblRwNU5OuwMh7xoA24XrPNtHMYJEtoSljJ njZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d18si4096210edt.644.2022.02.05.16.47.20; Sat, 05 Feb 2022 16:47:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348376AbiBFAnw (ORCPT + 99 others); Sat, 5 Feb 2022 19:43:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244400AbiBFAnr (ORCPT ); Sat, 5 Feb 2022 19:43:47 -0500 Received: from mx2.smtp.larsendata.com (mx2.smtp.larsendata.com [91.221.196.228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39D7FC061348 for ; Sat, 5 Feb 2022 16:43:47 -0800 (PST) Received: from mail01.mxhotel.dk (mail01.mxhotel.dk [91.221.196.236]) by mx2.smtp.larsendata.com (Halon) with ESMTPS id 3e0f2c91-8538-11ec-ac19-0050568cd888; Thu, 03 Feb 2022 21:28:34 +0000 (UTC) Received: from ravnborg.org (80-162-45-141-cable.dk.customer.tdc.net [80.162.45.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: sam@ravnborg.org) by mail01.mxhotel.dk (Postfix) with ESMTPSA id 42F4D194B78; Thu, 3 Feb 2022 22:27:34 +0100 (CET) Date: Thu, 3 Feb 2022 22:27:31 +0100 X-Report-Abuse-To: abuse@mxhotel.dk From: Sam Ravnborg To: Daniel Vetter Cc: DRI Development , linux-fbdev@vger.kernel.org, Intel Graphics Development , LKML , Qing Wang , Daniel Vetter , Helge Deller Subject: Re: [PATCH 07/21] fbdev/sysfs: Fix locking Message-ID: References: <20220131210552.482606-1-daniel.vetter@ffwll.ch> <20220131210552.482606-8-daniel.vetter@ffwll.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220131210552.482606-8-daniel.vetter@ffwll.ch> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 31, 2022 at 10:05:38PM +0100, Daniel Vetter wrote: > fb_set_var requires we hold the fb_info lock. Or at least this now > matches what the ioctl does ... > > Note that ps3fb and sh_mobile_lcdcfb are busted in different ways here, > but I will not fix them up. > > Also in practice this isn't a big deal, because really variable fbdev > state is actually protected by console_lock (because fbcon just > doesn't bother with lock_fb_info() at all), and lock_fb_info > protecting anything is really just a neat lie. But that's a much > bigger fish to fry. > > Signed-off-by: Daniel Vetter > Cc: Helge Deller > Cc: Daniel Vetter > Cc: Qing Wang > Cc: Sam Ravnborg Acked-by: Sam Ravnborg