Received: by 10.192.165.148 with SMTP id m20csp2058221imm; Thu, 3 May 2018 09:40:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqoKdNzNg1K94xSRw68gvTTRvQmG4tEzLSo4ErsbJBZNGs3Tzdx7amKmWo2giCd0Sp+h5NI X-Received: by 10.98.62.194 with SMTP id y63mr23873186pfj.102.1525365650635; Thu, 03 May 2018 09:40:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525365650; cv=none; d=google.com; s=arc-20160816; b=cTcxIew6XDxY8Ag2ABhzBBArnZjJo4wDeWeb8p/qrT7bF0+fMT37NfPTXGo+g9qkGx MdiyR7OcJHV13EHXIBm7f0Ao26z0uSnLpIP2ThCSm0Z1nm0VJ2OQH2lEnHKJfAEAQDia /CG2H/AAGq14R8Nh9bY2Jqd/2jKjANVsreM6I+w2LonghsMCOe6nByFnqUCuDCw2uSHj hnsJAMwXMWGt6xYcsXZAJ1laiJlVfM1b7Vdro5LhDEGq6LDe5vOrFiq+wo5Gx7D/R01C y0/+A/IvISN8Ztpe8oKeGCztFO4bH7kWedk3+72rMKcrPDi2+EHVa/MDPkFMow+mSWoQ wHIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=ghZrjFni3QwZOkSiKNjzs+7jsE0MLDkqJ2yXyytLeTg=; b=WXVn+bHQxtEBiobIolxxCuSoQpoUM/iFVX+Dab6GeFqhDvVGoMeRN7CsU/e4ctlAB0 O/NYaNfCVBMQx3tsr114YfNh5z9hhpc0jdhw1alymIlJZoxjC0hdoBpsAwJw068mGYX4 Xk5A9iQ+11Cbiia0nZw04U5B+s58hStaPvJ7LKvD4NHNeSHIx72jjUpcOi7KuqemBfZn MhUW7DhXjhNHjfopCDIPJdlmob2Nzlcc7hrosS1XfE2lBTWFXo5cM9RHY398ceGU+2+o 750xjqelVNXaGvkdHib/0w5h8aROzw9RLQxJK6GtVTU7kQGB5PyjAjeRuks2jC/7CXx9 PWVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YgtLIezA; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bj5-v6si13602040plb.67.2018.05.03.09.40.36; Thu, 03 May 2018 09:40:50 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YgtLIezA; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751399AbeECQjU (ORCPT + 99 others); Thu, 3 May 2018 12:39:20 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:42868 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751160AbeECQjS (ORCPT ); Thu, 3 May 2018 12:39:18 -0400 Received: by mail-lf0-f65.google.com with SMTP id u21-v6so26924966lfu.9; Thu, 03 May 2018 09:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=ghZrjFni3QwZOkSiKNjzs+7jsE0MLDkqJ2yXyytLeTg=; b=YgtLIezAGIXDaH9JFGQ2EqOLsHm3izYnmDy2O0ZONhbVqWD/zi5ZJEEGDIfdJFQ85Y nD2MudvAliMw44y3T4FzCyhzA0KGNSFgeXQMb6ZKCgvEGN9Nwf67wvWgvh6RaDWpKRoW RiOTJL71uBSc3f31mnKC4i8Du7/1oKIBHKFI0CkRc44xS0XVRrsRF3rhn6AgiZ13HjKJ rcw/iC0EcGt95HckxLEUFebXS/n/7e6g2pDqTwHt328ASvyjRD0AYw8adqOmmhKGyE40 6SuwqgwII6RK2ovy/CW+NM/J32ttIb/AgHSCtbM8F5gFFYD48xLKO16BV8W4tAnuBRnk fyWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ghZrjFni3QwZOkSiKNjzs+7jsE0MLDkqJ2yXyytLeTg=; b=YYDXKhRN4pJGnAgjf/qWP91zfDerDgZdpgWZdj/uIggugOL8jWDazTZeZ1dU0lCsuo i+b3+BOspnXsfMuf4p9WvQiIWzaUkAtPDYEqDrwXBB23cOh6xHTxVASGkDOdEt0hP8QV rqYBmep4YsJTykXGjYErXtokK3kZnUBRwmhprnQ8QkBEB3k65BR5KotVLMjR1qoDik+w /DJTaCE5fgIFunp8/uF0iigUYBDgVsYRiiuqCVkIJxF6wXfXY0QO9CIDS2CU8GQHSrb8 sTf9pJawh79gHCWbyZuoPQR9E0BRpQ35oIECbSZSjs+3oD7pnqmOizkFeouOw1ai85po bddg== X-Gm-Message-State: ALQs6tBCPUhqRL0p8ietfZtLPgeQNcSZzNVgkSjU43AlocbjyZwUscbc 26WAUeAjNuJ6Z4Av3CtowDpcD+L9pOE= X-Received: by 2002:a19:1428:: with SMTP id k40-v6mr14464935lfi.19.1525365556515; Thu, 03 May 2018 09:39:16 -0700 (PDT) Received: from [192.168.43.122] (m90-143-16-172.cust.tele2.kz. [90.143.16.172]) by smtp.gmail.com with ESMTPSA id h2-v6sm1346382ljk.60.2018.05.03.09.39.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 May 2018 09:39:15 -0700 (PDT) Subject: Re: [PATCH v2 5/5] asm-generic: fix build error in fix_to_virt with CONFIG_DEBUG_EXPERIENCE To: Steven Rostedt , "Du, Changbin" Cc: yamada.masahiro@socionext.com, michal.lkml@markovi.net, tglx@linutronix.de, mingo@redhat.com, akpm@linux-foundation.org, rdunlap@infradead.org, x86@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, arnd@arndb.de, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org References: <1525268700-10631-1-git-send-email-changbin.du@intel.com> <1525268700-10631-6-git-send-email-changbin.du@intel.com> <20180502101930.25a5437d@gandalf.local.home> <20180503132508.qudxf67tyijvjndo@intel.com> <20180503101920.3157f63f@gandalf.local.home> From: weylin Message-ID: Date: Thu, 3 May 2018 16:39:09 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180503101920.3157f63f@gandalf.local.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear kernel devs, After configuring for 2 hours settings, faced below on making : cc1: error: /usr/src/linux-next-master/arch/x86/crypto/serpent-sse2-x86_64-asm_64.S: Input/output error Thank you for your attantion to config matter last days, It is really physically  hard every time sort sort out menu again. If it would ppossible to have standard -- Conservative Unix style secure / paranoid choice alongwith -- allyesconfig . Thank you ! On 05/03/2018 02:19 PM, Steven Rostedt wrote: > On Thu, 3 May 2018 21:25:08 +0800 > "Du, Changbin" wrote: > >> I think fix_to_virt() is designed for constant idx only. So I think we should >> fix it at the caller side by replacing it with __fix_to_virt(). >> >> --- a/arch/arm/mm/mmu.c >> +++ b/arch/arm/mm/mmu.c >> @@ -1599,7 +1599,7 @@ static void __init early_fixmap_shutdown(void) >> pte_t *pte; >> struct map_desc map; >> >> - map.virtual = fix_to_virt(i); >> + map.virtual = __fix_to_virt(i); >> pte = pte_offset_early_fixmap(pmd_off_k(map.virtual), map.virtual); > That's a better solution than the current patch. > > -- Steve > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html