Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5998610rwl; Tue, 4 Apr 2023 06:38:04 -0700 (PDT) X-Google-Smtp-Source: AKy350bnTV39x8SrwLPqIq7LZiwbqHAV0ya2kW5qjEvkYPTpse7wMzpxzh1ofrxVppjY6rIo/5OG X-Received: by 2002:a05:6a20:3aa4:b0:de:526b:f292 with SMTP id d36-20020a056a203aa400b000de526bf292mr2469094pzh.19.1680615484549; Tue, 04 Apr 2023 06:38:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680615484; cv=none; d=google.com; s=arc-20160816; b=DkZTfMTFXVu8eqyR7Xm5yP8noNsP5Uan4MAuShEqyp4rtiEi6kV/cbPwiaPuP5so4f omX8k5L2wQ4rNEqgzNjrQOafbZgVaWjMmefNCx8/d6NxIioQrTaRd9kZnMCGsV+Pivrn nRs4ks4e317Wa7SynO1yFbTAiARi2tHjf+oyoYN+8xOXfvHvNI4rcmPtS2hydQka+bA1 RsyxjOJIGD3BTUDMo0tL3c4MWW1yzlESRivo9bxqEMoL1WQ6MUAjDBBS68o3msvIKSqO QZXwVrrQfKfFHlspI587RrTM5wFCZ1uwLPVtB2e9s/Ajl+QAroevUtVKMFrMWkeYYNlI PruA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=EyWGdIjJQExkDiBV6jrIZk+Y5A91UCcEtrCzXgwfhdQ=; b=UIcGyMSm2PS7xmL0JSWVlPP7yqDjkf84UeNipu4G9BeKUO9ZIkQ05JY1ajgO7/WNAP FYSavtSKxroIv+8pr7r8ujZau4LtMuxFVZF3WvyCFQZYjrYh8W83KGDGobQny+RK1cr5 AY2P/k+o0T1VLxYQVq5Zp9N0Fnf2BgVY3LcjpDS9blSOrKViYimfyyxml3wS7qv6VWaF My3BP8fVsnf/BbJpjKzSh8YoL66qSv4gWBlZbyiIwhYSXjqR0b5nsJ+JC2yVntevK1Mk jhl5fY5UuPJWM1BNFGQCY5T38gBj6+DjfohPC+EuzRbfBR3y8D47UF9UKJuNSyApKZm+ G2lA== 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 y10-20020a63494a000000b0050c0549c4c8si10378455pgk.441.2023.04.04.06.37.52; Tue, 04 Apr 2023 06:38:04 -0700 (PDT) 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 S235125AbjDDNhq convert rfc822-to-8bit (ORCPT + 99 others); Tue, 4 Apr 2023 09:37:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234971AbjDDNho (ORCPT ); Tue, 4 Apr 2023 09:37:44 -0400 Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B04871AB for ; Tue, 4 Apr 2023 06:37:43 -0700 (PDT) Received: by mail-lj1-f181.google.com with SMTP id by14so14691681ljb.12 for ; Tue, 04 Apr 2023 06:37:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680615461; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v5oq7n3GlIXktxJklhqgcT1TTB67yDatIC7dGkiiCuI=; b=TfhK3BT+wiESZFacv4SnIzcMeWi9Cq2CSpYYklugqq6GXyCr3F9MqPCk3tvLmpNiay sOEBOQPuuvCALLXOmavjUgg6SilyUBkamDTnsuRaxGgC0Du7H2n3gsRPcx4E9R0DnOnE fg3ktVEmdQNvPOuaxP2BcP5tw8meOPURi4KBXKzgBcNnA1fWR/9/lsBHAohIbx92AsCR CklyTqJu9qHJwLgLxDL0ypXf9ScWfjW/HAzfQMd2t4pePjVcwkSzrnFrJgbjkFxg2yj2 LTQfpToJmZkO725MGPFYwA9sJV6bwt1eChmFwLKa1diAq751kPi4vN4yg4VU/lKzzGDO oXPA== X-Gm-Message-State: AAQBX9euK0D1yR27OV8ULTgHH1WGzbO52JvOy6fnDJi/Z/IYxSQLs7sT nJt1j6v3xeIT6O2/SdYIsyJYZRUdei3u1MFE X-Received: by 2002:a2e:9017:0:b0:29a:29cf:f01d with SMTP id h23-20020a2e9017000000b0029a29cff01dmr829773ljg.3.1680615461320; Tue, 04 Apr 2023 06:37:41 -0700 (PDT) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com. [209.85.167.51]) by smtp.gmail.com with ESMTPSA id w22-20020a2e3016000000b002a5faadb938sm2329284ljw.138.2023.04.04.06.37.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Apr 2023 06:37:40 -0700 (PDT) Received: by mail-lf1-f51.google.com with SMTP id g17so42436720lfv.4 for ; Tue, 04 Apr 2023 06:37:40 -0700 (PDT) X-Received: by 2002:ac2:5a01:0:b0:4db:266c:4337 with SMTP id q1-20020ac25a01000000b004db266c4337mr749742lfn.1.1680615459983; Tue, 04 Apr 2023 06:37:39 -0700 (PDT) MIME-Version: 1.0 References: <20230403160314.1210533-1-robdclark@gmail.com> In-Reply-To: <20230403160314.1210533-1-robdclark@gmail.com> From: Geert Uytterhoeven Date: Tue, 4 Apr 2023 15:37:22 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] drm/vblank: Fix for drivers that do not drm_vblank_init() To: Rob Clark Cc: dri-devel@lists.freedesktop.org, Rob Clark , Nathan Chancellor , Thomas Zimmermann , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter , open list , Javier Martinez Canillas Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=0.5 required=5.0 tests=FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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, Apr 3, 2023 at 6:07 PM Rob Clark wrote: > From: Rob Clark > > This should fix a crash that was reported on ast (and possibly other > drivers which do not initialize vblank). > > fbcon: Taking over console > Unable to handle kernel NULL pointer dereference at virtual address 0000000000000074 Thanks, this fixes a crash seen with the ssd130x DRM driver. Tested-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds