Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15080706rwd; Sun, 25 Jun 2023 09:44:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ41SA3m1ECQWV7BcPiCgkkzV2YzYq2OQr5lSP0LjD9oT6Prlx+7nIhqU+N26RrGyHh646qA X-Received: by 2002:aa7:d157:0:b0:51d:972a:aa20 with SMTP id r23-20020aa7d157000000b0051d972aaa20mr1040707edo.16.1687711489162; Sun, 25 Jun 2023 09:44:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687711489; cv=pass; d=google.com; s=arc-20160816; b=1Lr9E22APG7sd96euvVCtj5oWydr6eETRtZhgQ8HYrcqWYL3ACkU3x2i0R/JhTtKBR PnlD3UgR7LS5jzl5XSa2WV+E771O9IwnN9T2LscBePpBUJfpB1KDA2sUwM3CuqYkhSMl udVwZCyLlzr1IaMm/0PciUrGPH6vK32/JyR2x8TxyqbYM7erp4jufIQrU/5+smK3+eBb kpHPFrzseVXCpZIFPy+xiPcGiX7vVO3n4CiYXEao7uT/8rqPLDP6r8wf7dVsh77aLuJc +TGKQxEBebHHuBmxOxj7dlrD9RE5Rgv8rE2pU5BP/+/s833ZSDMrSKBFPvKJHLPb4kGB k9yg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=mGZTnvMo6Po+M8u/HPP2Kmqw5w4BvrHq5tLOfQt0o4I=; fh=goxOQwHSVfXxuK2efD3EXk59cUiE2RWwIJyvb5I4TUM=; b=hZIBYZ7WIFn5CVBWFR9aR+X9U62+yzpT3gSLC3GghpwckXo1xMA2lDZPholS8SR/ow dZpEeWQk0iDQTQRurm8wne/eK6Qans4r1dyI3XnHwHQJlTYbRvtiJnDq3Rh+BH3Wzpus kLuRe5po05PzHVq4lf4lYIql0oWwSZFGLFyjqZR4Kd55H9EB8O4VlJXO+Vb3BdMSqHI1 UKa8Kidj+v+8OlgerGY+XT0mcsrbAyDa9IP4IQ2gK9FjCG7TiCwj+TGMqfnR72j7owsH iNRaXHkDq63RM9kU6pnQDpJv+CC7bwl3LDVyAAQ+m0LS2dGXSQoPsR82Cd0YFvq25sxr 8oJQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@connect.ust.hk header.s=selector2 header.b=JOFaKIVG; arc=pass (i=1 spf=pass spfdomain=connect.ust.hk dkim=pass dkdomain=connect.ust.hk dmarc=pass fromdomain=connect.ust.hk); 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 l6-20020aa7d946000000b0051be5174b2csi1814895eds.433.2023.06.25.09.44.24; Sun, 25 Jun 2023 09:44:49 -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=@connect.ust.hk header.s=selector2 header.b=JOFaKIVG; arc=pass (i=1 spf=pass spfdomain=connect.ust.hk dkim=pass dkdomain=connect.ust.hk dmarc=pass fromdomain=connect.ust.hk); 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 S229879AbjFYQXI (ORCPT + 99 others); Sun, 25 Jun 2023 12:23:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjFYQXG (ORCPT ); Sun, 25 Jun 2023 12:23:06 -0400 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2094.outbound.protection.outlook.com [40.107.113.94]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1F39A8 for ; Sun, 25 Jun 2023 09:22:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bAL7/HMhFLGHp8YTE5rkVwwrSPPpyaCFBvo0vH7odywq6xrEEuJIrj0QjgarHhSgRiG9r20mCJdbosFikbUxElwci8m/o+e7u2ScrMbBwQ8TN3TRU4EiEk9CGG6HC3XHF8qgekpDB4DGtELwi7h6GJSP1+VYJLXmsUcgkPdq+C3zXBM7IM0ndQSY1LOjAiYrAfnmZXCT974qKmcRuugmnH0TLiDqaSR4lZo3vwhznAq//S4h47pZQIHtZpLbHVUVmWS8h8LRsvmYp3DJcYLbKWKG0SbFfLSD2I52EnvktW2n5JilhaBXow5UtiTwzqkApvSdzbJgUFJBZmNM/vPhuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mGZTnvMo6Po+M8u/HPP2Kmqw5w4BvrHq5tLOfQt0o4I=; b=NksagqynyDp/FsgjFf57KFL0mcfJmI/d5dIGJEzZZG8ULqYb8T5bXimVkqgiHoPPa/D816xUEC1d/4HQ7wzAG5tX0wBY4GoTkoRCRiGHv19DQKoUB991hMe6Sdii/EspfCzlCWbyWXDImrliucWAvZT8ND62TLWCqBQY8IWMyl8At0Bb3TWOgrm87NtylfKu06cfyJtD5aBXonf3C3bl+Ssg1A83/NkAIDi7acnAic360OD92NK17lxURmeXRVXeKMYzeONyijXcJLdqHEMuIJv7zayJGTvDyYA5Emq+e0sW0Kty8p+L9ApNMrdPq58OCERaOdGkn4lJNHyx5h+/OQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=connect.ust.hk; dmarc=pass action=none header.from=connect.ust.hk; dkim=pass header.d=connect.ust.hk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connect.ust.hk; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mGZTnvMo6Po+M8u/HPP2Kmqw5w4BvrHq5tLOfQt0o4I=; b=JOFaKIVGMKFMQc02P0R5l9E/dALB99Pl6fofbgTAn+6/Kgjm/6kl41bqd1pwsrwHedEjVqGgk2Ukr0GWPMWAQc0WqwAyIHpLx9Dc5ZCSuSQdOSAFb1a4UiqBlKwuYppNFoyvteMVQKLpZvGuCjsmeFhQ2LHBHj3u3W4JTXaDpPY= Received: from TYCP286MB1188.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:b7::8) by TYWP286MB2731.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:24e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23; Sun, 25 Jun 2023 16:22:57 +0000 Received: from TYCP286MB1188.JPNP286.PROD.OUTLOOK.COM ([fe80::b429:5aa3:12f1:6b8]) by TYCP286MB1188.JPNP286.PROD.OUTLOOK.COM ([fe80::b429:5aa3:12f1:6b8%4]) with mapi id 15.20.6521.026; Sun, 25 Jun 2023 16:22:57 +0000 From: YE Chengfeng To: "perex@perex.cz" , "tiwai@suse.com" , "pteerapong@chromium.org" CC: "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH] ALSA: aloop: Fix &cable->lock deadlock issues Thread-Topic: [PATCH] ALSA: aloop: Fix &cable->lock deadlock issues Thread-Index: AQHZp4CrxJ87x2u0IEK4c5YXsaGunQ== Date: Sun, 25 Jun 2023 16:22:56 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=connect.ust.hk; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYCP286MB1188:EE_|TYWP286MB2731:EE_ x-ms-office365-filtering-correlation-id: 578704a0-cdd4-4c2f-184a-08db75986f86 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: RGkTURwOkLPlH7waGtLhCaHczWEXLkhvU5WL++OoXcXIB3jECx5unPdKorv+o536o9zUOTL5tF5BXsqH2fMXKbpPzDVuTOlol+mWb+2oz/psIIg5xedKCt6wtHoGErgiXfwE+4bVk54GyrhfCui1wzA1VGe6BxHAG7Szj/HmP8md2z/PrOwwz6H6yvb+D3IIjpjUVTOcpZZiuLjC6C5yWUUI8S7pAp5v2BLqzz9dbolgb154VNrSHrHRT5JrmRwKcrzzHkwdSnEFpWgqmX9tUbEzo4ecnYWzGT4VXcNEXlqRnIJlISj58jE8E+gOnaqBFVYT6q7c/Dpc8vQalpQdZzewJMEnN91IeRnaWOKikz99vTAKp8PTFLiBq56+fJYklRkitlibpGubdgxwyO9K5W92lZN+yOD31HR9mjWZIEUKTf38YzgJJ+SPp82QEwQVbFpz0UYAiCx39vaifXPaCPlYIfPmWdPAV7bsqvnw/zT/8l7AmUgus3yOMxrB3s9WsQ0wBWNgo4C03OjDrgXL7Y6KeO6VY+syDBEEKPrxudkXlLgyrGv+h9j0RnP2HhxDD58odPj6QCm7mN9+oBh6+zx/mtxm4kSTonH+gxFEdXBFB1t1dgUqkO/g5nZySVxl x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCP286MB1188.JPNP286.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(39860400002)(396003)(136003)(376002)(366004)(451199021)(33656002)(52536014)(5660300002)(41300700001)(316002)(86362001)(66476007)(66446008)(8936002)(8676002)(55016003)(38070700005)(64756008)(66556008)(4326008)(38100700002)(122000001)(76116006)(91956017)(786003)(66946007)(26005)(6506007)(2906002)(9686003)(186003)(7696005)(71200400001)(478600001)(83380400001)(110136005)(54906003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?gb2312?B?NHV0a3NUempBRlkrQ0ZGcWovN05jTnN4QU0zUFBPMGhMZmxYUkhJMHk0YTRG?= =?gb2312?B?c2YxUHJ5MXlDN1VhQ1oxMTdNR0hoNXEwaXpOQXNGT2pzSXdBS0ZDeXI3RVln?= =?gb2312?B?UTVKSkhNdU0yNmp6NEdrTG5ERWs4dDlDL1h6RFlKU09NZVI4bTc5ckZjTHMv?= =?gb2312?B?NTJKclRvV21YbWR1M2REMzBvOTAySDlhMjZRTW9XY0JobDRFTkRTS2pFWGFD?= =?gb2312?B?Z2l4M1NVYUROejBLK1I5UjNUaXBWbEpQaXowK3JYenMzWmdLQ0VMdVBxbEVp?= =?gb2312?B?SzFtblFUMjhhQ3NzOFFadSs4cTRQVmxPR0RJVTBSNXZHMDJqT0lxMHF1NEJK?= =?gb2312?B?ZmFsL0w4dDhnZmJpV0VRYmN3N2NDMW5YMk44RjVQUTlmRUVmQ0FPOHVaV2tB?= =?gb2312?B?QU9jUnV3T0lHY2cvMzd0V2NvSUhoSmJPdUZqNU1xajZDWEpveGp0a205dWNN?= =?gb2312?B?RTlhTVVXZmdLdTQ5RGpFQzYyaitzNlRxRU5PcThydDE5b1hVTEx2RHA2WlFw?= =?gb2312?B?TzhyT2hYVnkxOUw3cUJpbWlGSExIK3VZU0R0M1hLaGI2emxxT3cvckFmS0dH?= =?gb2312?B?VWc3emVOTGNOWk5NZTZpUmNaMUwremhZTk1RMStPRTV2QmprVWd0NjlvaU9y?= =?gb2312?B?WDRXWWZUVmdqMit3SnJHem52SXJxUWh5WDFIZ2J0SzRKd2laQ0dIOUN6Zlhh?= =?gb2312?B?ZU4r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?B?UUdyUHluN2Vsbnc3SVZnTzdnZndJemhXeXdDa0lMdkN4cmk4c0pyZmgrUE9H?= =?gb2312?B?cGJRZWNldlMxb0tmYkM2WkljeCsydy8vSXNqTTd3SDlhY0VIOUQ5bDN3SDZI?= =?gb2312?B?TG0yd2tja01NQ0FCdzgybjM0NXdsZDFkK1oyYmVpdEs3aUwxeG4vRXpseVhB?= =?gb2312?B?UnpEVTMxRDlteEFjdG1ySnoyVno1SnI4MUNSNzdqYXk2Wno1OHV2bGE1ME9L?= =?gb2312?B?c29LQU9OWitNQ2h2ei9RMjRZUFVtdnFWSk5aYmQ5THpKaTZXTklnN25qcE5I?= =?gb2312?B?YjhTdnR0K3dlb1ZENVFNakR5QTk2aTNCYUliaUlRbEF2QVZMTm9qK2swdVBP?= =?gb2312?B?L1RnbkJQbFMzWFhHaGFDQnBXOXVTUHNaM1RGQnFGVExqN1FpQjg2WXJCVVdr?= =?gb2312?B?ckdYaC8wNFMzS3JSOGhqQWZHT1V6NURTb0kzQjVsbE1rSFRteGRPUHJqbk1C?= =?gb2312?Q?7GrTMQ27B19a2TUtcF/U2LfWh?= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: connect.ust.hk X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYCP286MB1188.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 578704a0-cdd4-4c2f-184a-08db75986f86 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2023 16:22:56.9251 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6c1d4152-39d0-44ca-88d9-b8d6ddca0708 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nZmEpbbeMO+DfX/X516MGUbERggJTdG7bMB0GjbNrgjw1ofFZbCI5U4gEI13DL3elRZJAfDGy48kBW6CR8xqGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWP286MB2731 X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR 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 VGhlIHRpbWVyIGxvb3BiYWNrX2ppZmZpZXNfdGltZXJfZnVuY3Rpb24gaXMgZXhlY3V0ZWQgdW5k ZXIKYm90dG9tLWhhbGYgc29mdGlycSBjb250ZXh0IGFuZCByZXF1aXJlIGEgc3BpbmxvY2ssIHRo dXMKb3RoZXIgcHJvY2VzcyBjb250ZXh0IGNvZGUgcmVxdWlyaW5nIHRoZSBzYW1lIGxvY2sgKGku ZS4sCmxvb3BiYWNrX3RyaWdnZXIsIGxvb3BiYWNrX3BvaW50ZXIpIGNhbiBkZWFkbG9jayB3aXRo IHRoZQp0aW1lciBpZiBpdCBpcyBwcmVlbXB0ZWQgd2hpbGUgaG9sZGluZyB0aGUgbG9jay4KCkRl YWRsb2NrIHNjZW5hcmlvOgpsb29wYmFja190cmlnZ2VyCiAgICAtPiBzcGluX2xvY2soJmNhYmxl LT5sb2NrKTsKICAgICAgICA8dGltZXIgaW50ZXJydXB0PgogICAgICAgIC0+IGxvb3BiYWNrX2pp ZmZpZXNfdGltZXJfZnVuY3Rpb24KICAgICAgICAtPiBzcGluX2xvY2tfaXJxc2F2ZSgmZHBjbS0+ Y2FibGUtPmxvY2ssIGZsYWdzKTsKCkZpeCB0aGUgcG90ZW50aWFsIGRlYWRsb2NrIGJ5IHVzaW5n IHNwaW5fbG9ja19pcnFzYXZlLgoKU2lnbmVkLW9mZi1ieT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