lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 31 Jul 2007 22:08:25 +0200
From:	Eric Sesterhenn / Snakebyte <snakebyte@....de>
To:	Venki Pallipadi <venkatesh.pallipadi@...el.com>
Cc:	Eric Sesterhenn / Snakebyte <snakebyte@....de>,
	Michal Piotrowski <michal.k.k.piotrowski@...il.com>,
	Len Brown <lenb@...nel.org>, linux-kernel@...r.kernel.org,
	IDE/ATA development list <linux-ide@...r.kernel.org>,
	Bartlomiej Zolnierkiewicz <bzolnier@...il.com>,
	linux-acpi@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: Re: Time Problems with 2.6.23-rc1-gf695baf2

* Venki Pallipadi (venkatesh.pallipadi@...el.com) wrote:
> Can you check the test patch below (over latest git) and let me know whether it
> resolves the issue.
> 

the patch fixes the issue for me,
thanks a lot.

Eric

> Enable C3 without bm control only for CST based C3.
> 
> Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@...el.com>
> 
> Index: linux-2.6/drivers/acpi/processor_idle.c
> ===================================================================
> --- linux-2.6.orig/drivers/acpi/processor_idle.c	2007-07-31 04:29:26.000000000 -0700
> +++ linux-2.6/drivers/acpi/processor_idle.c	2007-07-31 04:52:50.000000000 -0700
> @@ -969,11 +969,17 @@
>  	}
>  
>  	if (pr->flags.bm_check) {
> -		/* bus mastering control is necessary */
>  		if (!pr->flags.bm_control) {
> -			/* In this case we enter C3 without bus mastering */
> -			ACPI_DEBUG_PRINT((ACPI_DB_INFO,
> -				"C3 support without bus mastering control\n"));
> +			if (pr->flags.has_cst != 1) {
> +				/* bus mastering control is necessary */
> +				ACPI_DEBUG_PRINT((ACPI_DB_INFO,
> +					"C3 support requires BM control\n"));
> +				return;
> +			} else {
> +				/* Here we enter C3 without bus mastering */
> +				ACPI_DEBUG_PRINT((ACPI_DB_INFO,
> +					"C3 support without BM control\n"));
> +			}
>  		}
>  	} else {
>  		/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ