From patchwork Tue Apr 23 13:24:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Ellerman X-Patchwork-Id: 238909 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 15A862C0289 for ; Tue, 23 Apr 2013 23:25:14 +1000 (EST) Received: from concordia (203-173-15-101.dyn.iinet.net.au [203.173.15.101]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPSA id F157F2C0132; Tue, 23 Apr 2013 23:24:37 +1000 (EST) Date: Tue, 23 Apr 2013 23:24:36 +1000 From: Michael Ellerman To: Dennis Schridde Subject: Re: PROBLEM: Only 2 of 4 cores used on IBM Cell blades and no threads shown in spufs Message-ID: <20130423132436.GB1078@concordia> References: <1470334.YUWOQ37ijW@ernie> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1470334.YUWOQ37ijW@ernie> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: cbe-oss-dev@lists.ozlabs.org, linuxppc-dev@lists.ozlabs.org, arnd@arndb.de X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Mon, Apr 22, 2013 at 06:44:13PM +0200, Dennis Schridde wrote: > Hello! > > > [1.] One line summary of the problem: > .. no threads shown in spufs So I think I've got this one fixed, this works for me, can you test it please? I'll send a proper patch in the morning. cheers diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c index 3f3bb4c..35f77a4 100644 --- a/arch/powerpc/platforms/cell/spufs/inode.c +++ b/arch/powerpc/platforms/cell/spufs/inode.c @@ -99,6 +99,7 @@ spufs_new_inode(struct super_block *sb, umode_t mode) if (!inode) goto out; + inode->i_ino = get_next_ino(); inode->i_mode = mode; inode->i_uid = current_fsuid(); inode->i_gid = current_fsgid();