Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp988946pxb; Fri, 15 Apr 2022 17:33:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoyGpRAG8Oplsv4lG+0qnd4fsXcgIIwmv54w5xC0WbnbqZLU9OnmlRLkAF7V8O6f0F2q9N X-Received: by 2002:a17:90a:4e08:b0:1cb:a3ac:938b with SMTP id n8-20020a17090a4e0800b001cba3ac938bmr6733127pjh.112.1650069216393; Fri, 15 Apr 2022 17:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650069216; cv=none; d=google.com; s=arc-20160816; b=Zj26FXJdbDnOlYAoNmRHZ7syljck4NkZ3xuOB797w08lPcBE0FM9/ja38pPTNk7Jxy rpZxDztMDYio0P3mDplFis782xbjSHNY9RQSV2kwXJTXCn89LYWeS7ixPmWGyqhnTtnL fuLxn6wRpUykLInRAmF22YmX+gy8DTXYCtHCl+VrtGl6q8NQHorZycGMYO+QyXggJrwQ KoFef5Js9mNOzTD95HNdVoLlN0Lho06QvjFoDtDY5jVQIH61JQqTqelMUA4zfiuhYSe4 rHtfRgIfkYkGYgXiMVZp09uf7Bt9xFQsRIJOEeUOpfCeyFPKM4OeJe0QldTbtz4jzsyw vaRQ== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=ioBp0grZoNS3Q9Dzwvfoe62VoH6kW4OUZg5W8yzwgM0=; b=IAvbUMZ0I3UKf8dAGSEmTlZB3s7gJVN/LNdBQMmV9TUaFk9xaiOYyVduhWSvPqF4q+ bm+0d2bKt+mOPl2iVrvK1PY6pT/SjgHNH5+3z372FxchcMKmrJPkQaBxs+tint8cCtOk 1P9kJLFLZcxnEi4oq8ieRB5lr/I2sQ78PoLoHaXVm6lH8IcLRbH6GyhfDaiHNGoZLvGb y2L0uwjALCf1ga1rIW8XH7w7QUvmI+hplIrGQtbSIno6DyRDJZ7/WDmFAyqCNZQct/h4 mLB5R47XoXqWiMNptwIgiEG0/67UCsxDVqWiv6YFSZ1GJDwv7KXvBKyvFwrtgpf4G0Jq cRTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hMlgxCqV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s23-20020a63ff57000000b00399599c54ffsi2749647pgk.252.2022.04.15.17.33.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 17:33:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hMlgxCqV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3201CCA0F4; Fri, 15 Apr 2022 17:29:57 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237409AbiDMRic (ORCPT + 99 others); Wed, 13 Apr 2022 13:38:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235917AbiDMRib (ORCPT ); Wed, 13 Apr 2022 13:38:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92C956B0BF for ; Wed, 13 Apr 2022 10:36:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3563361EC6 for ; Wed, 13 Apr 2022 17:36:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5C00C385A3; Wed, 13 Apr 2022 17:36:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649871368; bh=83gawc2ryUKhE6nTyQqw/IKIOP5+eSo7X0LmsnEkxxU=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=hMlgxCqVBchlxxtQtNi462qSDjM3PPMbcYvrY2aav4Z1yrBKaZiz8PY37R+jcTOuc BwMAMCtObxzPuFsXRalmx7zq5VB1lqHEPda8Swvh3c7dXrZwdKC4uJqJHpZJSIt12N zUZC1wrG0bIWqLOkoNLKAzTJHuWuhkSS+U6a/ZcF64cG4QLL7mB7ZZ5SoDYotishQd Z8ta77FD7r/sBPCVOnZRvblCwsLoUgftWsaLmDvQGuxQJdMFL0AXuIdwPmdL50D+YW Iaf7gZO+tgrXEJGuuCvwRxWo6K5vBANnXHMYxeOWrd64iPtB3lhE552pMq6JdnDi09 nawLRpT3cOjhA== From: Mark Brown To: lgirdwood@gmail.com, tiwai@suse.com, pierre-louis.bossart@linux.intel.com, perex@perex.cz, kai.vehmanen@linux.intel.com, peter.ujfalusi@linux.intel.com, ranjani.sridharan@linux.intel.com, zheyuma97@gmail.com Cc: sound-open-firmware@alsa-project.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org In-Reply-To: <20220409143950.2570186-1-zheyuma97@gmail.com> References: <20220409143950.2570186-1-zheyuma97@gmail.com> Subject: Re: [PATCH] ASoC: SOF: Intel: Check the bar size before remapping Message-Id: <164987136564.69869.12166607399991821172.b4-ty@kernel.org> Date: Wed, 13 Apr 2022 18:36:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Sat, 9 Apr 2022 22:39:50 +0800, Zheyu Ma wrote: > The driver should use the pci_resource_len() to get the actual length of > pci bar, and compare it with the expect value. If the bar size is too > small (such as a broken device), the driver should return an error. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: SOF: Intel: Check the bar size before remapping commit: 5947b2726beb61fe7911580f239222ec9c4f6967 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark