someone who has had the same
experience like the one I have now.
Has anybody have similar situation before? (printk prints ok but printf doesn't
print to the LCD using frame buffer)
Any hint would be appreciated.
Thank you!
Chan
From : Chan Kim c...@etri.re.kr
Sent
There are some functions to probe (look into) the page tables (for current
context.. maybe for all the conext too).
look under /arch/x86(yours)/mm.
This page table is in the memory so the S/W can probe it.
But I don't think we can see whan page table entries we have in the page
descriptor cache
Hi, folks,
While I was trying to open a shell on the LCD, I found printk from inside the
kernel and printf from user side busybox
use the same frame buffer driver (and eventually bit blitting functions) as my
previous email said.
I later found the reason printf doesn't work in my case is that
now I understand why ( it's 4 bit mastk, 4 bit shift left and
another *4 so 10 bit shift which is 1024 bytes)
Any hint would be greatly appreciated.
Thank you! Chan
From : Chan Kim c...@etri.re.kr
Sent : 2014-03-22 11:57:31 ( +09:00 )
To : kernelnewbies
Hi,
I have this 'unable to handle kernel paging request at virtual address ...'
when writing to the frame buffer.
Has anybody seen similar situation? and hopeful can tell me what the problem
was?
Thanks!
Chan
___
Kernelnewbies mailing list
paging request at virtual address 696e1000
{mm,active_mm}-context = 0001
{mm,active_mm}-pgd = c800a400
In what case can this happen? Any clue will be very helpful.
Thanks!
Chan
From : Arun KS getaru...@gmail.com
Sent : 2014-03-27 18:27:57 ( +09:00 )
To : Chan Kim
From : valdis.kletni...@vt.edu valdis.kletni...@vt.edu
Sent : 2014-03-28 01:29:21 ( +09:00 )
To : Chan Kim c...@etri.re.kr
Cc : kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org
Subject : Re: Unable to handle kernel paging request at virtual address ...
while writing to frame
: valdis.kletni...@vt.edu valdis.kletni...@vt.edu
Sent : 2014-03-28 22:36:27 ( +09:00 )
To : Chan Kim c...@etri.re.kr
Cc : kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org
Subject : Re: in sparc linux system call entry assembly code
On Fri, 28 Mar 2014 07:25:37 -, 김찬 said:
andcc %l7, 1
Hi all,
I managed to make the busybox shell appear on the LCD. I changed the frame
buffer allocation method :
from (method 1)
fb-fb.screen_base = dma_alloc_writecombine(pdev-dev, framesize,
fbpaddr, GFP_KERNEL);
to (method 2)
fb-fb.screen_base = alloc_pages_exact(framesize,
Hi,
In our system, I assigned Ethernet, SD card and USB interrupts to sparc
processor's IRQ pin 7, 10 and 8 at my choice.
As far as the interrupt is concerned, they worked fine so far.
But I found in arch/sparc/kernel/head_32.S that some H/W interrupts have their
supposed IRQ pins.
t_irq1:
Hi,
When I'm on a sheel on LCD using USB keyboard, all works fine (except another
important problem..) but Ctrl-C key doesn't work.
When I press ctrl-C, '^C' is displayed on the screen (prompt line), but
doesn't have the effect of killing the job. For example, I start ping and it
displays
Ah, of coursee Ctrl-C works on the console and LCD shells. I set the
Job-Constrol option in the busybox shell options.
From : Chan Kim c...@etri.re.kr
Sent : 2014-04-09 10:03:10 ( +09:00 )
To : valdis.kletni...@vt.edu valdis.kletni...@vt.edu
Cc : kernelnewbies
Hi,
How come some people's email contain the email signature shown below
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
.. while my email doesn't have it attached?
Are
at 02:29:30AM +, Chan Kim wrote:
Hi,
How come some people's email contain the email signature shown below
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
.. while
Oh, I see..that was the case.. I can see in the replies it's included. Thanks!
From : Kristofer Hallin kristofer.hal...@gmail.com
Sent : 2014-04-09 13:23:41 ( +09:00 )
To : Chan Kim c...@etri.re.kr
Cc : kernelnewbies@kernelnewbies.org kernelnewbies
br / Hi,br /br / in the linux initialization, inside setup_arch, I see
ld_mmu_srmmu() (I'm working on SPARC architecture, SRMMU is Sparc Reference
MMU)br /br / and it comprises many macro calls starting with
BTFIXUP... The first two lines look like this.br /br / br /br /
Hi,
can someony explain this macro to me? It's in arch/sparc/include/asm/pgtsrmmu.h
(linux 3.3)
#define __nocache_pa(VADDR) (((unsigned long)VADDR) - SRMMU_NOCACHE_VADDR +
__pa((unsigned long)srmmu_nocache_pool))
it looks like converting virtual address VADDR to physical address for which no
Hi,
It's raining Suday afternoon in Korea where many people are in grief for the
loss of their family members from the ferry accident last week.
We have those victims and families in our thoughts and prayers..
Anyway, I have a question..
In file mm/memory.c (linux 3.3), in funrcion __pmd_alloc, I
Hi,
in arch/sparc/boot/Makefile, there is a rule below.
$(obj)/btfix.S: $(obj)/btfixupprep vmlinux FORCE
$(call if_changed,btfix)
This makes btfix.S file using btfixupprep executable.
and from the definition below,
quiet_cmd_btfix = BTFIX $@
cmd_btfix =
Hi,
Hope someone could answer to this question..
As some of you know, SRMMU(Sparc Reference MMU in Sparc V8) uses top 8, 6, 6
bits of the linear address as PGT, PMD, PTE table index.
so PGDIR_SHIFT is 24 and PMD_SHIFT is 18, and PTE_SHIFT is 12. (page size 4096)
These shift values are for
table and connecting 16 64-entry PTE tables
each time.
regards,
Chan
보낸 사람 : Chan Kim c...@etri.re.kr
보낸 날짜 : 2014-05-01 20:49:25 ( +09:00 )
받는 사람 : kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org
참조 :
제목 : about PMD_SHIFT value (22 or 18?)
Hi,
Hope someone could answer
Hi,
I was analyzing arch/sparc/mm/srmmu.c (linux 3.3)
In our system, the pgd table sits at c800 and the entry for c8000 is at
c8000320. (upper 8 bits is the index and *4 is the index address)
previously, I got srmmu_nocache_pool = c054. Does anybody know why
: Chan Kim c...@etri.re.kr
보낸 날짜 : 2014-05-14 21:54:03 ( +09:00 )
받는 사람 : kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org
참조 :
제목 : a question on nocache pool address which seems to have ended up as a nice
comment?
Hi,
I was analyzing arch/sparc/mm/srmmu.c (linux 3.3)
In our
:12:08 ( +09:00 )
받는 사람 : 김찬 c...@etri.re.kr
참조 : kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org
제목 : Re: two virtual address pointing to same physical address
On Mon, 19 May 2014 11:47:23 -, Chan Kim said:
Is this situation normal? (in the kernel, two different virtual
: valdis.kletni...@vt.edu valdis.kletni...@vt.edu
보낸 날짜 : 2014-05-20 11:31:14 ( +09:00 )
받는 사람 : 김찬 c...@etri.re.kr
참조 : kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org
제목 : Re: two virtual address pointing to same physical address
On Tue, 20 May 2014 00:39:26 -, Chan Kim said:
But still
Hello,
In http://lxr.free-electrons.com/source/arch/arm/mm/dma-mapping.c?v=3.3#L162,
in line 208,
Could anybody kindly explain why it increases the variable 'base' by PMD_SIZE?
Is the consistent memory chunck initialized by PMD_SIZE?
Thanks,
Chan
___
Hello,
In http://lxr.free-electrons.com/source/arch/arm/mm/dma-mapping.c?v=3.3#L162,
in line 208,
Could anybody kindly explain why it increases the variable 'base' by PMD_SIZE?
Is the consistent memory chunck initialized by PMD_SIZE?
It seems to me the consistent_init allocates only the
사람 : Chan Kim c...@etri.re.kr
보낸 날짜 : 2014-05-22 13:57:23 ( +09:00 )
받는 사람 : kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org
참조 :
제목 : about consistent_init function
Hello,
In http://lxr.free-electrons.com/source/arch/arm/mm/dma-mapping.c?v=3.3#L162,
in line 208,
Could anybody
Dear folks,
I have a basic question, in __dma_alloc_buffer function
(arch/arm/mm/dma-mapping.c, v3.3)
u64 mask = get_coherent_dma_mask(dev);
if (!mask)
return NULL;
if (mask 0xULL)
gfp |= GFP_DMA;
page = alloc_pages(gfp, order);
hi, linux folks,
I'm seeing an 'unable to handle kernel paging request' after loading busybox
elf loading.
The context table is now pointing a new pgd table and the releavant pgd table
entry is pointing null.
What could be the cause? the address to access is frame buffer that I had linux
it with print yet)
Now the dma_alloc_writecombine works both for SD card driver and framebuffer
driver.
Thanks!
Chan
보낸 사람 : Chan Kim c...@etri.re.kr
보낸 날짜 : 2014-05-22 21:51:51 ( +09:00 )
받는 사람 : kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org
참조 :
제목 : Re: about
Hi Raghavendra,
In my case, we used USB host design from opencore. And the driver (I don't know
where it came from. it's similar to sl811-hcd.c from cypress) writes or reads
the data to /from the USB host. Not using DMA. I think if the USB host has DMA
capability, tha pio read/write should be
Hi,
I found the mmc_rescan function is called periodically.
and the only place I can see the name is this line below in the mmc_alloc_host
function
INIT_DELAYED_WORK(host-detect, mmc_rescan);
so it is regsitered as a delayed work in mmc_host.
And at the end of mmc_rescan, I see
Hi,
I'm using fbconsole on the LCD using USB keyboard.
I open a new file using vi then edit, write it, and exit. Then second time I
open the file using vi, it hangs.
with [1]+ Stopped (tty input) message.
Anybody any hint?
Thanks!
Chan
___
Hello,
I'm using linux3.3 and recently while building busybox for a new command, found
the BB uses linux kernel headers.
So I looked up the internet and did 'make headers_install ARCH=..
CROSS_COMPILE=.. INSTALL_HDR_PATH=..'.
Then I used the new header files instead of files under
(from the compiler's standard include path)
it works just fine without rebuilding glibc.
Chan
보낸 사람 : Chan Kim c...@etri.re.kr
보낸 날짜 : 2014-08-20 11:36:29 ( +09:00 )
받는 사람 : kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org
참조 :
제목 : a question on linux header extraction
Hello
the code triggers
the chip?
regards,
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
cacheable memory for sk_buf for speed and copy
the data to DMA area and let the I/O chip or DMA controller take the data using
DMA). I'm just curious if we don't use non-cacheable memory (DMA buffer) for
sk_buf.
Thanks,
Chan Kim
___
Kernelnewbies
will be appreciated.
Best regards,
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
that in this case
(processing going to sleep and woken up by the ISR), I should use some other
method to register my interrupt.
Can anybody give me some advice?
Thanks a lot in advance.
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http
regards,
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
(work, struct smsc911x_data, rx_work);
struct napi_struct *napi = pdata.napi;
so maybe I can just pass the int budget through a new member value in struct
smsc911x_data.
Has anyone done similar thing before?
Chan
보낸 사람 : Chan Kim c...@etri.re.kr
보낸 날짜 : 2015-06-08 16:06:59 ( +09:00 )
받는 사람
idea on
whether it's impossible, or if there is any example driver using DMA controller
for Ethernet chip? (not Ethernet chips with DMA master function insde)
Best regards,
Chan
보낸 사람 : Chan Kim c...@etri.re.kr
보낸 날짜 : 2015-06-08 16:06:59 ( +09:00 )
받는 사람 : kernelnewbies@kernelnewbies.org
Hi, Anish,
I see in the source (linux ver 3.3) that wake_up_interruptible
function doesn't sleep so I used in it an ISR but I'm getting
'BUG:scheduling while atomic' message. (I'm not sure it's coming from
this)
Remove it and check if the problem goes away.
I later figured out that
Hello,
I see in the source (linux ver 3.3) that wake_up_interruptible function doesn't
sleep so I used in it an ISR but I'm getting 'BUG:scheduling while atomic'
message. (I'm not sure it's coming from this) I'm looking for the exact cause
but Is there any caveat when using
set). After this
addition, it boots ok to the shell! I was very luck..
Thank you,
Best regards,
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
t=/dev/ram init=/init nokaslr earlycon ip=dhcp" -m 2048M
-nographic -netdev user,id=n1 -device e1000,netdev=n1
Has anyone any idea what I can add in the config or try? (with original
.config, the kernel boots ok to the bash in initramfs)
Any suggestion will be appreciated.
Thank you,
Kin
here, I would
really really appreciate it.
Thank you.
Best regards,
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Thanks,
I tried tinyconfig but didn't work even after adding input device and serial
support.
Looks like I have to add some more. (the tinyconfig looked really simple in
menuconfig)
Maybe I'll try more later (allnoconfig too).
Thanks.
Chan
> -Original Message-
> From: Laurent Navet
>
Hi, Adam
Did you tell the OS to reserve huge pages?
(in ubuntu, add vm.nr_hugepages = N in /etc/sysctl.conf or
Add hugepages=16, hugepagesz=256M in bootcommd)
Just in case you didn’t set it.
Thanks,
Chan Kim
From: Adam Turowski
Sent: Friday, October 15, 2021 10:08 PM
To: kernelnewbies
it to
linux kernel.
Is my understanding correct?
Thanks in advance.
Regards,
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
following the link in the id and schema just leads me to
https://www.devicetree.org/schema/# and it says
"These are not the schemas you are looking for."
How can I open the links and use them?
Thanks a lot!
Regards,
Chan Kim
___
Kernelnewbi
;2>, the node address should be given by
chip select number and the offset (inside the chip select).
How can I prevent this error? DTC version is 1.5.0.
Any help will be appreciated.
Thank you!
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
vp-base-revc.dtb.d
Thanks!
Chan Kim
From: Chan Kim
Sent: Wednesday, October 27, 2021 6:45 PM
To: kernelnewbies@kernelnewbies.org
Subject: DTC compile error (simple-bus unit address format error for
#address-cells = <2> case)
Hello all,
Below is a part of arch/arm64/boot/dt
Hello,
For anyone's help..
I asked this question to unix stackexchage and received an answer.
https://unix.stackexchange.com/questions/674155/what-does-loadaddr-0x2000800
0-mean-in-linux-kernel-make-command
regards,
Chan Kim
From: Chan Kim
Sent: Thursday, October 21, 2021 3:00 PM
inside
the cpus node(without wrapping with cpu-map node). So even though it is not
uni-processor system, it doesn't have cpu-map node, Just cpu nodes.
What does it mean? Does it mean this system doesn't support SMP? Or, I can
use style without violation?
Any comment/explanation will be very much a
Hi,
To print kernel virtual address, you should use %px instead of %p in the printk.
Probably that’s why you couldn’t see the pointer values correctly.
Chan
From: admin LI
Sent: Friday, January 14, 2022 6:02 AM
To: kernelnewbies@kernelnewbies.org
Subject: How to disable address
Hello, JeongHwan,
I'm relatively new to arm64 but there is MAIR (memory attribute indirection
register) which contains bytes holding cacheability, shareability and
protection information and the actual page table contains the 'index' for
the byte in this MAIR.
For example in linux-5.10-0 which
Hi JeongHwan,
Recently I followed the kernel boot process so now I understand how it's
doing.
The kernel starts at HEAD and it jumps to primary_entry. (code below is
5.10.0. but in 5.4.21 it jumped to stext, just name change)
Primary_entry looks like this.
SYM_CODE_START(primary_entry)
can modify init/main.c and include/linux/init.h so that this
rodata_enabled and related functions be defined regardless of these CONFIG
values and make the errors go away, but I'm curious if this a kind of kernel
bug raising compiler error.
Any comment w
.
Hope that helps.
Regards,
Chan Kim
From: JeongHwan Kim
Sent: Friday, March 18, 2022 4:41 PM
To: Chan Kim ; kernelnewbies@kernelnewbies.org
Subject: Re: Which Page table is appled when MMU is turned on in boot process
of ARM64
Thank you for reply.
I have a question about
ime
it goes into vprintk_nmi and seems to hang (waiting for console lock I
remember..).
Could anyone give me some light on what's going on here? (Actual print to
serial port is supposed to come out much later inside setup_arch).
Any comment will be very much appreciated.
Thank you!
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
wrote in memory.
Hope this helps anyone.
Thanks!
Chan Kim
From: Chan Kim
Sent: Thursday, February 17, 2022 4:26 PM
To: kernelnewbies@kernelnewbies.org
Subject: weird printk operation early at start_kernel..
Hello all,
I'm debugging linux boot on an FPGA board (with limited RAM size
started to look into early_fixmap_init function but can anyone tell
me if this can be the real problem?
Isn't it possible to use 8MB memory to run linux? (I'm doing this before the
board is fully ready)
Thank you!
Chan Kim
___
Kernelnewbies
the menuconfig window.
(The menu is not visible in the specified location, you can check it yourself.
As you said, some menus become selectable when the condition is met and is
meaningful)
Chan
From: FMDF
Sent: Saturday, March 19, 2022 7:24 PM
To: Chan Kim
Cc: kernelnewbies
Subject: Re: arm
to change the default setting for arm64 and there should
be an error in my qemu code(this was to avoid an error during u-boot/linux test
on qemu).
Chan
From: FMDF
Sent: Saturday, March 19, 2022 7:24 PM
To: Chan Kim
Cc: kernelnewbies
Subject: Re: arm64 code looking for variable rodata_enabled
controller but it doesn't work. That's what OS is for, isn't it?
But when I follow the qemu code, in the distributor stage, it says there is
no pending interrupt.
How can I set the interrupt priority using request_irq function above?
Thank you!
Chan Kim
handler = irq_default_primary_handler;
}
Thanks for reading.
Chan Kim
> -Original Message-
> From: Chan Kim
> Sent: Monday, April 4, 2022 11:16 PM
> To: kernelnewbies@kernelnewbies.org
> Subject: request_irq not working.. what else should I do?
>
>
for the driver image relative to that loaded address, it is
possible to do kernel module debug. I think this is what driver developers
will be doing always. Please tell me how I can do it. If this is possible,
it will save many days for me.
Thank you!
Chan Kim
Hello all,
I found how to do it, I had asked it on stackoverflow.com and posted it as
an answer there.
Please see if you are interested.
https://stackoverflow.com/questions/71749640/how-can-i-debug-kernel-module-r
unning-on-a-virtual-machine/71753139#71753139
Thank you!
Chan Kim
;root=/dev/ram init=/init
nokaslr earlycon ip=dhcp hugepages=16"
Thanks alot!
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
the System.map file, I cannot find the vprintk_safe
function and vprintk_nmi (I can find vprintk_default). I'm curious if this
may be related to the malfunction.
How can this happen? And how should I understand this?
Thank you!
Chan Kim
___
Kernel
*** [Makefile:1652: drivers] Error 2
Does anybody know how can I use -O0 flag? (I tried -Og flag but some
variables are still optimized out).
Thank you!
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
I found adding the same #pragma directives warp to #include
makes the compiler error go away!
#pragma GCC push_options
#pragma GCC optimize ("O0")
#include
#pragma GCC pop_option
Chan
From: Chan Kim
Sent: Sunday, January 23, 2022 8:23 PM
To: kernelnewbies@kerneln
.
AR drivers/irqchip/built-in.a
AR drivers/built-in.
What does this mean and what should I do?
Thanks!
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
just add add __init to gic_smp_init(). (or remove
_init from set_smp_cross_call )
What is the correct method to fix it?
Thanks,
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
I found adding __init to gic_smp_init() removed this warning message.
Is it ok to move this function to .init.text ? (doesn't it cause it to be
removed after initialization?)
Chan
From: Chan Kim
Sent: Sunday, January 23, 2022 7:48 PM
To: kernelnewbies@kernelnewbies.org
Subject: how to fix
2 1:47 AM
> To: Chan Kim
> Cc: kernelnewbies
> Subject: Re: adding GCC optimze O0 to early_fixmap_init causes compiler
> error (BUILD_BUG failed)
>
> On Sun, Jan 23, 2022 at 4:23 AM Chan Kim wrote:
> >
> > Hello all,
> >
> > In linux 5.4.21, when tell
Kara
Sent: Monday, April 11, 2022 10:10 PM
To: Chan Kim ; 'qemu-discuss' ;
kernelnewbies@kernelnewbies.org
Subject: Re: Can't understand /proc/interrupts output for GICv3 case
Hello,
firstly when you say SPI so can you give some more information about your
hardware?
I think you are doing
ce). What function should I use to get the irq number in this case?
I couldn't find a function with a likely name in the tags file for linux
source.(5.4.188)
Thanks a lot!
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
registered the handler by request_irq(6,...) and the interrupt works
fine.
So now my question is : how can find my irq number (correct irq_desc number)
in kernel driver module?
I'll appreciate it if you could tell me how to do it.
Thank you!
Chan Kim
> -Original Message-
> From: Ch
AL
printk(KERN_INFO "Device driver inserted ..done properly..\n");
return 0;
r_device :
class_destroy(dev_class);
r_class :
unregister_chrdev_region(dev,1);
return -1;
}
Thank you.
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
s 0.
So this irq_desc problem was solved(?) for now. (I don't know why this is so
small when CONFIG_SPARSE_IRQS=y).
And still the handler is not called even when I set qemu_set_irq.
_
From: Chan Kim
S
AML_EXCLUSIVE, , 1));
aml_append(dev, aml_name_decl("_CRS", crs));
aml_append(scope, dev);
}
I'm not sure if I can just use _HID value as "AXPU0011".
If you see anything wrong and have a suggestion, please tell me.
Thank you!
Chan Kim
thought I connected my device (axpu) to SPI 15 in qemu code but this GICv3
input number changes according to with what number I called reqeust_irq.
Could anyone tell me what is going on here?
Thank you.
Chan Kim
___
Kernelnewbies mailing list
Kernelne
Hi, Greg KH,
Thanks for the advices.
Some questions inline.
> -Original Message-
> From: 'Greg KH'
> Sent: Monday, April 11, 2022 11:26 PM
> To: Chan Kim
> Cc: 'qemu-discuss' ;
> kernelnewbies@kernelnewbies.org
> Subject: Re: Can't understand /proc/interrupts
Hi Ozgur,
My replies in-line.
Thanks!
From: Ozgur Karatas
Sent: Monday, April 11, 2022 11:53 PM
To: Chan Kim
Cc: Greg KH ; kernelnewbies@kernelnewbies.org; qemu-discuss
Subject: Re: Can't understand /proc/interrupts output for GICv3 case
Re-hi,
On Mon, Apr 11, 2022 at 6:16
Hi Greg KH,
I see, I understand what the proper method should be for this.
I'll take it as an almost official answer from the linux people :)
Thank you.
Chan Kim
> -Original Message-
> From: 'Greg KH'
> Sent: Tuesday, April 12, 2022 1:50 PM
> To: Chan Kim
> Cc
be reading the references again soon)
Chan
From: Ozgur Karatas
Sent: Tuesday, April 12, 2022 4:15 PM
To: Chan Kim
Cc: Greg KH ; kernelnewbies@kernelnewbies.org; qemu-discuss
Subject: Re: Can't understand /proc/interrupts output for GICv3 case
On Tue, Apr 12, 2022 at 6:44 AM Chan Kim
goto r_device;
}
ret = request_irq(i, axpu_irq_handler, IRQF_SHARED, "axpu_irq",
_cdev);
This way I could find the correct irq number on ubuntu and vanilla linux.
Hope this is helpful to someone. (anyway you know the hardware connection so
you can use it)
Thank you!
Ch
re can I find the corresponding (acting on
the register triggering above) action in the endpoint side?
If you have once seen these codes and send me any hint or suggestion, I'll
be grateful.
Thank you.
Best regards,
Chan Kim
___
Kernelnewbies mailing list
ion. I had
analyzed this pci-epf-test.c before and right after sending my question I
realized how it's working after searching 'raise_irq' in the endpoint test
code.
Thank you.
Best regards,
Chan Kim
>-Original Message-
>From: Chan Kim
>Sent: Thursday, September 14, 2023 2:39 PM
the BAR
memory address of the pci_device?
How do we control from which memory (host memory or PCIe device memory) to
allocate memory? Is BAR memory only for explicit allocation by the driver
only?
Thank you.
Chan Kim
___
Kernelnewbies mailing list
censes/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Thank you.
Chan Kim
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
, 2022 11:53 PM
To: Chan Kim
Cc: qemu-devel ; kernelnewbies
Subject: Re: Backtrace stopped: previous frame identical to this frame (corrupt
stack?) , even with fresh qemu and linux build
On Fri, Apr 22, 2022 at 7:30 PM Chan Kim mailto:c...@etri.re.kr> > wrote:
Hello all,
nction) is really 0xb8cd80001076a594 which is weird (not a
kernel address). The following 3 values are function arguments for
bus_for_each_dev and they look correct.
From: Chan Kim
Sent: Saturday, April 23, 2022 8:37 AM
To: 'Mulyadi Santosa'
Cc: 'qemu-devel' ; 'kernelnewbies'
Subje
, and if I repeat
fixing this stored x30 values, I can see more backtrace information. I filed a
bug report to bug.linaro.org. This strange thing doesn’t happen with linux
version < 5.10 to me so it doesn’t look like qemu bug.
Chan Kim
From: Chan Kim
Sent: Tuesday, April 26, 2022 10:47
Hi folks,
Sorry for many emails.
I just found out by turning CONFIG_ARM64_PTR_AUTH off in armv8.3 when building
linux, I can avoid this problem.
(I noticed the instruction ‘pacia’ in the function assembly code)
Thank you.
Chan Kim
From: Chan Kim
Sent: Wednesday, April 27, 2022 6:05 PM
It looks like these values in pci_dev.resources are filled in pci_read_bases
function which is called in pci_setup_device function.
So linux is reading the values set by the BIOS and setting them in its
pci_dev struct. And the devices's driver is called after that.
Chan Kim
> -Origi
us. Yes, I can
understand that.
My question is, In arm's SMMUv3 case, how is this rid used in setting up the
stream table (or context table)?
Is rid equal to StreamID in SMMUv3?
Any comment or explanation will be really appreciated.
Thank you!
Chan Kim
__
1 - 100 of 139 matches
Mail list logo