| From | Subject | Date |
|---|---|---|
| Arjan van de Ven | [PATCH 01/19] pci: introduce an pci_ioremap(pdev, barnr) ...
The patch below introduces a pci_ioremap() function that should make it easier for
driver authors to do the right thing for the simple, common case.
There's also 18 patches that introduce users of this; to reduce lkml noise I've only
stuck them in a git tree at
git://git.kernel.org/pub/scm/linux/kernel/git/arjan/linux-2.6-pci_ioremap.git
(http://git.kernel.org/?p=linux/kernel/git/arjan/linux-2.6-pci_ioremap.git;a=summary)
From fef1dd836bc7dc07962a0ae4019af9efd373c76f Mon Sep 17 00:00:00 ...
| Sep 28, 4:36 pm 2008 |
| Justin Mattock | BUG kmalloc-16: Object already free
After frying my system, I'm finally up and
running. Not sure if this was due to a git-pull
(only be a few days since the last pull), or what:
when waking from suspend I see this
(I know it says tainted in it, so this will be the only noise you'll
here from me on this);
[ 274.327003] =============================================================================
[ 274.327528] BUG kmalloc-16: Object already free
[ 274.327877] ...
| Sep 28, 3:54 pm 2008 |
| JPM | iTCO_wdt v1.03 (30-Apr-2008) will not reboot ICH7-M plat ...
Hello,
I have an Asus N4L-VM DH. This is an Intel Core Solo platform with
ICH7-M, it includes the Intel TCO watchdog. When I start the board and
kill watchdog, the Intel watchdog reboots the computer.
If I have suspended (S3) the machine at least once before killing
watchdog, then the board just sits there, no reboot occurs.
I have tested this with softdog, and softdog does not fail to reboot
the computer post suspend/wake-up.
I have compiled the iTCO_wdt module into the kernel, same results ...
| Sep 28, 3:20 pm 2008 |
| Arjan van de Ven | Oops/Warning report for the week of September 28th, 2008
The http://www.kerneloops.org website collects kernel oops and
warning reports from various mailing lists and bugzillas as well as
with a client users can install to auto-submit oopses.
Below is a list of the top traces collected in the last 7 days.
(Reports for version 2.6.25 or earlier have been omitted in collecting the top 10)
This week, a total of 3357 oopses and warnings have been reported,
compared to 2712 reports in the previous week.
Per file ...
| Sep 28, 1:12 pm 2008 |
| Rafael J. Wysocki | Re: sdhci: Loads of scary messages during suspend/resume ...
The 'parent mmc0 should not be sleeping' message is a known problem with MMC.
Thanks,
Rafael
--
| Sep 28, 3:42 pm 2008 |
| Frans Pop | Re: sdhci: Loads of scary messages during suspend/resume ...
Forgot the most important bits.
Kernel is current git (2.6.27-rc7-106-g6ef190c), x86_64.
Laptop is running Debian amd64/unstable.
--
| Sep 28, 1:04 pm 2008 |
| Frans Pop | sdhci: Loads of scary messages during suspend/resume wit ...
My HP 2510p has an SD card slot and a few days ago I bought one to be able
to add support for SD cards in the Debian Installer.
Whilst playing with it, I found the following messages in my logs during
suspend. At the time the card was inserted, but nothing on it was mounted.
There also seems to be a problem while resuming, especially:
mmc mmc0:8879: parent mmc0 should not be sleeping
More context at the bottom of the mail.
From lspci -vvv:
02:06.2 SD Host controller: Ricoh Co Ltd R5C822 ...
| Sep 28, 12:46 pm 2008 |
| Krzysztof Helt | [PATCH] x86: merge winchip-2 and winchip-2a cpu choices
From: Krzysztof Helt <krzysztof.h1@wp.pl>
The Winchip-2 and Winchip-2A cpu choices select the
same options for kernel and compiler.
Merge them to save few bytes and reduce confusion.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
---
diff -urp linux-ref/arch/um/defconfig linux-2.6.26/arch/um/defconfig
--- linux-ref/arch/um/defconfig 2008-09-28 18:58:21.000000000 +0200
+++ linux-2.6.26/arch/um/defconfig 2008-09-28 18:46:20.000000000 +0200
@@ -42,7 +42,6 @@ CONFIG_M686=y
# ...
| Sep 28, 12:28 pm 2008 |
| Vegard Nossum | [GIT PULL] kmemcheck fixlets (for -tip)
Hi Ingo,
Here is the fixlets branch, including bitfields API. I think it would
be very nice if you could make this a *separate* branch in -tip, say
kmemcheck-fixlets or so, as it may touch any part of the kernel and
doesn't carry the acks of those maintainers.
With these patches, you should be able to include kmemcheck in auto-testing
again. At least it works for me :-)
You may also kill tip/kmemcheck-dma, which has been integrated already.
The following changes since commit ...
| Sep 28, 11:06 am 2008 |
| Rik van Riel | Re: [REQUEST] Clarification from Copyright Holders on FU ...
On Sun, 28 Sep 2008 15:45:36 -0400
This, of course, means you may want to ask your lawyer to
make sure to which countries binary only kernel modules can
be distributed and in which countries they are definately
illegal.
Then you can put some access control in place on your web
site to make sure people from countries where binary only
kernel modules are illegal cannot download your drivers.
Of course, what to do with the countries where the answer
to the question is not clear cut is up to ...
| Sep 28, 4:46 pm 2008 |
| jmerkey | [REQUEST] Clarification from Copyright Holders on FUSE/N ...
I have been involved in numerous discussions with a variety of folks,
including Bruce Perens regarding the new policy governing kernel drivers
created for specific hardware/features and the Linux Foundations position
on proprietary hardware drives. I have attempted to contact the FSF and
discuss this with them and they have refused to respond to letters or
return telephone calls to discuss this topic (I do not believe this is the
result of malice on their part or some conspiracy -- I think its ...
| Sep 28, 10:15 am 2008 |
| jmerkey | Re: [REQUEST] Clarification from Copyright Holders on ...
Thanks Ted,
I have spoken to lots of lawyers about this and to be honest they were
pretty much clueless since the real issues involve definitions about what
technologies are covered in the user space exemptions and which are not,
and your conclusions seem right on the money. I was advised to ask the
copyright holders their opinions, since this is very much a subjective
determination based upon knowledge of technologies and where the line are
drawn. The legal issues are well understood -- ...
| Sep 28, 12:24 pm 2008 |
| jmerkey | Re: [REQUEST] Clarification from Copyright Holders on ...
Rik,
I do not distribute anything outside of the US, and nothing I offer as
downloads is binary without sources. My website at wolfmountaingroup.org
is open source only, and I feel I am doing my part to the OSS empire in
putting out a kernel debugger and a bunch of other stuff for free.
Ad for countries with anally retentive laws about binary drivers, it
sounds like places no one wants to pay for stuff anyway so I doubt any of
my business associates have any interest in distributing in ...
| Sep 28, 4:34 pm 2008 |
| Theodore Tso | Re: [REQUEST] Clarification from Copyright Holders on FU ...
The position statement on closed-source Linux Kernel Modules was
deliberately not a "policy statement", nor did it talk about issues
about what is or isn't legal. This was deliberate. Issues over
whether or not the GPL covers binary modules fundamentally depend on
individual legal jourisdictions' interpretations of copyright law and
derivitive works, and that was something which the kernel developers
who worked on the language of said joint position statement
If you need legal advice, you ...
| Sep 28, 12:45 pm 2008 |
| Prakash Punnoor | 2.6.27-rc-7: BUG: scheduling while atomic: swapper/0/0x0 ...
[Empty message]
| Sep 28, 10:45 am 2008 |
| Vegard Nossum | [GIT PULL] kmemcheck updates (for -tip)
Hi,
Here comes next batch of kmemcheck patches. Temporary work-around for
x86_64 is to not track >4k pages. It would be nice to have this sorted
out properly, but there is not enough time for me to look into it at
the moment.
The following changes since commit 4b7f562ea9736b8b111ffeb60a7311075ce76849:
Ingo Molnar (1):
kmemcheck: build fix
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/vegard/kmemcheck.git for-tip
Vegard Nossum (4):
...
| Sep 28, 10:03 am 2008 |
| Matthew Wilcox | Re: [PATCH] pci: Fixing drivers/pci/search.c compilation ...
Yes, but this compilation warning is pointing to a real problem.
We've told the compiler that the pci_dev is const (ie we won't modify
it), but pci_dev_put() is most assuredly going to modify and potentially
can even free the struct pci_dev.
In looking at this, I found another bug in the pci_find_device()
rewrite. pci_get_subsys() will put the reference to 'from' (if
non-NULL), but the reference was already put by pci_find_device(),
so I suspect the reference count ends up going zero very ...
| Sep 28, 9:32 am 2008 |
| Leon Woestenberg | scatterlist.c or dma_map_sg() should coalesce?
Hello,
in 2.6.27+, if I want to create a scatterlist of a large buffer in
virtual memory in a device driver, can I expect the scatterlist and/or
mapping API to provide me with a minimal list, each entry describing a
maximum bus-contiguous piece of memory? (i.e. can I assume coalescing
is done for me?).
In 2.6.24, dma_map_sg() *may* coalesce, but doesn't do so for my
platform, so for optimal DMA transfers the device driver needs to
coalesce the list entries.
Regards,
--
Leon
--
| Sep 28, 8:47 am 2008 |
| FUJITA Tomonori | Re: scatterlist.c or dma_map_sg() should coalesce?
On Sun, 28 Sep 2008 17:47:59 +0200
No, it's not the job of dma_map_sg. Before dma_map_sg, physical
continuous page frames in a scatter list are supposed be coalesced.
For example, the block layer creates a scatter list in which physical
With some of IOMMUs, dma_map_sg might coalesce virtual and physical
continuous page frames. If 2.6.24 doesn't do for you, 2.6.27 doesn't
too.
--
| Sep 28, 10:11 am 2008 |
| Avi Kivity | [PATCH 08/25] KVM: x86: unhalt vcpu0 on reset
From: Marcelo Tosatti <mtosatti@redhat.com>
Since "KVM: x86: do not execute halted vcpus", HLT by vcpu0 before system
reset by the IO thread will hang the guest.
Mark vcpu as runnable in such case.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/x86.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index bf98d40..2134f3e 100644
--- ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 07/25] KVM: x86 emulator: Add call near absolute ...
From: Mohammed Gamal <m.gamal005@gmail.com>
Add call near absolute instruction.
Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/x86_emulate.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c
index 3ac2f14..0630d21 100644
--- a/arch/x86/kvm/x86_emulate.c
+++ b/arch/x86/kvm/x86_emulate.c
@@ -286,7 +286,8 @@ static u16 group_table[] = ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 17/25] KVM: x86 emulator: Add cmp al, imm and cmp ...
From: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
Add decode entries for these opcodes; execution is already implemented.
Signed-off-by: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/x86_emulate.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c
index 4390ec8..2b43208 100644
--- a/arch/x86/kvm/x86_emulate.c
+++ ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 00/25] KVM Updates for 2.6.28 merge window (part ...
Here is the third and last batch of the KVM updates for the 2.6.28 merge window.
Linux 2.6.28 KVM will introduce support for pci device assignment and will
improve overall emulation accuracy.
Amit Shah (1):
KVM: Device Assignment: Free device structures if IRQ allocation
fails
Avi Kivity (3):
KVM: Add statistics for guest irq injections
KVM: x86 emulator: fix jmp r/m64 instruction
MAINTAINERS: Update Avi Kivity's email address
Ben-Ami Yassour (1):
KVM: Device Assignment ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 24/25] KVM: x86.c make kvm_load_realmode_segment static
From: Harvey Harrison <harvey.harrison@gmail.com>
Noticed by sparse:
arch/x86/kvm/x86.c:3591:5: warning: symbol 'kvm_load_realmode_segment' was not declared. Should it be static?
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
---
arch/x86/kvm/x86.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 108f072..1b738cb 100644
--- a/arch/x86/kvm/x86.c
+++ ...
| Sep 28, 8:45 am 2008 |
| Avi Kivity | [PATCH 23/25] KVM: switch to get_user_pages_fast
From: Marcelo Tosatti <mtosatti@redhat.com>
Convert gfn_to_pfn to use get_user_pages_fast, which can do lockless
pagetable lookups on x86. Kernel compilation on 4-way guest is 3.7%
faster on VMX.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
---
arch/powerpc/kvm/44x_tlb.c | 2 --
arch/x86/kvm/mmu.c | 23 +++++++++--------------
arch/x86/kvm/paging_tmpl.h | 8 +-------
arch/x86/kvm/vmx.c | 4 ----
...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 12/25] add MAINTAINERS entry for the KVM AMD module
From: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
MAINTAINERS | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index cad81a2..232ff4a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2416,6 +2416,13 @@ L: kvm@vger.kernel.org
W: http://kvm.qumranet.com
S: Supported
+KERNEL VIRTUAL MACHINE (KVM) FOR AMD-V
+P: Joerg ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 25/25] MAINTAINERS: Update Avi Kivity's email address
Signed-off-by: Avi Kivity <avi@redhat.com>
---
MAINTAINERS | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 232ff4a..6f1f241 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2411,7 +2411,7 @@ S: Supported
KERNEL VIRTUAL MACHINE (KVM)
P: Avi Kivity
-M: avi@qumranet.com
+M: avi@redhat.com
L: kvm@vger.kernel.org
W: http://kvm.qumranet.com
S: Supported
--
1.6.0.1
--
| Sep 28, 8:45 am 2008 |
| Avi Kivity | [PATCH 13/25] x86: Move VMX MSRs to msr-index.h
From: Sheng Yang <sheng.yang@intel.com>
They are hardware specific MSRs, and we would use them in virtualization
feature detection later.
Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/vmx.h | 15 ---------------
include/asm-x86/msr-index.h | 16 ++++++++++++++++
2 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/arch/x86/kvm/vmx.h b/arch/x86/kvm/vmx.h
index 41e8c10..86059f4 100644
--- ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 19/25] VT-d: Changes to support KVM
From: Kay, Allen M <allen.m.kay@intel.com>
This patch extends the VT-d driver to support KVM
[Ben: fixed memory pinning]
Signed-off-by: Kay, Allen M <allen.m.kay@intel.com>
Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Ben-Ami Yassour <benami@il.ibm.com>
Signed-off-by: Amit Shah <amit.shah@qumranet.com>
Acked-by: Mark Gross <mgross@linux.intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
drivers/pci/dmar.c | 4 +-
...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 22/25] KVM: opencode gfn_to_page in kvm_vm_fault
From: Marcelo Tosatti <mtosatti@redhat.com>
kvm_vm_fault is invoked with mmap_sem held in read mode. Since gfn_to_page
will be converted to get_user_pages_fast, which requires this lock NOT
to be held, switch to opencoded get_user_pages.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
---
virt/kvm/kvm_main.c | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/virt/kvm/kvm_main.c ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 11/25] KVM: x86 emulator: fix jmp r/m64 instruction
From: Avi Kivity <avi@qumranet.com>
jmp r/m64 doesn't require the rex.w prefix to indicate the operand size
is 64 bits. Set the Stack attribute (even though it doesn't involve the
stack, really) to indicate this.
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/x86_emulate.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c
index 0630d21..0c120c4 100644
--- a/arch/x86/kvm/x86_emulate.c
+++ ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 20/25] KVM: Device Assignment with VT-d
From: Ben-Ami Yassour <benami@il.ibm.com>
Based on a patch by: Kay, Allen M <allen.m.kay@intel.com>
This patch enables PCI device assignment based on VT-d support.
When a device is assigned to the guest, the guest memory is pinned and
the mapping is updated in the VT-d IOMMU.
[Amit: Expose KVM_CAP_IOMMU so we can check if an IOMMU is present
and also control enable/disable from userspace]
Signed-off-by: Kay, Allen M <allen.m.kay@intel.com>
Signed-off-by: Weidong Han ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 21/25] KVM: Device Assignment: Free device struct ...
From: Amit Shah <amit.shah@redhat.com>
When an IRQ allocation fails, we free up the device structures and
disable the device so that we can unregister the device in the
userspace and not expose it to the guest at all.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
---
arch/x86/kvm/x86.c | 86 +++++++++++++++++++++++++++-------------------------
1 files changed, 45 insertions(+), 41 deletions(-)
diff --git a/arch/x86/kvm/x86.c ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 15/25] x86: Move FEATURE_CONTROL bits to msr-index.h
From: Sheng Yang <sheng.yang@intel.com>
For MSR_IA32_FEATURE_CONTROL is already there.
Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/vmx.h | 3 ---
include/asm-x86/msr-index.h | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kvm/vmx.h b/arch/x86/kvm/vmx.h
index 44cfab7..3e010d2 100644
--- a/arch/x86/kvm/vmx.h
+++ b/arch/x86/kvm/vmx.h
@@ -331,9 +331,6 @@ enum vmcs_field {
...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 10/25] KVM: VMX: Cleanup stalled INTR_INFO read
From: Jan Kiszka <jan.kiszka@siemens.com>
Commit 1c0f4f5011829dac96347b5f84ba37c2252e1e08 left a useless access
of VM_ENTRY_INTR_INFO_FIELD in vmx_intr_assist behind. Clean this up.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/vmx.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index e7e8c86..f8e615f 100644
--- a/arch/x86/kvm/vmx.c
+++ ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 05/25] KVM: x86 emulator: Add in/out instructions ...
From: Mohammed Gamal <m.gamal005@gmail.com>
The patch adds in/out instructions to the x86 emulator.
The instruction was encountered while running the BIOS while using
the invalid guest state emulation patch.
Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/x86_emulate.c | 35 +++++++++++++++++++++++++++++++++--
1 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kvm/x86_emulate.c ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 14/25] KVM: VMX: Rename IA32_FEATURE_CONTROL bits
From: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/vmx.c | 18 +++++++++---------
arch/x86/kvm/vmx.h | 4 ++--
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index f8e615f..046a91b 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -1041,9 +1041,9 @@ static __init int vmx_disabled_by_bios(void)
u64 msr;
...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 16/25] KVM: x86 emulator: Add DstAcc operand type
From: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
Add DstAcc operand type. That means that there are 4 bits now for
DstMask.
"In the good old days cpus would have only one register that was able to
fully participate in arithmetic operations, typically called A for
Accumulator. The x86 retains this tradition by having special, shorter
encodings for the A register (like the cmp opcode), and even some
instructions that only operate on A (like mul).
SrcAcc and DstAcc would ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 01/25] KVM: x86 emulator: Add std and cld instruc ...
From: Mohammed Gamal <m.gamal005@gmail.com>
This adds the std and cld instructions to the emulator.
Encountered while running the BIOS with invalid guest
state emulation enabled.
Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/x86_emulate.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c
index 66e0bd6..944f1f4 100644
--- ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 09/25] KVM: ppc: kvmppc_44x_shadow_release() does ...
From: Hollis Blanchard <hollisb@us.ibm.com>
And it gets in the way of get_user_pages_fast().
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/powerpc/kvm/44x_tlb.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/arch/powerpc/kvm/44x_tlb.c b/arch/powerpc/kvm/44x_tlb.c
index 3594bbd..7b11fd7 100644
--- a/arch/powerpc/kvm/44x_tlb.c
+++ b/arch/powerpc/kvm/44x_tlb.c
@@ -110,7 +110,6 @@ static int ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 02/25] KVM: ia64: Implement kvm_arch_vcpu_ioctl_{ ...
From: Xiantao Zhang <xiantao.zhang@intel.com>
Two ioctl arch functions are added to set vcpu's smp state.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/ia64/kvm/kvm-ia64.c | 37 +++++++++++++++++++++++++++++++++++--
1 files changed, 35 insertions(+), 2 deletions(-)
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c
index cd0d1a7..7ad759e 100644
--- a/arch/ia64/kvm/kvm-ia64.c
+++ b/arch/ia64/kvm/kvm-ia64.c
@@ ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 03/25] KVM: MMU: Modify kvm_shadow_walk.entry to ...
From: Sheng Yang <sheng.yang@intel.com>
EPT is 4 level by default in 32pae(48 bits), but the addr parameter
of kvm_shadow_walk->entry() only accept unsigned long as virtual
address, which is 32bit in 32pae. This result in SHADOW_PT_INDEX()
overflow when try to fetch level 4 index.
Fix it by extend kvm_shadow_walk->entry() to accept 64bit addr in
parameter.
Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/mmu.c | 10 ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 04/25] KVM: Add statistics for guest irq injections
From: Avi Kivity <avi@qumranet.com>
These can help show whether a guest is making progress or not.
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/svm.c | 1 +
arch/x86/kvm/vmx.c | 1 +
arch/x86/kvm/x86.c | 1 +
include/asm-x86/kvm_host.h | 1 +
4 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 6022888..9b54550 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -1519,6 ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 06/25] KVM: x86: do not execute halted vcpus
From: Marcelo Tosatti <mtosatti@redhat.com>
Offline or uninitialized vcpu's can be executed if requested to perform
userspace work.
Follow Avi's suggestion to handle halted vcpu's in the main loop,
simplifying kvm_emulate_halt(). Introduce a new vcpu->requests bit to
indicate events that promote state from halted to running.
Also standardize vcpu wake sites.
Signed-off-by: Marcelo Tosatti <mtosatti <at> redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/i8254.c ...
| Sep 28, 8:44 am 2008 |
| Avi Kivity | [PATCH 18/25] KVM: x86 emulator: Use DstAcc for 'and'
From: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
For instruction 'and al,imm' we use DstAcc instead of doing
the emulation directly into the instruction's opcode.
Signed-off-by: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
arch/x86/kvm/x86_emulate.c | 21 ++-------------------
1 files changed, 2 insertions(+), 19 deletions(-)
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c
index 2b43208..ea05117 ...
| Sep 28, 8:44 am 2008 |
| Leon Woestenberg | scatterlist.c: bug in sg_next()?
Hello,
I was code-inspecting 2.6.27-r7 through git web, when I came across this:
In sg_next(), after following a chain_ptr, a few more checks should be
performed.
The rare case exists that the first entry in the chained list is a
last marker, in case NULL must be returned.
Can someone confirm and cook a patch?
struct scatterlist *sg_next(struct scatterlist *sg)
{
if (sg_is_last(sg))
return NULL;
sg++;
if (unlikely(sg_is_chain(sg))) {
sg = sg_chain_ptr(sg);
+#ifdef ...
| Sep 28, 8:15 am 2008 |
| Leon Woestenberg | Re: scatterlist.c: bug in sg_next()?
Hello,
Ah yes, the lower bit magic. Thanks!
Sorry for the noise.
Regards,
--
Leon
--
| Sep 28, 8:51 am 2008 |
| Boaz Harrosh | Re: scatterlist.c: bug in sg_next()?
No! the last marker is set on a valid sg entry. Only it's next
is no longer valid. So the check at the top is for the Next-sg
not the passed-in-sg. What you thought of is a NULL terminating
sg-list. The end marker is so to save the extra NULL entry.
Boaz
--
| Sep 28, 8:28 am 2008 |
| FUJITA Tomonori | [PATCH] AMD IOMMU: use iommu_device_max_index
This is against tip/iommu.
=
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Subject: [PATCH] AMD IOMMU: use iommu_device_max_index
AMD IOMMU can use iommu_device_max_index() instead of the homegrown
function.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
arch/x86/kernel/amd_iommu.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c
index 2028810..34e4d11 100644
--- ...
| Sep 28, 8:06 am 2008 |
| Michal Januszewski | [PATCH v3] fbdev: ignore VESA modes if framebuffer does ...
Currently, it is possible to set a graphics VESA mode at boot time via
the vga= parameter even when no framebuffer driver supporting this is
configured. This could lead to the system booting with a black screen,
without a usable console.
Fix this problem by only allowing to set graphics modes at boot time
if a supporting framebuffer driver is configured.
Signed-off-by: Michal Januszewski <spock@gentoo.org>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
---
This version of the patch replaces ...
| Sep 28, 5:54 am 2008 |
| vincen | PATCH linux-2.6.27-rc7-git5]ARM:Add the Nuvoton w90P910 ...
From: vincen.zswan mcuos.com@gmail.com
Dear sir,
I have add the Nuvoton ARM series IC W90P910 Platform support to LINUX
ARM tree and make a patch named patch-2.6.27-rc7-git5-w90p910.patch.
As the file size 177kb,so you can get the patch file from link:
http://www.mcuos.com/attachment.php?aid=583
If the patch file is not accepted by Linux, please give some advice ,
I need to modify it better.thanks!
Only add the mach-w90x900 directory to /linux/arch/arm and modify
Makefile and ...
| Sep 28, 5:15 am 2008 |
| Thomas Gleixner | Re: [Bug #11516] severe performance degradation on x86_6 ...
No, if the pmtimer would be defect your machine would not even reach
user space.
I analysed the proc/acpi data of .25 and .27 and the machine is set to
throttling state T7 (12%) which would explain that behaviour halfways.
Can you please verify if that state is always T7 on your machine with
.27 ?
Also please add "acpi.debug_level=0x11" to the kernel command line so
Separate problem as well.
Please let us concentrate on the throttling aspect and not mix
USB/EINTR stuff into it ...
| Sep 28, 3:58 am 2008 |
| jbi | e1000e NVM corruption
I am not a member of this list (I read occasionally via the public
archives) or an experienced kernel hacker but I do have a few
semi-informed thoughts on the 8256x NVM corruption issue. Take with
salt as necessary:
According to Intel's datasheet, these interfaces expose *writable* PCI
ID registers at NVM words 0x0A-0x0E[1]. Fill the NVM with FFs and the
interface will probably respond with vendor ID : device ID FFFF:FFFF
during bus enumeration. The potential for these devices to ...
| Sep 28, 2:06 am 2008 |
| Elias Oltmanns | Re: udelay and timers
[Apologies for the delayed response, I have just temporary internet
access right now.]
Even though I still don't understand exactly what is going on myself, I
have, after some more testing, come to the conclusion that the ath5k
driver is to blame for messing up softirq handling. I have to talk to
the wireless people in order to get this sorted out. Sorry for the
noise.
Regards,
Elias
--
| Sep 28, 1:55 am 2008 |
| Команда Connect.ua | Connect.ua | Зміни за останні
Вітаємо, Владимир Кирилов!
Найбільш цікаві події на Коннекті за останній час:
Нова версія Коннекту повна нововведень та сюрпризів. По-перше, це функція "Супер Жжот", яка дозволяє яскравіше виражати свою симпатію і підвищувати рейтинг користувачу. По-друге, Коннект.Гроші – бали, які дозволяють використовувати розширені можливості Коннекту. По-третє, це бонусна система, яка дає можливість активним користувачам отримувати Коннект. Гроші і навіть реальні гроші!
Нове вiдео:
фокус (попробуй ...
| Sep 27, 11:30 pm 2008 |
| Yinghai Lu | Re: questions about x86: mtrr cleanup for converting con ...
it should be good for even old kernel without workaround in kernel.
YH
--
| Sep 28, 12:27 am 2008 |
| D. Hugh Redelmeier | questions about x86: mtrr cleanup for converting continu ...
Here is my current understanding of the MTRR problems. Please correct
any mistakes.
There are two broad reasons (use cases) for Linux to change MTRRs
(1) to clean up after bad BIOSes.
(1a) Some BIOSes don't make all the MTRRs the same on all processors.
This is just wrong and the kernel fixes this.
(1b) Some BIOSes, for some memory configurations, fail to specify that
certain bits of RAM should be cached. The current fix is to not use
that RAM, so the MTRRs are not actually changed, ...
| Sep 27, 10:10 pm 2008 |
| Reg Clemens | help
help
--
| Sep 27, 10:06 pm 2008 |
| Zhang, Yanmin | Sep 28, 12:20 am 2008 | |
| qingtao.cao | [PATCH] PCIE: use PCI_EXT_CAP_NEXT to traverse PCIE exte ...
PCIE extended capability unit is of 4-byte, so the least 2 bits of the most
significant 12 bits should be masked off to zero when accessing the extended
capability list.
Signed-off-by: Harry Ciao<qingtao.cao@windriver.com>
---
drivers/pci/pcie/aer/aerdrv_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/pci/pcie/aer/aerdrv_core.c
+++ b/drivers/pci/pcie/aer/aerdrv_core.c
@@ -52,7 +52,7 @@
if (PCI_EXT_CAP_ID(reg32) == PCI_EXT_CAP_ID_ERR)
break;
...
| Sep 27, 10:07 pm 2008 |
| qingtao.cao | Subject:[PATCH] PCIE: use PCI_EXT_CAP_NEXT to traverse P ...
PCIE extended capability unit is of 4-byte, so the least 2 bits of the most
significant 12 bits should be masked off to zero when accessing the extended
capability list.
Signed-off-by: Harry Ciao<qingtao.cao@windriver.com>
---
drivers/pci/pcie/aer/aerdrv_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/pci/pcie/aer/aerdrv_core.c
+++ b/drivers/pci/pcie/aer/aerdrv_core.c
@@ -52,7 +52,7 @@
if (PCI_EXT_CAP_ID(reg32) == PCI_EXT_CAP_ID_ERR)
break;
...
| Sep 27, 8:58 pm 2008 |
| Ingo Molnar | Re: [PATCH] x86: mtrr_cleanup hole size should be less t ...
applied to tip/x86/mtrr, thanks Yinghai! I've also propagated it to
tip/master and pushed it out, so Dylan could do a one-stop testing of
tip/master.
Ingo
--
| Sep 28, 12:13 am 2008 |
| Yinghai Lu | [PATCH] x86: mtrr_cleanup hole size should be less than ...
v2: should check with half of range0 size instead of chunk_size
So don't have silly big hole.
in hpa's case we could auto detect instead of adding mtrr_chunk_size in command line
Ingo, please consider to squash this one to previous one
| commit 2313c2793d290a8cc37c428f8622c53f3fe1d6dc
| Author: Yinghai Lu <yhlu.kernel@gmail.com>
| Date: Sat Sep 27 00:30:08 2008 -0700
|
| x86: mtrr_cleanup optimization, v2
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
...
| Sep 27, 8:26 pm 2008 |
| Yinghai Lu | Re: [PATCH] x86: mtrr_cleanup hole size should be less t ...
Dylan,
please try tip/master after Ingo put this patch into it...
from
reg00: base=0x00000000 ( 0MB), size=4096MB: write-back, count=1
reg01: base=0x100000000 (4096MB), size= 512MB: write-back, count=1
reg02: base=0x120000000 (4608MB), size= 256MB: write-back, count=1
reg03: base=0xd0000000 (3328MB), size= 256MB: uncachable, count=1
reg04: base=0xe0000000 (3584MB), size= 512MB: uncachable, count=1
reg05: base=0xc7e00000 (3198MB), size= 2MB: uncachable, count=1
reg06: base=0xc8000000 ...
| Sep 27, 10:58 pm 2008 |
| Yinghai Lu | Re: [PATCH] x86: mtrr_cleanup hole size should be less t ...
Gabriel, can you check tip/mater too?
http://people.redhat.com/mingo/tip.git/readme.txt
from
reg00: base=0xd0000000 (3328MB), size= 256MB: uncachable, count=1
reg01: base=0xe0000000 (3584MB), size= 512MB: uncachable, count=1
reg02: base=0x00000000 ( 0MB), size=4096MB: write-back, count=1
reg03: base=0x100000000 (4096MB), size= 512MB: write-back, count=1
reg04: base=0x120000000 (4608MB), size= 128MB: write-back, count=1
reg05: base=0x128000000 (4736MB), size= 64MB: write-back, ...
| Sep 28, 2:10 am 2008 |
| Yinghai Lu | [PATCH] x86: mtrr_cleanup hole size should be less than ...
So don't have silly big hole...
in hpa's case could auto detect instead of adding mtrr_chunk_size in command line
Ingo, please consider to squash this one to previous one
| commit 2313c2793d290a8cc37c428f8622c53f3fe1d6dc
| Author: Yinghai Lu <yhlu.kernel@gmail.com>
| Date: Sat Sep 27 00:30:08 2008 -0700
|
| x86: mtrr_cleanup optimization, v2
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/mtrr/main.c | 74 +++++++++++++++++++++++-----------------
...
| Sep 27, 8:04 pm 2008 |
| Daniel Rosenthal | Re: linux object file containing all kernel symbols and ...
It's looks close, but it seems to be missing some symbols. Below is
an excerpt of some of the some of the error messages that come up when
trying to link vmlinux.o to another object file. It looks like all
the binary layout related symbols are missing, and jiffies also.
How/when are these symbols normally linked into the final kernel
image?
Daniel
...
/usr/src/linux/vmlinux.o: In function `sched_clock':
/usr/src/linux/kernel/sched.c:80: undefined reference to ...
| Sep 28, 12:22 am 2008 |
| Jeff Dike | Re: linux object file containing all kernel symbols and ...
These are proided by the linker script.
Jeff
--
Work email - jdike at linux dot intel dot com
--
| Sep 28, 7:06 am 2008 |
| Daniel Rosenthal | linux object file containing all kernel symbols and suit ...
Is there an object file generated by the kernel build process just
before vmlinuz and arch/x86/boot/bzImage are created that contains all
the requisite kernel symbols to complete compilation? I understand
that such an object file wouldn't make a lot of sense to keep around,
because at the point at which such a file were able to be generated
the compilation process could just be completed instead. If it's not
available is there some easy way to generate it? I am trying to test
some kernel code ...
| Sep 27, 7:57 pm 2008 |
| Grant Coady | Re: linux object file containing all kernel symbols and ...
There's a vmlinux.o in top-level directory after a kernel compile, is
that what you're after?
Grant.
--
| Sep 27, 8:13 pm 2008 |
| Theodore Tso | Re: [question] "copy-on-write" in ext4
What do you mean by "copy on write", precisely? Do you mean at the
file level, directory level, or the filesystem level?
We don't have any plans to implement "copy on write" in ext4, although
you can create a copy-on-write snapshot at the block device level
using LVM/devicemapper. For many things (database backups, etc.) this
is quite suitable.
So why don't you tell us what you are trying to do, and we can suggest
to you ways that you might be able to do it.
- Ted
--
| Sep 27, 7:17 pm 2008 |
| Shawn Starr | Re: [2.6.27-rc7-git1] (Fedora) - ACPI instabilities and ...
On Saturday 27 September 2008 18:40:24 Shawn Starr wrote:
I believe
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=de85422b94...
is causing this regression. Can someone confirm this to be the case? It
certainly looks suspicious given the handler lines showing this exact sort of
code path...
Thanks,
--
| Sep 28, 2:24 pm 2008 |
| Brice Figureau | Re: Serial console not working after device detection.
Thanks Alan, that was it.
I recompiled without the pnp serial support and I could finally see the
messages. Any chance it will get fixed soon?
I had a look to the archives and could only find only a couple of bug
reports since a few years, so I guess that's not enough pressure for
anyone to care :-(
I'll file a bugzilla bug report if there is none and a debian bug too,
that might help :-)
For the short story about my not booting kernels: my issue is related to
a lilo issue in ...
| Sep 28, 4:18 am 2008 |
| Alan Cox | Re: Serial console not working after device detection.
There is one. You need to file patches not bugs for that.
--
| Sep 28, 7:03 am 2008 |
| Peter Zijlstra | Re: [RFC PATCH] LTTng relay buffer allocation, read, write
Which defeats the whole purpose of the exercise, we want to provide a
single mechanism - including locking - that is usable to all. Otherwise
everybody gets to do the hard part themselves, which will undoubtedly
result in many broken/suboptimal locking schemes.
--
| Sep 28, 1:59 am 2008 |
| Gregory Nietsky | Re: [ath5k-devel] [PATCH 1/1] Ath5k: add AP mode
Quick Observation ...
it appears IEEE80211 types have been replaced with NL80211 types in
kernel ... so would the following not be more correct and is opmode not
defined as
struct ath5k_softc {
....
enum nl80211_iftype opmode;
.....
@@ -2130,14 +2129,15 @@ ath5k_beacon_config(struct ath5k_softc *sc)
sc->imask |= AR5K_INT_SWBA;
- if (ath5k_hw_hasveol(ah)) {
- spin_lock(&sc->block);
- ...
| Sep 28, 4:06 am 2008 |
| Gregory Nietsky | Re: [ath5k-devel] [PATCH 1/1] Ath5k: add AP mode
Gents it is great to see this happen one snippet more and you will be
able to set the interface into AP mode from userspace hostapd and friends.
diff --git a/drivers/net/wireless/ath5k/base.c
b/drivers/net/wireless/ath5k/base.c
index e09ed2c..69aad6e 100644
--- a/drivers/net/wireless/ath5k/base.c
+++ b/drivers/net/wireless/ath5k/base.c
@@ -488,6 +488,7 @@ ath5k_pci_probe(struct pci_dev *pdev,
hw->wiphy->interface_modes =
BIT(NL80211_IFTYPE_STATION) |
+ ...
| Sep 28, 3:44 am 2008 |
| Jiri Slaby | Re: [ath5k-devel] [PATCH 1/1] Ath5k: add AP mode
Yeah, that's the correct hunk, thanks. I sent a non-updated version.
--
| Sep 28, 9:14 am 2008 |
| Jeremy Fitzhardinge | Re: Use CPUID to communicate with the hypervisor.
No. I think I saw a passing reference from Tim Deegan to it, but I
Can the tsc be emulated without a performance hit, or does it trap into
the hypervisor?
J
--
| Sep 27, 10:01 pm 2008 |
| Glenn Saberton | Re: Release of Atheros 802.11abg HAL under the ISC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Great!
Why is #ath9k invite only?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkjfhBIACgkQV8GyuTwyskMEcwCgjo/w5lhWYmuNUCapg9qdd2Ag
QzUAoKNJQaYh4G6b3pyBL6VU1uxr6k6T
=nAeZ
-----END PGP SIGNATURE-----
--
| Sep 28, 6:18 am 2008 |
| Derek Smithies | Re: [ath5k-devel] Release of Atheros 802.11abg HAL under ...
Luis,
A huge vote of thanks and congratulations are due to Atheros for
taking the step of releasing the HAL. There will be many in the open
source community celebrating this move.
Much Kudos is due to Atheros for taking this step.
The ath5k community is going to benefit hugely from being able to optimise
the driver based on a more accurate knowledge of the workings of the HAL.
Patches like
https://lists.ath5k.org/pipermail/ath5k-devel/2008-September/001311.html
will improve the ...
| Sep 28, 1:45 pm 2008 |
| Russ Anderson | Re: [PATCH 4/4] x86: Add sysfs entries for UV v2
[Empty message]
| Sep 28, 2:28 pm 2008 |
| Greg KH | Re: [PATCH 4/4] x86: Add sysfs entries for UV v2
Did you forget something?
thanks,
greg k-h
--
| Sep 28, 1:47 pm 2008 |
| Russ Anderson | Re: [PATCH 2/4] x86: Add UV bios call infrastructure v2
#define efi_call_virt6(f, a1, a2, a3, a4, a5, a6) \
efi_call6((void *)(efi.systab->runtime->f), (u64)(a1), (u64)(a2), \
(u64)(a3), (u64)(a4), (u64)(a5), (u64)(a6))
efi_call_virt6() uses efi.systab->runtime->f.
My call needs to use uv_systab, not efi.systab.
How about something like this?
#define efi_call_uv_virt6(a1, a2, a3, a4, a5, a6) \
efi_call6((void *)(__va(uv_systab.function)), (u64)(a1), (u64)(a2), ...
| Sep 28, 8:01 am 2008 |
| Hugh Dickins | Re: Swap on loop device on tmpfs locks up machine
It's just a "don't do that" in my opinion, and it doesn't seem
to have caused much trouble for sysadmins down the years.
It's good to have a loop driver that can make regular files look
like block devices, and it's good to have that working on tmpfs;
and I'm glad that trying to swapon a tmpfs file directly just
happens to fail because tmpfs doesn't support bmap().
But I don't think it's worth adding in some "valid for swap" call
to block devices, and saying no when loop or when loop over ...
| Sep 28, 8:18 am 2008 |
| Pekka Paalanen | Re: [PATCH -tip 2/3] Tracing/ftrace: Adapt mmiotrace to ...
On Fri, 26 Sep 2008 17:44:07 +0200
Otherwise, very good.
As Ingo reverted the two earlier patches, you need to rebase these two.
I'd like to see these in upstream. Let's handle the pipe closing bug
in a different patch.
Thanks.
--
Pekka Paalanen
http://www.iki.fi/pq/
--
| Sep 28, 9:29 am 2008 |
| Pekka Paalanen | Re: trace_pipe tentative fix
On Sun, 28 Sep 2008 20:12:59 +0300
Whoops, sret was left in a bad state. Here's a new one.
---
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 6ada059..16b8a22 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -2605,7 +2605,6 @@ tracing_read_pipe(struct file *filp, char __user *ubuf,
sret = trace_seq_to_user(&iter->seq, ubuf, cnt);
if (sret != -EBUSY)
return sret;
- sret = 0;
trace_seq_reset(&iter->seq);
...
| Sep 28, 11:58 am 2008 |
| Pekka Paalanen | trace_pipe tentative fix (Re: [PATCH -tip 2/3] Tracing/f ...
On Sat, 27 Sep 2008 14:17:47 +0200
If I understand you suggestion, it looks like the right thing to do.
Here is a tentative fix, which has not even been compile-tested.
Is it so that the problem is triggered by consuming a trace entry
which does not produce any output? If that entry is all there is
in the ring at a time of a read call, then the last call to
trace_seq_to_user() returns -EBUSY, because there is nothing to
copy to user. What I failed to understand when I wrote that
piece of ...
| Sep 28, 10:12 am 2008 |
| Pekka Paalanen | Re: [Path -tip 1/3] Tracing/ftrace: Change the type of t ...
On Fri, 26 Sep 2008 17:25:21 +0200
Frederic, this looks good to me, except the very last hunk.
I might have chosen names like TRACE_PRINT_{RETRY,DONE,DEFAULT_FORMAT},
but it's your call. I'm not sure which one is more self-explanatory
Shouldn't the return type be bool?
If it's not, reading this function makes me wonder about the conversion
It would be shorter to write
if (ret != TRACE_TYPE_UNHANDLED)
and then one could even
Do these actually need checking? I don't think
the default ...
| Sep 28, 9:19 am 2008 |
| Linus Torvalds | Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50
Oh, it's not D_UNHASHED, it's DCACHE_UNHASHED. Whatever. The patch still
looks fine, I had just forgotten the naming of the d_flags fields.
Linus
--
| Sep 28, 1:50 pm 2008 |
| Linus Torvalds | Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50
Ok, you were definitely under memory pressure, and yes, it looks like the
exact same bug on ppc64 - access to a pointer that is two poointers offset
I actually like my second patch better - it looks simpler, and it means
that the rules for filesystems using d_compare() are a bit clearer: at
least we'll only pass them dentries to look at that haven't gone through
d_drop (and we do hold dentry->d_lock that serializes all of that).
So here it is again (I sent it out just minutes ago, ...
| Sep 28, 1:55 pm 2008 |
| Hugh Dickins | Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50
I got a couple of earlier instances of this on powerpc
http://lkml.org/lkml/2008/8/14/289
but saw nothing more of it, so asked Al to forget about it.
But today I've got it again, this time on x86_64, with kdb in
(but not serial console), similar kernel builds with swapping
loads as before. Though with Andrew's latest mmotm, so some
details different from 2.6.27-rc, and could be an mmotm bug.
The dentry in question (it's for /proc/sys/kernel/ngroups_max)
looks as if the __d_drop and d_kill ...
| Sep 28, 12:28 pm 2008 |
| Linus Torvalds | Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50
What about pure memory pressure? We're holding only the RCU read-side lock
when looking up dentries, and if there is any memory pressure, the
dentries may be unhashed and the inodes removed in parallel. Yes, yes, we
end up not actually _releasing_ the dentry, since it's all RCU, but it
will set D_UNHASHED and be scheduled for releasing later under RCU.
And d_compare() is called before we have done any validation that the name
is still active, including checking whether it even got ...
| Sep 28, 1:46 pm 2008 |
| Linus Torvalds | Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50
Oh. I think I see at least a _potential_ insane and non-obvious bug: if
somebody actually is going to do a __d_drop() _inside_ their d_compare(),
this would fail horribly because we now assume that the dentry is still
fine, since we held d_lock.
Of course, I think that would be very very buggy of a filesystem to do (we
don't even pass in the dentry as an argument - you have to figure it out
from the qstr, and a filesystem really should not do that!), but /proc
_does_ look up the ...
| Sep 28, 1:59 pm 2008 |
| Hugh Dickins | Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50
Looks good to me, nicer than the first, and would have prevented my
oops today (if I'm interpreting it correctly: certainly I do have
I agree that would be insane. There's no end to the weird things
a filesystem _could_ do in its d_compare, but it is supposed to be
about comparison, and every filesystem I can see in the tree treats
Hugh
--
| Sep 28, 3:07 pm 2008 |
| Linus Torvalds | Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50
Irrelevant.
The d_compare function si called _before_ we get the directory mutex. It's
done purely under dentry->dlock (and the RCU read lock).
lookups are serialized before calling into the filesystem with ->lookup,
but _not_ at the d_compare level. If we serialized d_compare, the dentry
cache would be no use at all, we'd serialize all lookups, cached or not.
(Of course, sane filesystems will not have d_compare at all, just the
memcmp, but we're talking /proc here - although I ...
| Sep 28, 1:38 pm 2008 |
| Al Viro | Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50
The real underlying bug, whatever it is. If this sucker ever becomes
negative, we have a big problem. Where _could_ that happen? Remember,
we do not allow ->rmdir() and ->unlink() to succeed there. So d_delete()
callers in namei.c are out of question. We also never do d_add() with
NULL inode in there. We _might_ be doing a bogus d_rehash() on a negative
/prooc/sys/<something> dentry that had never been hashed to start with
somewhere in generic code, but... I don't see where that could ...
| Sep 28, 7:18 am 2008 |
| Greg KH | Re: [patch 2/6] kmsg: tagged device messages.
Yes, it is slated for 2.6.28 inclusion and is in the -next and -mm
releases.
thanks,
greg k-h
--
| Sep 27, 7:04 pm 2008 |
| Rusty Russell | Re: [patch 1/6] kmsg: tagged kernel messages.
And it is a sign of my admiration for your intellect that I asked you for it.
(Does that help?)
Rusty.
--
| Sep 27, 7:09 pm 2008 |
| Joerg Roedel | Re: [PATCH 3/3] x86/iommu: use __GFP_ZERO instead of mem ...
For AMD IOMMU I disabled the round-robin allocator to stress-test the
code. This means that the address allocation bitmap is always traversed
from the first bit. In consequence the TLB flushing is stressed a lot
(both in hardware and software) because the same DMA addresses are used
again and again. For testing I hardcoded it into the driver but I can
also make it depend on CONFIG_IOMMU_DEBUG.
Joerg
--
| AMD Saxony Limited Liability Company & Co. KG
Operating | ...
| Sep 28, 12:34 pm 2008 |
| FUJITA Tomonori | Re: [PATCH 3/3] x86/iommu: use __GFP_ZERO instead of mem ...
On Sat, 27 Sep 2008 20:18:55 +0200
If you use iommu=force boot option, GART always tries to use the
IOMMU.
--
| Sep 28, 11:06 am 2008 |
| FUJITA Tomonori | Re: [PATCH 3/3] x86/iommu: use __GFP_ZERO instead of mem ...
On Sat, 27 Sep 2008 20:14:38 +0200
Yeah, all the patches look trivial and fine.
Thanks,
--
| Sep 28, 7:48 am 2008 |
| Tao Ma | Re: [PATCH 0/39] Ocfs2 updates for 2.6.28
Hi Mark,
do you see my 2 patches for xattr?
http://oss.oracle.com/pipermail/ocfs2-devel/2008-September/002839.html
this is pretty straightforward and I think it can be committed with it.
http://oss.oracle.com/pipermail/ocfs2-devel/2008-September/002839.html
this is the new support for empty bucket.
Regards,
Tao
--
| Sep 27, 10:16 pm 2008 |
| Andi Kleen | Re: [PATCH] x86_64: be less annoying on boot
[Empty message]
| Sep 28, 9:53 am 2008 |
| dcg | Re: [PATCH] x86_64: be less annoying on boot
Sure, here it is.
Honour "quiet" boot parameter in early_printk() calls
Signed-off-by: Diego Calleja <diegocg@gmail.com>
---
arch/x86/kernel/head64.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Index: 2.6/arch/x86/kernel/head64.c
===================================================================
--- 2.6.orig/arch/x86/kernel/head64.c 2008-09-27 22:54:41.000000000 +0200
+++ 2.6/arch/x86/kernel/head64.c 2008-09-27 23:14:02.000000000 +0200
@@ -108,11 +108,13 ...
| Sep 28, 9:49 am 2008 |
| Jeremy Fitzhardinge | Re: Should irq_chip->mask disable percpu interrupts to a ...
I've put that approach aside anyway, since I couldn't get it to work
after a day of fiddling and I didn't want to waste too much time on it.
I've just restricted myself to avoiding the normal interrupt delivery
path, and going direct from event channel to irq to desc->handler.
J
--
| Sep 27, 9:58 pm 2008 |
| Andi Kleen | Re: Faster getcpu() and sched_getcpu()
Without a vsyscall the cache probably doesn't make too much sense
because once you're in the kernel reading the real CPU number is really
cheap.
I agree with you that the cache should be enabled on all vDSO implementations
(that is what my original code did)
Also the TSCP version could probably go.
I'm still not sure why you say no redzone is that expensive? Do you
have numbers? I know it's a few instructions, but it shouldn't
Yes, unfortunately glibc didn't chose the same interface ...
| Sep 28, 9:42 am 2008 |
| Joerg Roedel | Re: [PATCH 0/9][RFC] stackable dma_ops for x86
Its not only for device passthrough. It handles also the cases where a
hardware IOMMU does not handle all devices in the system (like in some
Calgary systems but also possible with AMD IOMMU). With this patchset we
can handle these cases in a generic way without hacking it into the
hardware drivers (these hacks are also in the AMD IOMMU code and I plan
to remove them in the case this patchset will be accepted).
Joerg
--
| Sep 28, 11:49 am 2008 |
| Joerg Roedel | Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops
I have something in mind what I discussed with Amit at the last KVM
forum. The idea was not ready at the event but meanwhile it has matured
a bit.
I think we should try to build a paravirtualized IOMMU for KVM guests.
It should work this way: We reserve a configurable amount of contiguous
guest physical memory and map it dma contiguous using some kind of
hardware IOMMU. This is possible with all hardare IOMMUs we have in the
field by now, also Calgary and GART. The guest does ...
| Sep 28, 12:13 pm 2008 |
| FUJITA Tomonori | Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops
On Mon, 22 Sep 2008 20:21:21 +0200
Hmm, every time we call dma_sg/map_single, we call
read_lock_irqsave(&dma_ops_list_lock, flags). It's likely that we see
notable performance drop?
--
| Sep 28, 7:21 am 2008 |
| FUJITA Tomonori | Re: [PATCH 0/9][RFC] stackable dma_ops for x86
On Mon, 22 Sep 2008 20:21:12 +0200
We already handle the latter. This patchset is more flexible but
seems to incur more overheads.
This feature will be used for only paravirtualized device passthrough?
If so, I feel that there is more simpler (and specific) solutions for
it.
--
| Sep 28, 7:21 am 2008 |
| Joerg Roedel | Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops
Hmm, we should only call find_dma_ops_for_device() the first time a
dma api call is done (look into get_dma_ops). But I also thought about
how this lock can be avoided. In the real world it should not be
necessary because the dma_ops list is initialized before dma api calls
are done. But since there is now a register function which can be called
its safer this way. What do you think, are we still safe enough without
this lock?
Joerg
--
| Sep 28, 11:44 am 2008 |
| Vegard Nossum | Re: Console not capturing call trace
Hi,
I'll try an answer since you've had no other replies.
You probably need to set up rsyslogd to log all kernel messages. For
me, changing the /etc/rsyslog.conf like this does the trick (but
beware of my linewrapping client):
--- rsyslog.conf.orig 2008-09-28 14:10:20.000000000 +0200
+++ rsyslog.conf.new 2008-09-28 14:10:12.000000000 +0200
@@ -36,7 +36,7 @@
# Log anything (except mail) of level info or higher.
# Don't log private authentication ...
| Sep 28, 5:14 am 2008 |
| Jay Cliburn | Re: Console not capturing call trace
On Sun, 28 Sep 2008 14:14:09 +0200
Thanks for replying Vegard. The problem turned out to be that I
overwrote /proc/sys/kernel/printk with "8 8 8 8" instead of just using
"8 x x x," where x is the default value.
--
| Sep 28, 5:38 am 2008 |
| Alan Cox | Re: irq 19: nobody cared
> Any thing I can do to help to identify the problem?
Best is probably to file a bug report in bugzilla.kernel.org. These sort
of things take a bit of pinning down and are often BIOS problems.
--
| Sep 28, 3:23 pm 2008 |
| Pavel Machek | Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity In ...
So overhead from led driver is not okay, while overhead from messing
with idle loop is okay? Interesting...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Sep 28, 12:42 pm 2008 |
| Sitsofe Wheeler | Re: How how latent should non-preemptive scheduling be?
I added might_sleep() to the start of down_timeout() but it neither
printed anything to dmesg nor changed the latency issue...
Strangely stalling only seems to turn up in linux-tip kernels with very
little debugging options set within them. I have a linux-tip that has
lots of extra debugging options set and this problem doesn't show up...
I've also asked about this on the ACPI mailing list and had a huge
amount of help from finding a good point for a cond_resched - ...
| Sep 28, 1:56 pm 2008 |
| Andrey Borzenkov | Re: [PATCH] Ghost EDD devices in /sys again
--Boundary-01=_UWy3IhuNYHpFHUe
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
OK I have been using this for some time. I do not actually insist on
returning "failure" for zero signature; my main concern was duplicated
signature resulted from not clearing read buffer. Still I assume that
zero signature is the same as no signature; i.e. even if disk is physically
present but zeroed out there is no point in presenting ...
| Sep 27, 11:34 pm 2008 |
| H. Peter Anvin | Re: [PATCH] Ghost EDD devices in /sys again
Right, I think that's a much better patch.
The really Right Thing[TM] to do is probably to pre-clear the buffer and
then look for the 0xaa55 signature at offset 510; it is required for
sector 0 to be a valid MBR-format partition table and hence for the MBR
*signature* to be valid.
I'll write that up tomorrow (I'm travelling today), or you can send me a
patch.
-hpa
--
| Sep 28, 8:12 am 2008 |
| Robert Richter | Re: [PATCH] oprofile: Implement Intel architectural perf ...
Thanks Andi,
--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@amd.com
--
| Sep 28, 12:33 am 2008 |
| previous day | today | next day |
|---|---|---|
| September 27, 2008 | September 28, 2008 | September 29, 2008 |
