Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1097758ybg; Thu, 4 Jun 2020 00:33:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBhLMW3K734Y4Bp6zt7fZ6n0zeHVjw7JXoJ4CkI8p1Sx1pNWqpLCQD3GnkjBywKPoH/8RC X-Received: by 2002:a17:906:e0cf:: with SMTP id gl15mr2814300ejb.501.1591256002299; Thu, 04 Jun 2020 00:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591256002; cv=none; d=google.com; s=arc-20160816; b=koOt23QYhl9//yw2WQv+nv4NFg9+vY1KLjU2veaZHHJ56gfVCGoIbc60M2GYPe5IEm Po3y8acGmmpGbMkzJXDY5w+bCirvIFykiSKRctJ4sndcgeH2w5CEZ+U00yXW+qPvYfhK XA13NuJhCqsCQDkyvJouWh2QaR9AamAbqirbLto1xjFam4rViqWn39TtVPYLUsg74wzc 58rK4QG1K2ofXynwLXQZCKvq1+BfK5MRiUlAs0Z4+LHN1IsNnmBs0Npi8gi4Fe+J6cPF YW0KH+PCojpHKVWcKY2MfxQK18Tfw+2fC4oaZvmbKSt+UrCKHyX2OLlRImKxMC4Hp2Jw LesQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=PcR+p2aqynDC6hdpbjatYKqB7lnaf2TVTcZxrW9wkJ8=; b=yaQ+sb+ns3ohcYKoWrgkcKGFTa7AsgPAvjqo+d7jJQMvrTZeVqCmmeessVzy1LYr4o qzGlBheOcibf+8Umu3FASr+7+HVLo/D1oIaPsdUVYFEkWx2nzVUyfMZM1T6l+6eo+4N0 cfrJLj9FmUkNYIDhs6W0NdSnj+lFF7Vh92qeqHp6uE7tqVGD3/Gtj1IQbB3rfANC2qCJ BrcQVdWtGWDxGz8SGT09FIA2mIjosicpSAHlmH5kn7362jxLzvPlLo/D2Ay5DJZ7UFpi jSBkZNvGv+Fux5wckcV3+NYWIPCEZe+IKMQGt+sW/8qeEJbmlpilU4Wu2ky5te7kITSw VoHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=Zb0a4IXz; 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 dt16si1620513ejc.525.2020.06.04.00.32.59; Thu, 04 Jun 2020 00:33:22 -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; dkim=pass header.i=@ffwll.ch header.s=google header.b=Zb0a4IXz; 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 S1727105AbgFDH2r (ORCPT + 99 others); Thu, 4 Jun 2020 03:28:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727829AbgFDH2q (ORCPT ); Thu, 4 Jun 2020 03:28:46 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8534FC03E96E for ; Thu, 4 Jun 2020 00:28:46 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id l10so4882554wrr.10 for ; Thu, 04 Jun 2020 00:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=PcR+p2aqynDC6hdpbjatYKqB7lnaf2TVTcZxrW9wkJ8=; b=Zb0a4IXzLUSWE7c899RieIrz2yAeS7PSFSlKymHYfU6bYWdWQ4N/biWdxEFx320+Lu Tm2SwDP3Zf3dT++Y45bxahozjksznuodBEVCDX3ty4vYumG0MjH5rhcZf7dQ81Bnzc/J SUdbNZ9d7/H4Q7YOE1kd2VefVYRBii3eihoKo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=PcR+p2aqynDC6hdpbjatYKqB7lnaf2TVTcZxrW9wkJ8=; b=ehjBhh87x+3KF3n5tSXJhMuKJsDXCbwX0FTkZKTMtNC87PrhWHTPGeVZDpUkVyBg/a 6uMVjRjRTlHGO/Atd4FdWe0emaFCEOMUgRPYNzsD3n6KaXkyYRtSrzaJi5IjEyYbdO3w ZVXYVzzfMOixS5ZFLBzWJVlIGRly/kw6ivBXnCh+8HlgPuYqgNfQA1gKYKTe4j/LD0mq LCVGi5XkMw7KVvZ+CHQWZBAyrq/PrNW/zcIDlJXN1JiCDzNr5myxSrvO9Q1p8tprqFY8 7kuuE4WLKJsVtfrorCPzp2O2f0laJRvyNv80YW7bRAVoxwoZ5QxGPjSDwIs7732sGO4W JHFg== X-Gm-Message-State: AOAM5321JDHSCcoPWLFXCvY7ZBSHAkwbzdUjE4APEnoR3uCazd8HP4pS Uo7lzmUn0pk7ZRaja2Ec6cvXLA== X-Received: by 2002:adf:e58c:: with SMTP id l12mr3056955wrm.34.1591255725227; Thu, 04 Jun 2020 00:28:45 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id b8sm6876269wrs.36.2020.06.04.00.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jun 2020 00:28:44 -0700 (PDT) Date: Thu, 4 Jun 2020 09:28:41 +0200 From: Daniel Vetter To: "Ahmed S. Darwish" Cc: Peter Zijlstra , Ingo Molnar , Will Deacon , Thomas Gleixner , "Paul E. McKenney" , "Sebastian A. Siewior" , Steven Rostedt , LKML , "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: Re: [PATCH v2 0/6] seqlock: seqcount_t call sites bugfixes Message-ID: <20200604072841.GR20149@phenom.ffwll.local> Mail-Followup-To: "Ahmed S. Darwish" , Peter Zijlstra , Ingo Molnar , Will Deacon , Thomas Gleixner , "Paul E. McKenney" , "Sebastian A. Siewior" , Steven Rostedt , LKML , "David S. Miller" , Jakub Kicinski , Eric Dumazet , Jens Axboe , Vivek Goyal , linux-block@vger.kernel.org, David Airlie , Sumit Semwal , linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org References: <20200603144949.1122421-1-a.darwish@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200603144949.1122421-1-a.darwish@linutronix.de> X-Operating-System: Linux phenom 5.6.0-1-amd64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 03, 2020 at 04:49:43PM +0200, Ahmed S. Darwish wrote: > 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. I'm confused on what I should do with patch 6 here for dma-buf. Looks like just a good cleanup/prep work, so I'd queue it for linux-next and 5.9, but sounds like you want this in earlier. Do you need this in 5.8-rc for some work meant for 5.9? Will this go in through some topic branch directly? Should I apply it? Patch itself lgtm, I'm just confused what I should do with it. -Daniel > > 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 -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch