Borislav Petkov | 18 Apr 12:38 2014
Picon

Re: Info: mapping multiple BARs. Your kernel is fine.

On Thu, Apr 17, 2014 at 05:30:27PM -0400, Dave Jones wrote:
> I think it's just implicated because that's the next thing that seems
> to init after the modeswitch. The config differences are small, just
> things like =m instead of =y or vice-versa.
>
> I'm about to head into a long weekend, so I'll get back to this on
> Monday, but for now I'm out of ideas.

This is for when you get back: :-)

Can you debug that hang a bit more, like enable some sensible options
under "Kernel Hacking" or somesuch, boot with initcall_debug, add
more printks at key places? If the machine would tell us why exactly
it hangs, we might have an idea, like corruption, transaction stall,
whatever...

--

-- 
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Semen Protsenko | 17 Apr 17:53 2014

[PATCH] acpi: respect const qualifier

This patch fixes next warning:

<------------------------------- cut here --------------------------------->
drivers/acpi/property.c: In function ‘acpi_free_properties’:
drivers/acpi/property.c:35:2: warning: passing argument 1 of ‘acpi_os_free’
                              discards ‘const’ qualifier from pointer
                              target type [enabled by default]

  ACPI_FREE(adev->properties);
<------------------------------- cut here --------------------------------->

The problem is next:

 - acpi_free_properties() calls ACPI_FREE(), passing "const *"
   parameter to it
 - ACPI_FREE() is macro for acpi_os_free()
 - acpi_os_free() takes "void *" parameter
 - acpi_os_free() calls kfree()
 - but kfree() requires "const void *" parameter

So acpi_os_free() should require "const void *" parameter as well.

Signed-off-by: Semen Protsenko <semen.protsenko <at> linaro.org>
---
 include/acpi/platform/aclinux.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
index 93c55ed..c6fa763 100644
--- a/include/acpi/platform/aclinux.h
(Continue reading)

Chen, Gong | 17 Apr 08:28 2014
Picon

Add new eMCA trace event interface V2

[PATCH 1/2 v2] x86, MCE: Fix a bug in CMCI handler
[PATCH 2/5 v2] CPER: Adjust code flow of some functions
[PATCH 3/5 v2] trace, RAS: Add eMCA trace event interface
[PATCH 4/5 v2] trace, eMCA: Add a knob to adjust where to save event log
[PATCH 5/5] trace, AER: Move trace into unified interface

This patch series add new eMCA trace event interface. To avoid conflict with
existed interface, a new unified trace event stub in the kernel is used.
New trace interface is mutually exclusive with console message via
a knob under debugfs. This knob is a reference counter. When it is opened,
the counter will be increased, whereas the counter will be decreased
if it is closed. Once this counter is greater than 0, the trace will be
used, otherwise, message will be routed to the console.

In the last patch, I merge older AER trace interface into new unified
trace interface.

v2 -> v1: merge the comments from Tony Luck & Borislav Petkov

BTW, in patch 2 & 3 I don't put some strings as stack parameter to avoid
potential overflow. After all they are too big (512 bytes in total).
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Juho Rinta-Paavola | 16 Apr 15:32 2014
Picon

Problem: Kernel panic on systems with an invalid XSDT

[1.] One line summary of the problem:
The kernel panics during early boot, which seems to be caused by an 
invalid XSDT.

[2.] Full description of the problem/report:
The panic can be worked around by passing acpi=off on the kernel 
command line. Passing acpi=ht crashes.

[3.] Keywords (i.e., modules, networking, kernel): -
[4.] Kernel information
[4.1.] Kernel version (from /proc/version):
Several kernels were tested

[4.2.] Kernel .config file:
I used the default arch linux config

(https://projects.archlinux.org/svntogit/packages.git/tree/trunk/config.x86_64?h=packages/linux), 
running make oldconfig and selecting the defaults.

[5.] Most recent kernel version which did not have the bug:
Output of git bisect:

671cc68dc61f029d44b43a681356078e02d8dab8 is the first bad commit
commit 671cc68dc61f029d44b43a681356078e02d8dab8
Author: Lv Zheng <lv.zheng <at> intel.com>
Date:   Wed Jan 8 13:43:34 2014 +0800

    ACPICA: Back port and refine validation of the XSDT root table.

    Some platforms contain an XSDT that is ill-formed or otherwise 
(Continue reading)

isabelle | 15 Apr 21:47 2014
Picon

spende /Donation

Hallo
Wenn ich diese Nachricht zu senden wollte, ist dies nicht einfach Zufall. Dies ist, weil Ihre e-Mail vom
elektronischen Roboter gesichert meine WX.7AR BW ausgewählt wurde.
Zunächst möchte ich mich für dieses Eindringen in Ihr Leben zu entschuldigen, obwohl ich zugeben, dass
es mir sehr wichtig. Ich bin Isabelle Vasudev. Ich leide an Krebs im Hals seit nun mehr als 3 Jahre und eine
halbe und es leider, mein Arzt hat gerade informiert mich, dass ich bin voller unheilbar und, dass meine
Tage, wegen meinen etwas gezählt sind abgebaut Zustand. Ich bin eine Witwe und ich habe keine Kind, das
ich beginne zu bedauern.
In der Tat ist der Grund, warum ich Sie kontaktieren bin, möchte ich einen Teil von meinem Grundstück zu
spenden, weil ich niemand, wer die Erben konnte. Ich habe fast mein ganzes Zeug, darunter ein Unternehmen
der Export von Holz, Gummi und Stahl-Industrie in Afrika, wo ich wohne nun mehr 10 Jahren, verkauft. Ein
großer Teil der Gelder gesammelt wurde mit unterschiedlichen Verbänden humanitären Charakter
überall in der Welt, aber besonders hier in Afrika bezahlt.
Im Hinblick auf den Rest der Summe genau in Höhe von 750.000, 00euros (sieben hundert und fünfzig tausend
Euro) auf eine gesperrte Mitarbeiter-Account, meine letzte wünschen würde Sie es spenden, so dass Sie
in Ihrer Branche und vor allem den humanitären investieren können. Ich bin ganz bewusst was ich zu tun
beabsichtigen, und ich denke, trotz der Tatsache, die wir nicht wissen, werdet ihr diese Summe gut
nutzen. Ich bitte Sie, bitte dieses Erbe zu akzeptieren, ohne jedoch Fragen Sie alles, was in
zurückgeben wenn es nicht immer denken, gutes zu tun, um dich herum, was ich nicht getan habe, in meiner Existenz.
Das heißt, wird auf einer verantwortlichen Person und besonders gutem Glauben fallen zu lassen
beruhigt, ich möchte bitten, dass Sie bitte mich bei den meisten schnell kontaktieren, um weitere
Erklärung über die Gründe für meine Geste und den Verlauf der Dinge zu geben. Bitte kontaktieren Sie
mich so bald wie möglich, wenn Sie mein Angebot akzeptieren.
Gott möge mit dir sein!
Ich fordere Sie auf, mich über meine persönliche e-Mail-Adresse zu kontaktieren:
Isabelle.claude654 <at> laposte.net
Der Frieden und Barmherzigkeit Gottes möge mit dir sein.
Mrs Isabelle

--
(Continue reading)

Rui Wang | 15 Apr 15:48 2014
Picon

[PATCH v3 0/5] I/O Hook: Trace h/w access and emulate h/w events

Hi All,
This is the 3rd version of I/O Hook, a patch set aimed at intercepting
h/w access by the OS. Some examples of how it can be used:
        1) To emulate h/w events (e.g. hotplug)
        2) To inject h/w errors to the kernel
        3) To trace h/w access by the OS for performance tuning or debugging.
Details of the examples can be found in Documentation/PCI/iohook.txt.

A set of user space tools using I/O Hook for various use cases will be hosted
on https://github.com/iohook. It initially contains inject-aer which takes the
trace event output of /sys/kernel/debug/tracing/events/ras/aer_event/ and
regenerate the same PCIE AER event so that PCIE AER can be easily tested.

Changes since v2:
        - Added the hook for MSRs (can specify a cpu number)
        - Can trigger IPI by a vector (so that exceptions can be emulated)
        - Defined iohook_event as the trace event to trace h/w access. A new
          attribute 'tc' can be defined for any Register Override for tracing
          purpose.

Rui Wang (5):
  I/O Hook: core functions and Register Override
  I/O Hook: Help functions to manage the hook
  I/O Hook: sysfs interface to emulate h/w events
  I/O Hook: Override MSRs while triggering MCEs
  IO Hook: Tracing hw access

 Documentation/PCI/iohook.txt      |  353 ++++++++++
 arch/Kconfig                      |   10 +
 arch/x86/boot/compressed/Makefile |    1 +
(Continue reading)

Baoquan He | 15 Apr 01:55 2014
Picon

[PATCH] acpi: try to trust cpu_index from x86_cpu_to_apicid

In smp with multi cpus, when enter into kdump kernel with only 1 cpu,
a warning message is printed out:

acpi LNXCPU:0a: BIOS reported wrong ACPI id 0 for the processor

In this case kdump kernel use the same ACPI tables as 1st kernel,
means lapic information is got from MADT. The acpi_id related to
this cpu index and lapic_id may not be 0, so the code to assign
value to cpu_index is not correct in this case per cpu0_initialized.
cpu index stored in x86_cpu_to_apicid need be respected.

Now fix it in this patch per boot_cpu_physical_apicid. When cpu index
related to boot_cpu_physical_apicid is not stored in x86_cpu_to_apicid,
then we can say this is UP system running SMP kernel with no LAPIC in MADT

Signed-off-by: Baoquan He <bhe <at> redhat.com>
---
 drivers/acpi/acpi_processor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c
index c29c2c3..1ae460c 100644
--- a/drivers/acpi/acpi_processor.c
+++ b/drivers/acpi/acpi_processor.c
 <at>  <at>  -267,7 +267,7  <at>  <at>  static int acpi_processor_get_info(struct acpi_device *device)
 	pr->apic_id = apic_id;

 	cpu_index = acpi_map_cpuid(pr->apic_id, pr->acpi_id);
-	if (!cpu0_initialized) {
+	if (!cpu0_initialized && (boot_cpu_physical_apicid == pr->apic_id)) {
(Continue reading)

Luis Henriques | 15 Apr 01:55 2014

BUG: using __this_cpu_write() in preemptible [00000000] code: systemd-udevd/497


(Cc'ing both lis3lv02d and ACPI maintainers)

Since commit 188a81409ff7de1c5aae947a96356ddd8ff4aaa3 ("percpu: add
preemption checks to __this_cpu ops") I've been seeing the following:

[   10.485588] hp_accel: hardware type HPB64xx found
[   10.485772] BUG: using __this_cpu_write() in preemptible [00000000] code: systemd-udevd/497
[   10.485777] caller is __this_cpu_preempt_check+0x13/0x20
[   10.485781] CPU: 3 PID: 497 Comm: systemd-udevd Tainted: G        W     3.15.0-rc1 #9
[   10.485783] Hardware name: Hewlett-Packard HP EliteBook 8470p/179B, BIOS 68ICF Ver. F.02 04/27/2012
[   10.485785]  ffffffff81a14db5 ffff88022c80b8e0 ffffffff81604ba4 0000000000000003
[   10.485789]  ffff88022c80b908 ffffffff81313431 0000000000000000 0000000000000032
[   10.485793]  00000000000003e8 ffff88022c80b918 ffffffff81313473 ffff88022c80b928
[   10.485796] Call Trace:
[   10.485802]  [<ffffffff81604ba4>] dump_stack+0x4e/0x7a
[   10.485805]  [<ffffffff81313431>] check_preemption_disabled+0xe1/0xf0
[   10.485808]  [<ffffffff81313473>] __this_cpu_preempt_check+0x13/0x20
[   10.485813]  [<ffffffff810e4eb8>] touch_nmi_watchdog+0x28/0x40
[   10.485817]  [<ffffffff81369c29>] acpi_os_stall+0x37/0x40
[   10.485822]  [<ffffffff813843e2>] acpi_ex_system_do_stall+0x39/0x3d
[   10.485825]  [<ffffffff81381138>] acpi_ex_opcode_1A_0T_0R+0x72/0xa3
[   10.485829]  [<ffffffff81379a5d>] acpi_ds_exec_end_op+0xd0/0x3e8
[   10.485833]  [<ffffffff8138b118>] acpi_ps_parse_loop+0x51d/0x576
[   10.485836]  [<ffffffff8138bbc4>] acpi_ps_parse_aml+0x98/0x289
[   10.485839]  [<ffffffff8138c41e>] acpi_ps_execute_method+0x1c1/0x26c
[   10.485843]  [<ffffffff81386dcd>] acpi_ns_evaluate+0x1c1/0x258
[   10.485846]  [<ffffffff8138960d>] acpi_evaluate_object+0x126/0x22f
[   10.485850]  [<ffffffff810a4492>] ? wake_up_klogd+0x52/0x70
[   10.485853]  [<ffffffff8136a520>] acpi_evaluate_integer+0x34/0x52
(Continue reading)

Rafael J. Wysocki | 10 Apr 23:48 2014

[GIT PULL] More ACPI and power management fixes and updates for v3.15-rc1

Hi Linus,

Please pull from

 git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
 pm+acpi-3.15-rc1-3

to receive additional ACPI and power management updates and a CPU hotplug
regression fix for v3.15-rc1 with top-most commit 19ce7f3f31103d7a5b0e93

 Merge branch 'acpi-config'

on top of commit 467a9e1633043810259a7f5368fbcc1e84746137

 Merge tag 'cpu-hotplug-3.15-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

This is PM and ACPI material that has emerged over the last two weeks
and one fix for a CPU hotplug regression introduced by the recent CPU
hotplug notifiers registration series.  Included are intel_idle and
turbostat updates from Len Brown (these have been in linux-next for
quite some time), a new cpufreq driver for powernv (that might spend
some more time in linux-next, but BenH was asking me so nicely to push
it for 3.15 that I couldn't resist), some cpufreq fixes and cleanups
(including fixes for some silly breakage in a couple of cpufreq drivers
introduced during the 3.14 cycle), assorted ACPI cleanups, wakeup
framework documentation fixes, a new sysfs attribute for cpuidle and
a new command line argument for power domains diagnostics.

Specifics:
(Continue reading)

Matthew Garrett | 10 Apr 22:13 2014

[PATCH] Default to using the native backlight control on Windows 8 systems

The list of machines in the "Use native backlight" table is getting longer
and longer, which is a solid indication that we're doing something wrong.
Disable the ACPI backlight interface if the system claims to be Windows 8
or later.

Signed-off-by: Matthew Garrett <matthew.garrett <at> nebula.com>
---

Let's at least get this into -next for 3.16 and figure out whether the
drivers actually work now.

 drivers/acpi/video.c | 139 +--------------------------------------------------
 1 file changed, 1 insertion(+), 138 deletions(-)

diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 48c7e8a..21d2fc9 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
 <at>  <at>  -78,14 +78,6  <at>  <at>  module_param(brightness_switch_enabled, bool, 0644);
 static bool allow_duplicates;
 module_param(allow_duplicates, bool, 0644);

-/*
- * For Windows 8 systems: used to decide if video module
- * should skip registering backlight interface of its own.
- */
-static int use_native_backlight_param = -1;
-module_param_named(use_native_backlight, use_native_backlight_param, int, 0444);
-static bool use_native_backlight_dmi = false;
-
(Continue reading)

ROYAL ASSURED LOAN | 10 Apr 15:26 2014

Darlehen Angebot

 Wir bieten privaten und gewerblichen Darlehen ohne Sicherheiten (nur 
 Identifikation) bei 3% Zinssatz, ab € 10.000 bis € 90.000.000 in 1 Jahr 
 bis 20 Jahren Laufzeit überall in der Welt..
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane