From patchwork Fri Apr 12 13:51:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 16113 Return-Path: X-Original-To: linaro@staging.patches.linaro.org Delivered-To: linaro@staging.patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 528B226EB0 for ; Fri, 12 Apr 2013 13:52:22 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id hf12sf3052973vcb.4 for ; Fri, 12 Apr 2013 06:51:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-beenthere:x-received:received-spf:x-received :x-forwarded-to:x-forwarded-for:delivered-to:x-received:received-spf :from:to:cc:subject:date:message-id:x-mailer:mime-version :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=ACQrhbWqkeIk9QiKolZ2aFkktBRG9R/q0f2pHgYBZG4=; b=YHYm7pjEyNmrUHwpcCfPrvwlB7ObutmHs9J7JtDmvykssocuziIih33FC6Ct+eZB8X AuI/TF5W0I7VSPfq09THKgGVNLDe1mwJc9wL8K4U1vThB68vMQPbO+iU8SgyG//ovj0P 6R+meuv7zW6gUMhX75uLvR2fXAILx/IdjO/aZL0cdZedqTscWkrv5VMfvIyjzUDyHtuU /6a876aOZIt4N+4krOk/Q6Zkj2zMssfUJ7hhSiglD16rOo+tydg24LMar/4FFmcM3Agh Brd3kHTcnL+sC5OLugudyYCjuFuB3s+OEbHpzSH9pcUavGlHXm6yahA9gigOifSR1Nb2 aTwg== X-Received: by 10.236.47.136 with SMTP id t8mr5582397yhb.13.1365774718308; Fri, 12 Apr 2013 06:51:58 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.39 with SMTP id e7ls1422749qej.58.gmail; Fri, 12 Apr 2013 06:51:58 -0700 (PDT) X-Received: by 10.52.28.196 with SMTP id d4mr7215268vdh.56.1365774718130; Fri, 12 Apr 2013 06:51:58 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id cs9si6508551vdc.90.2013.04.12.06.51.58 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Apr 2013 06:51:58 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id kw10so2191877vcb.5 for ; Fri, 12 Apr 2013 06:51:58 -0700 (PDT) X-Received: by 10.58.84.164 with SMTP id a4mr8580103vez.9.1365774717909; Fri, 12 Apr 2013 06:51:57 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp67035veb; Fri, 12 Apr 2013 06:51:57 -0700 (PDT) X-Received: by 10.224.25.145 with SMTP id z17mr11870046qab.15.1365774716623; Fri, 12 Apr 2013 06:51:56 -0700 (PDT) Received: from comal.ext.ti.com (comal.ext.ti.com. [198.47.26.152]) by mx.google.com with ESMTPS id 3si7970529qar.2.2013.04.12.06.51.55 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 12 Apr 2013 06:51:56 -0700 (PDT) Received-SPF: pass (google.com: domain of peter.ujfalusi@ti.com designates 198.47.26.152 as permitted sender) client-ip=198.47.26.152; Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id r3CDptRL014804; Fri, 12 Apr 2013 08:51:55 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r3CDptdL032065; Fri, 12 Apr 2013 08:51:55 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.2.342.3; Fri, 12 Apr 2013 08:51:54 -0500 Received: from barack.emea.dhcp.ti.com (barack.emea.dhcp.ti.com [137.167.125.74]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r3CDprwB032328; Fri, 12 Apr 2013 08:51:54 -0500 From: Peter Ujfalusi To: CC: , , , Subject: [PATCH] omap4.conf: Disable OMAP2 support Date: Fri, 12 Apr 2013 15:51:51 +0200 Message-ID: <1365774712-22947-1-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.8.1.5 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkRcJL+KnwSupxPvQ6RtXtF3RVm1P3IqN0Mf2Sv1OsF7T0EzId7B1Uht/8xNlrnu+Xm6GrH X-Original-Sender: peter.ujfalusi@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , When the kernel is built with CONFIG_ARCH_OMAP2 it will select CPU_V6 and other dependencies which causes issues in user space. For example when clients try to connect to PulseAudio they will crash with: Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting. Remove support for OMAP2 for now. Signed-off-by: Peter Ujfalusi --- Hi Andrey, Can you take a look at this patch? In the latest hwpack for panda (with 3.9 kernel) PulseAudio clients all asserts with the following error: Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting. The same userspace works fine (well, mostly) with 3.8 based hwpacks. It turns out that this is cased by the CONFIG_ARCH_OMAP2, if we disable it PA clients no longer assert. Since the config in question is for OMAP4, I see no issue removing the OMAP2 support since in this way we can get PA working. One issue still remain with PA: None of float resample method works: speex-float-[0-10] However speex-fixed-[0-10] and ffmpeg seams to be working, but it is not perfect. I'll try to figure out why we have this failure since on my Gentoo FS all resample method works fine with the same kernel. Regards, Peter linaro/configs/omap4.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/linaro/configs/omap4.conf b/linaro/configs/omap4.conf index 59e9f23..82c9365 100644 --- a/linaro/configs/omap4.conf +++ b/linaro/configs/omap4.conf @@ -11,6 +11,7 @@ CONFIG_OMAP_RESET_CLOCKS=y CONFIG_OMAP_MUX_DEBUG=y CONFIG_ARCH_OMAP2PLUS=y CONFIG_SOC_OMAP5=y +CONFIG_ARCH_OMAP2=n CONFIG_ARCH_VEXPRESS_CA9X4=y CONFIG_ARM_THUMBEE=y CONFIG_ARM_ERRATA_411920=y