Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1004973ybl; Wed, 11 Dec 2019 10:54:15 -0800 (PST) X-Google-Smtp-Source: APXvYqyudqXcv7IgEQyl8IqAg6sNoV1JVBLdiRis3pfSSPlYLKomIbpSa5NTITuusspLG0DEmteg X-Received: by 2002:aca:4587:: with SMTP id s129mr3824138oia.124.1576090455531; Wed, 11 Dec 2019 10:54:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576090455; cv=none; d=google.com; s=arc-20160816; b=O0cL4Tmv5dEytIQNEPNdO3vKfkVBVN7n6W91EZ6XktQ/WOHz5/ywBwjmnN5zYusc1O LZdd0KcP3YIM2L0OG5Cvq7zhnYKVPt64T7WmoG1vasOrBwZA9FANXaeG3OGDpQNDVCp2 +XqBkfgo/vGRGhRWGJkbMXOl8ctXgCDxrLXfo3S7oftQKUQjscIqYgW0A5zzP/TRhxc5 +ZxT9Pjvc/GJrZQSSLq2FNVedfA/DkYw/sZzNQdjCfxAF/xUYhIxxjQqnUELQ2wESmdi Awx7K7wC1dTttTz2ITcoC5a8xpG3ALoE7eeG1e0Oyh6hzcS/23DPbhrZfa1JYrwCUa5Z 8+6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=f15tC67Mw6VJaPjDHx03fxOkJ7SSEWEdq7lkKckL4yU=; b=VMtGG7LfWnOnc4T484wgyBOd0AHJ+X5l7czhWWA/Wn7eVYTssPPZlHUBp61pVh7wJO 6HrRp8ROlqImDrB3KCJebgMEJUEElKVuZHjKBotu6PTP0EN2ycydvJ11alkDbK1DSn8I 36hX80CZVDt6uYyIDIDRbDEZxEf+BknO/uDA84CVfqel2QHO9kzr2bGp0TWTcKQweLeG zCF/VSM5CVIyuF5JrCLHI7hIy6BZO8Iccoi4+Izfvg6oUAKSbZ648I5L8YfrWLU3NguY Aydy6EgWQYGby58xGNtPOqaggU4MOgOy5nGIFwh9JINVrffkd9i436Z9Cl/X4GOS6hIU 2ayw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=AyYcGg18; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u144si1660595oia.107.2019.12.11.10.54.03; Wed, 11 Dec 2019 10:54:15 -0800 (PST) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=AyYcGg18; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728216AbfLKSxI (ORCPT + 99 others); Wed, 11 Dec 2019 13:53:08 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:59174 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726463AbfLKSxI (ORCPT ); Wed, 11 Dec 2019 13:53:08 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBBIqxps001589; Wed, 11 Dec 2019 12:52:59 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1576090379; bh=f15tC67Mw6VJaPjDHx03fxOkJ7SSEWEdq7lkKckL4yU=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=AyYcGg18UkMJwm2f0NstPTMLZFABrS0QB1qhka2ELieoiik8THCIf1DY91U/VnBn0 +dwJZn8aIwFNi3WKJlApshKK4AI3Oyql7CmYkshRxw9vQMjqVI1UvxWfNH4VvG4Ulz U0KRjdcbAzmArt6aHs9k6sJMZuFw1llGZQqGI2QQ= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBBIqxlf042246 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 11 Dec 2019 12:52:59 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Wed, 11 Dec 2019 12:52:59 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Wed, 11 Dec 2019 12:52:59 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBBIqxYD128795; Wed, 11 Dec 2019 12:52:59 -0600 Date: Wed, 11 Dec 2019 12:52:24 -0600 From: Bin Liu To: Paul Cercueil CC: Greg Kroah-Hartman , , , , Artur Rojek Subject: Re: [PATCH v3 2/7] usb: musb: dma: Add support for shared IRQ Message-ID: <20191211185224.GD16429@iaqt7> Mail-Followup-To: Bin Liu , Paul Cercueil , Greg Kroah-Hartman , od@zcrc.me, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Artur Rojek References: <20191210171110.62141-1-paul@crapouillou.net> <20191210171110.62141-2-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20191210171110.62141-2-paul@crapouillou.net> User-Agent: Mutt/1.9.4 (2018-02-28) X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 10, 2019 at 06:11:05PM +0100, Paul Cercueil wrote: > The implementation of the Inventra IP in some of the Ingenic JZ47xx SoCs > does not use a separate IRQ line for DMA transfers. > > Allow these SoCs to be supported by adding a flag 'dma_share_usb_irq' > in the struct musb. If set, no extra IRQ line is required, and the musb > glue will need to call the API function musbhs_dma_controller_irq() > within its interrupt handler. > > Signed-off-by: Paul Cercueil > Tested-by: Artur Rojek > --- Queued for usb-next. Thanks. -Bin.