Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2144316imm; Thu, 7 Jun 2018 06:12:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKxY74Oa43Ba6xmQTLCpMZtoNr+KTMYELEuEVI0K4TOZ8RrISd5L8AzLbfWa8tRphtA8y2F X-Received: by 2002:a62:84e:: with SMTP id c75-v6mr1781222pfd.35.1528377163128; Thu, 07 Jun 2018 06:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528377163; cv=none; d=google.com; s=arc-20160816; b=rXTrAC9miNPeXoucp8R0jshXI3d8VgLPLHLGOyQHxZgz1AVoE6VFmmKHa2AYCJxbgp sX+zip7BzyRwdD2WGvRzW0ncrsQAD4pVhlCbCOrheRS6BHb//jU2nsrX3iVEJ3seJJI0 4Y6bfz9f06jLSDCfFTDV2BQfl2KP22s812ghSBrCEcAQmAwhBdS2tdWNXciiKqT9fDQC G5O3uXWu4Uc27xqdECo4TziraB5NPSdMrZVzBsaXfacpvzhPMtboOstiXQEBvrg8kk6X rPAY1vmVTEAMcV25FjbNLgeZNAJz6DDdR5+Kh1Z28KSr0q9p18lFIybMZSlKz09bcME5 QmKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=YAeMPXbw2r+PjeldGdlp6vDFgbF3ofoBk0giAt/XqDc=; b=x6Rxq1N4TfPOCVbU6fUo0veUQktkSgGTYPR2CDFDTY2w7Ctx0kiVtkKvHh2ltd1MSL hFR4bzOYjWDUkEQ502TblEhhue/eD7CVtaSWGNwj/bqkHkTB2+06WZbAOOZt7cqRWqwk lcQhRUZpfzGVPKZaSxQGrPvDHzggo3UQxN7qPI8z6VFD6UK3oMxcPy0NVCCK93+Z1l+n GEguKQUj0t6/rsJYk+3iWTOB6evRsXLUUFAhl1lMXTDJB77QPUczRShem+5H1uqCTxMi vW+9jJ3AeNSrzzRuMvCUICJQzmeMb7SCniE8JRgRfKkq3OHgsieCokBRMbAFNBk+5lUG 73DA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x70-v6si15700904pfj.347.2018.06.07.06.12.27; Thu, 07 Jun 2018 06:12:43 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932400AbeFGMZr (ORCPT + 99 others); Thu, 7 Jun 2018 08:25:47 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:53148 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S932124AbeFGMZq (ORCPT ); Thu, 7 Jun 2018 08:25:46 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 85F11350E14D6; Thu, 7 Jun 2018 20:25:42 +0800 (CST) Received: from [127.0.0.1] (10.177.223.23) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.382.0; Thu, 7 Jun 2018 20:25:35 +0800 Subject: Re: [PATCH v2] irqchip/gic-v3-its: fix ITS queue timeout To: Marc Zyngier , Yang Yingliang CC: , , References: <1528252824-15144-1-git-send-email-yangyingliang@huawei.com> <86a7s89t13.wl-marc.zyngier@arm.com> From: Hanjun Guo Message-ID: Date: Thu, 7 Jun 2018 20:25:26 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <86a7s89t13.wl-marc.zyngier@arm.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.223.23] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marc, On 2018/6/6 17:13, Marc Zyngier wrote: [...] > > Wouldn't it be better to just return that the affinity setting request > is impossible to satisfy? And more to the point, how comes we end-up > in such a case? The system is booted with a NUMA node has no memory attaching to it (memory-less NUMA node), also with NR_CPUS less than CPUs presented in MADT, so CPUs on this memory-less node are not brought up, and this NUMA node will not be online too. But the ITS attaching to this NUMA domain is still valid and represented via SRAT to ITS driver. This is really the corner case which is triggered by the boot testing when enabling our D06 boards, but it's a bug :) Thanks Hanjun