smmu_v3_events.cc revision 14039
19243SN/A/*
210889Sandreas.hansson@arm.com * Copyright (c) 2014, 2018-2019 ARM Limited
39243SN/A * All rights reserved
49243SN/A *
59243SN/A * The license below extends only to copyright in the software and shall
69243SN/A * not be construed as granting a license to any other intellectual
79243SN/A * property including but not limited to intellectual property relating
89243SN/A * to a hardware implementation of the functionality of the software
99243SN/A * licensed hereunder.  You may use the software subject to the license
109243SN/A * terms below provided that you ensure that this notice is replicated
119243SN/A * unmodified and in its entirety in all distributions of the software,
129243SN/A * modified or unmodified, in source code or in binary form.
139243SN/A *
149831SN/A * Redistribution and use in source and binary forms, with or without
159831SN/A * modification, are permitted provided that the following conditions are
169831SN/A * met: redistributions of source code must retain the above copyright
179243SN/A * notice, this list of conditions and the following disclaimer;
189243SN/A * redistributions in binary form must reproduce the above copyright
199243SN/A * notice, this list of conditions and the following disclaimer in the
209243SN/A * documentation and/or other materials provided with the distribution;
219243SN/A * neither the name of the copyright holders nor the names of its
229243SN/A * contributors may be used to endorse or promote products derived from
239243SN/A * this software without specific prior written permission.
249243SN/A *
259243SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
269243SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
279243SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
289243SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
299243SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
309243SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
319243SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
329243SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
339243SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
349243SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
359243SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
369243SN/A *
379243SN/A * Authors: Stan Czerniawski
389243SN/A */
399243SN/A
409243SN/A#include "dev/arm/smmu_v3_events.hh"
419243SN/A
429967SN/A#include "dev/arm/smmu_v3_slaveifc.hh"
4310618SOmar.Naji@arm.com
449243SN/Avoid
459243SN/ASMMUDeviceRetryEvent::process()
4610146Sandreas.hansson@arm.com{
479356SN/A    smmuIfc.sendDeviceRetry();
4810146Sandreas.hansson@arm.com}
4910247Sandreas.hansson@arm.com
5010208Sandreas.hansson@arm.comconst std::string
519352SN/ASMMUDeviceRetryEvent::name() const
5210146Sandreas.hansson@arm.com{
539814SN/A    return smmuIfc.name() + ".device_retry_event";
549243SN/A}
559243SN/A