On 9/26/19 2:01 PM, Ingo Molnar wrote:
> * Cao jin wrote:
>
>> The fields marked with (reloc) actually are not dedicated for writing,
>> but communicating info for relocatable kernel with boot loaders. For
>> example:
>>
>>
>> Field name: pref_address
>>
On September 26, 2019 12:55:51 AM PDT, Cao jin wrote:
>On 9/26/19 2:01 PM, Ingo Molnar wrote:
>> * Cao jin wrote:
>>
>>> The fields marked with (reloc) actually are not dedicated for
>writing,
>>> but communicating info for relocatable kernel with boot loaders. For
>>> example:
>>>
>>> =
On 9/26/19 3:58 PM, h...@zytor.com wrote:
> On September 26, 2019 12:55:51 AM PDT, Cao jin
> wrote:
>> On 9/26/19 2:01 PM, Ingo Molnar wrote:
>>> * Cao jin wrote:
>>>
The fields marked with (reloc) actually are not dedicated for
>> writing,
but communicating info for relocatable kernel
On Tue, 2019-09-24 at 14:49 +0200, Nuno Sá wrote:
>
> This series adds support for the LTC2947 hwmon device. The device
> supports power[1-*]_min_alarm, so that it makes use of
> the HWMON_P_MIN_ALARM mask. This brings me to the first patch, which
> is a
> fix on the hwmon subsystem for the HWMON_
This series is sent as RFC since this series is dependent on
[1] (cannot be merged before that series) and to get early review
comments.
I'll also split this series into smaller chunk when I post the
next revision.
This series is about implementing SW defined NTB using
multiple endpoint instances
Add device tree bindings for PCI endpoint function device. The
nodes for PCI endpoint function device should be attached to
PCI endpoint function bus.
Signed-off-by: Kishon Vijay Abraham I
---
.../bindings/pci/endpoint/pci-epf.txt | 28 +++
1 file changed, 28 insertions(+
Add of_pci_epc_get() and of_pci_epc_get_by_name() to get reference
to EPC from device-tree. This is added in preparation to define
an endpoint function from device tree.
Signed-off-by: Kishon Vijay Abraham I
---
drivers/pci/endpoint/pci-epc-core.c | 61 +
include/linu
Add API to create EPF device from device tree and the device managed
interface corresponding to it. This is added in order to define
an endpoint function completely from device tree.
Signed-off-by: Kishon Vijay Abraham I
---
drivers/pci/endpoint/pci-epf-core.c | 68 +
Add device tree bindings for PCI endpoint function bus to which
endpoint function devices should be attached.
Signed-off-by: Kishon Vijay Abraham I
---
.../bindings/pci/endpoint/pci-epf-bus.txt | 27 +++
1 file changed, 27 insertions(+)
create mode 100644
Documentation/devi
pci_epf_driver had two ops for bind and unbind which will be invoked
when an endpoint controller is bound to an endpoint function (using
configfs). Now that endpoint core has support to define an endpoint
function using device tree alone, the bind and unbind ops can be
optional. Make pci_epf_driver
Add device tree bindings for PCI endpoint NTB function device.
Signed-off-by: Kishon Vijay Abraham I
---
.../bindings/pci/endpoint/pci-epf-ntb.txt | 31 +++
1 file changed, 31 insertions(+)
create mode 100644
Documentation/devicetree/bindings/pci/endpoint/pci-epf-ntb.txt
d
Add an API to get the next unreserved BAR starting from a given BAR
number that can be used by the endpoint function.
Signed-off-by: Kishon Vijay Abraham I
---
drivers/pci/endpoint/pci-epc-core.c | 26 ++
include/linux/pci-epc.h | 2 ++
2 files changed, 24 in
Add helper API pci_epc_of_parse_header() to populate header with
values from device tree. These values will be written to the
configuration space header in the endpoint controller.
Signed-off-by: Kishon Vijay Abraham I
---
drivers/pci/endpoint/pci-epc-core.c | 23 +++
include
Add "pci-epf-bus" driver that helps to create EPF device from
device tree. This is added in order to define an endpoint function
completely from device tree.
Signed-off-by: Kishon Vijay Abraham I
---
drivers/pci/endpoint/Makefile | 3 +-
drivers/pci/endpoint/pci-epf-bus.c | 54
Add specification for the *PCI NTB* function device. The endpoint function
driver and the host PCI driver should be created based on this
specification.
Signed-off-by: Kishon Vijay Abraham I
---
Documentation/PCI/endpoint/pci-test-ntb.txt | 315
1 file changed, 315 insertion
Add pci_epc_ops to map physical address to MSI address and return MSI
data. The physical address is an address in the outbound region. This is
required to implement doorbell functionality of NTB (non transparent
bridge) wherein EPC on either side of the interface (primary and
secondary) can directl
Implement ->msi_map_irq() ops in order to map physical address to
MSI address and return MSI data.
Signed-off-by: Kishon Vijay Abraham I
---
drivers/pci/controller/pcie-cadence-ep.c | 59
1 file changed, 59 insertions(+)
diff --git a/drivers/pci/controller/pcie-cadence-
In the case of standard endpoint functions, only one endpoint
controller (EPC) will be associated with an endpoint function
(EPF). However for providing NTB (non transparent bridge)
functionality, two EPCs should be associated with a single EPF.
Add support to associate secondary EPC with EPF. This
pci_epc_get_first_free_bar() uses only "reserved_bar" member in
epc_features to get the first unreserved BAR. However if the
reserved BAR is also a 64-bit BAR, then the next BAR shouldn't be
returned (since 64-bit BAR uses two BARs).
Make pci_epc_get_first_free_bar() take into account 64 bit BAR w
Add support for EPF PCI-Express Non-Transparent Bridge (NTB) device.
This driver is platform independent and could be used by any platform
which have multiple PCIe endpoint instances configured using the
pci-epf-ntb driver. The driver connnects to the standard NTB sub-system
interface. The EPF NTB
Invoke ntb_link_enable() to enable the NTB/PCIe link on the local
or remote side of the bridge.
Signed-off-by: Kishon Vijay Abraham I
---
drivers/ntb/test/ntb_tool.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ntb/test/ntb_tool.c b/drivers/ntb/test/ntb_tool.c
index d592c0ffbd19..
Add a new endpoint function driver to provide NTB functionality
using multiple PCIe endpoint instances.
Signed-off-by: Kishon Vijay Abraham I
---
drivers/pci/endpoint/functions/Kconfig | 12 +
drivers/pci/endpoint/functions/Makefile |1 +
drivers/pci/endpoint/functions/pci-epf-n
Add TI J721E device to the pci id database. Since this device has
a configurable PCIe endpoint, it could be used with different
drivers.
Signed-off-by: Kishon Vijay Abraham I
---
include/linux/pci_ids.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/pci_ids.h b/include/linux/p
Modify pci_epc_get_next_free_bar() and pci_epc_get_first_free_bar() to
return error values if there are no free BARs available.
Signed-off-by: Kishon Vijay Abraham I
---
drivers/pci/endpoint/pci-epc-core.c | 9 -
include/linux/pci-epc.h | 7 +++
2 files changed, 7 inserti
There is a missing mutex_unlock() in pci_epc_add_epf() in one of the
error scenarios. Fix it here.
Signed-off-by: Kishon Vijay Abraham I
---
drivers/pci/endpoint/pci-epc-core.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/pci/endpoint/pci-epc-core.c
b/
Remove unused pci_epf_match_device() function added in pci-epf-core.c
Signed-off-by: Kishon Vijay Abraham I
---
drivers/pci/endpoint/pci-epf-core.c | 16
include/linux/pci-epf.h | 2 --
2 files changed, 18 deletions(-)
diff --git a/drivers/pci/endpoint/pci-epf-core
On 9/26/19 12:58 AM, h...@zytor.com wrote:
> On September 26, 2019 12:55:51 AM PDT, Cao jin
> wrote:
>> On 9/26/19 2:01 PM, Ingo Molnar wrote:
>>> * Cao jin wrote:
>>>
The fields marked with (reloc) actually are not dedicated for
>> writing,
but communicating info for relocatable kerne
On 9/24/19 6:01 AM, Mauro Carvalho Chehab wrote:
There are a number of documentation files that got moved or
renamed. update their references.
Signed-off-by: Mauro Carvalho Chehab
drivers/net/ethernet/pensando/ionic/ionic_if.h| 4 ++--
Acked-by: Shannon Nelson
On September 26, 2019 8:20:28 AM PDT, Randy Dunlap
wrote:
>On 9/26/19 12:58 AM, h...@zytor.com wrote:
>> On September 26, 2019 12:55:51 AM PDT, Cao jin
> wrote:
>>> On 9/26/19 2:01 PM, Ingo Molnar wrote:
* Cao jin wrote:
> The fields marked with (reloc) actually are not dedicated f
On September 26, 2019 1:20:02 AM PDT, Cao jin wrote:
>On 9/26/19 3:58 PM, h...@zytor.com wrote:
>> On September 26, 2019 12:55:51 AM PDT, Cao jin
> wrote:
>>> On 9/26/19 2:01 PM, Ingo Molnar wrote:
* Cao jin wrote:
> The fields marked with (reloc) actually are not dedicated for
>>>
On 9/27/19 3:18 AM, h...@zytor.com wrote:
> On September 26, 2019 1:20:02 AM PDT, Cao jin
> wrote:
>> On 9/26/19 3:58 PM, h...@zytor.com wrote:
>>> On September 26, 2019 12:55:51 AM PDT, Cao jin
>> wrote:
On 9/26/19 2:01 PM, Ingo Molnar wrote:
> * Cao jin wrote:
>
>> The fields
31 matches
Mail list logo