From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Schwab Subject: Re: Oops running iptables -F OUTPUT Date: Tue, 28 Aug 2018 19:28:32 +0200 Message-ID: <87y3cqbdtr.fsf@igel.home> References: <87bm9n68gq.fsf@igel.home> <20180828140632.593291cf@roar.ozlabs.ibm.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: (Ard Biesheuvel's message of "Tue, 28 Aug 2018 18:09:09 +0200") Sender: netdev-owner@vger.kernel.org To: Ard Biesheuvel Cc: Nicholas Piggin , "" , linuxppc-dev@ozlabs.org, Jessica Yu , Michael Ellerman , Will Deacon , Ingo Molnar , Andrew Morton , linux-arch List-Id: linux-arch.vger.kernel.org On Aug 28 2018, Ard Biesheuvel wrote: > diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c > index 6a501b25dd85..57d09d5ceb1a 100644 > --- a/arch/powerpc/kernel/setup_64.c > +++ b/arch/powerpc/kernel/setup_64.c > @@ -779,7 +779,6 @@ EXPORT_SYMBOL(__per_cpu_offset); > > void __init setup_per_cpu_areas(void) > { > - const size_t dyn_size = PERCPU_MODULE_RESERVE + PERCPU_DYNAMIC_RESERVE; > size_t atom_size; > unsigned long delta; > unsigned int cpu; > @@ -795,7 +794,9 @@ void __init setup_per_cpu_areas(void) > else > atom_size = 1 << 20; > > - rc = pcpu_embed_first_chunk(0, dyn_size, atom_size, pcpu_cpu_distance, > + rc = pcpu_embed_first_chunk(PERCPU_MODULE_RESERVE, > + PERCPU_DYNAMIC_RESERVE, > + atom_size, pcpu_cpu_distance, > pcpu_fc_alloc, pcpu_fc_free); > if (rc < 0) > panic("cannot initialize percpu area (err=%d)", rc); That didn't help. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 420G2567DkzDrb6 for ; Wed, 29 Aug 2018 03:28:45 +1000 (AEST) Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by bilbo.ozlabs.org (Postfix) with ESMTP id 420G255BlHz8shH for ; Wed, 29 Aug 2018 03:28:45 +1000 (AEST) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 420G251QD1z9s2P for ; Wed, 29 Aug 2018 03:28:45 +1000 (AEST) From: Andreas Schwab To: Ard Biesheuvel Cc: Nicholas Piggin , "\" , linuxppc-dev@ozlabs.org, Jessica Yu , Michael Ellerman , Will Deacon , Ingo Molnar , Andrew Morton , linux-arch Subject: Re: Oops running iptables -F OUTPUT References: <87bm9n68gq.fsf@igel.home> <20180828140632.593291cf@roar.ozlabs.ibm.com> Date: Tue, 28 Aug 2018 19:28:32 +0200 In-Reply-To: (Ard Biesheuvel's message of "Tue, 28 Aug 2018 18:09:09 +0200") Message-ID: <87y3cqbdtr.fsf@igel.home> MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Aug 28 2018, Ard Biesheuvel wrote: > diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c > index 6a501b25dd85..57d09d5ceb1a 100644 > --- a/arch/powerpc/kernel/setup_64.c > +++ b/arch/powerpc/kernel/setup_64.c > @@ -779,7 +779,6 @@ EXPORT_SYMBOL(__per_cpu_offset); > > void __init setup_per_cpu_areas(void) > { > - const size_t dyn_size = PERCPU_MODULE_RESERVE + PERCPU_DYNAMIC_RESERVE; > size_t atom_size; > unsigned long delta; > unsigned int cpu; > @@ -795,7 +794,9 @@ void __init setup_per_cpu_areas(void) > else > atom_size = 1 << 20; > > - rc = pcpu_embed_first_chunk(0, dyn_size, atom_size, pcpu_cpu_distance, > + rc = pcpu_embed_first_chunk(PERCPU_MODULE_RESERVE, > + PERCPU_DYNAMIC_RESERVE, > + atom_size, pcpu_cpu_distance, > pcpu_fc_alloc, pcpu_fc_free); > if (rc < 0) > panic("cannot initialize percpu area (err=%d)", rc); That didn't help. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."