Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp560893ybg; Wed, 3 Jun 2020 07:52:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPG7X8//KwzTDmiQCOlnRde+xSVbQDoDlfw7muxDoLpYtehkNRO3EtOdOX7IjIVRMpNOBP X-Received: by 2002:a50:b0c3:: with SMTP id j61mr13758554edd.349.1591195967239; Wed, 03 Jun 2020 07:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591195967; cv=none; d=google.com; s=arc-20160816; b=Vx8Oo3T/BN+BF/DHsLVhn9aSVlV1VvDNBpOOGdzTTUzTpQZDVmaMtA0lSVuLzjBPZM gn+Qn2tV43sFHaNR+FMTBL2062XtN6uPod7bdt0NMLkWurbZXCEJSQOUHEO+0rSLZMS6 y0H7H0gDUj7sko+0oMDW9IQz5ADIQLErCGZ+9tFGUmhGz4Mtb2AHu3q9GRg+PfGH7j0W NaGDoRsG0em2Qpfcg+7jK5zLtR1DF0mYaPDQUQVwU+vqTrgd78m1ohdTaaRWyK3mf4Kq i/DsLXxl4zkNzqpNeiSIQtdnErYrpfVHq0aZ+90hU4fj1fSXj9U8MVUNkhcxB4hOUEXC Uj+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=QNTj5k92zGv/Ie75D8TfgzYYRzvVhyndauwpybHgFls=; b=a/pqx4Lvihq2/P72ssfsYe5J0jkPAeMRG/Gsz9cuugv4BgjwU95EXbAZnzb8ROKwf8 /Zg80jFHOom4Sn8KVVLz0xZs+/WdVTTw+9PAuuqxsoUTqkJrHKqHNr4CfJo3AtkGiloy mLaVV8BznjK5iXWnb+jv2wx9ZG381tYnKKUrh8urF/ZBlIcx9EREo9q5yqGg8rBAMNpv zNbR+gIxvjCdVIoKQyKryo+O+lBNNz34y45mllDI/KjdT8wSYwaVMhr9JIkYZWPhRpll WN0Rl9dfL+VGgJXRdlDDD+bZZpRuTFhsXq8QAjRDyQwluSgeYR9+pLLuH/ekEGVQhB6+ uvXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z3si1391755edj.437.2020.06.03.07.52.24; Wed, 03 Jun 2020 07:52:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726363AbgFCOuO (ORCPT + 99 others); Wed, 3 Jun 2020 10:50:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726229AbgFCOuE (ORCPT ); Wed, 3 Jun 2020 10:50:04 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C5C8C08C5C0; Wed, 3 Jun 2020 07:50:04 -0700 (PDT) Received: from [5.158.153.53] (helo=debian-buster-darwi.lab.linutronix.de.) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1jgUiE-0001uB-Jj; Wed, 03 Jun 2020 16:49:50 +0200 From: "Ahmed S. Darwish" To: Peter Zijlstra , Ingo Molnar , Will Deacon Cc: Thomas Gleixner , "Paul E. McKenney" , "Sebastian A. Siewior" , Steven Rostedt , LKML , "Ahmed S. Darwish" , "David S. Miller" , Jakub Kicinski , Eric Dumazet , Jens Axboe , Vivek Goyal , linux-block@vger.kernel.org, David Airlie , Daniel Vetter , Sumit Semwal , linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH v2 0/6] seqlock: seqcount_t call sites bugfixes Date: Wed, 3 Jun 2020 16:49:43 +0200 Message-Id: <20200603144949.1122421-1-a.darwish@linutronix.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Since patch #7 and #8 from the series: [PATCH v1 00/25] seqlock: Extend seqcount API with associated locks https://lore.kernel.org/lkml/20200519214547.352050-1-a.darwish@linutronix.de are now pending on the lockdep/x86 IRQ state tracking patch series: [PATCH 00/14] x86/entry: disallow #DB more and x86/entry lockdep/nmi https://lkml.kernel.org/r/20200529212728.795169701@infradead.org [PATCH v3 0/5] lockdep: Change IRQ state tracking to use per-cpu variables https://lkml.kernel.org/r/20200529213550.683440625@infradead.org This is a repost only of the seqcount_t call sites bugfixes that were on top of the seqlock patch series. These fixes are independent, and can thus be merged on their own. I'm reposting them now so they can at least hit -rc2 or -rc3. Changelog-v2: - patch #1: Add a missing up_read() on netdev_get_name() error path exit. Thanks to Dan/kbuild-bot report. - patch #4: new patch, invalid preemptible context found by the new lockdep checks added in the seqlock series + kbuild-bot. Thanks, 8<-------------- Ahmed S. Darwish (6): net: core: device_rename: Use rwsem instead of a seqcount net: phy: fixed_phy: Remove unused seqcount u64_stats: Document writer non-preemptibility requirement net: mdiobus: Disable preemption upon u64_stats update block: nr_sects_write(): Disable preemption on seqcount write dma-buf: Remove custom seqcount lockdep class key block/blk.h | 2 ++ drivers/dma-buf/dma-resv.c | 9 +------ drivers/net/phy/fixed_phy.c | 26 ++++++++------------ drivers/net/phy/mdio_bus.c | 2 ++ include/linux/dma-resv.h | 2 -- include/linux/u64_stats_sync.h | 43 ++++++++++++++++++---------------- net/core/dev.c | 40 ++++++++++++++----------------- 7 files changed, 56 insertions(+), 68 deletions(-) base-commit: 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 -- 2.20.1