Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3433849imm; Fri, 19 Oct 2018 10:28:21 -0700 (PDT) X-Google-Smtp-Source: ACcGV63NoHmoJt1HoLOqDU+GJuAcihz5mfYwsGpkpphDncGd4Ce/unE7AYM3Kv+l2XAJ/Tre8Osx X-Received: by 2002:a63:e347:: with SMTP id o7-v6mr34078007pgj.251.1539970101717; Fri, 19 Oct 2018 10:28:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539970101; cv=none; d=google.com; s=arc-20160816; b=E9xBlxqXaxuoqAgKPFOJdjbigUlSdevj9OaglRVJ4oukxTz4MEGgEpparZSEkahqji HTIkKr3tnTO3RkcmPpcjPhwO2ccEXrNVuoR+J8Xki6hTnx9Ly3pslPveq96fApeqNGfQ Q1WWBaAeFOADNhroBQD567aY4P7TY2BVaANBURk8GYeMTNSEDPuhRNfU6DULB5QbdEKh NqRKtihi+AGzf+wXzOXc+1UA/OSAOF1eQyhCCP1IKqw5+j7wfnt5BUgAcoBYA2H6o1V+ e+FPdmQGxGRhC4PLj9pOtBLJrs/Fi49JiBMK8Ehp2Cw4WbfXOHSQNnQK4EB9x4OqBlbq a9EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date; bh=VPrjs7p9zPW9yP/r2aa2fay3palRbQVEmIkyHR+0yag=; b=iF8F+30HoVEg24RtOcGJLmbFhkJ0dBhrF0V5z1DhFecTI1cNYxk6SfpoNxMZFfA2IL DPqb09BXK2Y1YVXyaXlbTX8pSn9l6a0a8tDNxwU17fd+EoAtGMFXPX3I0jomHcWG+Ji8 FllvbFeLe4sKt/ct1TgpPaYfXwuEHui76+zQd2H07QzBKKwchElpXwBNCzRsnmHFdQBH 1bcjaEOEZf7sQVgiY+xxAqvdMLKYzIS6PfWHCa0u5JXfhsiKVhUioZPRKt8jioyzFXKy UDywQnOqhvo+/rbT93YfZ8oPrao9CGfHc7WBcTXOSlP/2EnPubMrvsau9GAzxQbFpzSQ Jykw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i25-v6si26384299pgi.426.2018.10.19.10.28.06; Fri, 19 Oct 2018 10:28:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727768AbeJTBek (ORCPT + 99 others); Fri, 19 Oct 2018 21:34:40 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:27217 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727549AbeJTBek (ORCPT ); Fri, 19 Oct 2018 21:34:40 -0400 X-IronPort-AV: E=Sophos;i="5.54,400,1534802400"; d="scan'208";a="282734461" Received: from unknown (HELO hadrien) ([132.227.125.15]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Oct 2018 19:27:35 +0200 Date: Fri, 19 Oct 2018 19:27:35 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Paul Walmsley cc: linux-serial@vger.kernel.org, kbuild-all@01.org, Paul Walmsley , Greg Kroah-Hartman , Jiri Slaby , Palmer Dabbelt , Wesley Terpstra , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Paul Walmsley Subject: Re: [PATCH 2/2] tty: serial: add driver for the SiFive UART (fwd) Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, It looks like an unlock is needed before the return on line 562. julia ---------- Forwarded message ---------- Date: Fri, 19 Oct 2018 18:12:04 +0800 From: kbuild test robot To: kbuild@01.org Cc: Julia Lawall Subject: Re: [PATCH 2/2] tty: serial: add driver for the SiFive UART CC: kbuild-all@01.org In-Reply-To: <20181018234352.26788-3-paul.walmsley@sifive.com> References: <20181018234352.26788-3-paul.walmsley@sifive.com> TO: Paul Walmsley CC: linux-serial@vger.kernel.org CC: Paul Walmsley , Greg Kroah-Hartman , Jiri Slaby , Palmer Dabbelt , Wesley Terpstra , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Paul Walmsley Hi Paul, I love your patch! Perhaps something to improve: [auto build test WARNING on tty/tty-testing] [also build test WARNING on v4.19-rc8 next-20181019] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Paul-Walmsley/dt-bindings-serial-add-documentation-for-the-SiFive-UART-driver/20181019-165529 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing :::::: branch date: 77 minutes ago :::::: commit date: 77 minutes ago >> drivers/tty/serial/sifive.c:562:2-8: preceding lock on line 558 # https://github.com/0day-ci/linux/commit/15d0af7ab79ba53f984613f23e668cade495babb git remote add linux-review https://github.com/0day-ci/linux git remote update linux-review git checkout 15d0af7ab79ba53f984613f23e668cade495babb vim +562 drivers/tty/serial/sifive.c 15d0af7a Paul Walmsley 2018-10-18 552 15d0af7a Paul Walmsley 2018-10-18 553 static irqreturn_t sifive_serial_irq(int irq, void *dev_id) 15d0af7a Paul Walmsley 2018-10-18 554 { 15d0af7a Paul Walmsley 2018-10-18 555 struct sifive_serial_port *ssp = dev_id; 15d0af7a Paul Walmsley 2018-10-18 556 u32 ip; 15d0af7a Paul Walmsley 2018-10-18 557 15d0af7a Paul Walmsley 2018-10-18 @558 spin_lock(&ssp->port.lock); 15d0af7a Paul Walmsley 2018-10-18 559 15d0af7a Paul Walmsley 2018-10-18 560 ip = __ssp_readl(ssp, SIFIVE_SERIAL_IP_OFFS); 15d0af7a Paul Walmsley 2018-10-18 561 if (!ip) 15d0af7a Paul Walmsley 2018-10-18 @562 return IRQ_NONE; 15d0af7a Paul Walmsley 2018-10-18 563 15d0af7a Paul Walmsley 2018-10-18 564 if (ip & SIFIVE_SERIAL_IP_RXWM_MASK) 15d0af7a Paul Walmsley 2018-10-18 565 __ssp_receive_chars(ssp); 15d0af7a Paul Walmsley 2018-10-18 566 if (ip & SIFIVE_SERIAL_IP_TXWM_MASK) 15d0af7a Paul Walmsley 2018-10-18 567 __ssp_transmit_chars(ssp); 15d0af7a Paul Walmsley 2018-10-18 568 15d0af7a Paul Walmsley 2018-10-18 569 spin_unlock(&ssp->port.lock); 15d0af7a Paul Walmsley 2018-10-18 570 15d0af7a Paul Walmsley 2018-10-18 571 return IRQ_HANDLED; 15d0af7a Paul Walmsley 2018-10-18 572 } 15d0af7a Paul Walmsley 2018-10-18 573 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation