Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp28585pxa; Mon, 3 Aug 2020 21:37:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzS/7wc0o9YiPNB9W3o22Cnt/fmO8FA52kDEvz2NZG2g6Zx6eOOBPeIKykSzU3tDPU6q7ld X-Received: by 2002:aa7:c682:: with SMTP id n2mr18547029edq.248.1596515820885; Mon, 03 Aug 2020 21:37:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1596515820; cv=pass; d=google.com; s=arc-20160816; b=Ukf61Td7oQ3VYt9iigJZxO02oPi6PENMdBArEmglTU9tlFnZvFuaJq62Hl2w8nL60/ y18EwHXpVEdb7qhhWZ7AhAO2Nqq0IECd58p0JnHucO1vrNN2XWWUwWizxG9SYxM3RlEX NZhsoNUraV20Y4w1wEDOuuJ9LAMMxpVKYeWhg2cCOztsM6XFzpFeON96OM+dpnHAF5E3 75QrTotWBZ/MUOWCWys2eCBN440OpZAhc6Nks6MUynFlG2J51I2aYHhvoI7t6a1UZJjE IMKWD3OrJwd389R/ZE9LyKX72xg+MnSKEN+Ftwb4tQ5sk5YmmVtSjQk2X65poXRz0eBV W6UQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-product:dlp-version:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature:ironport-sdr :ironport-sdr; bh=5FS39ASQuzjMIN603E/mdqgPHG8opqi6wVYJEuy1F0g=; b=eo6qB6TXcDDBHkJqyf6or+9RCH6Nwj/LjJM48AKLEGUcCORuhr5DP2nf3hoJeP8j3c S5D+p/O/hikAEo2ymJ6ASHa5Z2EFvB8UN4TJJ1S4J39NGnuQaFQAUh3zaB4b9zU+AW71 8WkxlNzzfFGi+ZmFdhLpyWLGcCoTPGPdX6UkRRKnqX+wmZY1FLM0OrTcaeivQQlqIjgA E+nCJ1U6IyKaFToxLAliBW4pPcx2Ld/wqGsaRNU4ijHp80UO073lmjLSkXLisA4B05N8 Svep9xOrO5ppz+NFGjADNvGsXYstN92/ApacYsLnMw3lOCUnaPvluV/kh+4FGFSHfg5e NcXA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=UWxg39Sz; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si12435102ejq.223.2020.08.03.21.36.37; Mon, 03 Aug 2020 21:37:00 -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=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=UWxg39Sz; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729658AbgHDEdt (ORCPT + 99 others); Tue, 4 Aug 2020 00:33:49 -0400 Received: from mga06.intel.com ([134.134.136.31]:45833 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbgHDEdt (ORCPT ); Tue, 4 Aug 2020 00:33:49 -0400 IronPort-SDR: HHbs5ey35h8zau/qgWfGNI9GekD2mcGPYOVl+JNNd7MzC39PezgxURjqAv0BlD2GMcj4vzG2/p a9lmfV+9avNQ== X-IronPort-AV: E=McAfee;i="6000,8403,9702"; a="213788131" X-IronPort-AV: E=Sophos;i="5.75,432,1589266800"; d="scan'208";a="213788131" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2020 21:33:48 -0700 IronPort-SDR: zb1MMxTIKP77s7vRzdTUEIE05QpGbu2kmF6SVzI0XPEniaeVlri38foCUD9V5cojzqsZ8BjcHN zwkOg2ctkkZQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,432,1589266800"; d="scan'208";a="292415901" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga006.jf.intel.com with ESMTP; 03 Aug 2020 21:33:47 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 3 Aug 2020 21:33:39 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 3 Aug 2020 21:33:39 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.103) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 3 Aug 2020 21:33:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Scm7KgVoeJpSz2C3oHMR5/mrdYQjZ7Zslzwz6IOifg9xaCsYk3hJmE86Esq+goA/MK70Wqp+8NWSEtbmNYO16x+Mzjsizph1vEJ45slMdMTi+SuiudXY93dcJIYLYCBgitTjhdVKZA5F+5o725t4sSZZ4tcs2aRckF45X+3APasMuv4IX6CNeI7dY77mN4BAwixXvCVDREZ32JRAKtbzGVUjuZpOVzSx6Y5TWu6zpOwkhBsR0aU7YxR+VMhhtSerHM31mus86IGietI5QkCp/+TKm57wubbGa/Eisp334vwKBWTvvUbefC7AL3x0OQRZn/oAs1VpdV0Kl0pnYgRUZQ== 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-SenderADCheck; bh=5FS39ASQuzjMIN603E/mdqgPHG8opqi6wVYJEuy1F0g=; b=LqD/RdjICBg7z+A2nd/j0fSnPbID2gtkFf4eEYhGwLbBTZpCm6Az6yM2BV6k2XnAAmmnWcMQm6pAniLz6oeLNVY4IiacbDdrAD4oGV8fYgho0Dp+02SFwQueOur5oAy4pwFTub43WsC720Nmr7l6rvd6NgebzbyBQskh1CfrHH4ZSARLuT1kEYeUfBxkbghFM+vWAHrkaMVY9GfwmlHmjZdiTkUIPNtO36IF3ggqGlu9kp+9dsLAghL+BDPjqwOGOSe1Ly8480zdlqIvM3pmvxZestglETa9+RCvpojG3v7HvyVHbrTa9AQSwReQzoVoOd68WwKQlvDjutJwsL7YqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5FS39ASQuzjMIN603E/mdqgPHG8opqi6wVYJEuy1F0g=; b=UWxg39SzoiGT7GTdNnniEXKbmqbvwisSEphNuBDE55CxJzu1yzHXWOQXBcDciS+0mZ8aqt0o9fRPB+JJN48iWQioEPPqE0o6xu6UV+UIMOyWIG3UZophH4cox/6hsB3gqQICdfJ/0t5ngxD4y+bwum9hizp93okE5b1mDHY1IrM= Received: from DM6PR11MB3642.namprd11.prod.outlook.com (2603:10b6:5:138::26) by DM6PR11MB3561.namprd11.prod.outlook.com (2603:10b6:5:136::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.20; Tue, 4 Aug 2020 04:33:31 +0000 Received: from DM6PR11MB3642.namprd11.prod.outlook.com ([fe80::f043:4bdc:ef57:1b41]) by DM6PR11MB3642.namprd11.prod.outlook.com ([fe80::f043:4bdc:ef57:1b41%5]) with mapi id 15.20.3239.021; Tue, 4 Aug 2020 04:33:31 +0000 From: "Lu, Brent" To: Takashi Iwai CC: Pierre-Louis Bossart , "Guennadi Liakhovetski" , "alsa-devel@alsa-project.org" , "Kuninori Morimoto" , Kai Vehmanen , "Rojewski, Cezary" , Jie Yang , "linux-kernel@vger.kernel.org" , Takashi Iwai , Liam Girdwood , "Sam McNally" , Mark Brown , "Ranjani Sridharan" , Daniel Stuart , Andy Shevchenko , Yu-Hsuan Hsu , Damian van Soelen , "yuhsuan@google.com" Subject: RE: [PATCH v3 2/2] ASoC: Intel: Add period size constraint on strago board Thread-Topic: [PATCH v3 2/2] ASoC: Intel: Add period size constraint on strago board Thread-Index: AQHWZzZzIgMFwAI7HkKT1/DPVspAl6khsDgAgAFDasCAAAm3gIADX8DAgAAlz4CAABcIUIAABbiAgACx9iA= Date: Tue, 4 Aug 2020 04:33:31 +0000 Message-ID: References: <1596020585-11517-1-git-send-email-brent.lu@intel.com> <1596198365-10105-1-git-send-email-brent.lu@intel.com> <1596198365-10105-3-git-send-email-brent.lu@intel.com> <63bca214-3434-16c6-1b60-adf323aec554@linux.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: suse.de; dkim=none (message not signed) header.d=none;suse.de; dmarc=none action=none header.from=intel.com; x-originating-ip: [220.136.119.29] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b18be5fb-4a2d-4dda-db95-08d8382f8acf x-ms-traffictypediagnostic: DM6PR11MB3561: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 49aylfAjcULRWKqRUFOIlbqyRe2QpAfqPxpjnXVVrTwhR6LSfBqn9bTAQALS9FLpdYCayDryPsQKE0TccRUp7yvwpGYITzZtHL+myNQMPlQN4ruleinX0xeAuPZt266OJrrrjUNY5zMLmtPlXx9vUqmZkwE1pW9XJB+LObr+TBVBUNa4LNp7VUjiCSjPuLrFZ9xdNVx0nWuXx2BVGK0K3wYM92pfevrhoxv2EnlW61CsBTDe+bLfvae+2zNxYTgrbbs9CND4Hbn4LGhZWeOgUn0BrBLCvX2UH4iG8KPE0PUwYYYd1ancObCEwmdCm2OkcAtIjwYWcf8oukPEx/VTzw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB3642.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(346002)(376002)(366004)(396003)(136003)(39860400002)(186003)(26005)(6506007)(52536014)(66476007)(64756008)(66556008)(76116006)(66946007)(71200400001)(66446008)(5660300002)(83380400001)(54906003)(316002)(33656002)(86362001)(4326008)(2906002)(8936002)(55016002)(8676002)(6916009)(9686003)(7696005)(7416002)(478600001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: hNn9BKQ/WRAV6Qofbrc2FkxBYXYW1yoMvPmhoCS0pq8cGRRAoxhxg7cKDqdoHht0h2EszIg923YktrmSnh66S/BXLaKetRAg7b2jU9qkP00C3z8wwj5Pd/QB3/oAkk/X39gOeyaHpwwEFK0UDSQsIW31mGbeHZjvPXVsFNa0j8rnJPCkJoHvkrYmshUdfjj5QMqf6teo8LXJVPoz6oXVW2qk33qt2+/qCLU5GIFGP4RIMab6/nEn0powidHvsQNDfqJNvlkuuuyO8FB4IWPeRF+pF0pJ8w5r9jwSIWaoO038l4WriP4g5kCPvsKCMWFF2VI6l6/QmzOMlXpRnuIvOGK4Lz0ctxmkoR3ykMMHnwfc3QDaHFm//WpwSRPVxD08+9oGT3icEuix8111UPHHRpvvvS64AEM1K1qz1AusbQ2n806W+y6b+cv58K9kPpbCxcPvu2QihxoncOALkmP5I/JCMI6XR6tRclSq5r+2v3DeBrhuEWvdWJfi8fxyxBwMmc9ogxL1mWFGRsQQ03wuqDWDs07BP/SKRSQjtywgeVd34d/Xc4v19P7wOHxbEDqNJMOIRdJspeqLkL5cxicsTHBHUFaH7VlPrDw/g0ad5kt9iRkH3VZnCGvv2HsqmlBT3fqJwIGoIT9lDiZaESRdVA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3642.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b18be5fb-4a2d-4dda-db95-08d8382f8acf X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Aug 2020 04:33:31.4652 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YBH4EFAZuP30c2WlNZwnksGOUZw+20rEDvxzQehiE2geQtA3RoMUuVltTWOqWxSosgmFlhCCoGKRpLpIMjA/zw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3561 X-OriginatorOrg: intel.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >=20 > For avoid further misunderstanding: it's fine that CRAS *uses* such a sho= rt > period. It's often required for achieving a short latency. >=20 > However, the question is whether the driver can set *only* this value for > making it working. IOW, if we don't have this constraint, what actually > happens? If the driver gives the period size alignment, wouldn't CRAS > choose 240? It won't. Without the constraint it becomes 432. Actually CRAS does not set period size specifically so the value depends on the constraint rules. [ 52.011146] sound pcmC1D0p: hw_param [ 52.011152] sound pcmC1D0p: ACCESS 0x1 [ 52.011155] sound pcmC1D0p: FORMAT 0x4 [ 52.011158] sound pcmC1D0p: SUBFORMAT 0x1 [ 52.011161] sound pcmC1D0p: SAMPLE_BITS [16:16] [ 52.011164] sound pcmC1D0p: FRAME_BITS [32:32] [ 52.011167] sound pcmC1D0p: CHANNELS [2:2] [ 52.011170] sound pcmC1D0p: RATE [48000:48000] [ 52.011173] sound pcmC1D0p: PERIOD_TIME [9000:9000] [ 52.011176] sound pcmC1D0p: PERIOD_SIZE [432:432] [ 52.011179] sound pcmC1D0p: PERIOD_BYTES [1728:1728] [ 52.011182] sound pcmC1D0p: PERIODS [474:474] [ 52.011185] sound pcmC1D0p: BUFFER_TIME [4266000:4266000] [ 52.011188] sound pcmC1D0p: BUFFER_SIZE [204768:204768] [ 52.011191] sound pcmC1D0p: BUFFER_BYTES [819072:819072] [ 52.011194] sound pcmC1D0p: TICK_TIME [0:0] Regards, Brent >=20 >=20 > Takashi