Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp641405lfv; Tue, 12 Apr 2022 00:43:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEwLEt7PlbbHBQ8pEkFtusb3WSBFaDH59lkWK1KtRLQkQKZrOCt0Ssjlcs69Ic0CSElPUC X-Received: by 2002:a17:906:9b85:b0:6e0:5c22:f0df with SMTP id dd5-20020a1709069b8500b006e05c22f0dfmr32554079ejc.114.1649749393283; Tue, 12 Apr 2022 00:43:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649749393; cv=none; d=google.com; s=arc-20160816; b=MBkQd/AzH5XzCXX7K1dxcgYf/+wXxEvNOT4Fz4briHiXvaT507ApcVIPflV7uddskH iov4IaD5uvwnCv5CFzG5glb8rSzpGN1lpSon/XOeNz+s0FfZ71LfKnjOszxBOPymRU/R HvDXR668g9eQxCvDWJG8FIyxGXKs1gomHBA4aPZMDpSVHxLlDmCD49vrysk4aAQUTe1O nCLn9yV62xVmDnf2q86OQRrp6yoaMY1x3RSXXKJrPenple5+49KuF7Vy8xKL+RKUeFCI W6Xo1wFUgjuig0t/JKsZqvL8PN4CPvli0qNr4LfD93tczAusN/vURlIupSS43eSZuhq1 9jzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=oO3gKMUvX749A0jVeOuTO8rfWxngzb9Uq1lafAPSmXA=; b=yIwKpLyN0d1vMHAH+ZpOTiiHIv0jhOku2q0qDeXW7s9tx1Tct6Dze7Z64Dqa4Nhjru zVKccvzr3NzskSstGa/Zq2TUalDu+MROTSeYG/ZdPYp0f/oUptmH8MaAb2NE1btzIzBc 4nSZWjwT/ZrLj9LkgSKBgiDj2lAIyqP+ZrhpR4hzIFftOR8Cr2rlTka8x7cgySngG2mQ oDS5Y9oCHx0OHF8Sb+qLpf82btRr40xHm/1Dnthw25o3d5kFYj8C7qrBNvL29wPh50wO u65/ciwTChYuvUzBEdBQSJo5LTS9Uunu4mN1z7+g4auU+1pz+zh6nkzcK64FJrGG9meZ Nsgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="BpgQjlR/"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m21-20020a17090679d500b006df76385c08si1370171ejo.168.2022.04.12.00.42.46; Tue, 12 Apr 2022 00:43:13 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b="BpgQjlR/"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233483AbiDJA7Y (ORCPT + 99 others); Sat, 9 Apr 2022 20:59:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233436AbiDJA7X (ORCPT ); Sat, 9 Apr 2022 20:59:23 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0B31E50 for ; Sat, 9 Apr 2022 17:57:14 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id u14so12027199pjj.0 for ; Sat, 09 Apr 2022 17:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oO3gKMUvX749A0jVeOuTO8rfWxngzb9Uq1lafAPSmXA=; b=BpgQjlR/I+sOoICjCyz8qJ207y4EFIqd2KCvjyDIzpyJm5pJnrplvQn+pSAjx1GypQ 5BQYcVInwD0QwIyRRYFUSZfUJqY23KlR6pU6MAWkZnOTkC4deqJx1R05NVcNxvLvkFcd YQw83Be8SXxNpauimLchPnOQJydC9huL3bzwItu1Qnms4oo6tCyEXAtLWJSI8Tk4udoK hYqpBrSMsMdq2NROmI5EmLLPQ2ylh3JOolWEnBxxwPabhZKrD9O15HD50jn04n0rx1Wb 9H/XqIGsMkGz8kayjlajGHiUEZeWQV66jqMEdfWo886y5RRUIzvDm8ZxgYbEYo9UPysp c9Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oO3gKMUvX749A0jVeOuTO8rfWxngzb9Uq1lafAPSmXA=; b=F0AYxJdYWrKEehaQUebS9MNUWWaWUBcvxiXGSr34bltM0hSOZIRg+WznEIvPGRkfWk gwXW6yynPx09XpgCz2RcOePlHG0Co/DxWJybG3Ej8zYWv0k4r5OcqNfXj99MuIZBHlmw 5I08SOreNtfCr93oJJiStgRN92OMuc8yYwWvpUiQdwf9Lw8MhP61uPezW1jm+SRFvS+/ fsp2Wzot8gBcUDUEbCMOiUiGrBVC0K65eazw2EMmqntSDdVfwL7LiSLMRs5TeJTiYVfi XDSMskvaPIBcJgbwJq4E6s9R90mGQPiwg5d+aWwatJRiZt4CvchdsVaC6QjopSUXR0ga JhCg== X-Gm-Message-State: AOAM532+6E/XF4EtoMUgTVrsqiQSAEXPx/XLGLYGLUEJ2BdraX0Lbbiz cfnEL+ZdjE/P2eHgiOa1ANo= X-Received: by 2002:a17:902:ea0a:b0:157:31:e828 with SMTP id s10-20020a170902ea0a00b001570031e828mr16739525plg.19.1649552234211; Sat, 09 Apr 2022 17:57:14 -0700 (PDT) Received: from octofox.hsd1.ca.comcast.net ([2601:641:401:1d20:172c:26af:268e:6e9f]) by smtp.gmail.com with ESMTPSA id l67-20020a633e46000000b003986e01e982sm25088215pga.67.2022.04.09.17.57.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Apr 2022 17:57:13 -0700 (PDT) From: Max Filippov To: linux-xtensa@linux-xtensa.org Cc: Chris Zankel , linux-kernel@vger.kernel.org, Duoming Zhou , Jakub Kicinski , Greg Kroah-Hartman , "David S. Miller" , Max Filippov Subject: [PATCH 0/4] xtensa: iss: clean up network driver Date: Sat, 9 Apr 2022 17:56:28 -0700 Message-Id: <20220410005632.3925219-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hello, this series cleans up ISS network driver and fixes potential deadlock reported by Duoming Zhou here: https://lore.kernel.org/lkml/20220409055135.54921-1-duoming@zju.edu.cn/ Max Filippov (4): xtensa: iss: drop opened_list logic from the network driver xtensa: iss: replace iss_net_set_mac with eth_mac_addr xtensa: iss: clean up per-device locking in network driver xtensa: iss: extract and constify network callbacks arch/xtensa/platforms/iss/network.c | 150 +++++++++++----------------- 1 file changed, 59 insertions(+), 91 deletions(-) -- 2.30.2